update toàn bộ trong xenos
update kloxo
Lệnh sửa lỗi kloxo
Reinstall Kloxo
Mã:
# yum reinstall lxlighttpd lxphp lxzend
Lệnh ép xóa 1 folder
: nén một thư mục
Mã:
# tar -cvzpf archive.tgz /home/example/public_html/folder
di chuyển đến folder
giải nén tập tin .tgz
di chuyển thư mục
Mã:
# mv <fileold> <filenew) ( Di chuyển file đến 1 vùng khác ,bao gòm cả việc đổi tên )
Disable / Turn off Linux Firewall (Red hat/CentOS/Fedora Core)
Mã:
# /etc/init.d/iptables save
# /etc/init.d/iptables stop
# /etc/init.d/iptables start
# service httpd restart (restart apache – dịch vụ web)
# service mysqld restart (restart database)
# service exim restart (restart dịch vụ mail)
Các lệnh kiểm tra service, stop & start lại
# service httpd status (xem trạng thái)
# service httpd stop (dừng dịch vụ)
# service httpd start (start dịch vụ)
Mở 1 port nào đó trong centos
iptables -I INPUT -p TCP --dport
7777 -j ACCEPT
service iptables save
service iptables restart
Các lệnh liên quan tới tắt bật máy chủ
/sbin/shutdown -r now
/usr/bin/poweroff
/usr/bin/reboot
Hoặc
shutdown -r now
poweroff
reboot
xóa cache ram để hệ thống nhanh hơn
# free -m
# sync; echo 3 > /proc/sys/vm/drop_caches
Chmod file và folder thành 77
Backup sql
mysqldump -u root -ppass_của_root tên_data > backup.sql
Restore sql
mysql -u root -ppass_của_root tên_data < tên_file.sql
Tắt firewall
bật LiteSpeed
Go88 là 1 trong các cổng game uy tín và phổ thông tại Việt Nam. Với giao diện trực giác, dễ sử dụng và tính bảo mật cao, Go88 đã lôi kéo hàng triệu người chơi từ khắp nơi. 1 trong các ưu thế của Go88...
Giới thiệu kho game thú vi với sân...