How to Install Akaunting on Fedora Server Latest

Akaunting is a free, open-source software designed for accounting, invoicing, and inventory management. This tutorial will guide you through the process of installing Akaunting on your Fedora Server.

Step 1: Update and Upgrade System

Before installing any software, it is a good practice to first update and upgrade the system to the latest packages. Run the following commands in the terminal to update and upgrade the system:

sudo dnf update 
sudo dnf upgrade

Step 2: Install Apache and MariaDB

Akaunting requires Apache webserver and MariaDB database software to be installed on the system. Run the following command in the terminal to install Apache and MariaDB:

sudo dnf install httpd mariadb mariadb-server 

Now, start and enable the Apache and MariaDB service:

sudo systemctl start httpd 
sudo systemctl enable httpd 
sudo systemctl start mariadb 
sudo systemctl enable mariadb 

Step 3: Create a Database and User for Akaunting

Next, login to the MariaDB shell to create a database and user for Akaunting:

sudo mysql -u root -p 

Enter the root password when prompted.

CREATE DATABASE akauntingdb CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'akauntinguser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON akauntingdb.* TO 'akauntinguser'@'localhost';
FLUSH PRIVILEGES;
exit

Make sure to replace the database name, username, and password with your own preferred values.

Step 4: Install PHP and Required Extensions

Akaunting is built on PHP, so we need to install PHP and the required extensions. Run the following command in the terminal to install PHP and its extensions:

sudo dnf install php php-mysqlnd php-json php-curl php-gd php-intl php-mbstring php-xml php-zip

Step 5: Download and Install Akaunting

Download the latest version of Akaunting from its official website or GitHub repository. You can use the wget command to download the file directly from the terminal.

wget https://github.com/akaunting/akaunting/releases/download/2.3.19/akaunting-2.3.19.zip

Extract the downloaded file:

unzip akaunting-2.3.19.zip -d akaunting

Copy the extracted files to the Apache webserver document root directory:

sudo cp -r akaunting /var/www/html/akaunting

Next, change the ownership and permissions of the Akaunting directory:

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

Step 6: Finalize Akaunting Installation

Now, open your web browser and enter the following URL:

http://your_fedora_server_IP_address/akaunting/public

The Akaunting installation wizard should now appear. Follow the on-screen instructions to set up your Akaunting instance.

When prompted for the database credentials, enter the database name, username, and password that you created in the previous step.

After completing the installation, make sure to delete the install.php file for security reasons:

sudo rm /var/www/html/akaunting/public/install.php

That's it! You have successfully installed Akaunting on your Fedora server. You can now start using Akaunting by logging in with the administrator account you created during the installation.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!