ubuntu-page-9
How to Setup Rsync Server
1. Create the rsyncd.conf file
sudo nano /etc/rsyncd.conf
2. Put the following content in, obviously swapping out the relevant configuration variables like uid or gid
lock file = /var/run/rsync.lock
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
[code]
path = /home/programster/code
comment = Programsters code folder
uid = programster
gid = programster
read only = no
list = yes
3. Save and close the file
4. Restart the Daemon
sudo systemctl restart rsync
ubuntu-page-9.txt · Last modified: 2024/09/22 03:55 by 127.0.0.1