How to install Logic Invoice in Ubuntu
To install Logic Invoice in Ubuntu
Logic Invoice is an open source tool used for accounting & invoicing. It can be used to build websites and online applications which allows free access to everyone. This article explains the installation procedure of Logic Invoice.
To install Logical Invoice
Prior configuration of LAMP stack is needed before the installation of Logic Invoice. Once LAMP is configured, install PHP-XML by triggering the following command.
root@linuxhelp:~# apt-get install php-xml
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libpango1.0-0 libpangox-1.0-0
.
.
.
Creating config file /etc/php/7.0/mods-available/xsl.ini with new version
Setting up php-xml (1:7.0+35ubuntu6) ...
Processing triggers for libapache2-mod-php7.0 (7.0.8-0ubuntu0.16.04.3) ...
Once PHP-XML is installed, enter into MariaDB console and create a database in it. After the database is created, set the permissions.
root@linuxhelp:~# mysql
MariaDB [(none)]> create database invoice_db
Query OK, 1 row affected (0.12 sec)
MariaDB [(none)]> grant all on logic_db.* to ' logic' @' localhost' identified by ' 12345'
Query OK, 0 rows affected (0.14 sec)
MariaDB [(none)]> flush privileges
Query OK, 0 rows affected (0.03 sec)
Now invoke the following command to download the Logic Invoice package.
The extracted Logical Invoice package is stored in invoice directory.
root@linuxhelp:~# wget https://github.com/Equotix/Logic-Invoice/releases/download/v1.1.1/Logic-Invoice-1.1.1.zip
--2016-11-04 17:16:14-- https://github.com/Equotix/Logic-Invoice/releases/download/v1.1.1/Logic-Invoice-1.1.1.zip
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
.
.
.
Logic-Invoice-1.1.1 100%[===================> ] 1.44M 25.4KB/s in 49s
2016-11-04 17:17:06 (30.5 KB/s) - ‘ Logic-Invoice-1.1.1.zip’ saved [1514944/1514944]
Once the package is downloaded, unzip it with the following command.
root@linuxhelp:/opt# unzip Logic-Invoice-1.1.1.zip -d logic
Archive: Logic-Invoice-1.1.1.zip
creating: logic/upload/
inflating: logic/upload/.htaccess.txt
creating: logic/upload/admin/
creating: logic/upload/admin/controller/
.
.
.
inflating: logic/upload/vqmod/xml/module_contact_form.xml
inflating: logic/upload/vqmod/xml/vqmod_logic_invoice.xml
inflating: logic/LICENSE
inflating: logic/README.md
After the package is extracted, create a new directory inside the web-root directory and move the extracted package into that location.
root@linuxhelp:/opt# mkdir /var/www/html/logic
root@linuxhelp:/opt# mv logic/upload/* /var/www/html/logic/
Now run the following command to change the group ownership permission for logic directory.
root@linuxhelp:/opt# chown www-data:www-data -R /var/www/html/logic
Open the web-browser enter your server IP and mention the logic directory.
Enter the DB details and set login credentials for Logical Invoice.
Now click installation button.
Enter username and password to log into the Logical Invoice tool.
Once Logical Invoice is installed, you' ll be taken to its dashboard.
Comments ( 0 )
No comments available