How to install httpd web server in Linux?

0 votes

Hi Guys,

I have my html file to host. For that I want to use httpd web server. How can I configure in my Linux system?

Thank You 

Apr 21 in Linux Administration by akhtar
• 10,580 points
22 views

1 answer to this question.

0 votes

Hi@akhtar,

To install httpd web server in CentOS/RHEL machine, follow the below given steps.

$ yum install httpd
$ systemctl start httpd
$ systemctl enable httpd

If you are using Ubuntu system, then follow the below given steps to install httpd web server.

$ sudo apt install apache2
$ sudo service apache2 start
answered Apr 21 by MD
• 23,050 points

Related Questions In Linux Administration

–1 vote
1 answer

How to get octal file permission in linux?

You can use this: stat -c "%a %n" ...READ MORE

answered Jan 3, 2019 in Linux Administration by Omkar
• 69,060 points
254 views
0 votes
1 answer

How to create a symlink in Linux?

To create a symbolic link, you can ...READ MORE

answered Jan 31, 2019 in Linux Administration by Omkar
• 69,060 points
119 views
0 votes
1 answer

How to find path of software installed in Linux?

There are multiple ways to find the ...READ MORE

answered May 19, 2019 in Linux Administration by Rishi
799 views
0 votes
1 answer

How to convert DOS line endings to Linux line endings in vim?

try this; :%s/\r/\r/g READ MORE

answered May 24, 2019 in Linux Administration by Upasana
• 8,590 points
106 views
0 votes
1 answer
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,420 points
495 views
0 votes
1 answer

How to install nginx web server in CentOS/RHEL?

Hi@akhtar, To install nginx in your system, you ...READ MORE

answered Apr 24 in Linux Administration by MD
• 23,050 points
29 views
+1 vote
1 answer

How to configure NFS server in Linux?

Hi@akhtar, To configure NFS server in your system, ...READ MORE

answered 6 days ago in Linux Administration by MD
• 23,050 points
29 views