Fedora / CentOS (OS specific)
From Oxxus Wiki
Package manager
Fedora and CentOS use Yum as their package manager.
To install a package, in this example proftpd FTP server, use the following command:
yum install proftpd
To remove a package, type:
yum remove proftpd
To automatically answer all questions affirmatively, use '-y' switch:
yum -y install proftpd
Services start-up
You can configure automatic start-up of services with 'chkconfig' utility.
To set a service for start-up, use:
chkconfig <service> on
To remove it, use:
chkconfig <service> off
- Replace <service> with the name of service you want to configure:
chkconfig proftpd on
Miscellaneous
To find out the version of your OS you can use the following command:
cat /etc/*-release