Installing Akaunting Accounting on Ubuntu 20.04

featured image

Written in PHP, Awkward is a versatile and open source online accounting software that allows users to manage their finances and track all invoices, payments and expenses, just a few of the financial tasks involved.

This is a great online accounting platform for small businesses who don’t have the funds to purchase expensive software. Akaunting has a simple interface that is easy to use and all the controls you need.

Amazing features

These are some of the most notable features:

  • Multicurrency support.
  • Visual reporting with charts
  • Supplier management system.
  • Ability to send invoices via SMTP protocol to clients (requires a dedicated mail server for your server).
  • Manage and create invoices, bills, or other payments for work in process.
  • Acceptance of bulk payments
  • System for discount management
  • Summary for Customers

This guide will walk you through how to install it.AwkwardSelf-hosted accounting softwareUbuntu 20.04.

Step 1: Install LAMP stack on Ubuntu

SinceAwkwardWe need to install the LAMP stack on Ubuntu 20.04. Customers and administrators primarily use the interface. They also require the database server for all data storage. A detailed guide has been created to help you install the LAMP stack on Ubuntu 20.04. This guide is helpful before you proceed.

 

Additional PHP modules may be requiredSoftware for AkauntingIt should work flawlessly. Install the following PHP modules.

$ sudo apache2-mod-php PHP7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 xmlrpc.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.4 php7.

Step 2: Create an Akaunting database

Next, we will create a databaseAwkwardThe MariaDB database server. This is the database Akaunting uses for all its data.

Log in to MariaDB.

$ sudo mysql -u root -p

Create a database.

MariaDB [(none),]> CREATE DATABASE akaunting;MariaDB [(none),]>CREATE USER 'akaunting_user'@'localhost' IDENTIFIED by '[email protected]';

Next, grant all permissions the database user.

MariaDB [(none),]>GRANT ALL ON akaunting. * TO 'akaunting_user'@'localhost';

Save your changes, then exit MariaDB prompt.

MariaDB [(none),]>FLUSH PRIVILEGESMariaDB [(none),]>EXIT
Create an Akaunting database

Step 3: Install Akaunting on Ubuntu

After the database has been created, we will download the most recent version.AwkwardThis archive is compressed. This can be used with the wget command, as shown.

$ wget -O Akaunting.zip https://akaunting.com/download.php?version=latest

Next, create a directory within the webroot directory.

$ sudo mkdir -p /var/www/akaunting/

Next, extract the archived contents.

$ sudo unzip Akaunting.zip -d /var/www/akaunting/

Next, create the web data user group and the owner of the directory.

$ sudo chown www.data:www-data-R/var/www/akaunting/

These are the permissions.

$ sudo chmod -R 755 /var/www/akaunting/

Step 4: Configure Apache Virtual Hosting for Akaunting with Ubuntu

Configure a virtual host for Akaunting. This allows Apache to host your site without conflicting the default Apache virtual hosts file.

These steps will help you set up a virtual host with your favorite text editor.

$ sudo vim /etc/apache2/sites-available/akaunting.conf

Copy the displayed content. Remember to change yourdomain.com with a fully qualified domain or server IP address.

Name of the server yourdomain.com
    DocumentRoot /var/www/akaunting/       DirectoryIndex index.php
Options + FollowSymLinks
All AllowOverride
All granted must be requested    ErrorLog $APACHE_LOG_DIR/akaunting.error.log
    CustomLog $APACHE_LOG_DIR/akaunting.access.log combined

Save your changes and close the settings file. Next, enable the Apache rewrite and virtual host files.

$ sudo a2ensite akaunting.conf
$ sudo a2enmod rewrite

You can also disable the Apache default virtual host file.

$ sudo a2dissite 000-default.conf

Restart Apache to allow the changes to take place.

$ sudo systemctl restart apache2

Step 5: Start the Akaunting Installation on Ubuntu

All settings and preferences are now set. Only remaining step is to install the web browser. Start your browser to visit the IP address of your server or fully qualified domain name (FQDN)

http://server-IP and domain name

You will be asked to choose your preferred language on the settings page.

Selection of Linguistic Languages

Next, enter your database information from when you created it and clickNext.

Akaunting Database Settings

ENTRY: Current publication as of the writing1.3.17The error (in ) causes a PHP error in the browser. Here’s an example of the error.

(1/1) ErrorException
Accessing array offset based on type int
In ArrayInput.php line 135

Open Source is a great way to work around this problem.ArrayInput.phpFile.

$ sudo vim akaunting/vendor/symfony/console/Input/ArrayInput.php

Change line 135:

} elseif ('-' === $key[0]) {

To

} elseif (isset($key[0]) && '-' === $key[0]) {
Fix Akaunting error

Save the file and refresh the installation page.

Fill in the administrator and company information, and click the button.Next“”

Akaunting Company

Finally, you will see the dashboard. You can now continue financial calculations and track your expenses.

Akaunting dashboard

This concludes the installation guide.AkautingSoftwareUbuntu 20.04.

 

https://www.swxbt.com/installing-akaunting-accounting-on-ubuntu-20-04-2/

Comments

Popular posts from this blog

7 SEO Metrics Every Blog Owner Should Track

GB WhatsApp Download gbwhatsapp latest version V18 against ban 2022

How to install the latest XFCE Desktop on Ubuntu and Fedora