centos

yum / rpm

# list installed packages
yum list installed

# get instaled version
rpm -qa --qf "%{version}-%{release}" openssl

# install bash-completion
yum install -y bash-completion

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
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"