How to modify MAC address on Ubuntu

I take my laptop to a friend's home yesterday,his internet connection is  wired connection which the MAC and IP are binded,so I couldn't connect to internet with my laptop at his home unless I modify my laptop's MAC address .I'd never modified the MAC on Ubuntu before,then after I googled and googled,finally I found the ways to modify the MAC on Ubuntu. There are 2 ways to modify the MAC address on Ubuntu :~

Creative Commons License
linuxine.com's blog posts is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License

Easy way to install libdvdcss2 and w64codecs for Ubuntu 8.10 AMD-64 bit

As 32 bit system,you need to install some Window codecs to play rmvb & rm format video.For 32 bit system,It is easy to find w32codecs from internet to install,but for AMD-64 version system like Ubuntu 8.10 AMD-64,you might need to spend some time to look for 64 bit codecs-w64codecs. I have a easy way to install w62codecs and libdvdcss2 in 3 minutes as followings :)

Creative Commons License
linuxine.com's blog posts is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License

Ubuntu 8.10 Beta:No mouse,keyboard response

After routine updated my Ubuntu 8.10beta yesterday,I found mouse,keyboard &touchpad all of them had no response,well beta is beta :), I solved this issue by adding below lines to /etc/X11/xorg.conf. If you are not familiar with terminal mode,you can just use your live cd into the Ubuntu, and then go to Places->the Partition in which your Ubuntu 8.10 beta installed,open the terminal and run:sudo nautilus ,and then just open the /etc/X11/xorg.conf with gedit and add below lines,save and restart the computer.

Creative Commons License
linuxine.com's blog posts is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License

Test how many modules are available in Apache2

Sometimes we need to know how many modules are available in Apache2,for example,you want to enable mod_rewrite in Linux server,normally we need to test if the mod_rewrite module has been added first.We can use command:apache2ctl -M to test how many modules are available in Apache2.

Creative Commons License
linuxine.com's blog posts is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License

CPU usage up to 100% on Ubuntu 8.04[solved]

After a routine update yesterday,I felt my laptop became to be very heat,then I checked the CPU usage and saw  the CPU usage was up to 100%. I ever got same problem before but if I rebooted the computer all will turn to be ok ,however this method didn't work this time.Then I checked the processes and found the Tracker 's process ate over 50% CPU usage,this is the reason.I had to shut off the tracker from Sessions,after that,the CPU works fine again.

Creative Commons License
linuxine.com's blog posts is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License

Make an Ubuntu live USB

You know,Fedora project has a tool names Fedora liveusb-creator for easily installing Fedora live operating systems on to USB flash drives.I found a tool names Ubuntu LiveUSB which also for creating a bootable Live USB stick from the running Ubuntu Live CD.

Creative Commons License
linuxine.com's blog posts is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License

2 useful plug-ins for Gnome

1.nautilus-open-terminal

Adding a  option Terminal to pop-up menu of Gnome ,handy!

Creative Commons License
linuxine.com's blog posts is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License

Install and enable mod_auth_mysql in Ubuntu

1. Install mod_auth_mysql:

sudo apt-get install libapache2-mod-auth-mysql

2.Enable mode_auth_mysql

cd /etc/apache2/mods-enabled
sudo ln -s ../mods-available/auth_mysql.load

Creative Commons License
linuxine.com's blog posts is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License

General steps for installing Nvidia diplay driver in Linux

nv_logo_footerThis guide is based on Ubuntu,but it can be a reference for other Linux distributions as well.

Creative Commons License
linuxine.com's blog posts is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License