分类: Linux

linux系统相关

15 篇文章

UEFI 安装CentOS7 进入dracut
进入DEV页面,找到sda或sdc文件位置 之后重启 进入安装页面,按下“e” 然后找到linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 rd.live.check quiet 把这段改成linuxefi /images/pxeboot/vmlin…
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 开机启动项
查看所有服务的开机启动项 systemctl list-unit-files 查看具体开机启动项 systemctl list-unit-files | grep 程序名字 例如firewalld防火墙服务 systemctl list-unit-files | grep firewalld.service 显示未开机启动 查看设置为开机启动的开机…
CentOS7解决PackageKit占用yum
vim /etc/yum/pluginconf.d/langpacks.conf 把第一行的enabled=1改为 enabled=0 保存退出 若还占用直接杀死进程,18290为进程PID PID可用ps命令查看。 kill -9 18290