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.

FAQ
Q
What does the “Delete all board cookies” do in Logic Invoice?
A
“Delete all board cookies” deletes the cookies created by phpBB which keep you authenticated and logged into the board. Cookies also provide functions such as read tracking if they have been
Q
How do I create a new topic or post a reply in Logic Invoice?
A
To post a new topic in a forum, click "New Topic". To post a reply to a topic, click "Post Reply". You may need to register before you can post a message. A list of your permissions in each f
Q
Why can’t I add more poll options in Logic Invoice?
A
The limit for poll options is set by the board administrator. If you feel you need to add more options to your poll than the allowed amount, contact the board administrator.
Q
What are global announcements?
A
Global announcements contain important information and you should read them whenever possible. They will appear at the top of every forum and within your User Control Panel. Global announceme
Q
Why do some usergroups appear in a different colour?
A
It is possible for the board administrator to assign a colour to the members of a usergroup to make it easy to identify the members of this group.