<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ERPNext Archives - LinuxTuto</title>
	<atom:link href="https://www.linuxtuto.com/tag/erpnext/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.linuxtuto.com/tag/erpnext/</link>
	<description>Linux Sysadmin and DevOps blog</description>
	<lastBuildDate>Tue, 18 Nov 2025 15:00:04 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://www.linuxtuto.com/wp-content/uploads/2022/01/cropped-LT_faveicon-32x32.png</url>
	<title>ERPNext Archives - LinuxTuto</title>
	<link>https://www.linuxtuto.com/tag/erpnext/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">201456972</site>	<item>
		<title>How to Install ERPNext v15 on Debian 13</title>
		<link>https://www.linuxtuto.com/install-erpnext-v15-on-debian-13/</link>
					<comments>https://www.linuxtuto.com/install-erpnext-v15-on-debian-13/#respond</comments>
		
		<dc:creator><![CDATA[LinuxTuto]]></dc:creator>
		<pubDate>Tue, 18 Nov 2025 15:00:04 +0000</pubDate>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[ERPNext]]></category>
		<guid isPermaLink="false">https://www.linuxtuto.com/?p=2039</guid>

					<description><![CDATA[<p>ERPNext is one of the most powerful open-source ERP systems available today. Built on the Frappe Framework, it provides modules for Accounting, HR, CRM, Projects,...</p>
<p>The post <a href="https://www.linuxtuto.com/install-erpnext-v15-on-debian-13/">How to Install ERPNext v15 on Debian 13</a> appeared first on <a href="https://www.linuxtuto.com">LinuxTuto</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>ERPNext is one of the most powerful open-source ERP systems available today. Built on the Frappe Framework, it provides modules for Accounting, HR, CRM, Projects, Inventory, Sales, POS, Manufacturing, and much more. With the release of ERPNext 15, users get improved UI, faster performance, and more stable backend architecture.</p>
<p>In this tutorial, you’ll learn how to install ERPNext 15 on Debian 13 from scratch including all dependencies, system configuration, database tuning, production setup and install an SSL certificate.</p>
<h2><span class="has-inline-color has-vivid-purple-color">Step 1: Update Operating System</span></h2>
<p>First check the server’s current time zone with the following command:</p>
<pre><code># date</code></pre>
<p>Then Set correct time zone as per your region with the following command:</p>
<pre><code># timedatectl set-timezone "America/Chicago"</code></pre>
<p>This is a important step as it impacts the ERPNext usage.</p>
<p>Then update your <b>Debian 13</b> operating system to the latest version with the following command:</p>
<pre><code># apt update &amp;&amp; apt upgrade</code></pre>
<p>This ensures all dependencies are up-to-date and prevents conflicts later.</p>
<h2><span class="has-inline-color has-vivid-purple-color">Step 2: Install Required Dependencies</span></h2>
<p>In this step we will install the required system-level packages for the system to work correctly.</p>
<pre><code># apt install -y git curl wget sudo certbot</code></pre>
<p>Also, ERPNext needs several Python packages to build Python modules and run Frappe.</p>
<pre><code># apt install -y python3 python3-dev python3-setuptools python3-pip python3-venv libffi-dev libssl-dev libsasl2-dev
</code></pre>
<p>These libraries allow Frappe to compile PDF rendering, image processing, database drivers, and more.</p>
<h2><span class="has-inline-color has-vivid-purple-color">Step 3: Add a new user</span></h2>
<p>Now we will create a dedicated user for your ERP application. This user will be assigned admin permissions and will be used as the main Frappe Bench user:</p>
<pre><code># /sbin/adduser erpnext</code></pre>
<p>To add the user to the sudo group, use the <strong><code>usermod</code></strong> command as follows:</p>
<pre><code># /sbin/usermod -aG sudo erpnext</code></pre>
<p>Then log in as the new user:</p>
<pre><code># su - erpnext</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">S</span><span class="has-inline-color has-vivid-purple-color">tep 4: Install MariaDB</span></h2>
<p>You can install the MariaDB server with the following command:</p>
<pre><code>$ sudo apt install -y mariadb-server mariadb-client</code></pre>
<p>Start the database server daemon, and also enable it to start automatically at the next boot with the following commands:</p>
<pre><code>$ sudo systemctl start mariadb
$ sudo systemctl enable mariadb</code></pre>
<p>Verify the status of the <strong>MariaDB</strong> service using <strong>systemctl status</strong> command:</p>
<pre><code>$ sudo systemctl status mariadb</code></pre>
<p>By default, MariaDB is not hardened. You can secure MariaDB using the <strong>mariadb-secure-installation</strong> script.</p>
<pre><code>$ sudo mariadb-secure-installation</code></pre>
<p>Configure it like this:</p>
<pre><code>- Set root password? [Y/n] <strong>Y</strong>
- Remove anonymous users? [Y/n] <strong>Y</strong>
- Disallow root login remotely? [Y/n] <strong>Y</strong>
- Remove test database and access to it? [Y/n] <strong>Y</strong>
- Reload privilege tables now? [Y/n] <strong>Y</strong></code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 5: Install Node.js</span></h2>
<p>Run the following command to install Node.js:</p>
<pre><code>$ sudo apt install nodejs npm</code></pre>
<p>You can verify the installation by running the following command:</p>
<pre><code>$ node --version</code></pre>
<p>You should see the version number of Node.js installed on your system:</p>
<pre><code>v20.19.2</code></pre>
<p>Then verify the <code>npm</code> version with the following command:</p>
<pre><code>$ npm --version</code></pre>
<p>You should get the following output:</p>
<pre><code>9.2.0</code></pre>
<p>ERPNext uses Yarn for building frontend assets.</p>
<pre><code>$ sudo npm install -g yarn</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 6: Install Redis Server</span></h2>
<p>Redis handles caching and web socket communication for real-time features.</p>
<pre><code>$ sudo apt install -y redis-server
$ sudo systemctl enable --now redis-server</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 7: Install Frappe Bench</span></h2>
<p>Bench is the command-line tool used to manage ERPNext installations. Use the following commands to install the Bench CLI:</p>
<pre><code>$ sudo apt remove python3-requests
$ sudo python3 -m pip config set global.break-system-packages true 
$ sudo pip3 install frappe-bench </code></pre>
<p>Confirm installation:</p>
<pre><code> $ bench --version</code></pre>
<p>You should get the following output:</p>
<pre><code>5.27.0</code></pre>
<p>Now initialize a new Bench directory:</p>
<pre><code>$ bench init frappe-bench --frappe-branch version-15
$ cd frappe-bench</code></pre>
<p>This creates a full environment with Python <strong>virtualenv</strong> and node tools.</p>
<p>Now change user directory permissions. This will allow execution permission to the home directory of the frappe user.</p>
<pre><code>chmod -R o+rx /home/erpnext/</code></pre>
<p>Create a new Frappe site with the following command:</p>
<pre><code>$ bench new-site erp.yourdomain.com</code></pre>
<p>You will be prompted for:</p>
<ul>
<li>MySQL root password</li>
<li>ERPNext administrator password</li>
</ul>
<h2><span class="has-inline-color has-vivid-purple-color">Step 8: Install ERPNext and other Apps</span></h2>
<p>Finally, we’re at the last stage of the installation process!</p>
<p>Download the payments apps . This app is required during ERPNext installation</p>
<pre><code> $ bench get-app payments</code></pre>
<p>Download the main ERPNext app with the following command:</p>
<pre><code>$ bench get-app --branch version-15 erpnext</code></pre>
<p>Download the HR &amp; Payroll app (optional)</p>
<pre><code>$ bench get-app hrms</code></pre>
<p>Check if all the apps are correctly downloaded by running:</p>
<pre><code>$ bench version --format table</code></pre>
<p>Now install it on your site:</p>
<pre><code>$ bench --site erp.yourdomain.com install-app erpnext</code></pre>
<p>Install the HR &amp; Payroll app (optional)</p>
<pre><code>$ bench --site erp.yourdomain.com install-app hrms</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 9: Test ERPNext in Development Mode (Optional)</span></h2>
<p>You can launch a development server with the following command:</p>
<pre><code>$ bench start</code></pre>
<p>You can access ERPNext at:</p>
<pre><code>http://YOUR_SERVER_IP:8000</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 10: Setting ERPNext in Production Mode</span></h2>
<p>For the production environment, we need to configure Nginx and Supervisor to keep application running in background.</p>
<p>You can install them with the following command:</p>
<pre><code>$ sudo apt install nginx supervisor</code></pre>
<p><strong>Enable scheduler service</strong></p>
<pre><code>$ bench --site erp.yourdomain.com enable-scheduler</code></pre>
<p><strong>Disable maintenance mode</strong></p>
<pre><code>bench --site erp.yourdomain.com set-maintenance-mode off</code></pre>
<p><strong>Setup production config</strong></p>
<pre><code>$ sudo bench setup production erpnext</code></pre>
<p><strong>R</strong><strong>estart Supervisor</strong></p>
<pre><code>$ sudo supervisorctl restart all</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 11: Custom Domain &amp; SSL Setup</span></h2>
<p>For SSL configuration, you can run the following commands:</p>
<pre><code>$ bench config dns_multitenant on
$ sudo bench setup lets-encrypt erp.yourdomain.com</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 12: Access your ERPNext Application</span></h2>
<p>Open your browser and type your domain e.g <strong>https://erp.yourdomain.com</strong></p>
<h2><img fetchpriority="high" decoding="async" class="aligncenter size-full wp-image-2049" src="https://www.linuxtuto.com/wp-content/uploads/2025/11/erpnext_login.webp" alt="ERPNext login page" width="900" height="394" srcset="https://www.linuxtuto.com/wp-content/uploads/2025/11/erpnext_login.webp 900w, https://www.linuxtuto.com/wp-content/uploads/2025/11/erpnext_login-300x131.webp 300w, https://www.linuxtuto.com/wp-content/uploads/2025/11/erpnext_login-768x336.webp 768w, https://www.linuxtuto.com/wp-content/uploads/2025/11/erpnext_login-897x393.webp 897w, https://www.linuxtuto.com/wp-content/uploads/2025/11/erpnext_login-684x299.webp 684w" sizes="(max-width: 900px) 100vw, 900px" /></h2>
<h2><span class="has-inline-color has-vivid-purple-color">Comments and Conclusion</span></h2>
<p>Installing ERPNext 15 on Debian 13 is straightforward when following the official bench method.</p>
<p>This tutorial covered everything from installing dependencies and configuring MariaDB to setting up NGINX, Supervisor, and full production deployment.</p>
<p>ERPNext 15 provides excellent performance, modularity, and flexibility. With this setup, your business now has a powerful ERP ready to use.</p>
<p>For additional help or useful information, we recommend you to check <a href="https://docs.frappe.io/erpnext/introduction" target="_blank" rel="noopener">the official ERPNext documentation</a>.</p>
<p>If you have any questions please leave a comment below.</p>
<p>The post <a href="https://www.linuxtuto.com/install-erpnext-v15-on-debian-13/">How to Install ERPNext v15 on Debian 13</a> appeared first on <a href="https://www.linuxtuto.com">LinuxTuto</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.linuxtuto.com/install-erpnext-v15-on-debian-13/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2039</post-id>	</item>
	</channel>
</rss>
