Version 3 (modified by 9 years ago) (diff) | ,
---|
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 <user> #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
Docker storage configuration http://www.projectatomic.io/blog/2015/06/notes-on-fedora-centos-and-docker-storage-drivers/ https://access.redhat.com/articles/1492923 https://forums.docker.com/t/docker-storage-config-on-centos-7-1/3164