How to install Akaunting free accounting software on Ubuntu Linux

- Advertisment -
- Advertisement -

If you want to install Akaunting for a demo on a local server or for permanent purpose on cloud/hosting VPS server then here is the tutorial to guide you the steps for the installation of Akaunitng on Ubuntu, CentOS, Debian, Linux, Elementary OS and other similar Linux.

Akaunting is free and open source accounting software uses PHP & MySQL to run and available on GitHub. Thus, no need to use any client or the installation of accounting software on each and every system of a company or home. Any user who wants to use the Akaunting for small and medium business or personal usage can access it locally or remotely with the help of the internet and browser, once installed.

It provides a web interface like some WordPress based website and the procedure of its setup is also similar to it. That’s why it is not only user-friendly but also device too. Yes, we can use it on smartphones and tablets as well.

Akaunting Features:

  • Completely Free accounting software to use.
  • Access financial data online anytime on Mac, PC, tablet or mobile phone.
  • Open Source Accounting software with Github repository
  • Add deposits to and transfers between accounts
  • Send professional invoices to clients
  • Vendor Management system
  • Create and manage bills
  • Add non-billable expenses
  • Manage the finances of multiple companies
  • Accept bulk payments
  • Automatically create invoices, revenues, bills, and payments for ongoing jobs
  • Discount management
  • Customer Summary
  • Graph and Visual reporting
  • Mutlicurrencies support

Akaunting requirements:

The requirements of this software are very common and easily provided by almost every hosting service provider.

  • PHP 7.2 or higher
  • Web Server (eg: Apache, Nginx, IIS)
  • Database (eg: MySQL, PostgreSQL, SQLite, SQL Server)
  • URL Rewrite (mod_rewrite)
  • Php extensions:
    • PDO
    • OpenSSL
    • Mbstring
    • Tokenizer
    • XML
    • Zip
  • Official website and Github link of this software

Install Akaunting software on Ubuntu or CentOS Linux


Almost all the steps are same for both Ubuntu and CentOS, expect a few such as Apache installation command.

1: Install Apache server for Akaunting


If you already have Apache installed on your Linux server or Desktop where you want to setup Akaunting then move to the next step.

For Ubuntu, Debian and Linux

sudo apt update

sudo apt install apache2

For CentOS & RedHat  

yum update

yum install httpd

2. Enable and Start Apache


Once the installation procedure is completed on your server, run the following commands to enable and start the webserver along with system boot.

Ubuntu, Debian and Linux Mint

sudo systemctl enable apache2
sudo systemctl start apache2

CentOS, Redhat and Fedora
sudo systemctl enable httpd

sudo systemctl start httpd

3. Install MySQL server for Akaunting database


To store financial data created by the Akaunting software, we need some database and that would be provided by MySQL. However, you can also use PostgreSQL and SQLite.

To install MySQL on Debian or Ubuntu-based systems use this command:

sudo apt install mysql-server

Whereas for CentOS or Redhat, one can use this one:

yum install mysql-sever

4. Enable MySQL services


After setting up of MySQL, just like Apache, we also have to enable and start this database service at boot level, means whenever our system reboots, Apache and MySQL services should start automatically.

sudo systemctl start mysql
sudo systemctl enable mysql

5. Akaunting database setup


Now using the following commands to create a database that we will use in this opensource accounting software. It will be the same for any Linux OS.

sudo mysql -u root -p

create database h2smedia;

create user h2s;

GRANT ALL ON h2smedia.* TO 'h2s'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;

flush privileges;

exit;

Note: Replace the red colour text with whatever you want to use.

6. Akaunting supports PHP 7.2 or high version along with modules


The install Akaunting, minimum PHP version we need to set up for this open-source accounting software is PHP 7.2 or higher.

For Ubuntu, Debian and their equal Linux, here are the commands:

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php

sudo apt update

sudo apt install php7.2 libapache2-mod-php7.2 php7.2-common php7.2-imap php7.2-mbstring php7.2-xmlrpc php7.2-soap php7.2-gd php7.2-xml php7.2-intl php7.2-mysql php7.2-cli php7.2-ldap php7.2-zip php7.2-curl

To install PHP on CentOS and other similar Linux

sudo yum install epel-release yum-utils -y

sudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm

sudo yum-config-manager --enable remi-php72

sudo yum update

sudo yum install php libapache2-mod-php php-common php-imap php-mbstring php-xmlrpc php-soap php-gd php-xml php-intl php-mysql php-cli php-ldap php-zip php-curl

7. Download zipped Akaunting file to setup


In this step, we will download the latest release file of the Akaunting free software and then extract the same in the public web folder for further usage.

Ubuntu or Debian

sudo apt install git

CentOS or Redhat

sudo yum install git

Clone the latest version of Akaunting available on the Github repository

cd /var/www/html/

git clone https://github.com/akaunting/akaunting.git

Now, change the permission of the cloned folder:

sudo chown -R www-data:www-data /var/www/html/akaunting/

If you get an error” chown: invalid user: ‘www–data:www-data’” after running the above command use this one:

sudo chown -R apache:apache /var/www/html/akaunting/

Now give the apache user full read and write permission:

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

See: 10 top opensource accounting software

8. Configure Apahce2 site configuration file for Akaunting


Here, we will create an Apache site configuration file for Akaunting to tell it where to look the folder to execute the files and what other things should it follow.

Ubuntu: sudo apt install nano

CentOSyum install nano

Create a file:

Ubuntu or Debian

sudo nano /etc/apache2/sites-available/akaunting.conf

for CentOS

sudo nano /etc/httpd/sites-available/akaunting.conf

Now add the following lines:

Replace the red text with your own domain or values.

<VirtualHost *:80>
ServerAdmin localhost
DocumentRoot /var/www/html/akaunting/
ServerName example.com
ServerAlias www.example.com

<Directory /var/www/html/akaunting/>
Options +FollowSymlinks
AllowOverride All
Require all granted
</Directory>

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>

To save and exit the nano editor, press: Ctrl+X keys and type: Y and then hit the Enter button.

Enable the configuration and rewrite modules.

sudo a2ensite akaunting.conf
sudo a2enmod rewrite


Finally, restart the apache to make the changes into effect.

Ubuntu: sudo systemctl restart apache2

CentOS: sudo systemctl restart httpd

9: Setup & Dashboard of Akaunting open source accounting software


Now, everything is ready, go to your browser and open the server IP address or domain name (if you are installing it on cloud or VPS hosting).

Here, we are installing Akaunting for a demo on our local server, thus we are using the local IP address of the same.

  1. As you point the domain or IP to access the server, a setup page of the Akaunting will open. First, select the language in which you wan to install it, by default it will be English.

    Select language
    Select language
  2. Add the details of MySQL database which we have created in this article.

    Setup Akaunting database
    Setup Akaunting database
  3. Add the details of the company along with admin email and password which will be used to access this free accounting software from anywhere.

    Company and admin details
    Company and admin details
  4. Finally, the Dashboard of the software will be in front of you. Now, start performing your financial calculations.

    Akaunting free accounting software installed on Ubuntu Linux
    Akaunting free accounting software installed on Ubuntu Linux


     


    Other Articles:

Rajkumar Mauryahttps://www.how2shout.com
Rajkumar Maurya is the H2S Media tech expert. He’s always been passionate about technology and has been writing on the subject since 2014. He has extensive knowledge of all kinds of technology, from consumer-tech to enterprise solutions. You can contact the author at-- raj@how2shout.com

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Latest Posts

SECUREYE launches S-F40 and S-C20 security & surveillance cameras

In India, the video surveillance market which is growing at 10.5% CAGR has already crossed Rs.5000 cr. Fuelled by...

4 Best Apps for Anger Management Issues for Android

It is true that technology has brought a drastic change in our lives and is continually doing so at...

Signs of Failing Hard drive that you should never ignore

The hard drive is undoubtedly one of the most important components of your computer, even though your computer cannot...

Prominent Edtech startups that are changing the way students learn

Education technology startups play a key role. Challenging the traditional education ecosystem, online education has now grown deep into...
- Advertisement -

How to enable Virtualbox nested VTX/Amd-V

Do you want to run Virtual machine inside a Virtual Box VM then you have to enable the nested...

UBON introduces SP-6850 Portable speaker priced at INR 1,799/-

UBON electronic brand recently has announced a new portable speaker UBON SP-6850 ‘Entertainment Box’ with in-built radio connectivity along...

- Advertisment -
- Advertisement -

You might also likeRELATED
Recommended to you