kloxo-mr 常用命令

to know the configuration of the installed

sh /script/sysinfo

restarting all services

sh /script/restart-services
sh /script/restart-all

restarting per-item

/etc/init.d/named restart
/etc/init.d/httpd restart
/etc/init.d/nginx restart
/etc/init.d/php-fpm restart
/etc/init.d/mysqld restart
/etc/init.d/kloxo restart

example fix

sh /script/fixweb
sh /script/fixphp
sh /script/fixdns
sh /script/fixwebmail
sh /script/fixmail
sh /script/fixvpop
sh /script/fix-all

Clean-Up for affected software, especially after updating kloxo-mr

sh /script/cleanup

manual alternative fix permission & ownership at kloxo-mr menu

sh /script/fix-chownchmod

example command for optimize & repair mysql database

sh /script/mysql-optimize --select=repair
sh /script/mysql-optimize --select=optimize

Clear Cache (*not work in OpenVz VPS)

sh /script/clearcache --select=1

Manual alternative apache optimize

### for mod_php select optimeze
sh /script/apache-optimize --select=optimize
### for suphp/fcgid/php-fpm
sh /script/apache-optimize --select=default

Reset mysql root password

sh /script/reset-mysql-root-password <newpassword>

Reset Kloxo admin password login:

sh /script/resetpassword master <newpassword>

another way to convert database storage engine (myisam or innodb)

sh /script/mysql-convert --engine=MyISAM
sh /script/mysql-convert --engine=InnoDB
### MariaDB only convert to aria
sh /script/mysql-convert --engine=aria

RkHunter Check (security)

rkhunter --check

check memory

free -m

important

yum list installed httpd* mod*
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值