Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Instalasi vmware tools pada Debian etch sebagai guest operating system di VMware

Monday, June 23, 2008 | Label: | 0 komentar |

Pertama dipikir apalah perlunya vmware tools. Ternyata setelah menjalankan Debian Etch sebagai guest operating system di VMware menimbulkan efek delay terutama pada waktu memasuki environment X window. Usut punya usut, ternyata saya harus menginstal vmware tools. Ohhh.. disini letak permasalahannya. Cari punya cari saya tidak mendapatkan paket vmware tools di internet. Ternyata setelah menemukan situs ini, vmware tools sudah tersedia di virtual cdrom. Nah... caranya ternyata cuma begini :
  1. Dari account user, masuk ke account root
  2. apt-get install autoconf automake binutils cpp gcc linux-headers-$(uname -r) make psmisc
  3. mount /dev/cdrom
  4. cd /media/cdrom0
  5. cp VMwareTools-1.0.4-56528.tar.gz /tmp
  6. cd /tmp
  7. tar -zxvf VMwareTools-1.0.4-56528.tar.gz
  8. cd vmware-tools-distrib
  9. ./vmware-install.pl
  10. Ikuti semua perintahnya. Default saja sih [yes]
Selesailah sudah proses instalasi vmware tools. Dan cobalah masuk ke X windows. Foilaa... semua berjalan dengan kencangnya. :)

*)sebagai tambahan, saya memakai blackbox sebagai window managernya.

Debian membuatku malas

Wednesday, June 18, 2008 | Label: | 3 komentar |

Lama tak bersua dengan Linux bikin kangen aja. Semalam download vmware, trus hari ini tadi download Debian. Trus malam ini installin Debian ke vmware. Prosesnya si gini :
  1. Download vmware workstation versi terbaru di websitenya.
  2. Download debian di daftar mirrornya. Karena di wilayah russia jadi pake mirror russia aja.
  3. Karena ada harddisk external jadinya gw pake harddisk portable aja sekalian testing buat naruh image drive OS nya.
  4. Install... (bah... makin gampang aja ni Debian.)
  5. Selesei. Booting dah ke Debian. Trus install xorg sama blackbox (kebetulan installnya gw pake base installation.
Kok rasanya makin gampang aja si Debian. Dengan kata-kata ajaibnya "apt-get". Hehehe.... :D
Kesimpulannya, Debian bikin malas.

Microphone on Ubuntu Gutsy

Monday, November 26, 2007 | Label: | 7 komentar |

Still no clue how to make microphone work on Ubuntu Gutsy.


Specification :
- alsa-driver
- snd-hda-intel
- Ubuntu 7.10

libasound.so.2 losted and then I can't enter to my Gnome

Wednesday, September 26, 2007 | Label: | 2 komentar |

This afternoon, I tried to uninstall my alsa-driver. Then, I don't know why I suddenly uninstalled alsa-lib too. And a big effect is I can't enter my Gnome. Oh, goss...

From the error code, I was lost my libasound.so.2. What it's? After digging around, I found it in alsa-lib. It has made me panic. Damn! I don't remember how I lost my libasound.so.2.

Then, I recognized that I must recompile alsa-lib again,

and then a problem is solved. =) Huraayyy...


*I was panicked at that time

Another case with update kernel

Saturday, September 08, 2007 | Label: | 3 komentar |

When my Acerbox was upgrading its kernel. Suddenly my Ubuntu sound is dead. After digging around, the solution is I must recompile alsa when I upgrade the kernel.

Weeekkkss...

Then after recompiling it, my Ubuntu sound is back. Fiuhhh...

How to scan share folder using Clamav

Friday, August 10, 2007 | Label: | 2 komentar |

At our office, we have a problem. Various viruses were detected in our Maxtor storage server. Yes, it's a public file server. And Maxtor didn't have any antivirus tool. So, the only solution is to mount it using Samba and scan it with Clamav.

How to do it?

First, create a folder where it's your mount point.

mkdir [Mount point]

2nd, mount your storage server using Samba

mount -t smbfs //[Maxtor IP address]/[Shared folder] /mnt/[Mount point]/

3rd, put your mount point into fstab

//[MAxtor IP address]/[Shared folder] /mnt/[Mount point] smbfs defaults 0 0

4th, if you want it to work automatically, just write the automatization into crontab

crontab -e

Put this line below into it,

00 07 * * * clamscan --move=/root/karantina -r /mnt/
00 11 * * * clamscan --move=/root/karantina -r /mnt/
00 15 * * * clamscan --move=/root/karantina -r /mnt/
00 19 * * * clamscan --move=/root/karantina -r /mnt/

*)
"karantina" is the folder name from which we move the infected file.
"--move=[Folder repository]" is the command to move the infected file into a specific folder.

Update :
Mbon, dah dibenerin :P

Upgrade Flock in Ubuntu

Thursday, August 09, 2007 | Label: | 0 komentar |

Upgrade Flock from 0.7.0.14 version to 0.9.0.2 version in Ubuntu, just like installing a brand new Flock browser. Download Flock from here, then.

sudo tar -C /opt -xzvf flock-0.9.0.2.en-US.linux-i686.tar.gz

snd-hda-intel on Acer Aspire 3680

Tuesday, July 31, 2007 | Label: | 3 komentar |

The sound default on Ubuntu Feisty is absolutely low quality. I want louder, more clear. So, I decided to compile an alsa by myself. Download using wget,

wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.14.tar.bz2

Extract,

tar -xjf alsa-driver-1.0.14.tar.bz2

Came to inside alsa folder,

cd alsa-driver-1.0.14/

Configure,

./configure

Compile,

sudo make
sudo make install

Reboot,

sudo reboot

Log in back and edit alsa base configuration,

sudo vim /etc/modprobe.d/alsa-base

Put this code at the end of the file,

options snd-hda-config model=auto

Reboot,

sudo reboot

Log in back and open mplayer also edited their sound configuration. I've choosed alsa driver in here.


Enabled all,


Then close it, and restart mplayer. Open an example movie and hear the sound quality. For me, it is better than before.

Cek traffic server Debian

Monday, July 09, 2007 | Label: | 0 komentar |

Katanya si pake ntop. Tapi setelah browsing kok lebih kerenan nvstat yak..

Text mode.


#apt-get install nvstat

Trus jalanin

#nvstat -u -i eth0

Untuk ngeliat traffic

#nvstat

Lebih lengkapnya

#nvstat --help

Nge cron buat clamav

Thursday, July 05, 2007 | Label: | 0 komentar |

Setelah instalasi clamav, hal yang perlu dilakukan adalah menetapkan update virus definition clamav secara otomatis dan scan folder secara otomatis. Caranya?

crontab -e

Yang isinya (ditempatku),

# m h dom mon dow command
00 07 * * * freshclam
00 11 * * * freshclam
00 15 * * * freshclam
00 07 * * * clamscan -r /var/www
00 11 * * * clamscan -r /var/www
00 15 * * * clamscan -r /var/www
00 19 * * * clamscan -r /var/www
00 07 * * * clamscan -r /home
00 11 * * * clamscan -r /home
00 15 * * * clamscan -r /home
00 19 * * * clamscan -r /home


Update :

To remove infected files, we must add "--remove " option. Example,

00 19 * * * clamscan --remove -r /home

technorati tags:

Ubuntu Feisty and WPA Personal on Linksys WAP54G

Wednesday, June 20, 2007 | Label: | 2 komentar |

I found a great tutorial here on how to connect Ubuntu Feisty to Linksys WAP54G using WPA Personal. What I must do is,

  1. Make sure you have wpasupplicant installed on your Ubuntu box.
  2. Create a file called /etc/default/wpasupplicant, add entry ENABLED=0, and save the file.
  3. sudo touch /etc/default/wpasupplicant
  4. Reboot your system.
Once you login back into your machine, left-click on your wireless icon. Choose Connect to Other Wireless Network, put your SSID on it, then choose Wireless Security on WPA Personal. In the last step, just put your password on it.

Feed by category in Blogger

Tuesday, June 19, 2007 | Label: | 0 komentar |

When I asked people from planet.ubuntu-id.org to add my blog to their aggregator, they asked me how to feed by category on blogger for WordPress; they already know it. Coz, I want their aggregator to only feed my blog with the Linux category (in blogger, they call it Label). By little searching, then I found it here.

Example URL is like this :

http://yangai.blogspot.com/feeds/posts/default/-/Linux

Cube effect on Ubuntu totaly lost

Monday, June 18, 2007 | Label: | 6 komentar |

View weeks ago, after the routine update. My ubuntu box missed their ability to do the cube effect. At that time, it wasn't a big deal. Coz I have a lot of jobs where I must finish immediately. And everything still works without a cube effect.

But, several days after my job was done. I missed my cube effect. Coz al cheapo Acer laptop with a cube effect is cool, right? ;)
Forget the price; just see the power of Ubuntu with XGL/Compiz, did jelly and cube effect.

The main problem is my workspace suddenly became only one. The others have gone... Without other workspaces (usually, I've four workspaces), the cube effect didn't work. And this morning, I have a clue from the Ubuntu forum. What I must do is open "gconf-editor" and change the value of
apps/compiz/screen0/options/hsize

to 4 and change the value of
apps/compiz/screen0/options/number_of_desktops

to 1

After that, everything works now!! :D

*thanks Abhatt

Parallels Workstation 2.2 di Ubuntu Linux 7.04 (Feisty)

Thursday, May 03, 2007 | Label: | 0 komentar |

Instalasi gak ada masalah, tetapi timbul masalah ketika melakukan "parallels-config". Ternyata menurut disini. Gw harus merubah file "prlnet" yang terletak di "/usr/lib/parallels/drivers/drv_net/linux/"

Tetapi ada cara yang lebih gampang, yaitu mengganti file "prlnet" dengan yang disini.

Upsss... ada yang lupa. Proses kompilasi selalu merujuk ke "/bin/sh" padahal di Ubuntu seharusnya "/bin/bash", maka lakukan
sudo mv /bin/sh /bin/sh.bak
sudo ln -s /bin/bash /bin/sh
Baru kemudian lakukan,
sudo parallels-config

Menggabungkan file *.rar yang di split

Tuesday, April 24, 2007 | Label: | 15 komentar |

Mumet, bingung gimana caranya menggabungkan file *.rar yang di split. Walah ternyata cuman gini doang,


rar e [nama file].part[x].rar

Kampret..!!

My Aspire 3680

Tuesday, April 17, 2007 | Label: | 4 komentar |

Everything works fine except my fucking atheros...


Mother Fucker Atheros...!!!


After several tweaks, it suddenly works like a charm :D

Opensuse (Xubuntu juga), modem ADSL dan Speedy

| Label: | 4 komentar |

Entah kenapa ketika aku manggunakan Xubuntu maupun OpenSuse selalu merasa kesulitan pada saat koneksi ke internet lewat Speedy nya telkom. Gag tau masalahnya apakah di modemnya ataukah DNS Telkom yang gak mau resolve.

Sibuk sana-sini, ternyata aku harus mengedit file "/etc/dhclient.conf". Menambahkan dengan,

prepend domain-name-servers "IP DNS ISP anda";

Setelah itu, DNS pun sudah lancar me- resolve IP number. Dan broswing internet lancar secepat kilat.



Lalu masalah sebenarnya dimana ya?

Menyesuaikan font di Xwindow sesuai dengan resolusi dekstop

| Label: | 0 komentar |

Hal konyol yang saya temui pada Xwindow di linux adalah ukuran font yang terlalu besar. Bwehhh... menyebalkan. Setelah berputar-putar sejenak di belantara internet, ternyata solusi telah ditemukan. Kuncinya adalah mengubah ukuran DisplaySize pada xorg.conf, and how?


vim /etc/X11/xorg.conf

...
Section "Monitor"
DisplaySize 338.66 211.66
...

Rumus DisplaySize didapat dari :
resolusi/96*25.6 resolusi/96*25.6

Kemudian restart mesin anda. Dan voilaaa... semuanya berubah menjadi sedikit lebih baik. Yang lebih bagus lagi adalah menginstalasi font TTF milik MS Windows.

I love Microsoft... mmmuaaaahhh....

Bloody fu$#$%# DNS stuff on Xubuntu Linux

Sunday, April 15, 2007 | Label: | 0 komentar |

Damn...!!! All day long can't browse. Who knows if the problem is DNS on Xubuntu takes too long to resolve. Dunno if it's a bug or not.

I got an answer from solo-technology

And as they describe, I must use openDNS to replace my factory DNS address (which I got from ISP). You can follow this if u use Xubuntu.

WEP di Ubuntu

Tuesday, February 06, 2007 | Label: | 0 komentar |

Hard core :

cc@ubuntu:~$ sudo iwconfig eth2 essid MyNet
cc@ubuntu:~$ sudo iwconfig eth2 key xxxxxxxxxx
cc@ubuntu:~$ sudo ifconfig eth2 up
cc@ubuntu:~$ sudo dhclient3 eth2
Beginer :
install NetworkManager