User Tools

Site Tools


install_apache_centos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
install_apache_centos [2015/03/27 20:02] luke7858install_apache_centos [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 1: Line 1:
-**CentOS (all distributions):** \\ +=== Installing (all distributions) === 
-<sxh bash>yum install apache</sxh>+ 
 +<sxh bash>yum install httpd</sxh>
 \\ \\
-Starting apache + 
-<sxh bash>service start httpd</sxh>+===== Starting apache ===== 
 \\ \\
-Enable apache to start from boot+==== CentOS/RHL 5+6 ==== 
 + 
 +<sxh bash>service httpd start</sxh> 
 +==== CentOS/RHL7 ==== 
 + 
 +<sxh bash>systemctl start httpd</sxh> 
 +\\ 
 + 
 +===== Start Apache from boot ===== 
 +  
 + 
 +\\ 
 +==== CentOS/RHL 5+6 ==== 
 <sxh bash>chkconfig httpd on</sxh> <sxh bash>chkconfig httpd on</sxh>
 +==== CentOS/RHL7 ====
 +
 +<sxh bash>systemctl enable httpd</sxh>
install_apache_centos.1427486576.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki