= Default CentOS 7 configuration = {{{ #Install default packages $ yum update #install the Fedora Extra Packages for Enterprise Linux (EPEL) repository #http://www.rackspace.com/knowledge_center/article/install-epel-and-additional-repositories-on-centos-and-red-hat $ yum install epel-release $ yum install docker $ yum install collectd $ yum install mailx #Create sysop users $ useradd sanmai $ usermod -aG wheel sanmai $ useradd dietuyt $ usermod -aG wheel dietuyt $ useradd wilelb $ usermod -aG wheel wilelb #Set passwords for the users: passwd #Configure sshd #no root login PermitRootLogin no #no username/password login PasswordAuthentication no #forward mail from root to sysops@clarin.eu $ echo "root: sysops@clarin.eu" >> /etc/aliases $ newaliases $ service postfix restart #test the configuration $ echo test | mail -s "test message" root #Enable services systemctl enable docker.service }}} Auto start service on boot {{{ systemctl enable httpd.service }}}