Centos 6 Webserver
In this article we will install some software that is useful on a webserver based on Centos 6.
For the beginning let us install some packages that will be useful later:
Set Apache to start at boot:
You can print installed httpd modules with the command httpd -l:
Conf file /etc/httpd/conf/httpd.conf
MySQL + php
Postfix, POP3/IMAP server
Note that default MTA in Centos is sendmail, so if you want to use postfix you should remove sendmail first:
Conf file /etc/postfix/main.cf
Conf file /etc/vsftpd/vsftpd.conf
Was this answer helpful?
Set host name on Centos: /etc/sysconfig/network HOSTNAME="mycomputer"...
Install Epel repository rpm -Uvh...
Diagnostic To display how many http connections are open at the moment, enter: netstat |...
First of all make sure you have the ports 20-21 opened in your firewall. If not, you...
In this guide we will create our own web server on Centos 6. We will use Apache...