Cleanup backups on #CyberPanel

Cleanup backups on #CyberPanel

CyberPanel local backups were stacking up Wrote a script to cleanup Added script to cron ???? PROFIT! for dir in /home/*; do dir=$(echo $dir | cut -c 7-) if [ “$dir” == ‘cyberpanel’ ] || [ “$dir” == ‘backup’ ] || [...
Set ownership of all #CyberPanel users’ web folders

Set ownership of all #CyberPanel users’ web folders

The last time I wrote about this, I was a VestaCP user. I’ve since upgraded my VPS to CyberPanel, which I’ll discuss in a future post. Either way, I *STILL* work on my websites as a root user on my VPS. When I copy over WordPress or other files they retain...
Set ownership of all Vesta users’ web folders #vestacp

Set ownership of all Vesta users’ web folders #vestacp

I often work on my websites as my root user on my Ubuntu VPS running Vesta. When I copy over WordPress or other files they’ll retain root ownership. Rather than having to chown every file and folder I’ve worked on, I run this simple script to set proper...