bayu – mandriva – other Linux

29 April 2008

Mandriva 2008.1 : Change Interface Network

Diarsipkan di bawah: Linux, Tips — Tag:, , , — bayuart @ 8:30 am

Open a terminal & open the file /etc/udev/rules.d/61-net_config.rules

[root@pop box]# mcedit /etc/udev/rules.d/61-net_config.rules

Look for eth7 & change it to eth0.

Then reboot the system for the changes to take effect.

28 April 2008

PCLinuxOS 2007 : Gyachi error Webcam

Diarsipkan di bawah: Linux, Tips — Tag:, , , , , — bayuart @ 10:47 am

Barusan update repo, sebelome pake gyachoo, sekarang di PCLinuxOS 2007 udah pake gyachi-1.1.0. alias udah bisa hoin room dan webcam+voice. Ok.

Install seperti biasa, bisa pake apt-get install ato pake synaptic. Kalo udah terinstall akan keliahatan seperti ini:

instalasi gyachi

Oiya, sebelome webcam nya aku pake paketnya gspca, install juga dari repo PCLinuxOS 2007 yang ada di kambing, kaya ini kalo udah terinstall :

instalasi gspca

Webcam nya sekarang udah tak colokin ke port USB, dan di kenali dengan baik seperti ini :

driver webcam

(lagi…)

25 April 2008

MySql Tuning

Diarsipkan di bawah: Tips — Tag:, — bayuart @ 3:36 pm

Untuk memperoleh hasil maksimal dari query terhadap MySQL sebaiknya memperhatikan setting variable pada file /etc/my.cnf

Berikut contoh setting nya

[client]
port            = 3306
socket          = /var/lib/mysql/mysql.sock

[mysqld]
port            = 3306
socket          = /var/lib/mysql/mysql.sock

# maksimal koneksi yang diperbolehkan terhadap database
# perhatikan juga setting terhadap httpd.conf yang berkaitan dengan setting
# jumlah klien yang diperbolehkan mengakses
max_connections = 100
skip-locking
skip-innodb

# bila menggunakan versi 4.1x ke atas, terdapat fitur cache terhadap query
# tetapi bila table terlalu cepat berubah, sebaiknya ditiadakan
# karena justru akan membuat lambat query itu sendiri.
query_cache_type= 1
query_cache_limit= 1M
query_cache_size= 32M
interactive_timeout=100
wait_timeout=15
connect_timeout=10
table_cache=128
thread_cache=32
key_buffer=32M

[mysqldump]
quick
max_allowed_packet=16M

[mysql]
no-auto-rehash

21 April 2008

KDE : Dolphin as default File Manager

Diarsipkan di bawah: Lain², Linux, Mandriva, Tips — Tag:, , , , , — bayuart @ 1:16 pm

Kenal dolphin kan ? itu lo File Manager bawaan KDE. Emang si sebenere di KDE sebelum versi 4.0, default FIle Managernya menggunakan KONQUEROR. Nah, sekarang ini ada tip dan trik buat nge-default in si Dolphin agar menjadi File Manager default di KDE versi 3.5.x, ini dilakukan di distro yang default instalasi nya menggunakan KDE sebagai Desktop Managernya, seperti distro PCLINUXOS, MANDRIVA, SLACKWARE, dll.

Langsung saja (ini di MANDRIVA, distro lainnya menyesuaikan saja)

- syarat utama, udah ada KDE, trus install dolphin

urpmi dolphin

- masuk ke menu

Star > Tools > System Tools > KDE Control Center

atau

Star > Run Command … isi dengan ¨kcontrol¨

- konfigurasi default file managernya

pilih ¨KDE Componets¨ (di Panel sebelah kiri), trus ¨File Assosiations¨, trus “inode”, trus ¨directory¨ (dibagian tengah)

kemudian di bagian kanan liat ¨Application Preference Order¨, kemudian pilih ¨Add¨, trus klik menu “Tools > System Tools > Dolphin” > klik OK kalo sudah.

Gitu aja, gambar contoh silahkan lihat

(lagi…)

16 April 2008

Mandriva Spring : Freeradius Simple

Diarsipkan di bawah: Linux, Mandriva, Tips — Tag:, , , — bayuart @ 12:45 pm

Langsung aja (Udah nyambung ke Repo)

$ urpmi freeradius

(tekan Y atau Enter, kemudian tunggu proses instalasi default nya)

Salin file /etc/pki/tls/certs/radiusd.pem dan /etc/pki/tls/private/radiusd.pem menjadi /etc/pki/tls/certs/freeradius.pem dan /etc/pki/tls/private/freeradius.pem. (O iya jangan lupa liat permission file nya) Kemudian edit file /etc/raddb/users, tambahkan (contoh) baris ini di bagian paling akhir.

bayu   Cleartext-Password := "halo"

Trus test freeradius dengan mode DEBUG dengan perintah

$ radiusd -X

Buka terminal konsole baru, lakukan test freeradius dengan perintah

$ radtest bayu halo localhost 0 testing123

Hasilnya

radtest bayu halo localhost 0 testing123
Sending Access-Request of id 9 to 127.0.0.1 port 1812
User-Name = “bayu”
User-Password = “halo”
NAS-IP-Address = 127.0.0.1
NAS-Port = 0
rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=9, length=20

12 April 2008

Nikto

Diarsipkan di bawah: Linux, Mandriva, Tips — Tag:, , — bayuart @ 10:02 pm

Description
Nikto is an Open Source (GPL) web server scanner which performs comprehensive tests against web servers for multiple items, including over 3500 potentially dangerous files/CGIs, versions on over 900 servers, and version specific problems on over 250 servers. Scan items and plugins are frequently updated and can be automatically updated (if desired).

nikto Nikto is not designed as an overly stealthy tool. It will test a web server in the shortest timespan possible, and it’s fairly obvious in log files. However, there is support for LibWhisker’s anti-IDS methods in case you want to give it a try (or test your IDS system).

Not every check is a security problem, though most are. There are some items that are “info only” type checks that look for items that may not have a security flaw, but the webmaster or security engineer may not know are present on the server. These items are usually marked appropriately in the information printed. There are also some checks for unknown items which have been seen scanned for in log files.

Version 2
Nikto version 2 contains many enhancements over the first version. Some of the major new features include:
Fingerprinting web servers via favicon.ico files
404 checking for each file type
…………………………………

…………………………………

………………………………..

more …

11 April 2008

Distribution Release: Mandriva Linux 2008.1

Diarsipkan di bawah: Mandriva — Tag: — bayuart @ 3:03 pm

Mandriva

Akhirnya Mandriva 2008.1 aka SPRING dirilis juga. Berita terkait bisa di cek di http://distrowatch.com/?newsid=04831

Mandriva SA has announced the release of Mandriva Linux 2008.1, officially labelled as “2008 Spring”: “Mandriva, the leading European Linux distributor, today announces the launch of Mandriva Linux 2008 Spring, the major new release of Mandriva Linux, featuring hundreds of improvements which make for a quicker and more powerful distribution that is easier to use than ever. Changes include: a new parental control utility; the Elisa multimedia center; easy support for synchronizing many mobile devices with the GNOME and KDE environments; the Codeina framework; the PulseAudio audio framework has been adopted by default; significant improvements to the Mandriva software installation tools; customized support for the popular ASUS Eee PC; KDE 4.0.2 available in repositories.” Read the rest of the press release for further details. Download the installation DVD or live CD images from Mandriva mirrors or via BitTorrent: mandriva-linux-one-2008-spring-KDE-int-cdrom-i586.iso (697MB, MD5, torrent), mandriva-linux-one-2008-spring-GNOME-int-cdrom-i586.iso (645MB, MD5, torrent).

Kemarin di kambing belum full CD nya, hari ini juga belum selesai Repo nya, sabar……. yang penting udah dapet CD1 sampe CD2 Mandriva Spring Free Download Edition :)

Cuplikan proses ada di http://picasaweb.google.com/bayuart/Mandriva20081/

Top Ten Distroś Linux

Diarsipkan di bawah: Linux, Mysql, Ubuntu — Tag:, , , , , , , , , — bayuart @ 2:43 pm

The bewildering choice and the ever increasing number of Linux distributions can be confusing for those who are new to Linux. This is why this page was created. It lists 10 Linux distributions (plus an honourable mention of FreeBSD, by far the most popular of all of the BSDs), which are generally considered as most widely-used by Linux users around the world. There are no figures to back it up and there are many other distributions that might suit your particular purpose better, but as a general rule, all of these are popular and have very active forums or mailing lists where you can ask questions if you get stuck. Ubuntu, PCLinuxOS and MEPIS Linux are considered the easiest for new users who want to get productive in Linux as soon as possible without having to master all its complexities. On the other end of the spectrum, Slackware Linux, Gentoo Linux and FreeBSD are more advanced distributions that require plenty of learning before they can be used effectively. openSUSE, Fedora, Debian GNU/Linux and Mandriva Linux can be classified as good “middle-road” distributions. KNOPPIX is a live CD (or live DVD); originally very popular as a testing and demonstration tool, although nowadays most major distributions offer a live CD/DVD edition of their products as well. These distributions are loosely listed in order of popularity on DistroWatch, which is NOT an indication of their market share or quality. from http://distrowatch.com/dwres.php?resource=major resume :

  • Ubuntu, PCLinuxOS and MEPIS Linux are considered the easiest for new users who want to get productive in Linux as soon as possible without having to master all its complexities
  • Slackware Linux, Gentoo Linux and FreeBSD are more advanced distributions that require plenty of learning before they can be used effectively
  • openSUSE, Fedora, Debian GNU/Linux and Mandriva Linux can be classified as good “middle-road” distributions
  • KNOPPIX is a live CD (or live DVD); originally very popular as a testing and demonstration tool, although nowadays most major distributions offer a live CD/DVD edition of their products as well

10 April 2008

I`m back … (eh black)

Diarsipkan di bawah: Lain² — Tag:, , , — bayuart @ 3:37 pm

Wah ampir sebulan penuh gk update ni blog (maklum banyak keluar). Ni back tambah black, artinya ? Back kembali nulis ma ngisi ni blog (ada yg baru si, malah banyak… tapi yg lagi keinget sekarang cuman masalah upgrade Mandriva 2008 ke Mandriva 2008.1 ato Mandriva Spring), Black ? kalo black tu artine item, nah berhubung abis sering keluar ke jalan (bukan keluar lapangan (out ??)), ni kulit jadi tambah item dan tambah item (soale udah item dari sananya :p).

Banyak juga si komentar yang belom sempet ke bales, yah harap maklum aja, jarang lama ngadep inet sekarang… ni ae pas lagi rada longgar. Tapi gpp, setia aja ngunjungi ni blog, sapa tau ada sing baru lagi, :p.

Lanjut proses upgrade aja. Seperti biasa proses upgrade download iso file dari kambing (http://kambing.ui.edu) pas itu masih Mandriva 2008.1 RC-2 alias aceras (Sekarang posisinya udah Final Release / 10 April 2008, cuman di kambing belom di donlod, paling besok aja). Kalo di liat-liat antara RC2 ma Rilis ampir sama, cuman ketambahan dikit.

Rumus upgrade :

  • Mount iso file (3 Iso)
  • Tambahin ke ke daftar repo pake urpmi.addmedia
  • Jalankan proses upgrade pake perintah urpmi – -auto-select
  • Tekan Enter2 aja, ato Y
  • Tunggu beberapa saat, trus reboot

Beres….

Untuk Desktop GNOME ada beberapa Tips buat mempercepatnya, pasang aplikasi

  • cog
  • gconfpref
  • gtktweak

Hasil seperti dibawah ini:

mandriva 2008.1

Buat Desktop KDE nunggu di kambing repo nya selesai sinkron dulu.

Koleksi Foto bisa di liat di http://picasaweb.google.com/bayuart/Mandriva20081

Blog pada WordPress.com.