The following operations are under the Debian 6.0 64bit Environment Root authority, if the prompt permission to switch to the root user or sudo, I prefer to install themselves, because the installation process to minimize the installation and to know what is installed, You can then extend the functionality to your needs.
1. Installation of Chkconfig,chkconfig is a tool developed by Red Hat to check the setting up of system services. You can use it to set some boot up. Other commands and instructions
Apt-get Install Chkconfig
2. Install Apache:
Apt-get Install Apache2
Chkconfig apache2 on Settings Apache2 boot up
or install Apache1
Apt-get Install Apache
For basic configuration files and knowledge, we recommend that you read them. Please click
3, install MySQL, of course, you can also install according to the requirements of the version, in Debian directly enter the following statement installed is installed last version, that is, the latest version.
Apt-get Install Mysql-server
Chkconfig mysql-server on set MySQL boot up
4. Install PHP:
Apt-get Install PHP5
Install another version to replace the later version number
5, install the PHP MySQL extension, about the other components are recommended when you need to enter the installation, so as to clearly know the functions of these components
Apt-get Install Php5-mysql
Configure apache+mysql+php