Tag: php5

Oct 05

Installing Apache2, PHP5, MySQL on Centos

yum -y install httpd php mysql mysql-server php-mysql mysqladmin -u root password ‘ENTER-PASSWORD-HERE’ mysql -u root -p  mysql> DRO P DATABASE test;  mysql> DELETE FROM mysql.user WHERE user = ”;  mysql> FLUSH PRIVILEGES;     /sbin/chkconfig httpd on   /sbin/chkconfig –add mysqld   /sbin/chkconfig mysqld on   /sbin/service httpd start   /sbin/service mysqld start   …

Continue reading