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

- Advertisment -
- Advertisement -

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 Basu
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...


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

The Pros and Cons of Indian Gaming Industry

Many of the people still think that gaming is a trend for the youth and kids...

Top 10 buzzwords that you should know in 2020 to always be ahead of time

Technology is pushing its limits every single day, and it is hard to predict exactly what changes we will...

AMANI Launches 4000mAh Mobile Battery-Mi BM 47/MI3S for MI Handsets

AMANI, a mobile accessories brand, recently introduced AMANI Mi BM 47/MI3S Mobile Battery. AMANI Mi BM 47/MI3S is a...

Stuffcool launches Theo Portable Bluetooth Speaker with MIC

Stuffcool has announced another audio product that is Theo Portable Stereo Bluetooth speaker with MIC. It is a portable speaker...
- Advertisement -

ADCOM Launches “Vision” – Gaming Headphone

Adcom has come up “Vision” Gaming Headphones, a product for the gaming headphone market. Adcom “Vision” boasts of 50mm hi-fi...

Ambrane launches Fireboom 2in1 Detachable Speaker at Rs. 3999/-

Ambrane India announced its newest Portable and detachable ‘Fireboom’ Speaker. The All in one Speaker made to be the...

- Advertisment -
- Advertisement -

You might also likeRELATED
Recommended to you