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
esxi安装原版openwrt
记录下esxi安装原版openwrt的操作,同时对openwrt中的下载链接进行解释。 一:下载openwrt 官网:https://openwrt.org/ 官方文档:https://openwrt.org/docs/start 下载界面,(以21.02.3版为例)。 https://downloads.openwrt.org/releases/…
Nginx配置EMBY
配置文件在此,直接照抄即可。 配置文件原始链接:https://emby.media/community/index.php?/topic/93074-how-to-emby-with-nginx-with-windows-specific-tips-and-csp-options/ worker_processes auto; error_log…
Openwrt基本配置
Openwrt是个著名的开源路由系统,基于linux。其配置非常灵活,且复杂记录下其作为旁路由的基本设置 一:端口设置 首次安装后 若作为旁路网关使用时无法上网,需要手动修改端口配置。 设置完后保存。 保存并应用 二:切换国内opkg源(可选) openwrt opkg默认为国外源,国内使用时可能速度上会影响。 方法一:网页中修改。 System,…
原版梅林配置VRRP
双路由设置中,万一其中某个服务炸了整个网络便会瘫痪。给主路由和旁路由同时配置VRRP便可解决。接下来介绍下原版梅林安装VRRP的过程 Asuswrt原版梅林官网https://www.asuswrt-merlin.net/ 安装前准备 准备一个U盘 格式化为ext4格式 windows可用第三方工具格式化 最好双清路由器 之后插入路由器,路由器开启…
世界,您好!
欢迎使用WordPress。这是您的第一篇文章。编辑或删除它,然后开始写作吧!