Installing ERPNext on Fedora 22

I’d like to share my successful installation experience of ERPNext on Fedora 22.
I hope that this can help others.


I started from a plain F22 iso downloaded by the Fedora site.

$ sudo dnf install mariadb mariadb-server mariadb-devel python-setuptools nginx zlib-devel bzip2-devel openssl-devel postfix python-devel python-pip libxml2 libxml2-devel libxslt libxslt-devel redis libXrender libXext supervisor cronie which xorg-x11-fonts-75dpi xorg-x11-fonts-Type1

Start and enable redis

sudo systemctl start redis.service 
sudo systemctl enable redis.service 

Configure MariaDB

Create the user:

mysqladmin -u root password ROOTPASSWORD

Add the following preferences in /etc/my.cnf

character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci

default-character-set = utf8mb4

Start and enable the auto-start:

sudo systemctl start mariadb.service 
sudo systemctl enable mariadb.service

Installing Bench

Install bench as a non root user:

git clone bench-repo
sudo pip install -e bench-repo

Installing ERPNext

Enter in the Frappe dir

cd frappe-bench
bench get-app erpnext         # Add ERPNext to your bench apps
bench new-site site1.local                      # Create a new site
bench install-app erpnext                       # Install ERPNext for the site

Thanks! can you add a Wiki Page at Home · frappe/bench Wiki · GitHub

Added wiki page for future reference: Home · frappe/bench Wiki · GitHub

1 Like


I guess you installed v5. With v6 we’ll need node as well. I think we should add Fedora support to the easy install script as well.

I’ve updated the wiki page according to your suggestion.

1 Like