Skip to content

Instantly share code, notes, and snippets.

@v-thomp4
Created July 7, 2014 10:31
Show Gist options
  • Save v-thomp4/302bde7e347b9e2916e9 to your computer and use it in GitHub Desktop.
Save v-thomp4/302bde7e347b9e2916e9 to your computer and use it in GitHub Desktop.
setup lsyncd
sudo su
apt-get update && apt-get install -y lua5.1 liblua5.1-dev pkg-config rsync asciidoc
wget http://lsyncd.googlecode.com/files/lsyncd-2.1.5.tar.gz
tar zxf lsyncd-2.1.5.tar.gz
cd lsyncd-2.1.5
export CFLAGS="-march=native -O2"
./configure
make
make install
mkdir /var/log/lsyncd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment