一、软件安装
1.yum命令
yum [-y] [ install | remove | search ] 软件名
install 安装
remove 卸载
search 搜索
yum命令需要root权限,需要 su root,或者使用sudo提权
yum命令需要联网
例:httpd 服务安装:yum -y install httpd
2.systemctl命令
systemctl start | stop | status | enable | disable 服务名
status 查看状态
enable 开启开机自启动
disable