Install Akaunting - Open Source Accounting Software - On Linux

Channel:
Subscribers:
14,500
Published on ● Video Link: https://www.youtube.com/watch?v=5ERgPSewXFo



Duration: 2:58
1,676 views
18


#Akaunting #AccountingSoftware #Linux

Full steps can be found at https://i12bretro.github.io/tutorials...

--------------------------------------------------------------------
What is Akaunting?
--------------------------------------------------------------------
Akaunting is a free, open source and online accounting software designed for small businesses and freelancers. - https://github.com/akaunting/akaunting
 
--------------------------------------------------------------------
Installation
--------------------------------------------------------------------
   01. Log into the Linux device
   02. Run the following commands in a terminal window:
         update software repositories
         sudo apt update
         install prerequisites
         sudo apt install curl wget zip lsb-release apt-transport-https ca-certificates -y
         add the php gpg key
         sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
         add the php apt repository
         echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list
         update software repositories
         sudo apt update
         install available software updates
         sudo apt upgrade -y
         install Apache HTTPD and MySQL
         sudo apt install apache2 mariadb-server mariadb-client -y
         install PHP components
         sudo apt install php8.0 libapache2-mod-php8.0 php8.0-common php8.0-xml php8.0-bcmath php8.0-gd php8.0-mbstring php8.0-curl php8.0-zip php8.0-gmp php8.0-mysql php8.0-intl -y
         configure the MySQL database
         sudo su
         mysql_secure_installation
   03. Press Enter to login as root
   04. Type N and press Enter to not switch to unix socket authentication
   05. Type Y and press Enter to set a root password, type the password twice to confirm
   06. Type Y and press Enter to remove anonymous users
   07. Type Y and press Enter to disallow root login remotely
   08. Type Y and press Enter to remove the test database
   09. Type Y and press Enter to reload privilege tables
   10. Run the following command to login into MySQL:
         mysql -u root -p
   11. Authenticate with the root password set earlier
   12. Run the following commands to create the database and database user
         CREATE DATABASE akaunting;
         GRANT ALL ON akaunting.* to 'akaunting_rw'@'localhost' IDENTIFIED BY '@kaunt1ng!';
         FLUSH PRIVILEGES;
         EXIT;
         exit
   13. Continue with the following commands:
         lookup latest akaunting release URL
         regex='"browser_download_url": "(https:\/\/github.com\/akaunting\/akaunting\/releases\/download\/[^/]*\/[^/]*\.zip)"' && response=$(curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/akauntin...) && [[ $response =~ $regex ]] && downloadURL="${BASH_REMATCH[1]}"
         download the latest release
         wget -O /tmp/akaunting.zip $downloadURL
         extract the download .zip archive
         sudo unzip /tmp/akaunting.zip -d /var/www/html/akaunting
         copy sample .env file
         sudo cp /var/www/html/akaunting/.env.example /var/www/html/akaunting/.env
         generate application key
         if prompted, answer yes
         sudo php /var/www/html/akaunting/artisan key:generate
         set the owner of the akaunting directory
         sudo chown -R www-data:www-data /var/www/html/akaunting
         enable mod_rewrite
         sudo a2enmod rewrite
         restart apache2 service
         sudo systemctl restart apache2
 
--------------------------------------------------------------------
Akaunting Web Installer
--------------------------------------------------------------------
   01. Open a web browser and navigate to http://DNSorIP/akaunting/index.php
   02. Select a Language ≫ Click Next
   03. Complete the Database form as shown below
         Hostname: localhost
         Username: akaunting_rw
         Password: @kaunt1ng!
         Database: akaunting
   04. Click Next
   05. Complete the Admin form by entering a Company Name, Company Email, Admin Email and Admin Password ≫ Click Next
   06. Log in with the Admin username and password
   07. On the Company tab, scroll to the bottom of the form and click Skip this step
   08. Select/add the desired currencies ≫ Click Next
   09. Click Next on the Taxes tab
   10. Click the Create your first invoice link
   11. Welcome to Akaunting
 
Source:  https://akaunting.com/docs/installation
 


Connect with me and others ###
★ Discord:   / discord  
★ Reddit:   / i12bretro  
★ Twitter:   / i12bretro  







Tags:
Accounting
Accounting Software
Akaunting
Browser Based
Debian
Expense Tracker
Expense Tracking
Home Lab
Home Lab Ideas
Homelab
How To
Income Tracking
Install Guide
Invoice
Invoicing Software
Linux
MariaDB
MySQL
PHP
Payment Manager
Self-Hosted
Tutorial
Ubuntu
Web Based
Web Based Tools
i12bretro