AppVZ.com
Phone International: +1.646-8448688
Phone Vietnam: +84.904-982000
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
Install VNC on CentOS (Views: 1982)
Chmod cho PhpBB3 (Views: 2033)

Quick Navigation

Client Login

Email

Password

Remember Me

Search


Follow Us on Twitter

Online Payments Accepted

Payments

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