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?
Install Epel repository rpm -Uvh...
Linux kb/wiki moved to opur wiki pages and all new articled publiched here:...
First of all make sure you have the ports 20-21 opened in your firewall. If not, you...
1. Use only strong passwords for all accounts , especially for root. Always use a secure root...
#!/bin/bash echo "packing files in progress..." tar -cf /home/backup/root_lib-$(date...