The learning process of Linux has finally seen the dawn of light

Source: Internet
Author: User
The Linux learning process has finally seen the dawn-Linux Enterprise Application-Linux server application information. The following is a detailed description. Tip: run the mysql command in linux.
The root account is required.
# Su
# (Enter the password)
#/Etc/init. d/mysql start | stop | restart | reload

Tar xzvf httpd-2.0.59.tar.gz

Install apache
Cd/home/wj
Tar-zxvf httpd-2.0.54.tar.gz
Music httpd-2.0.54 apache
Cd apache
./Configure -- prefix =/usr/local/apache2 -- enable-module = so
Make
Make install
[GCC not installed at the beginning]

Start Apache
Run:
./Apachectl start
Stop:
./Apachectl stop
Restart:
./Apachectl resart

Install php
./Configure -- prefix =/usr/local/php5
-- With-apxs2 =/usr/local/apache2/bin/apxs
-- With-config-file-path =/usr/local/lib
-- Enable-track-vars
-- With-xml
-- With-MySQL

Make
Make install

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.