InvoicePlane is a free and open-source invoicing and billing software tool that allows you to manage clients, quotes, invoices, and payments in a single platform. Here's how to install InvoicePlane on Ubuntu Server Latest.
Before installing InvoicePlane, ensure that you have the following prerequisites:
Update your server's package list and upgrade the existing packages by running the following commands:
sudo apt update
sudo apt upgrade
Install the Apache webserver on your Ubuntu Server by running the following command:
sudo apt install apache2
Install PHP version 5.5 or higher and its required modules by running the following command:
sudo apt install php libapache2-mod-php php-mysql php-curl php-gd php-zip php-xml php-mbstring
Install the MySQL server by running the following command:
sudo apt install mysql-server
During the installation process, you will be prompted to set up a root password for your MySQL server.
Create a new database for InvoicePlane, a new MySQL user and grant the user with full privileges to the database by running the following command:
mysql -uroot -p
Replace root
with your MySQL root user and enter the MySQL root password. Run the following commands:
CREATE DATABASE invoiceplane;
CREATE USER 'invoiceplaneuser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON invoiceplane.* TO 'invoiceplaneuser'@'localhost' WITH GRANT OPTION;
EXIT;
Download and install InvoicePlane by running the following commands:
cd /var/www/html
sudo wget https://github.com/InvoicePlane/InvoicePlane/releases/download/v1.5.11/InvoicePlane-v1.5.11.zip
sudo unzip InvoicePlane-v1.5.11.zip
sudo mv InvoicePlane-v1.5.11 invoiceplane
Create a new virtual host configuration file for InvoicePlane by running the following command:
sudo nano /etc/apache2/sites-available/invoiceplane.conf
Add the following to the file and replace example.com
with your domain name:
<VirtualHost *:80>
ServerName example.com
ServerAlias www.example.com
DocumentRoot /var/www/html/invoiceplane/public
<Directory /var/www/html/invoiceplane/public>
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/invoiceplane_error.log
CustomLog ${APACHE_LOG_DIR}/invoiceplane_access.log combined
</VirtualHost>
Save and close the file by pressing Ctrl + X
, Y
, and Enter
.
Enable the new virtual host configuration file by running the following command:
sudo a2ensite invoiceplane.conf
Restart the Apache server by running the following command:
sudo service apache2 restart
Open your web browser and navigate to your InvoicePlane installation URL. The web-based installation wizard will start guiding you through the installation process.
After a few seconds, the installation process will be completed, and you should see the InvoicePlane dashboard page.
You've successfully installed InvoicePlane on your Ubuntu Server Latest version. You can now set up your clients, create invoices, and manage payments using the InvoicePlane platform.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!