有的没的~
Sunday, January 13, 2019
Linux 开机启动服务
开机启动服务:
chkconfig --add test
chkconfig test on
查看开启的服务列表:
chkconfig --list
参考:
https://www.thegeekstuff.com/2011/06/chkconfig-examples/
Newer Posts
Older Posts
Home
ACL的permit和deny两种含义
permit 允许 deny 拒绝 permit 匹配 deny 不匹配
nginx.service: PID file /var/run/nginx.pid not readable (yet?) after start: No such file or dir
需要 Systemd 等待 nginx 创建 PID 文件之后再往下执行 1. 在服务配置文件 /usr/lib/systemd/system/nginx.service 添加一行: ExecStartPost=/bin/sleep 0.1 2. 然后执行:systemc...
华为S5720交换机把syslog输出到日志主机
# 启用信息管理功能 info-center enable # 指定模块、通道名称、日志级别 (default指所有模块) info-center source default channel 2 log level warning # 指定日志输出源接口 info-center...
VirtualBox "Call to WHvSetupPartition failed"
解决方法:关闭 Hyper-V 管理员权限打开PowerShell,执行以下命令后 重启 : bcdedit /set hypervisorlaunchtype off