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)