close
THE STEP WHICH HAS '#' SIGN IN THE BEGINNING IS THE COMMAND YOU MUST TYPE.
Reference:
鳥哥的 Linux 私房菜 -- WWW 伺服器 Apache
phpMyAdmin安裝使用手冊
- LAMP
- install minimal CentOS 6.2 with minimal mode.
- set up eth0 enable automatically when booting.
- modify the value of "ONBOOT" from "no" to "yes".
- add "BOOTPROTO="dhcp"".
- test network connection after rebooting.
- # yum install httpd mysql mysql-server php php-mysql
- # yum install system-config-firewall-tui
- # system-config-firewall-tui to enable HTTP access.
- # /etc/rc.d/init.d/httpd start to start httpd services.
- # /etc/rc.d/init.d/mysqld start to start mysqld services.
- # mysqladmin -u root password '[password]' to set up root's password in mysql.
- # mysql -u root -p to test if the password is set correctly.
- set up httpd and mysqld services to enable when booting.
- # chkconfig --level 3 httpd on
- # chkconfig --level 3 mysqld on
- Add phpMyAdmin
- Download the latest version of phpMyAdmin package for all languages.
- # cd /var/www/html
- # tar -xzvf phpMyAdmin-[version]-all-languages.tar.gz to extract the package which just downloaded.
- # mv phpMyAdmin-[version]-all-languages phpMyAdmin.
- # /etc/rc.d/init.d/httpd restart to restart httpd service.
- "http://[server-ip]/phpMyAdmin" is typed into the URL column of the browser to test if phpMyAdmin works well.


-
edit "/etc/sysconfig/network-scripts/ifcfg-eth0".


Reference:
鳥哥的 Linux 私房菜 -- WWW 伺服器 Apache
phpMyAdmin安裝使用手冊
全站熱搜