关于ksm的参数设置就没在此文,纯属设置开启ksm和保持开机自动启动。
service ksm start
chkconfig ksm on
service ksmtuned start
chkconfig ksmtuned on
CentOS 安装项目提示
Loaded plugins: fastestmirror, refresh-packagekit, security
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/repo/ar...
之前有好几台机器流量统计失效,经查发现cron进程卡死,直接Kill并重新运行一次即可。
一、查看进程,找到pid
ps aux | grep cronm
二、Kill
kill -9 pid
三、重新执行
/usr/loc...
Linux直接DD就行
dd if=/dev/zero of=test bs=1M count=1024 conv=fdatasync
dd if=/dev/zero of=512M.bin bs=1M count=512 conv=fdatasync
dd if=/dev/zero of=256M.bin bs=1M coun...
升级需要,留档备用,都是官方教程,所以适合正版用户,开心版用户自己想办法
一键升级:
https://docs.whmcs.com/Automatic_Updater
WHMCS完整包:
https://download.whmcs.com/#full
...
WHMCS 默认的注册页面过于繁琐,方便客户注册需要简化部分,但是有些值也不能为空,So..
一、文件
templates/模板/clientregister.tpl
二、简化方法:
隐藏代码 style="display:non...
用NOKVM很久了,一直都是http裸奔一直没SSL,虽然是自己在用,所以为了安全还是加上SSL吧。
一、修改Nginx参数
vi /etc/nginx/conf.d/nokvm.conf
在适当位置加入SSL参数
listen 443 ssl;...