Last active
August 29, 2015 14:06
-
-
Save pyro2927/b18268834dccabf6b6d9 to your computer and use it in GitHub Desktop.
Ubuntu server istatd install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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