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
In the course of work, you will encounter many ca...
C++ connects to MySQL for your reference. The spe...
This article shares the specific code of JavaScri...
Definition and Usage The <input> tag is use...
After reading some articles, I finally figured ou...
With a lot of CSS experience as a web designer, we...
Table of contents Preface analyze Initial Renderi...
Install ssh tool 1. Open the terminal and type th...
Table of contents Preface use Component Writing D...
In the later stage of exploiting SQL injection vu...
Table of contents Overview Code Implementation Su...
ps: The environment is as the title Install possi...
Without further ado, these three methods are: ren...
Table of contents What does the COUNT function do...
Table of contents 1.1. Enable MySQL binlog 1.2. C...