Figure-LAMP
LAMP ConfigurationAs follows:
The LAMP (LINUX + PHP + MYSQL) Environment configuration in LINUX is a nightmare for learning php. Obviously, it is very easy to configure such an environment in windows. The emergence of iis7.0 supports fastcgi to make it easier. Next I will write an end article on LINUX configuration. After reading this article, make sure that you don't have to read any other articles about LAMP. Just pull the text and click it. The LAPM configuration is amazing.
My environment is CENTOS5, and the current user is root. For security purposes, you can change the user name with permissions. I started writing. Three methods:
1. Use the built-in RPM package for installation (rpm-ivh)
2. Use the source code downloaded from the Internet for installation (use tar-zxvf for decompression, configuration, and compilation)
3. Install with yum
1. Use the built-in RPM package for Installation
1. To use the built-in installation package, you must first attach a cd (Note: linux considers all devices as files ).
Mkdir/mnt/cdrom // create a mounted directory
Mount/dev/cdrom/mnt/cdrom mount the content of the disc to the/mnt/cdrom file.