InvoiceNinja is a popular open source application for invoicing and time tracking management system based on PHP. It is designed from the ground up for ease of use to allow business owners create and manage their business invoices and expenses.
If you’re looking for a robust, secure and easy to use invoicing and time tracking system that’s 100% free, you’ll find InvoiceNinja to be useful. This brief tutorial is going to show students and new users how to install InvoiceNinja on Ubuntu 17.04 / 17.10 with Nginx, MariaDB and PHP support.
This post covers installing the latest version of InvoiceNinja, which at the time of writing was v4.0.1
To get started with installing InvoiceNinja, follow the steps below:
Step 1: Install Nginx Web Server
InvoiceNinja requires a webserver to function and the most popular webserver in use today is Nginx. So, go and install Nginx on Ubuntu by running the commands below:
sudo apt install nginx
Next, run the commands below to stop, start and enable Nginx service to always start up with the server boots.
Finally, configure Apahce2 site configuration file for InvoiceNinja. This file will control how users access InvoiceNinja content. Run the commands below to create a new configuration file called invoiceninja.conf
sudo nano /etc/nginx/sites-available/invoiceninja
Then copy and paste the content below into the file and save it. Replace the highlighted line with your own domain name and directory root location.
To load all the settings above, restart Nginx by running the commands below.
sudo systemctl restart nginx.service
Then open your browser and browse to the server domain name. You should see InvoiceNinja setup wizard to complete. Please follow the wizard carefully.
Then follow the on-screen instructions… you will be asked to input your database configuration, administrative details and other configuration settings. When complete you may sign-in and start using InvoiceNinja. Return to http://example.com/login/ anytime thereafter to sign-in.
Congratulation! You have successfully installed InvoiceNinja on Ubuntu 17.04 / 17.10