Setup unison » Historie » Version 1
Jeremias Keihsler, 13.01.2017 13:02
| 1 | 1 | Jeremias Keihsler | h1. Install unison |
|---|---|---|---|
| 2 | |||
| 3 | h2. Requirements |
||
| 4 | |||
| 5 | To install unison you will need the following: |
||
| 6 | * a installed and supported operating system (e.g. CentOS 6.x) |
||
| 7 | * root-access |
||
| 8 | * [[repo_epel|epel repository]] |
||
| 9 | * a fast internet connection |
||
| 10 | |||
| 11 | h2. Preliminary note |
||
| 12 | |||
| 13 | most of this is taken from |
||
| 14 | * [[http://www.chenit.com.au/blog/set-up-unison-for-two-way-syncing-on-2-centos-servers]] |
||
| 15 | * [[http://www.cyberciti.biz/faq/unison-file-synchronizer-tool/]] |
||
| 16 | you may consult the official homepage |
||
| 17 | * [[http://www.cis.upenn.edu/~bcpierce/unison]] |
||
| 18 | |||
| 19 | h2. Install |
||
| 20 | |||
| 21 | <pre><code class="bash"> |
||
| 22 | yum install unison |
||
| 23 | </code></pre> |
||
| 24 | |||
| 25 | alternatively the gui-version |
||
| 26 | <pre><code class="bash"> |
||
| 27 | yum install unison240-gtk |
||
| 28 | </code></pre> |
||
| 29 | |||
| 30 | h2. Usage |
||
| 31 | |||
| 32 | Basic usage: |
||
| 33 | <pre><code class="bash"> |
||
| 34 | unison /mnt/dat /media/ext_HDD |
||
| 35 | </code></pre> |
||
| 36 | |||
| 37 | if there is some Microsoft-Filesystem involved you maybe won't sync the file-permissions |
||
| 38 | <pre><code class="bash"> |
||
| 39 | unison /mnt/dat /media/ext_HDD -perms 0 |
||
| 40 | </code></pre> |