Now we will create a MySQL database for Invoice Ninja using the following query: mysql> CREATE DATABASE invoiceninja Log into MySQL console with the root account: mysql -u root -p Restart the Apache web server for the changes to take effect: sudo systemctl restart apache2 Step 4: Create a MySQL database for Invoice Ninja Install Apache, MySQL (or MariaDB) and PHP 7 on your server using the following command: apt-get install apache2 libapache2-mod-php mysql-server php7.0-cli php7.0-common php7.0-curl php7.0-gd php7.0-mysql php7.0-xml php7.0-mcrypt php7.0-mbstring php7.0-jsonĮnable the Apache mod_rewrite module: sudo a2enmod rewrite Once you are logged, run the following command to make sure that all installed OS packages are up to date: apt-get updateĪpt-get upgrade Step 3: Install Apache, MySQL (MariaDB) and PHP 7 Log in to the VPS via SSH as user root ssh _Address -p Port_number Step 2: Update all packages Step 1: Log in via SSH on the Ubuntu server:
Full SSH root access or a user with sudo privileges is also required.PHP 7.0 or higher with the mcrypt, mbstring, xml, curl, gd, json and mysql PHP extensions enabled.MySQL 5.5 or later is recommended, or MariaDB installed on your Linux virtual server.Apache Web Server >= 2.0 compiled with mod_rewrite module, or Nginx.In order to run Invoice Ninja on your Ubuntu 16.04 VPS, we need the following requirements met:
In this article we will show you how to install Invoice Ninja on an Ubuntu 16.04 server. InvoiceNinja is a free and open source software application written in PHP used for invoicing, billing customers and time tracking management system.