How to install Akaunting Accounting Suite on Ubuntu 18.04

1642275975 How to install Akaunting Accounting Suite on Ubuntu 1804

If your small business data center needs a web-based accounting tool, try Akaunting.

Getty Images / iStockphoto

Your small business data center is complete without an accounting tool. While you may be tempted to go straight to Quickbooks or another proprietary solution, why not try an open, on-premises solution first? One such option is Akaunting.

Courtship features:

Akaunting can be installed on any Linux server in your data center. I am going to walk you through the installation process on Ubuntu Server 18.04.

SEE: Recruitment package: database administrator (TechRepublic Premium)


    What you need

    The only things you need to install Akaunting are:

    How to install dependencies

    The first thing we are going to do is install the required dependencies. To do this, log in to your Ubuntu server and issue the command:

    sudo apt-get install apache2 mariadb-server 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 unzip -y

    Once that command is complete, the dependencies are taken care of.

    How to set up PHP

    Next we need to configure PHP. To do so, issue the command:

    sudo nano /etc/php/7.2/apache2/php.ini

    Use the Ctrl + W nano keyboard shortcut to find and edit the following, making sure to change each entry as shown:

    file_uploads = On
    allow_url_fopen = On
    memory_limit = 256M
    upload_max_filesize = 30M
    post_max_size = 40M
    max_execution_time = 60
    zend.assertions = 0
    display_errors = Off
    max_input_vars = 1500
    date.timezone = YOUR/TIMEZONE

    Where DO / Time Zone is the real time frame for a business.

    Save and close the file.

    Restart and enable both Apache and MariaDB with the following commands:

    sudo systemctl start apache2
    sudo systemctl enable apache2
    sudo systemctl start mariadb
    sudo systemctl enable mariadb

    How to configure the secure database

    The first thing you should pay attention to is the secure installation of the database. This is done with the command:

    sudo mysql_secure_installation

    You will be prompted to set a new admin user password and answer a few questions. Be sure to answer yes (Y) for each question.

    Now we can create our database and user database. Access the MariaDB console with the command:

    sudo mysql -u root -p

    Once you are at the database prompt, execute the following commands (be sure to replace PASSWORD with a strong, unique password):

    CREATE DATABASE akauntingdb;
    CREATE USER 'akaunting'@'localhost' IDENTIFIED BY 'PASSWORD';
    GRANT ALL ON akauntingdb.* TO 'akaunting'@'localhost' IDENTIFIED BY 'PASSWORD' WITH GRANT OPTION;

    How to install Akunting

    It's finally time to install Akaunting. First, download the required file with the command:

    curl -O -J -L

    Create a new directory and unzip the downloaded file with the following commands:

    sudo mkdir -p /var/www/html/akaunting
    sudo unzip Akaunting_*.zip -d /var/www/html/akaunting/

    Modify the permissions and ownership with the following commands:

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

    How to set up Apache

    The last step that can be taken in the end window is Apache configuration. Create a new virtual host configuration file with the command:

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

    In that new file, enter the following (enter your EMAIL and NAME information):

    <VirtualHost *:80>
       ServerAdmin EMAIL
       DocumentRoot /var/www/html/akaunting
       ServerName NAME
       DirectoryIndex index.html index.php
    <Directory /var/www/html/akaunting/>
       Options +FollowSymlinks
       AllowOverride All
       Require all granted
    ErrorLog ${APACHE_LOG_DIR}/akaunting_error.log
    CustomLog ${APACHE_LOG_DIR}/akaunting_access.log combined

    Save and close the file.

    READ  Google Chat update clears the crowded messaging interface

    Enable the new site with the command:

    sudo a2ensite akaunting

    Finally, allow the Apache rewrite module and restart Apache with the following commands:

    sudo a2enmod rewrite
    sudo systemctl restart apache2

    How to complete the installation

    The final steps are highlighted in the web interface. Point your browser to http: //SERVER_IP/akaunting/index.php (where SERVER_IP is the IP address of the host server). On the first screen, select your language and click Next. In the resulting window (Figure A), configure the information for the database as follows:

    Figure A


    The Akaunting database configuration window.

    Click Next and then customize your company and administration details (Figure B).

    Figure B


    Customizing your company.

    Pay attention: The admin email and password you set are the credentials used to login to Akauting as an administrator. Click "Next" and then you will be prompted to login. Once logged in, you will be greeted by the Configuration Wizard (Figure C).

    Figure C


    The Akaunting setup Wizard.

    Walk through the Wizard to sort your company information, currencies, and taxes. On the first page of this wizard, you need to get a signal back from Akaunting. Click on the link Click here and you will be asked to create a free Akaunting account. Once you have created and verified your account, log in to your Akaunting account and find your token. Copy the token and paste it into the Token entry on the first page of the Wizard and click Save.

    The rest of the Wizard is explanatory. Once you have completed the installation, you can access the Akaunting dashboard or install apps to extend its feature set. There are costs associated with the apps (such as Dual Access, Apps, Inventory and Projects), but they may be worth the price - if you need the extra features.

    And there you have it. Your Akaunting web-based accounting software is up and running and ready to use. This is an impressive package that should be able to help your small business in ways that many of the standard messenger-based applications cannot.

    See also

    Related Posts

    Deja una respuesta

    Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *


    We use cookies to ensure that we give the best user experience on our website. If you continue to use this site we will assume that you agree. More information