Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Sync to Web Server

Add your user to the www-data group.

$ sudo usermod -a -G www-data $USER

Edit the sudoers file.

$ sudo visudo

Add the following line to the end of the file.

caleb ALL=NOPASSWD:/usr/bin/rsync

Push to the server with the following command:

$ rsync -auv --rsync-path="sudo rsync" source/ caleb@calebh.top:/var/www/calebh.top/destination/