How To Install Apache web server on CentOS 7/6 with a single command

- Advertisment -

The Apache server is a most robust web server available till date, though, the Nginx is there but still, widely used Apache has its own charm. Most of the commercial web hosting services use the CentOS RHEL based Linux operating system because of the security, stability and all-time favorite word of people ‘free’. Yes, it is open source and free Linux OS that developed on the code of Red Hat, you can say it a fork of RHEL.

Most of the home & casual Linux users are pretty much familiar with popular Ubuntu and its commanding system. But if you move towards the enterprise you will see either Red Hat or CentOS servers in general. So, if you are looking for a way to install the Apache web server on CentOS 6 or CentOS 7 using the command terminal, then here are the commands:

  1. Open the command terminal, if you are using the server edition CLI interface then by default you there,
  2. You should have access to the root user. Because when you type sudo before the command it requires the root password.
  3. Now type the below single command to install the Apache web server.
    sudo yum install httpd
  4. Once the Apache web server installed just use the below command to start the Apache web server services on the Centos server.
    sudo systemctl start httpd.service
  5. Open the browser to test the Apache web server is up & running. For that type your Centos server IP Address: http:// server_IP_address/Install Apche web server on CentOS 6 and centos 7

 

See Also : 

 

Sarbasish Basuhttps://www.how2shout.com/
From B.Tech (Hons.) Electronics & Instrumentation Engineer to Photography and Writing blogs; he ultimately has answers to everything. Oh, and he's also quite good in rapidly building a relationship and set up the trust; his articles are proof of that...

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Latest Posts

Xbox Scarlett is now officially Xbox Series X

Ending every speculation and rumours, Microsoft named the next-gen console as Xbox Series X. Taking the opportunity of The...

What points one should look to get the best internet connection for gaming

Finding the right gaming computer of your choice might not be a difficult exercise today when you...

Microsoft’s next-generation 2020 console is Xbox Series X not Scarlett

At the stage of The Game Awards (TGA), Microsoft's vice-president of Gaming "Phil Spencer" announced that the new generation...

Now we can send and receive tabs on Firefox Reality VR Browser

Last year launched Firefox Reality browser especially meant for VR headsets has got some updates. This Mozilla VR browser's...
- Advertisement -

Best Way to find new Movies or TV series to Watch

Do you want to know how to discover something new to watch, I mean quality video content? If you...

What is Xbox Project Scarlett? Anaconda or Lockhart

Now the time of 9th gen gaming console is about to meet an end. Even the primary...
- Advertisement -

You might also likeRELATED
Recommended to you