CentOS

Network configuration

/etc/sysconfig/network-scripts/ifcfg-ethX
/etc/sysconfig/network
/etc/resolv.conf
/etc/ntp.conf

# show release
cat /etc/redhat-release

# update packages
yum update
yum upgrade -y

# install ssh
https://www.cyberciti.biz/faq/centos-ssh/
yum install -y openssh-server

# allow sudo for a user
usermod -a -G wheel

# PHP 5.6 on CentOS 7
http://devdocs.magento.com/guides/v2.0/install-gde/prereq/php-centos.html#instgde-prereq-php56-install-centos

Nework configuration

# /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT=yes
HWADDR=00:11:22:33:12:8a
BOOTPROTO=static
NETMASK=255.255.255.0

https://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-dhcp-configuring-client.html

# rundeck + ansible
# http://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F
rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm

wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm
rpm -ivh epel-release-7-8.noarch.rpm
yum repolist
yum --enablerepo=epel info ansible
yum install ansible
yum install -y ansible

yum install -y java-1.8.0
rpm -Uvh http://repo.rundeck.org/latest.rpm
yum install -y rundeck
service rundeckd start

# firewall
systemctl disable firewalld
systemctl stop firewalld
systemctl status firewalld

firewall-cmd --zone=trusted --change-interface=docker0
systemctl restart firewalld
iptables -I INPUT -p tcp -m tcp --dport 8443 -j ACCEPT

firewall-cmd --permanent --zone=public --add‐port=8080/tcp
systemctl restart firewalld.service

# enable EPEL (Extra Packages for Enterprise Linux)
https://kofler.info/der-status-von-epel-8/

rpm ‐‐import https://www.elrepo.org/Y‐elrepo.org
rpm ‐Uvh http://www.elrepo.org/elrepo‐release‐7.03.el7.elrepo.noarch.rpm

Cloud-images
http://cloud.centos.org/centos/7/images/