Skip to content

Instantly share code, notes, and snippets.

@pyro2927
Last active August 29, 2015 14:06
Show Gist options
  • Save pyro2927/b18268834dccabf6b6d9 to your computer and use it in GitHub Desktop.
Save pyro2927/b18268834dccabf6b6d9 to your computer and use it in GitHub Desktop.
Ubuntu server istatd install
# install istatd on a fresh Ubuntu server
# expects to be run as root
# run automatically with `curl -sSL https://gist.githubusercontent.com/pyro2927/b18268834dccabf6b6d9/raw/9070d28d0cfb842b1cae33097cc9b47ce141059e/ubuntu_istatd.sh | bash`
apt-get install -y build-essential autoconf automake checkinstall libxml2-dev
wget https://github.com/tiwilliam/istatd/archive/r0.5.8.tar.gz
tar xvzf r0.5.8.tar.gz
cd istatd-r0.5.8/
autoreconf -i
./configure
make
make install
useradd istat
mkdir /var/run/istat
chown istat /var/run/istat
sed -i '1i/usr/local/bin/istatd -d' /etc/rc.local
/usr/local/bin/istatd -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment