Linux

Install LAMP on CentOS 5

Install LAMP (Linux Apache MySQL and PHP)

yum install httpd php php-mysql mysql mysql-server
chkconfig httpd on
chkconfig mysqld on
/etc/init.d/httpd restart
/etc/init.d/mysqld restart

set MySQL root password


[ Read the rest ... ]

By admin on April 21, 2009 | Posts | A comment?
Tags: , , ,

Shortcut keys for the bash shell

Key Description
Ctrl + A Go to the beginning current line

[ Read the rest ... ]

By admin on April 12, 2009 | Posts | A comment?
Tags: , ,

Setup Putty for Linux

Software used:

Here is how I setup Putty to connect to CentOS, fix the problem of full screen tools (such as system-admin-network).…

[ Read the rest ... ]

By admin on March 8, 2009 | Posts | A comment?
Tags: , , ,

Install FreeNX on Centos 5.2

Software Used

Server:

  • CentOS 5.2 i386

Client:

  • NoMachine NX Client for Windows 3.2.0-13

On the linux box, install X Windows and Gnome first (if not installed yet)…

[ Read the rest ... ]

By admin on February 21, 2009 | Posts | A comment?
Tags: , , , ,

Linux filesystem hierarchy

As a Linux beginner, it is always hard to understand what all these directory names means. Here is a list of the directory hierarchy of CentOS 5.

[ Read the rest ... ]

By admin on October 11, 2008 | Posts | A comment?
Tags: , ,

Wordpress – disable AutoCorrect

Wordpress has a feature similiar to the AutoCorrect in MS Word. For example, it replace double hyphen (–) to a single hyphen (-).

It think it is a nice feature…

[ Read the rest ... ]

By admin on October 9, 2008 | Posts | A comment?
Tags: ,

Linux commands – chmod

chmod is used to change permissions on files and directories on a linux system.

An example file listing

ls -l
-rw-r--r-- 1 derek managers    0 Oct 10 19:11 myfile
drwxr-xr-x

[ Read the rest ... ]

By admin on | Posts | A comment?
Tags: ,

Install Webmin on Centos 5

Webmin is a powerful and popular web-based interface for system administration for Unix/Linux/BSD. Using any web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin…

[ Read the rest ... ]

By admin on September 13, 2008 | Posts | A comment?
Tags: , ,

Install NoMachine NX Server on CentOS 5

NX is a quick way to remote administrate my Linux servers (speed comparable to RDP or ARD).

The NoMachine NX Free Edition only allow 2 concurrent sessions (enough for administration…

[ Read the rest ... ]

By admin on September 11, 2008 | Posts | A comment?
Tags: , , , , ,

Integrate CentOS 5 and Active Directory using Winbind and Samba

Software used:

  • CentOS 5.2 i386
  • Active Directory server: Win2003 R2 SP2, native mode

Requirement

You need a working CentOS 5 system and have Server and Server GUI installed.…

[ Read the rest ... ]

By admin on September 10, 2008 | Posts | 3 comments
Tags: , , , , , ,