AppVZ.com
Phone Tech support
+84.904982000
Email
Language: Vietnamese English Germany France

Install Apache, MySQL, phpMyAdmin on CentOS

1. Install Apache:

yum install httpd php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc php-mbstring php-mcrypt php-mhash gettext
/sbin/chkconfig httpd --level 345 on
/etc/init.d/httpd start

Root folder on /var/www/html

2. Install MySQL:

yum install mysql mysql-server
/sbin/chkconfig mysqld --level 345 on
/etc/init.d/mysqld start

Default user is "root" and password is none.

Setup MySQL root password: mysqladmin -u root password passwordhere

3. Install phpMyAdmin:

cd /var/www/html
wget  http://downloads.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.2.4/phpMyAdmin-3.2.4-all-languages.zip?use_mirror=nchc
unzip phpMyAdmin-3.2.4-all-languages.zip

Change config.sample.inc.php to config.inc.php.

Find line:

$cfg['Servers'][$i]['auth_type'] = 'cookie';
change to:
$cfg['Servers'][$i]['auth_type'] = 'http';

Finish, login to phpMyAdmin: http://IP/phpMyAdmin-3.2.4-all-languages



Was this answer helpful?

Also Read
Chmod cho Wordpress (Views: 3788)

Quick Navigation

Client Login

Email

Password

Remember Me

Search


Follow Us on Twitter

Online Payments Accepted

Payments

Copyright © 2009 - 2022 by AppVZ.com
Networks System - Term of Services