Using the script provided below you will be able to make automatic full cPanel backups of your account.
This backup script includes SSL support. This is not necessary if you run the script on the server...
How to restore Cpanel account backup
Hello,
I have deleted user “xyz” from the WHM. Now I want to restore it.
This account has been deleted on 2nd July 2013 and this account showing in
daily, weekly and monthly backup.
Daily backup updated today, monthly and weekly backup updated on 5 July 13. Now
I...
UPDATE: The one-liner below still works as of 7/23/15 on CENTOS 5.8 x86_64 WHM 11.50.0 (build 27). Will be testing shortly on CENT7
To create all accounts backup on your server, execute following command
for backup in `\ls /var/cpanel/users/`; do echo /scripts/pkgacct $backup; done
Run it...
Bên dưới đây là các lệnh command tự động sửa lỗi hệ thống rất hữu dụng. Giả sử như các thao tác trên SSH có lỗi nào đó xảy ra, thì các command bên dưới sẽ sửa được các lỗi đó. Thay yourdomain.com thành...
Đây là bài viết hướng dẫn tăng tốc độ load website, một tính năng có sẵn trên cPanel. Với việc website được nén lại sẽ nhẹ hơn, load nhanh hơn, giúp tối ưu hóa website tốt hơn trên bộ máy tìm kiếm.Bước...
1. Giới thiệu:Công cụ easyapache cho phép cài đặt, điều chỉnh, thiết lập các thành phần của PHP và Apache cho WHM và cPanel.Khách hàng có thể sử dụng công cụ này thông qua giao diện hoặc command...
Vào Một Ngày đẹp trời ,bạn phát hiện website đột ngột chậm như rùa, Hoặc website ngốn bandwith 1 cách nhanh chóng mặt.Có thể website của bạn đang bị tấn công.
Một các đơn giản để phát hiện là bạn vào...
Đã bao giờ bạn truy cập File Manager trong cpanel để quản lý file,nhưng bạn không thấy bất kỳ 1 file nào ngoài thông báo “Data Error” ?Lỗi không hiển thị file trong File Manager như...
Một số lệnh autofix giúp bạn có thể thực hiện các tác vụ trên hệ thống trong nhiều trường hợp, chẳng hạn như đổi SSH port và quên mất, hay bạn block nhầm chính IP mình đang truy cập trên cổng FTP chẳng hạn.
Flushing iptables rules
http://yourdomain.com:2086/scripts2/doautofixer?autofix=iptablesflush
Restart...
When you upgrade from cPanel 11.24 to 11.25, your users may notice that in cPanel, their MySQL databases show 0MB of disk space used, when they know their databases are much larger. This is due to an option in cPanel that you specifically have to enable. To enable MySQL disk usage tracking:
1) Edit /var/cpanel/cpanel.config
Change:
disk_usage_include_sqldbs=0
to
disk_usage_include_sqldbs=1
Then...
This may seem pretty simple, but I see a lot of questions about how to get a user’s disk space usage on a cPanel user. I put together a quick list of 5 simple ways for the average admin:
1) Good ole’ cPanel/WHM. You can see the usage on the left-hand side of cPanel, or in the ‘List Accounts’...
The command below will delete/empty all files in '/path/to/the/logdirectory' directory.for i in $(find /path/to/the/logdirectory -type f); do echo > $i; done
You can empty the logs files via SSH as user root using the 'echo' commandecho > /path/to/the/logfileYou should be aware of the list...
Checking disk space usage and removing old log files
cPanel & WHM create and maintain log files. These log files allow you to examine errors and other occurrences on the system.
After an extended period of time, the system's storage devices will begin to fill, as the log files contain more information....