Changes

From SME Server
Jump to navigationJump to search
167 bytes added ,  19:13, 9 July 2011
m
no edit summary
Line 28: Line 28:  
# create location for mirror
 
# create location for mirror
 
# create new user to perform sync
 
# create new user to perform sync
 +
#* If you are running sme you will need to enable bash for this user<br><tt>db accounts setprop ''{user}'' Shell /bin/bash<br>signal-event user-modify ''{user}''</tt>
 
# download ftpsync script
 
# download ftpsync script
 
#* <tt>wget http://contribs.org/ftpsync.tgz</tt>
 
#* <tt>wget http://contribs.org/ftpsync.tgz</tt>
 
# extract tarball in users directory
 
# extract tarball in users directory
#* <tt>tar zxvf ftpsync.tgz</tt>
+
#* <tt>tar zxof ftpsync.tgz</tt>
 
# append the keys to authorized_keys file
 
# append the keys to authorized_keys file
 
#* <tt>cat .ssh/pushmirror-*.pub >> .ssh/authorized_keys</tt>
 
#* <tt>cat .ssh/pushmirror-*.pub >> .ssh/authorized_keys</tt>
board
414

edits

Navigation menu