WebServer on CentOS 6.3
Apache Web Server
- CentOS 6.3 have apache (httpd service).
- # service httpd start
- # chkconfig httpd on
PHP
- # yum -y install php php-mysql
- # service httpd restart
phpMyAdmin
- Download .gz from http://www.phpmyadmin.net
- # yum -y install php-mbstring
- # service httpd restart
- # tar xvfz phpMyAdmin-3.5.2.2-all-languages.tar.gz
- # mv phpMyAdmin-3.5.2.2-all-languages /var/www/html/phpMyAdmin
- # cd /var/www/html/phpMyAdmin
- # cp config.sample.inc.php config.inc.php
- Change $cfg['Servers'][$i]['auth_type'] = 'cookie'; to $cfg['Servers'][$i]['auth_type'] = 'http';
- CentOS 6.3 have apache (httpd service).
- # service httpd start
- # chkconfig httpd on
PHP
- # yum -y install php php-mysql
- # service httpd restart
phpMyAdmin
- Download .gz from http://www.phpmyadmin.net
- # yum -y install php-mbstring
- # service httpd restart
- # tar xvfz phpMyAdmin-3.5.2.2-all-languages.tar.gz
- # mv phpMyAdmin-3.5.2.2-all-languages /var/www/html/phpMyAdmin
- # cd /var/www/html/phpMyAdmin
- # cp config.sample.inc.php config.inc.php
- Change $cfg['Servers'][$i]['auth_type'] = 'cookie'; to $cfg['Servers'][$i]['auth_type'] = 'http';
Comments
Post a Comment