{"id":44909,"date":"2023-03-22T12:30:11","date_gmt":"2023-03-22T17:30:11","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=44909"},"modified":"2023-06-01T11:30:10","modified_gmt":"2023-06-01T16:30:10","slug":"how-to-install-erpnext-on-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/","title":{"rendered":"How to Install ERPNext on Ubuntu 22.04"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"742\" height=\"372\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/install-erpnext-on-ubuntu-22-04.webp\" alt=\"install erpnext on ubuntu 22.04\" class=\"wp-image-45008\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/install-erpnext-on-ubuntu-22-04.webp 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/install-erpnext-on-ubuntu-22-04-300x150.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/install-erpnext-on-ubuntu-22-04-150x75.webp 150w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>ERPNext is an open-source ERP (Enterprise Resource Planning) system aimed at small and medium-sized businesses. Frapp\u00e9 Technologies develops the software. <\/p>\n\n\n\n<p>It includes modules like accounting, CRM, purchasing, sales, website, e-commerce, POS, inventory, project management, etc. <\/p>\n\n\n\n<!--more-->\n\n\n\n<p>This web-based application helps small and medium-sized businesses manage their accounting, sales, purchase, and inventory tasks.<\/p>\n\n\n\n<p>This tutorial will show you how to <a href=\"https:\/\/www.rosehosting.com\/erpnext-hosting\/\">install ERPNext<\/a> on Ubuntu 22.04.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69efb6016c8ae\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69efb6016c8ae\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/#Step-1-Log-in-to-your-server-via-SSH\" >Step 1: Log in to your server via SSH<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/#Step-2-Update-the-system\" >Step 2: Update the system<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/#Step-3-Create-System-User\" >Step 3. Create System User<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/#Step-4-Install-Dependencies\" >Step 4. Install Dependencies<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/#Step-5-Install-NodeJS\" >Step 5. Install NodeJS<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/#Step-6-Install-MariaDB\" >Step 6. Install MariaDB<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/#Step-7-Install-ERPNext\" >Step 7. Install ERPNext<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/#Step-8-Configure-ERPNext\" >Step 8. Configure ERPNext<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>An <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting\/\">Ubuntu 22.04 VPS<\/a> with at least 2GB of RAM<\/li>\n\n\n\n<li>root access or a user with sudo privileges<\/li>\n\n\n\n<li>A fully qualified domain or subdomain name<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-1-Log-in-to-your-server-via-SSH\"><\/span>Step 1: Log in to your server via SSH<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>First, you will need to log in to your Ubuntu 22.04 VPS via SSH:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh root@IP_Address -p Port_number<\/pre>\n\n\n\n<p>You will need to replace &#8216;IP_Address&#8217; and &#8216;Port_number&#8217; with your server&#8217;s respective IP address and SSH port number. Additionally, replace &#8216;root&#8217; with the username of the system user with sudo privileges.<\/p>\n\n\n\n<p>You can check whether you have the proper Ubuntu version installed on your server with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># lsb_release -a<\/pre>\n\n\n\n<p>It will return an output like this.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">No LSB modules are available.\nDistributor ID: Ubuntu\nDescription: Ubuntu 22.04 LTS\nRelease: 22.04\nCodename: jammy<\/pre>\n\n\n\n<p>In this article, we will use &#8216;root&#8217; used to execute the shell commands. If you want to use your regular user with sudo privileges to run the commands, make sure to append &#8216;sudo&#8217; in front of the commands.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-2-Update-the-system\"><\/span>Step 2: Update the system<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Before starting, let&#8217;s ensure that all Ubuntu 22.04 packages installed on the server are up to date. You can do this by running the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt update\n# apt upgrade<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-3-Create-System-User\"><\/span>Step 3. Create System User<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In this step, we are going to create a new system user for our ERPNext installation.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># useradd -m -d \/opt\/erpnext -U -r -s \/bin\/bash erpnext<\/pre>\n\n\n\n<p>Let&#8217;s give sudo privileges to the user.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># usermod -aG sudo erpnext<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-4-Install-Dependencies\"><\/span>Step 4. Install Dependencies<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Several packages will be installed on the system before we can start installing other applications.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt install python3-pip python3-dev python3.10-venv python3-testresources libffi-dev libssl-dev wkhtmltopdf gcc g++ make redis-server -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-5-Install-NodeJS\"><\/span>Step 5. Install NodeJS<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>First, add the Node Source repository to our Ubuntu 22.04 system with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># curl -sL https:\/\/deb.nodesource.com\/setup_16.x | bash -<\/pre>\n\n\n\n<p>Then, install NodeJS.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt install nodejs -y<\/pre>\n\n\n\n<p>Once installed, you can check nodejs and npm with this command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># node -v; npm -v<\/pre>\n\n\n\n<p>Finally, we can install YARN now.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># npm install -g yarn<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-6-Install-MariaDB\"><\/span>Step 6. Install MariaDB<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>We do not need to add the MariaDB repository to our Ubuntu system, and we can install it because MariaDB is already available on the default Ubuntu base repository.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt install mariadb-server mariadb-client<\/pre>\n\n\n\n<p>Let&#8217;s modify the default MariaDB configuration file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># nano \/etc\/mysql\/mariadb.conf.d\/50-server.cnf<\/pre>\n\n\n\n<p>Find the string <strong>collation-server = utf8mb4_general_ci<\/strong> and replace it with <strong>collation-server = utf8mb4_unicode_ci<\/strong><\/p>\n\n\n\n<p>Then, add the following anywhere under <strong>[mysqld]<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">innodb-file-format=barracuda\ninnodb-file-per-table=1\ninnodb-large-prefix=1<\/pre>\n\n\n\n<p>To apply the changes, restart the MariaDB server.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl restart mariadb<\/pre>\n\n\n\n<p>Next, we need to create a MySQL root password. Let&#8217;s invoke this command.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># mysql_secure_installation<\/pre>\n\n\n\n<p>You will be asked a few questions. Answer all prompted questions with YES (Y), and remember your new MySQL root password; you will need this password later.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-7-Install-ERPNext\"><\/span>Step 7. Install ERPNext<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>We have successfully installed all requirements, and it is time to install ERPNext. In this step, we are going to use the new system user we created earlier in the previous step.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># su - erpnext<\/pre>\n\n\n\n<p>The command above means we are switching to user &#8216;erpnext&#8217;. Then edit the .bashrc file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ nano ~\/.bashrc<\/pre>\n\n\n\n<p>Append the following line to the file:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">PATH=$PATH:~\/.local\/bin\/<\/pre>\n\n\n\n<p>Save the file, then activate the environment variable with the following command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ source ~\/.bashrc<\/pre>\n\n\n\n<p>Next, create a directory for ERPNext with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo mkdir \/opt\/bench<\/pre>\n\n\n\n<p>Then, set the ownership to the erpnext user:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo chown -R erpnext: \/opt\/bench<\/pre>\n\n\n\n<p>At this point, we can go to the directory \/opt\/bench and clone the bench repository from GitHub:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ cd \/opt\/bench\n$ git clone https:\/\/github.com\/frappe\/bench bench-repo<\/pre>\n\n\n\n<p>Finally, install the bench repo using the pip3 command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ pip3 install -e bench-repo<\/pre>\n\n\n\n<p>Once installed, initialize the bench directory with the frappe framework using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ bench init erpnext<\/pre>\n\n\n\n<p>It will take some time to complete, as it will set up a virtual environment, install frappe and initialize bench erpnext. It will show you a successful message once completed.<\/p>\n\n\n\n<p>The next step is to go to erpnext directory and then create a new ERPNext website with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ cd \/opt\/bench\/erpnext<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">$ bench new-site erpnext.yourdomain.com<\/pre>\n\n\n\n<p>Make sure to replace yourdomain.com above with your actual domain\/subdomain name and your domain or subdomain name&#8217;s DNS record is already pointed to your server.<\/p>\n\n\n\n<p>You will be asked for your MariaDB root password and Administrator password for your ERPNext website as shown below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">MySQL root password:\n\nInstalling frappe...\nUpdating DocTypes for frappe : [========================================] 100%\nUpdating country info : [========================================] 100%\nSet Administrator password: \nRe-enter Administrator password: \n*** Scheduler is disabled ***\nCurrent Site set to erpnext.yourdomain.com<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-8-Configure-ERPNext\"><\/span>Step 8. Configure ERPNext<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In this step, we are going to configure Nginx as a reverse proxy.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo apt install supervisor nginx -y<\/pre>\n\n\n\n<p>Now, let&#8217;s install the frappe-bench, and run this command below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo pip3 install frappe-bench<\/pre>\n\n\n\n<p>Next, navigate to \/opt\/bench\/erpnext and set up the production environment:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ cd \/opt\/bench\/erpnext\n$ sudo \/opt\/erpnext\/.local\/bin\/bench setup production erpnext<\/pre>\n\n\n\n<p>Again, it will take some time to complete, as it will configure nginx, redis, and supervisor and run those services.<\/p>\n\n\n\n<p>Finally, you should be able to access ERPNext at http:\/\/erpnext.yourdomain.com using any web browser. You will be redirected to the login page.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"463\" height=\"460\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/erpnext-login-page.webp\" alt=\"erpnext login page\" class=\"wp-image-45011\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/erpnext-login-page.webp 463w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/erpnext-login-page-300x298.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/erpnext-login-page-150x150.webp 150w\" sizes=\"(max-width: 463px) 100vw, 463px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>User administrator as username and password you created earlier to log in.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"556\" height=\"508\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/erpnext-set-language.webp\" alt=\"erpnext set language\" class=\"wp-image-45012\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/erpnext-set-language.webp 556w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/erpnext-set-language-300x274.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/erpnext-set-language-150x137.webp 150w\" sizes=\"(max-width: 556px) 100vw, 556px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>In this step, you can choose your language, country, timezone, and currency.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"563\" height=\"510\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/erpnext-setup-account.webp\" alt=\"erpnext setup account\" class=\"wp-image-45013\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/erpnext-setup-account.webp 563w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/erpnext-setup-account-300x272.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/erpnext-setup-account-150x136.webp 150w\" sizes=\"(max-width: 563px) 100vw, 563px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Set up a new account and complete the installation.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"931\" height=\"600\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/erpnext-dashboard.webp\" alt=\"erpnext dashboard\" class=\"wp-image-45014\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/erpnext-dashboard.webp 931w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/erpnext-dashboard-300x193.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/erpnext-dashboard-150x97.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/erpnext-dashboard-768x495.webp 768w\" sizes=\"(max-width: 931px) 100vw, 931px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>That&#8217;s it! You will be brought to your ERPNext website dashboard.<\/p>\n\n\n\n<p>Of course, you don\u2019t have to install ERPNext on <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting\/\">Ubuntu 22.04<\/a> if you have an Ubuntu VPS with us. You can ask our support team to install ERPNext on Ubuntu 22.04. They are available 24\/7 and will be able to help you with the installation.<\/p>\n\n\n\n<p>If you enjoyed reading this blog post on How to Install ERPNext on Ubuntu 22.04, feel free to share it on social networks or simply leave a comment in the comments section. Also, feel free to check out <a href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-20-04\/\">how to install ERPNext on an older version of Ubuntu &#8211; 20.04<\/a>. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ERPNext is an open-source ERP (Enterprise Resource Planning) system aimed at small and medium-sized businesses. Frapp\u00e9 Technologies develops the software. &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install ERPNext on Ubuntu 22.04\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/#more-44909\" aria-label=\"Read more about How to Install ERPNext on Ubuntu 22.04\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":45008,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1710,13,1698],"tags":[1487,1603,59],"class_list":["post-44909","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cms-crm-erp","category-tutorials","category-ubuntu","tag-erpnext","tag-how-to-install","tag-ubuntu","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install ERPNext on Ubuntu 22.04 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Wondering how to install ERPNext on Ubuntu 22.04? Check out our in-depth tutorial and find out more about this topic.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install ERPNext on Ubuntu 22.04\" \/>\n<meta property=\"og:description\" content=\"Wondering how to install ERPNext on Ubuntu 22.04? Check out our in-depth tutorial and find out more about this topic.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-22T17:30:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-01T16:30:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/install-erpnext-on-ubuntu-22-04.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Install ERPNext on Ubuntu 22.04\" \/>\n<meta name=\"twitter:description\" content=\"Wondering how to install ERPNext on Ubuntu 22.04? Check out our in-depth tutorial and find out more about this topic.\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-erpnext-on-ubuntu-22-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-erpnext-on-ubuntu-22-04\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install ERPNext on Ubuntu 22.04\",\"datePublished\":\"2023-03-22T17:30:11+00:00\",\"dateModified\":\"2023-06-01T16:30:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-erpnext-on-ubuntu-22-04\\\/\"},\"wordCount\":884,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-erpnext-on-ubuntu-22-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/install-erpnext-on-ubuntu-22-04.webp\",\"keywords\":[\"ERPNext\",\"how to install\",\"ubuntu\"],\"articleSection\":[\"CMS, CRM, ERP\",\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-erpnext-on-ubuntu-22-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-erpnext-on-ubuntu-22-04\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-erpnext-on-ubuntu-22-04\\\/\",\"name\":\"How to Install ERPNext on Ubuntu 22.04 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-erpnext-on-ubuntu-22-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-erpnext-on-ubuntu-22-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/install-erpnext-on-ubuntu-22-04.webp\",\"datePublished\":\"2023-03-22T17:30:11+00:00\",\"dateModified\":\"2023-06-01T16:30:10+00:00\",\"description\":\"Wondering how to install ERPNext on Ubuntu 22.04? Check out our in-depth tutorial and find out more about this topic.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-erpnext-on-ubuntu-22-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-erpnext-on-ubuntu-22-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-erpnext-on-ubuntu-22-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/install-erpnext-on-ubuntu-22-04.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/install-erpnext-on-ubuntu-22-04.webp\",\"width\":742,\"height\":372,\"caption\":\"install erpnext on ubuntu 22.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-erpnext-on-ubuntu-22-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install ERPNext on Ubuntu 22.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install ERPNext on Ubuntu 22.04 | RoseHosting","description":"Wondering how to install ERPNext on Ubuntu 22.04? Check out our in-depth tutorial and find out more about this topic.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install ERPNext on Ubuntu 22.04","og_description":"Wondering how to install ERPNext on Ubuntu 22.04? Check out our in-depth tutorial and find out more about this topic.","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2023-03-22T17:30:11+00:00","article_modified_time":"2023-06-01T16:30:10+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/install-erpnext-on-ubuntu-22-04.webp","type":"image\/webp"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_title":"How to Install ERPNext on Ubuntu 22.04","twitter_description":"Wondering how to install ERPNext on Ubuntu 22.04? Check out our in-depth tutorial and find out more about this topic.","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install ERPNext on Ubuntu 22.04","datePublished":"2023-03-22T17:30:11+00:00","dateModified":"2023-06-01T16:30:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/"},"wordCount":884,"commentCount":2,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/install-erpnext-on-ubuntu-22-04.webp","keywords":["ERPNext","how to install","ubuntu"],"articleSection":["CMS, CRM, ERP","Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/","name":"How to Install ERPNext on Ubuntu 22.04 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/install-erpnext-on-ubuntu-22-04.webp","datePublished":"2023-03-22T17:30:11+00:00","dateModified":"2023-06-01T16:30:10+00:00","description":"Wondering how to install ERPNext on Ubuntu 22.04? Check out our in-depth tutorial and find out more about this topic.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/install-erpnext-on-ubuntu-22-04.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/02\/install-erpnext-on-ubuntu-22-04.webp","width":742,"height":372,"caption":"install erpnext on ubuntu 22.04"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-erpnext-on-ubuntu-22-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install ERPNext on Ubuntu 22.04"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/44909","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=44909"}],"version-history":[{"count":11,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/44909\/revisions"}],"predecessor-version":[{"id":46064,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/44909\/revisions\/46064"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/45008"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=44909"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=44909"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=44909"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}