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:31] 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 ===== ===== Starting apache =====
  
Line 9: Line 10:
  
 <sxh bash>service httpd start</sxh> <sxh bash>service httpd start</sxh>
-==== CentOS7/RHL7 ====+==== CentOS/RHL7 ====
  
 <sxh bash>systemctl start httpd</sxh> <sxh bash>systemctl start httpd</sxh>
 \\ \\
-\\+
 ===== Start Apache from boot ===== ===== Start Apache from boot =====
    
Line 21: Line 22:
  
 <sxh bash>chkconfig httpd on</sxh> <sxh bash>chkconfig httpd on</sxh>
-==== CentOS7/RHL7 ====+==== CentOS/RHL7 ====
  
 <sxh bash>systemctl enable httpd</sxh> <sxh bash>systemctl enable httpd</sxh>
install_apache_centos.1427488272.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