Cara Install InvoicePlane dengan Nginx di CentOS 7

InvoicePlane adalah aplikasi faktur sumber terbuka dan gratis. Kode sumbernya dapat ditemukan di Github. Tutorial kali ini akan menunjukkan cara menginstal InvoicePlane pada sistem CentOS 7 yang baru.


  • WebServer (Apache, NGINX). This tutorial will use Nginx.
  • MySQL version 5.5 or greater or the equivalent version of MariaDB.
  • PHP version 7.0 or greater with the following PHP extensions installed and activated:
  • php-gd
  • php-hash
  • php-json
  • php-mbstring
  • php-mcrypt
  • php-mysqli
  • php-openssl
  • php-recode
  • php-xmlrpc
  • php-zlib


  • A server running CentOS 7.
  • A non-root user with sudo privileges.

Step Initial

Cek Versi CentOS system:

Set up timezone:

Update operating system packages:

Install required packages:

Step 1 – Install PHP and required PHP extensions

Aplikasi web InovicePlane membutuhkan PHP versi 7.0.0 atau lebih tinggi. Repositori CentOS standar berisi versi PHP yang lebih lama, dan dengan demikian kita perlu menyiapkan repositori pihak ketiga untuk menginstal versi PHP yang lebih baru. Kami akan menggunakan repositori Webtatic.

Setup the Webtatic YUM repo:

Install PHP, as well as the necessary PHP extensions:

Check the PHP version:

Start and enable PHP-FPM service:

Baca Juga:  Install browser Opera menggunakan snapd

Step 2 – Install MariaDB

Install MariaDB database server:

Check the MariaDB version:

Start and enable MariaDB service:

Run mysql_secure installation script to improve MariaDB security and set the password for MariaDB root user:

Answer all the questions as shown below:

Log into MariaDB shell as the user root:

Create a MariaDB database and user that you will use for your installation of InvoicePlane, and remember the credentials:

Exit from MariaDB shell:

Step 3 – Install NGINX

Install Nginx web server:

Check the NGINX version:

Start and enable Nginx service:

Configure NGINX for InvoicePlane. Run sudo vim /etc/nginx/conf.d/invoiceplane.conf and populate the file with the following configuration:

Baca Juga:  Enable ssh di Linux FreeBSD

Test the NGINX configuration:

Reload NGINX:

Step 4 – Install InvoicePlane

Download the latest stable version of InvoicePlane and extract the archive:

Navigate to /var/www/invoiceplane folder:

Make a copy of the ipconfig.php.example file and rename the copy to ipconfig.php:

Open the ipconfig.php file and add your URL in it:

Change ownership of the /var/www/invoiceplane directory to nginx:

Run sudo vim /etc/php-fpm.d/www.conf and set the user and group to nginx. Initially, they will be set to apache:

Run sudo vim /etc/php.ini and set date.timezone:

Restart the PHP-FPM service:

Baca Juga:  Mengatasi FTP Error di Filezilla : "Could Not Connect to Server"

Run the InvoicePlane installer from your web browser and follow the instructions:

Once the installation has finished, you may log into InvoicePlane using the email address and password you have chosen during the installation.

If you want to secure your installation, you may disable the setup. To do so, replace the line DISABLE_SETUP=false with DISABLE_SETUP=true in your ipconfig.php file.

Step 5 – Complete the InvoicePlane setup

InvoicePlane is now installed and configured, it’s time to access their web installation wizard.

Open your web browser and type the URL You will be redirected to the following page:

InvoicePlane web installer

Now, click on the Setup button. You should see the following page:

Choose language

Next, choose the language and click on the Continue button. You should see the following page:

Prerequisite check successful

Next, click on the Continue button. You should see the following page:

Database setup

Here, provide your database details and click on the Try Again button. You should see the following page:

Database has been set up.

Now, click on the Continue button. You should see the following page:

Create user

Now, click on the Continue button. You should see the following page:

Installation complete

Now, provide all the required details, then click on the Continue button. Once the installation is completed, you should see the following page:

Log into InvoicePlane

Now, click on the Login button to access InvoicePlane administration.

Di tulis oleh: