Bang hộiTiền mặt: 0 Xu Trò chơiHộp quà giáng sinhThứ Sáu, 12:33:55 - 28/06/2024
Chia sẻ kiến thức sử dụng VPS (máy chủ ảo) - Server (máy chủ riêng)

Các điều hành viên: Mod, SMod, Admin

[Kloxo] Maintenence Command - Một số lệnh thường dùng

[Kloxo] Maintenence Command - Một số lệnh thường dùng

#1 » Gửi bài gửi bởi nghiammo1992 » 21/02/2015 23:43 » @381014

There is some example maintenence command ........

to know the configuration of the installed

Mã: Chọn tất cả
sh /script/sysinfo


restarting all services
Mã: Chọn tất cả
sh /script/restart-services
sh /script/restart-all


example restarting per-item
Mã: Chọn tất cả
/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ã: Chọn tất cả
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
Mã: Chọn tất cả
sh /script/cleanup


manual alternative fix permission & ownership at kloxo-mr menu
Mã: Chọn tất cả
sh /script/fix-chownchmod


example command for optimize & repair mysql database
Mã: Chọn tất cả
sh /script/mysql-optimize --select=repair
sh /script/mysql-optimize --select=optimize


Clear Cache (*not work in OpenVz VPS)
Mã: Chọn tất cả
sh /script/clearcache --select=1


Manual alternative apache optimize
Mã: Chọn tất cả
### 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ã: Chọn tất cả
sh /script/reset-mysql-root-password <newpassword>


Reset Kloxo admin password login:
Mã: Chọn tất cả
sh /script/resetpassword master <newpassword>


another way to convert database storage engine (myisam or innodb)
Mã: Chọn tất cả
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)
Mã: Chọn tất cả
rkhunter --check


check memory
Mã: Chọn tất cả
free -m


View more: http://forum.mratwork.com/kloxo-mr-tips-and-tricks/maintenence-command/
nghiammo1992 ✅
Hình đại diện của thành viên
Rank: ☀️2/30☀️
Cấp độ:
Tu luyện:
Like:
Online:
Bang hội: Tiếu Ngạo
Xếp hạng Bang hội: ⚡5/60⚡
Level:
Chủ đề đã tạo: 🩸4141/4141🩸
Tiền mặt:
Ngân hàng:
Nhóm:
Danh hiệu: ⚝Truyền Thuyết⚝
Giới tính:
Ngày tham gia:
Đến từ:
Thiết bị:
Số điện thoại:
(Cốc Cốc 46.0)


Quay về VPS - Server

 


  • Chủ đề tương tự
    Trả lời
    Xem
    Bài viết mới nhất