How to install Apache Http server in CentOS 7

Install apache packge
# yum install httpd

Start Apache service
# systemctl start httpd.service

Permanently on service
# systemctl enable httpd.service

Check status of service
# systemctl status httpd.service
 
Access Apache with your server ip address
You can also access web server page from Command line for testing purpose
# yum install links
# links 192.168.35.150
or, 
# curl 192.168.35.15
Share on Google Plus

About Penguin Technology

I am a passionate cloud and DevOps professional specializing in Linux and open-source solutions. Through this blog, I share my knowledge and experience with the community, offering tips and insights on cloud technologies and DevOps practices.
    Blogger Comment

5 comments:

  1. Thanks for sharing. Keep sharing

    ReplyDelete
  2. Keep update your blog. Awaiting for your next update.
    software testing course online

    ReplyDelete
  3. Looking for the Best Minecraft Server to play on? Want to advertise your minecraft server? Find them right here on our Minecraft Multiplayer Servers List. http://minebrowse.com/

    ReplyDelete
  4. Looking for the Best Minecraft Server to play on? Want to advertise your minecraft server? Find them right here on our Minecraft Multiplayer Servers List. http://minebrowse.com/

    ReplyDelete