WHAT A LAMP Rotating Header Image

Posts under ‘Linux’

Centos command for disk and mysql

Check disk space
df -h
Check Error log
tail -f /var/log/mysqld.log
check port 3306
netstat -ntpl |grep 3306

Ubuntu 9.04 Netbook Mix realease

Ubuntu 9.04 released yesterday. The netbook mix edition is also released at the same time.
I installed it on my Acer Aspire One netbook.
1) Download UNM from official site.
2) Check the MD5 to make sure the img file is OK.
3) Write the img file into a 2GB usb disk through Disk-Writer.
4) Plugin the usb disk in [...]

Update Ubuntu 8.04LTS, Upgrade to Ubuntu 8.10

30 minutes to update Ubuntu 8.04LTS.
1.5 hours to upgrade Ubuntu from 8.04LTS to 8.10.
All done yesterday night.

How to upgrade to Ubuntu 8.10

The next version Ubuntu, v8.10 will be release tomorrow, Oct. 30 2008.
If you are using 8.04 (Hardy) then you can update directly to 8.10 (Intrepid). In other cases you should follow a sequential upgrade path and not skip any of the releases (unless you are on a LTS release).

“Backup important files”. Although the upgrades preserve [...]

Ubuntu 8.10 Beta Released

The Ubuntu team is pleased to announce the beta release of Ubuntu 8.10 Desktop and Server. Codenamed “Intrepid Ibex”, 8.10 continues Ubuntu’s proud tradition of integrating the latest and greatest open source technologies into a high-quality, easy-to-use Linux distribution.
Ubuntu 8.10 Desktop Edition delivers the features you need for an increasingly mobile digital life, including 3G [...]

Ubuntu 8.10 Release

Ubuntu 8.10 will be released on October 30th, 2008.
Do you wait for it? I am.
Some people said Ubuntu is not good enough and it is a bad guy of Linux world. It is harmful to the other Linux distributions.
I agreed with them in one point only. It is not good when you find the [...]

How to unmount when the device is busy

I met this problem many times. Just find the way to unmount the device correctly.
It happens all the time doesn’t it? You need to unmount a CD or you want to pack away the external drive but when you try to umount it you get the dreaded “device is busy” message. Wouldn’t it be great [...]

htaccess file

.htaccess file is very important in the Apache server.
The real name of this file is Apache’s directory-level configuration file .
There are three major usages of .htaccess.

Authorization, authentication: .htaccess files are often used to specify the security restrictions for the particular directory, hence the filename “access”. The .htaccess file is often accompanied by an .htpasswd file [...]

Let php engine handle html as php

I have a site full of the html file. Later I added some php code into these html files. I don’t want to change the URL from .html to .php. It is not SEO friendly.
So, I would like php engine can handle html same as php.
Edit .htaccess file in the root.
RemoveHandler .html .htm
AddType application/x-httpd-php .php [...]

Common SSH Commands – Linux Shell Commands

We’ve put together some of the more frequently used SSH commands or linux shell commands, and organized them by name so you can easily find a command, their description and how to use it. This guide will continue to be updated and should not be considered a complete list of SSH commands or linux shell [...]