CentOS commands
# Start|Stop network devices
# configuration in '/etc/sysconfig/network-scripts'
ifup eth0
ifdown eth0
service network start (start|stop|restart)
# Edit init-scripts
ntsysv
# -------------------------
# Package manager
# -------------------------
# Search keyword
yum search
# Show information
yum info PACKAGE
# Install
yum install PACKAGE
# Remove
yum erase PACKAGE
# Install local package file
yum localinstall FILENAME
# List installed packages
rpm -qa
# Refresh package list
yum check-update
# Install updates
yum update