This tutorial is not for beginners and aims to help you to remember what are the major steps to install Jorani with nginx web server and Facebook Hip Hop virtual machine. Some steps such as installing the database or the software itself are omitted. In addition, I would suggest you to read the tutorial of installation with Apache.
We will explain how to install on Ubuntu 14.10. Please note that HHVM only works with 64-bit machines.
sudo apt-get install software-properties-common sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0x5a16e7281be7a449 sudo add-apt-repository 'deb http://dl.hhvm.com/ubuntu utopic main' sudo apt-get update sudo apt-get install hhvm
The page "report of the presence of an employee" uses cal_days_in_month PHP function that does not yet exist (at the time of this writing) in HHVM API. So we need to enable the Zend compatibility layer (in /etc/hhvm/php.ini) :
hhvm.enable_zend_compat = true
HHVM executes PHP scripts and dialogues with your web server via FastCGI in a rather similar way to PHP-FPM. In this example, we will launch it so that it communicates with the web server via the network (it is also possible to use a socket if both servers are on the same machine).
hhvm --mode daemon -vServer.Type=fastcgi -vServer.Port=9010
If you encounter errors (segmentation fault, libgmp.so.10, libmemcachedutil.so.2), please read the documentation of HHVM project because many solutions are provided.
If you want to use Apache, you can find more information in the HHVM project documentation.
A sample configuration is provided in the Jorani Github repository, but you need to adjust it according to your environment. For example, I change the line:
Since I launched HHVM on this network port.
Do not forget to configure your system so that nginx has the right permissions on the directory where you've installed Jorani.
Of course, you need to install and configure properly Jorani.
View your individual leave counters. How many days are entitled to you and how many you've taken. Read »
How to install Jorani on Ubuntu? What is the default password? Here's a complete tutorial. Read »
Once your account has been created, you can login to the application. This article explains how to solve connection problems. Read »
Jorani is a secured open source software. Jorani implements many security algoritms to protect your data and your privacy. Read »