Difference between revisions of "Centos 6 Webserver"

From vpsget wiki
Jump to: navigation, search
Line 5: Line 5:
 
<h3>MySQL + php</h3>
 
<h3>MySQL + php</h3>
 
  yum install mysql-server php php-mysql
 
  yum install mysql-server php php-mysql
Postfix, POP3/IMAP server
+
<h3>Postfix, POP3/IMAP server</h3>
 
  yum remove sendmail
 
  yum remove sendmail
 
  yum install postfix dovecot
 
  yum install postfix dovecot
Ftp
+
<h3>Ftp</h3>
 
  yum install vsftpd
 
  yum install vsftpd
Webalizer
+
<h3>Webalizer</h3>
 
  yum install webalizer
 
  yum install webalizer
Webalizer's conf file is  ''/etc/httpd/conf.d/webalizer.conf''<br/>
+
Conf file is  ''/etc/httpd/conf.d/webalizer.conf''<br/>
  
  
 
[[Category:Linux]]
 
[[Category:Linux]]

Revision as of 17:19, 4 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

MySQL + php

yum install mysql-server php php-mysql

Postfix, POP3/IMAP server

yum remove sendmail
yum install postfix dovecot

Ftp

yum install vsftpd

Webalizer

yum install webalizer

Conf file is /etc/httpd/conf.d/webalizer.conf