Goal: Create Centos 7 box for web hosting ( LAMP stack / monitoring software code versioning software ) that will be easy to install , maintainable in time , easy to add functionality .
First things first: install the centos 7 minimal.
After instalation:
update OS
yum update
yum upgrade
generic tools
yum install perl perl-core ntpl nmap sudo libidn gmp libaio libstdc++ unzip sysstat sqlite net-tools mc bind-utils telnet
Remove iptables wrapper and install plain iptables service
yum remove firewalld
yum install iptables-services
Adding more useful software repositories
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
yum install https://www.percona.com/redir/downloads/percona-release/redhat/latest/percona-release-0.1-3.noarch.rpm
Installing php 5.6
yum –enablerepo=remi-php56 install php php-gd php-mysql php-mcrypt
Installing mysql DB and backup tools
yum install Percona-Server-server-57 percona-xtrabackup
git
For Centos 7 we didn’t find (yet) a decent software repository for GIT 2.7 . Most probably we will make one and try to maintain it. ( will be covered in another article )
Monitoring
yum install collectd collectd-apache