1.Installing Mysql:yum install mysql mysql-server
chkconfig --levels 235 mysqld on
/etc/init.d/mysqld start
mysqladmin -u root password servertest //this is the root and its password that you required when first time login in phpmyadmin here "root" is user and "servertest" is password
2.Installing Apache2:yum install httpd
chkconfig --levels 235 httpd on
/etc/init.d/httpd start
3.Installing PHP5:yum install php
/etc/init.d/httpd restart
4.Getting MysQl support in PHP5:
yum search php
yum install php php-mysql php-common php-gd php-mbstring php-mcrypt php-devel php-xml php-xmlrpc
/etc/init.d/httpd restart
5.Installing phpMyAdmin:
cd /var/www/html
wget http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/2.11.11.1/phpMyAdmin-2.11.11.1-english.tar.gz
tar xvfz phpMyAdmin-2.11.11.1-english.tar.gz
mv phpMyAdmin-2.11.11.1-english phpmyadmin
cd phpmyadmin
cp config.sample.inc.php config.inc.php
nano config.inc.php
a file will open just type and replace,cookies,with,http,
service httpd restart
No comments:
Post a Comment