Difference between revisions of "Centos 6 Webserver"
Line 19: | Line 19: | ||
yum install webalizer | yum install webalizer | ||
Conf file is ''/etc/httpd/conf.d/webalizer.conf''<br/> | Conf file is ''/etc/httpd/conf.d/webalizer.conf''<br/> | ||
− | + | Web interface: http://YourIP/usage | |
[[Category:Linux]] | [[Category:Linux]] |
Revision as of 09:23, 6 September 2013
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:
yum install nano wget fetchmail zip unzip bzip2 nmap openssl lynx fileutils ncftp gcc gcc-c++ gd-devel yum update
Apache
yum install httpd
Conf file /etc/httpd/conf/httpd.conf
MySQL + php
yum install mysql-server php php-mysql
Postfix, POP3/IMAP server
Note that default MTA in Centos is sendmail, so if you want to use postfix you should remove sendmail first:
yum remove sendmail yum install postfix dovecot
Conf file /etc/postfix/main.cf
Ftp
yum install vsftpd
Conf file /etc/vsftpd/vsftpd.conf
Webalizer
yum install webalizer
Conf file is /etc/httpd/conf.d/webalizer.conf
Web interface: http://YourIP/usage