close Warning: Can't synchronize with repository "(default)" (/usr/svn/silverfile does not appear to be a Subversion repository.). Look in the Trac log for more information.

Version 4 (modified by hank, 14 years ago) (diff)


SilverFile Server Administration Guide and Tips

Disk Usage Tools

Get a summary of disk usage for each client folder. Sort the output alphabetically.

du -h --max-depth=1 | sort -k 2

Using Screen

Screen is an excellent utility for managing shell sessions remotely.


Within the new shell, enter Ctr-A d. This disengages you from that shell but still allows it to keep running.

screen -ls (lists screen sessions)
screen -r xxxx.tty.session (allows you to re-attach to a given session)

SSH Tunneling

If you want to tunnel the tomcat instance (running nutch) try this command:

ssh -p 2222 -L 8080:localhost:8080

Init Scripts

Add an init script Add the script to /etc/init.d/ and then run:

update-rc.d script_name defaults

Remove an init script Delete the script from /etc/init.d/ and then run:

update-rc.d script_name remove