The following script you can use to check the Server uptime? root@admin[/usr/local/apache/cgi-bin]# nano loads #!/bin/bash echo Content-type: text/plain echo echo $(hostname) echo “=>” echo $(uptime)
See MoreTag: cpanel web hosting
Add SPF and Domainkeys in cPanel
If you have a cPanel based server, adding an SPF record or domain keys entries for domains are so much easier than manually entering them.cPanel provides the following scripts/commands to help us through this task:# /usr/local/cpanel/bin/domain_keys_installer# /usr/local/cpanel/bin/spf_installerNote:: This would add the records for all domains under this cPanel account. Meaning for all Addon domains too.
See MoreDatabase size doesn’t get updated in cPanel.
If the database inside the cPanel shows 0 mb, it is because the database cache file of the user is not updated. To fix this, login to server via SSH and edit the below file:vi /var/cpanel/cpanel.configcheck disk_usage_include_sqldbs=0 and change it to disk_usage_include_sqldbs=1, if the line noe found, simply add it to the bottom. You can do the […]
See More