[Kloxo] Maintenence Command - Một số lệnh thường dùng
	
	
		There is some example maintenence command ........
to know the configuration of the installed
restarting all services
	Mã:
	
sh /script/restart-services
sh /script/restart-all
 example restarting per-item
	Mã:
	
/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
	Mã:
	
sh /script/fixweb
sh /script/fixphp
sh /script/fixdns
sh /script/fixwebmail
sh /script/fixmail
sh /script/fixvpop
# for all
sh /script/fix-all
 Clean-Up for affected software, especially after updating kloxo-mr
manual alternative fix permission & ownership at kloxo-mr menu
	Mã:
	
sh /script/fix-chownchmod
 example command for optimize & repair mysql database
	Mã:
	
sh /script/mysql-optimize --select=repair
sh /script/mysql-optimize --select=optimize
 Clear Cache (*not work in OpenVz VPS)
	Mã:
	
sh /script/clearcache --select=1
 Manual alternative apache optimize
	Mã:
	
### 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
	Mã:
	
sh /script/reset-mysql-root-password <newpassword>
 Reset Kloxo admin password login:
	Mã:
	
sh /script/resetpassword master <newpassword>
 another way to convert database storage engine (myisam or innodb)
	Mã:
	
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)
check memory
View more: http://forum.mratwork.com/kloxo-mr-t...nence-command/