From getting started to proficient in the LAMP test of Dark Horse Korean prefix linux

Source: Internet
Author: User
From entry to entry-level proficiency in the LAMP integrated testing of Dark Horse Korean prefix linux: quickly build the LAMPApache virtual directory Apache virtual host authorization and authentication MysqL master/slave server configuration Rsync synchronization settings assuming LAMP mirror site experimental site pressure test acquisition and installation LAMP install in RPM mode... from entry to entry-level proficiency in the LAMP integrated testing of Dark Horse Korean prefix linux: quick Setup of LAMPApache virtual directory Apache virtual host authorization and authentication of MysqL master-slave server configuration Rsync settings assuming LAMP mirror site experimental site pressure test acquisition and installation of LAMP in RPM Mode install LAMP Linux + Apache + mount yum on a Mysql + Php disc-suitable for the environment configuration file Apache ---------/etc/httpd/conf/httpd with good network speed. confPHP -----------/etc/php. iniMysql ----------/etc/my. cnf # uname-# Df-h --- check that the/dev/shm capacity corresponding to tmpfs has been 0, and it indicates that the optical drive is not mounted. # Mount/dev/cdrom/mnt ----------/dev/hdc # df # cd/mnt # ls # rpm-qa | grep mysql # rpm-qa | grep apache # rpm-qa | grep http # ls http * # rpm-ivh install the master file # rpm-ivh-php-Master File # service httpd start test: enter the IP address http: // 192.168.1.101 # vi/var/www/html/test in the address bar. php # # Esc #: wq test: http: // 192.168.1.101/test. php found no mysql # ls php * find PHP-Mysql -- Install this middleware # rpm-ivh -.... # install the corresponding package according to the dependency # service httpd restart start mysql # servicemysqld start # mysql-u root-p # show databases; # \ q # ntsysv # chkconfig httpd on the configuration file Apache ----/etc/httpd/conf/httpd has been set up in the LAMP environment. confPHP -----/etc/php. iniMysql ---/etc/my. cnf # vi/etc/httpd/conf/httpd. conf # vi/etc/php. ini # vi/etc/my. cnf Apache configuration file prompt information Global variable configuration master server configuration virtual host Apache virtual directory a little easier to access easy mobile site directory increased disk space security good # mkdir-p/data/web # mkdir-p/data/web/test01 # mkdir-p/data/web/test02 # vi/etc/httpd/conf/httpd. conf # G # Include vhost/vhost. conf #: wq # cd/etc/httpd # pwd # ls # mkdir vhost # vi/vhost. confalias <...> # service httpd restart
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.