ERPNext is a free and open-source ERP software that helps you manage your business operations. In this tutorial, we will learn how to install ERPNext on Kali Linux Latest.
Before we start, make sure that you have the following prerequisites installed on your system:
To install the dependencies required for ERPNext, open the terminal and run the following command:
sudo apt-get install python3-dev python3-setuptools python3-minimal python3-pip build-essential wkhtmltopdf libssl-dev libffi-dev libmysqlclient-dev libsasl2-dev libldap2-dev libtiff5-dev libjpeg62-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev libharfbuzz-dev libfribidi-dev tcl8.6-dev tk8.6-dev python-tk libxml2-dev libxslt1-dev libxslt-dev nodejs npm
Now, install MariaDB by running the following command:
sudo apt-get install mariadb-server
Once the installation is complete, start the MariaDB service and configure it by running the following commands:
sudo systemctl start mariadb
sudo mysql_secure_installation
During the configuration process, set a root password and answer the security questions.
Clone the ERPNext repository from GitHub by running the following command:
git clone https://github.com/frappe/erpnext.git
Now, change to the erpnext directory and checkout the latest stable version:
cd erpnext
git checkout version-12
Install the required Python packages by running the following command:
sudo pip3 install -r requirements.txt
Create a new MariaDB database and user for ERPNext by running the following commands:
sudo mysql -u root -p
MariaDB [(none)]> CREATE DATABASE erpnext;
MariaDB [(none)]> CREATE USER 'erpnextuser'@'localhost' IDENTIFIED BY 'password';
MariaDB [(none)]> GRANT ALL PRIVILEGES ON erpnext.* TO 'erpnextuser'@'localhost';
MariaDB [(none)]> FLUSH PRIVILEGES;
MariaDB [(none)]> exit;
Now, update the ERPNext configuration file with the database settings by copying the example file:
cp configs/example.json site_config.json
Edit the site_config.json file and replace the database settings with the following:
{
"db_name": "erpnext",
"db_password": "password",
"db_type": "MariaDB",
"db_host": "localhost",
"db_port": 3306
}
Now, setup ERPNext by running the following command:
bench setup production
This will download and setup ERPNext on your system.
Finally, start the ERPNext server by running the following command:
bench start
Open your browser and go to http://localhost:8000
. You should see the ERPNext login page.
Congratulations! You have successfully installed ERPNext on Kali Linux Latest. You can now use ERPNext to manage your business operations.
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!