Prepare the bagsInstallCheck if Apache is already installed
Uninstall Apache
(-nodeps means ignoring the dependencies of the software) Create a folder to store rpm packages
Unzip the package
Move Apache's two dependent files apr and apr-util to its srclib folder (note that the folder cannot have a version number, otherwise the system will not be able to find these two software)
pcre regular expression library, expat development library for parsing XML files
Switch to the apache decompression directory and compile the installation package
Install Apache
Switch to the path where apache is installed and modify the apache configuration
Modify the port number: Modify the root path for accessing the homepage: Start ApacheYou need to first link the startup program to the system startup directory and name it httpd
Register the apache service and add the following content to the beginning of the file
#!/bin/sh # chkconfig:35 61 61 # description:Apache Configure Apache to start automatically and add Linux service monitoring
View List
Start, Restart
This is the end of this article about installing Apache server on Linux. For more relevant content about installing Apache server on Linux, please search previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: MySQL index pushdown details
>>: Detailed introduction to CSS priority knowledge
Table of contents Conditional compilation Page La...
The specific method of installing CentOS 7.0 on V...
At first, I wanted to modify the browser scroll b...
I don't know if you have ever encountered suc...
Table of contents nextTick Mixins $forceUpdate se...
What is DOM? With JavaScript, you can reconstruct...
During the development process, we often use the ...
Preface vsftp is an easy-to-use and secure ftp se...
Web Services are concerned with application-to-ap...
This article shares the specific code of jQuery t...
The future of CSS is so exciting: on the one hand,...
Awk is a powerful tool that can perform some task...
Table of contents We have written about drag and ...
Table of contents 1. Calculated properties 1.1 Ba...
This is an effect created purely using CSS. To pu...