分类: Centos

Centos相关操作

13 篇文章

CentOS7 编译安装nginx
更新gcc yum -y install gcc 本次一切文件均放在usr/src中 需要pcre(并非pcre2),官网 http://www.pcre.org/ 下载页面连接 https://ftp.pcre.org/pub/pcre/ wget https://ftp.pcre.org/pub/pcre/pcre-8.43…
CentOS7 基本防火墙配置
centos7默认为firewall防火墙,非iptables。 系统配置文件 位置:/usr/lib/firewalld/services/ 例如ssh防火墙默认配置文件 vi /usr/lib/firewalld/services/ssh.xml <?xml version="1.0" encoding="utf-8"?> <…
CentOS7解决PackageKit占用yum
vim /etc/yum/pluginconf.d/langpacks.conf 把第一行的enabled=1改为 enabled=0 保存退出 若还占用直接杀死进程,18290为进程PID PID可用ps命令查看。 kill -9 18290