Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


Is your Web Server Installed?


The first thing you need to serve your websites correctly is a web server.

Most people will have installed a server before getting to this point, but there are some situations where you may have actually accidentally uninstalled the server when performing other package operations.

If you are on an Ubuntu or Debian system and wish to install the Apache web server, you can type:

sudo apt-get update
sudo apt-get install apache2
On these systems, the Apache process is called apache2.

If you are running Ubuntu or Debian and want the Nginx web server, you can instead type:

sudo apt-get update
sudo apt-get install nginx
On these systems, the Nginx process is called nginx.

If you are running CentOS or Fedora and wish to use the Apache web server, you can type this. You can remove the "sudo" if you are logged in as root:

sudo yum install httpd
On these systems, the Apache process is called httpd.

If you are running CentOS or Fedora and want to use Nginx, you can type this. Again, remove the "sudo" if you are logged in as root:

sudo rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
sudo yum install nginx
On these systems, the Nginx process is called nginx.

asked Jun 9, 2015 in LINUX by rajesh
0 votes
17 views



Related Hot Questions



Government Jobs Opening


...