Changes

From SME Server
Jump to navigationJump to search
4 bytes added ,  18:48, 13 July 2011
m
Minor text fix
Line 27: Line 27:  
====Preparing your system====
 
====Preparing your system====
 
<ol><li>Create a storage location for mirror<br/>
 
<ol><li>Create a storage location for mirror<br/>
<pre>mkdir -p /path/to/your/data/store/</pre>
+
<pre>mkdir -p {/path/to/your/data/store/}</pre>
 
</li><li>Create a new user to perform sync. If you are running SME Server you can create the user through the server-manager panel.
 
</li><li>Create a new user to perform sync. If you are running SME Server you can create the user through the server-manager panel.
 
</li><li>Now it is time to download the ftpsync script and all files it requires:
 
</li><li>Now it is time to download the ftpsync script and all files it requires:
Line 39: Line 39:  
====Testing your setup====
 
====Testing your setup====
 
<ol><li>Now it is time to perform the initial sync (and test that script does what it needs to)
 
<ol><li>Now it is time to perform the initial sync (and test that script does what it needs to)
<pre>su - user -s /bin/bash
+
<pre>su - {user} -s /bin/bash
 
~/bin/ftpsync</pre>
 
~/bin/ftpsync</pre>
 
</li><li>Now check heck the logs to see if there are any errors. Since the initial sync will take a lot of time you can best do this in a second terminal window:
 
</li><li>Now check heck the logs to see if there are any errors. Since the initial sync will take a lot of time you can best do this in a second terminal window:

Navigation menu