Unison installation in MacOSX

Source: Internet
Author: User
Tags ocaml
The installation of unison under MacOSX-Linux Enterprise Application-Linux server application information. The following is a detailed description. Unison is a cross-platform file synchronization tool that not only supports local synchronization, but also supports synchronization through network protocols such as SSH, RSH, and Socket. Unison supports both one-way and two-way synchronization operations.

1. download the required software package

Installation Package http://caml.inria.fr/pub/distrib for Intel architecture... ml-3.10.2-intel.dmg
Installation Package http://caml.inria.fr/pub/distrib/ocaml-3.10/ocaml-3.10.2-ppc.dmg for PPC Architecture
Unison source package http://www.seas.upenn.edu /~ Ison-2.27.57.tar.gz...

2. Install the ocaml language development kit and compile the unison

Ocaml-3.10.2-intel.dmg hdiutil attach
Cd/Volumes/Objective \ Caml \ 3.10.2/
Installer-target/-pkg ocaml. pkg

3. Install the unison synchronization tool.

Tar zxvf unison-2.27.57.tar.gz
Cd unison-2.27.57

Make UISTYLE = text # If gcc is not available, install XCode Tools. Fink Project is also a good choice.

Mkdir-p "/var/root/Library/Application Support/Unison" # Run unison here. If this directory does not exist, an error is returned.

Cp unison/usr/local/bin/unison

4. Test
MacOSX has been installed, and I have installed unison in my ubuntu. Sometimes the versions at both ends are required to be consistent during execution.

/Home/will/bin/unison-force/home/will/tmp ssh: /// root@192.168.0.4 // tmp-servercmd/usr/local/bin/unison-testserver

The test is successful. If the above-testserver parameter is removed, the specific synchronization starts.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.