Configuration of the Apache server in Linux

Source: Internet
Author: User
Configuration of Apache server in Linux-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Maybe you are an open source enthusiast, maybe you are excited for Linux, but what is in front of you is a cruel reality, it is too difficult to practice! OK. Today I will talk about how to configure WEB servers and simple applications in Linux ~!

Assume that you have installed a Linux version (my version is RedHat9.0). Let's get started!

1. Download the Apache compressed file (this will not let me talk about it)

2. Put the file under/home/user name and decompress the tar-zxvf file name

3. cd apache1.3

4../configure -- prefix =/home/user name/file name (configuration and installation file)

5. make install (compile and install)

6./home/user name/file name/bin/apacectl start (start the server)

7. Open your browser and type http: // localhost: 8080 to see the familiar page! The server has been configured!

8. Start your own creation! The default directory is/home/user name/file name/htdocs. Save the compiled superfile our.html to the default directory, and then type http: // localhost: 8080/our.html

You can see your work!

9. /Home/user name/file name/bin/apacectl stop (stop the server)

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.