Linux 包的安装
其他
2019-04-04 15:06:36
阅读次数: 0
下载软件
yum
- yum 是一种集成式的安装工具,详见 yum介绍
- 实际上是先分析一个包的依赖,然后将所有依赖与包一起安装
- 常用安装包安装
- ifconfig
yum install -y net-tools
- nginx nginx 不能直接使用yum 下载,需要先下载nginx 安装包,配置yum 本地仓库,再使用 yum 安装
# 下载对应的nginx rpm包
- 常见 yum 命令 yum使用, yum-config-manager 通过
yum install -y yum-untils
- yum 下载过程中可能会卡住不动,现象是速度以及时间还有进度都会冻住,这时敲击回车,它就会继续显示
rpm
防火墙 systemctl stop firewalld.service
- centos 7 使用的是firewalld
- centos 6 以前使用的是 iptables
chkconfig
systemctl
firewalld
ps
grep
转载自blog.csdn.net/weixin_42290927/article/details/86213313