Recently, due to work requirements, to compile some code Under SuSE, you need to use the aparch service. You can check the installation method on the Internet and put it here to avoid forgetting it later. Haha...
Method: (the following content is reprinted)
1: system installation. I will not talk about it here. There are many online systems, which are also very simple. By the way, I use RedHat 9;
2: In the graphical interface to download the Apache installation package, I am under the httpd-2.2.9.tar.gz source code installation package, the address is the http://httpd.apache.org/download.cgi
3: Save the downloaded file to the/home/RedHat/src directory. RedHat is the folder where normal users are located. You can also create other folders to save the downloaded file.
Httpd-2.2.9.tar.gz with: gzip-d
Tar xvf httpd-2.2.9.tar
Unzip the installation package, and a folder for the httpd-2.2.9 appears to enter the folder.
4: You can see the configure folder under the httpd-2.2.9 folder, then use:./configure -- prefix =/usr/local/Apache -- enable-so to set the installation
Directory and parameter settings. The so command is used to extract the Apache core module supported by DSO.
5: Use make and make install to compile and install Apache.
6:/usr/local/Apache/bin/apachectl start. This command is used to enable Apache.
This method is very useful. Haha ..