Skip to content

Software: Required packages and dependencies

Jeremy Tan edited this page Oct 30, 2013 · 5 revisions

The server requires multiple packages to compile and run the software correctly. The list of required software to be installed is:

nginx
spawn-fcgi
libfcgi-dev
git
gcc
libssl-dev
make
libopencv-dev
valgrind
libldap2-dev
mysql-server
libmysqlclient-dev
php5
php5-gd
php5-fpm
php5-mysqlnd

These packages are installed by using apt-get. An internet connection is required.

Installation process

  1. Open a terminal. Update the apt package list
sudo apt-get update
  1. Install the packages required
sudo apt-get install nginx spawn-fcgi libfcgi-dev git gcc libssl-dev make libopencv-dev valgrind libldap2-dev mysql-server libmysqlclient-dev php5 php5-gd php5-fpm php5-mysqlnd

The install process will take some time, as quite a lot of packages are being installed. You may also be asked to supply a MySQL password. Choose whatever you like, but be sure to update UserCake and the server parameters to match this.

Other software

The operating system image used comes with nano by default. If (for some unfathomable reason) this is not to your liking, install vim:

sudo apt-get install vim

However if you know what vim is, you probably don't need this guide.