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 === mysqladmin -u root -p password newpassword mysqladmin -u root -p reload === change MySQL root password (just in case) === mysqladmin -u root -p’oldpass’ […]

Read More…