iStat Server Linux build procedure and package guide

  • Download and decompress the source.
  • cd /path/to/istatserver
  • ./autogen
  • ./configure
  • make
  • sudo make install
  • sudo /usr/local/bin/istatserver (start with -d flag to run in daemon mode)

A 5 digit passcode is generated by the install script. It can be found in the preference file, which is generally located at /usr/local/etc/istatserver/istatserver.conf. iStat View for iOS and iStat View for Mac will ask for this passcode the first time you connect to your computer.


Upgrading iStat Server #

Upgrades follow the same process as standard installs. Please stop istatserver if it is running then run the normal build process.


Starting iStat Server at boot #

iStat Server does not install any scripts to start itself at boot. Sample scripts for rc.d, upstart and systemd are included in the resources directory. You may need to customize them depending on your OS.

Starting with systemd #

  • sudo cp ./resource/systemd/istatserver.service /etc/systemd/system/istatserver.service
  • sudo service istatserver start

Starting with upstart #

  • sudo cp ./resource/upstart/istatserver.conf /etc/init/istatserver.conf
  • sudo start istatserver

Starting with rc.d #

  • sudo cp ./resource/rc.d/istatserver /etc/rc.d/istatserver
  • sudo /etc/rc.d/istatserver start

The package guide below is based on a clean install of the specific OS. You may already have some of these packages installed. Package managers and package names may be different for different versions of the OSs. This guide assumes you are running with root privileges to install packages.

Solaris 11 #

Required packages:

  • pkg install automake
  • pkg install autoconf
  • pkg install gcc-c++

FreeBSD 10.2 #

Required packages:

  • pkg install autoconf
  • pkg install automake
  • pkg install openssl
  • pkg install sqlite

Fedora 23 #

Required packages:

  • yum install gcc-g++
  • yum install autoconf
  • yum install automake
  • yum install libxml2-devel
  • yum install openssl-devel
  • yum install sqlite-devel

Optional packages:

  • yum install lm_sensors
  • yum install lm_sensors-devel
  • yum install avahi-devel

CentOS 7 #

Required packages:

  • yum install gcc-c++
  • yum install autoconf
  • yum install automake
  • yum install libxml2-devel
  • yum install openssl-devel
  • yum install sqlite-devel

Optional packages:

  • yum install lm_sensors
  • yum install lm_sensors-devel
  • yum install avahi-devel

Debian 8 #

Required packages:

  • apt-get install g++
  • apt-get install autoconf
  • apt-get install libxml2-dev
  • apt-get install libssl-dev
  • apt-get install libsqlite3-dev

Optional packages:

  • apt-get install libsensors4-dev
  • apt-get install libavahi-common-dev
  • apt-get install libavahi-client-dev

Ubuntu 16 #

Required packages:

  • apt-get install g++
  • apt-get install autoconf
  • apt-get install libxml2-dev
  • apt-get install libssl-dev
  • apt-get install libsqlite3-dev

Optional packages:

  • apt-get install libsensors4-dev
  • apt-get install libavahi-common-dev
  • apt-get install libavahi-client-dev

AIX #

Required packages:

  • autoconf
  • automake
  • gcc-c++
  • libxml2 + libxml2-devel
  • openssl + openssl-devel
  • pth + pth-devel
  • sqlite + sqlite-devel
  • zlib + zlib-devel