SystemAdmin
From Dungog Wiki
Contents |
Server Administration Tools
Rsync Transfers
yum install dungog-rsync
Access at /server-manager > dungog.net > Rsync
Overview
Transfer files between your sme server and any other linux server with ssh and rsync installed.
Rsync Secure client
Automate the process using a easy to setup secure ssh connection.
Distribute or collect data to other servers automatically.
Rsync Anonymous client
Set up files or directories to mirror from an anonymous rsync server
on demand or automated.
Rsync Anonymous server
untested on SME7
To make files available for download by Anonymous Rsync you place them in the files directory of an ibay
and make it globally accesable.
The panel shows which servers have the correct settings and warns of possible errors in permissions.
You need to find, install and possibly fix e-smith-rsyncd
dungog-dfind
Find and delete large/old files
yum install dungog-dfind
test settings at the prompt, then run as a cron job using dungog-cron
dfind is a wrapper around find, it simplifies finding files based on last access, size, extension and location. It returns the list of files found and/or deleted. It can be emailed to your selected user, with a site specific message. It could be run from cron on monday in list mode, with delete mode set for friday.
dfind -h, gives a list of options
dfind -z, gives the current defaults
options can be set with a '-v value' combination
eg dfind -m jane -s +20000k -c delete = mail to jane, increase size to files greater than 20mb and delete them
there are times when it is easier to make a copy of the file and change the preset defaults
pico -w /usr/bin/dfind, the defaults are at the top of the script<p>
dungog-members
yum install dungog-members
server-manager > dungog.net > Members
Create a .htaccess password file, and transfer to a remote server.
It is similar to dungog-proxy with extra fields and the transfer function.