theKindOfMe

March 22, 2011

Installing Lsync on Ubuntu 9.10 / 10.04

Filed under: Uncategorized — Tags: — yasi8h @ 9:12 am

If you want to seamlessly sync two folders across two machines on the internet, you could use a lot of tools for the like sync. However if you want this syncing to take place whenever a file changes in the master (in a case where you have a master and a slave, where masters changes are propagated to slave), you can use Lsync. You can read more about it here (http://code.google.com/p/lsyncd/).

Here is how to get it installed on Ubuntu. This has been tested on version 9.10 and 10.04.

Download the latest version of synced
wget http://lsyncd.googlecode.com/files/lsyncd-2.0.3.tar.gz

Install the required packages
sudo aptitude install lua5.1 liblua5.1-0-dev pkg-config

Compile and install away
cd lsyncd-2.0.3
./configure
sudo make install

Test whether its installed
lsyncd -version

Thats it!

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: