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?
Selinux annoying you? Get it out! How to disable selinux Open its config file nano...
How to change ssh port. Open the file /etc/ssh/sshd_config with your favourite text...
If you can't receive email from the outside and got next error: (Delivery Status Notification...
ConfigServer Security & Firewall (CSF) is a powerful iptables configuration tool....
Set host name on Centos: /etc/sysconfig/network HOSTNAME="mycomputer"...