AWStats is not updating automatically in cPanel 1) SSH to server as root. 2) Change the directory to: /home/user/tmp/awstats * We need to make sure that the directive “AllowToUpdateStatsFromBrowser” is set to 1. grep AllowToUpdateStatsFromBrowser awstats.example.com.conf * Please check the permission of “/usr/local/cpanel/3rdparty/bin/awstats.pl” file. It must be 775. # ll /usr/local/cpanel/3rdparty/bin/awstats.pl -rwxrwxr-x. 1 root root 679172 Aug […]
See MoreTag: SSH
20+ Switches of rsync in Unix/Linux
* Switches of rsync: 1) -v, –verbose Increase verbosity. 2) -r, –recursive Recurse into directories. 3) -l, –links Copy symlinks as symlinks. 4) -p, –perms Preserve permissions. 5) -t, –times Preserve modification times. 6) -g, –group Preserve group. 7) -o, –owner preserve owner (super-user only) 8) -D Same as –devices –specials. –devices : preserve device files […]
See MoreCommand for Rsync over SSH – Unix/Linux
Command for Rsync over SSH Common Syntax for Rsync: # rsync [options] Source Destinations. Set up a secure backup with rsync + SSH of one system to the other. backup.example.com# rsync -avz –numeric-ids –delete root@myserver.example.com:/path/ /backup/myserver/ To do the backup, you have to be root on the remote server, because some files are only root […]
See More