Install MySQL
1. Yum install MySQL Mysql-server
2. Modify the MySQL password
>use MySQL
>update User Set Password=password ("New_pass") where user= "root";
>flush privileges; Refresh the MySQL system permissions related table
3./sbin/chkconfig mysqld on boot or chkconfig mysqld on
Installing Apache
1. Yum Install httpd
2. Chkconfig--levels 235 httpd on Boot
3. Serivce httpd Start
4. Enter the IP in the browser
Install PHP
1. Yum Install php php-common php-gd php-mcrypt php-pear php-pecl-memcache php-mhash php-mysql php-xml
2. In the/var/www/html directory vim info.php write <?php phpinfo (); >
3. ip:/info.php Test in the browser (remember to restart Apache)
4. Connect PHP with MySQL
Yum install php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc
5. ip:/info.php Test in the browser, view MySQL information (remember to restart Apache)
Linux installation MySQL