Configuration of the Apache server in Linux!

Source: Internet
Author: User

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 in/home/user name and decompress it.Tar-zxvf file name

3.CD apache1.3

4../Configure -- prefix =/home/user name/file name(Configure the Installation File)

5.Make install(Compilation and installation)

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.