<?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>Backdrop Archives - LinuxTuto</title>
	<atom:link href="https://www.linuxtuto.com/tag/backdrop/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.linuxtuto.com/tag/backdrop/</link>
	<description>Linux Sysadmin and DevOps blog</description>
	<lastBuildDate>Mon, 06 Nov 2023 15:44:36 +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>Backdrop Archives - LinuxTuto</title>
	<link>https://www.linuxtuto.com/tag/backdrop/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">201456972</site>	<item>
		<title>How to Install Backdrop CMS on Debian 12</title>
		<link>https://www.linuxtuto.com/how-to-install-backdrop-cms-on-debian-12/</link>
					<comments>https://www.linuxtuto.com/how-to-install-backdrop-cms-on-debian-12/#respond</comments>
		
		<dc:creator><![CDATA[LinuxTuto]]></dc:creator>
		<pubDate>Thu, 02 Nov 2023 21:36:48 +0000</pubDate>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Backdrop]]></category>
		<category><![CDATA[MariaDB]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[PHP]]></category>
		<guid isPermaLink="false">https://www.linuxtuto.com/?p=1584</guid>

					<description><![CDATA[<p>Backdrop CMS is an open-source content management system (CMS) that is designed to be a user-friendly and accessible alternative to other popular CMS platforms, especially...</p>
<p>The post <a href="https://www.linuxtuto.com/how-to-install-backdrop-cms-on-debian-12/">How to Install Backdrop CMS on Debian 12</a> appeared first on <a href="https://www.linuxtuto.com">LinuxTuto</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Backdrop CMS is an open-source content management system (CMS) that is designed to be a user-friendly and accessible alternative to other popular CMS platforms, especially Drupal.</p>
<p>It is built on the same PHP technology stack as Drupal, but it is intended to be more straightforward and more suitable for smaller organizations, non-profits, and individuals who want a powerful CMS without the complexity often associated with Drupal.</p>
<p>Overall, Backdrop CMS aims to strike a balance between being easy to use and having the capabilities necessary to build and manage websites effectively, making it a suitable choice for those looking for a middle ground between simplicity and customization.</p>
<p>To get started with installing Backdrop on Debian 12, follow the steps below:</p>
<h2><span class="has-inline-color has-vivid-purple-color">Step 1: Update Operating System</span></h2>
<p>Update and upgrade your system packages to the latest version with the following command:</p>
<pre><code># apt update &amp;&amp; apt upgrade</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 2: Install Nginx</span></h2>
<p>You can install Nginx web server via <strong>apt</strong> package manager by executing the following command:</p>
<pre><code># apt install nginx</code></pre>
<p>Verify the status of the Nginx service using <strong>systemctl status</strong> command:</p>
<pre><code># systemctl status nginx</code></pre>
<p>Output:</p>
<pre><code>● nginx.service - A high performance web server and a reverse proxy server
     Loaded: loaded (/lib/systemd/system/nginx.service; enabled; preset: enabled)
     Active: active (running)
       Docs: man:nginx(8)
   Main PID: 717 (nginx)
      Tasks: 2 (limit: 2273)
     Memory: 5.0M
        CPU: 71ms
     CGroup: /system.slice/nginx.service
             ├─717 "nginx: master process /usr/sbin/nginx -g daemon on; master_process on;"
             └─718 "nginx: worker process"
</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 3: </span><span class="has-inline-color has-vivid-purple-color">Install PHP</span></h2>
<p>To install PHP and the necessary extensions, run the following command:</p>
<pre><code># apt install php php-cli php-fpm php-json php-common php-mysql php-zip php-gd php-mbstring php-curl php-xml</code></pre>
<p>Once the installation is complete verify if PHP is installed:</p>
<pre><code>php -v</code></pre>
<pre><code>Output:
PHP 8.2.12 (cli) (built: Oct 27 2023 13:00:10) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.12, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.12, Copyright (c), by Zend Technologies
</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 4: Install MariaDB and create a database</span></h2>
<p>To install MariaDB run the following command:</p>
<pre><code># apt install mariadb-server mariadb-client</code></pre>
<p>Verify the status of the MariaDB service using <strong>systemctl status</strong> command:</p>
<pre><code># systemctl status mariadb</code></pre>
<p>Output:</p>
<pre><code>● mariadb.service - MariaDB 10.11.4 database server
     Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; preset: enabled)
     Active: active (running)
       Docs: man:mariadbd(8)
             https://mariadb.com/kb/en/library/systemd/
   Main PID: 772 (mariadbd)
     Status: "Taking your SQL requests now..."
      Tasks: 9 (limit: 2273)
     Memory: 249.5M
        CPU: 2.711s
     CGroup: /system.slice/mariadb.service
             └─772 /usr/sbin/mariadbd
</code></pre>
<p>By default, MariaDB is not hardened. You can secure MariaDB using the <strong>mysql_secure_installation</strong> script.</p>
<pre><code># mysql_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>
<p>Now run the command below to log in to the MariaDB shell.</p>
<pre><code># mysql -u root -p</code></pre>
<p>Once you are logged in to your database server you need to create a database for the Backdrop installation:</p>
<pre><code>MariaDB [(none)]&gt; CREATE DATABASE backdrop;
MariaDB [(none)]&gt; CREATE USER 'backdrop'@'localhost' IDENTIFIED BY 'Str0ngPass';
MariaDB [(none)]&gt; GRANT ALL PRIVILEGES ON backdrop. * TO 'backdrop'@'localhost';
MariaDB [(none)]&gt; FLUSH PRIVILEGES;
MariaDB [(none)]&gt; EXIT;</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 5: Download Backdrop</span></h2>
<p>The latest version of Backdrop is available to <a href="https://github.com/backdrop/backdrop/releases">download from GitHub</a>. You can download it with the following command:</p>
<pre><code># wget https://github.com/backdrop/backdrop/releases/download/1.26.1/backdrop.zip</code></pre>
<p>Then extract file into the folder <strong>/var/www/</strong> with the following command:</p>
<pre><code># unzip backdrop.zip -d /var/www/</code></pre>
<p>Then enable permission for the Nginx webserver user to access the files:</p>
<pre><code># chown -R www-data:www-data /var/www/backdrop/</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 6: Configure Nginx for Backdrop</span></h2>
<p>Create a new Nginx configuration file with the following command:</p>
<pre><code># nano /etc/nginx/conf.d/backdrop.conf</code></pre>
<p>Paste the content as shown below:</p>
<pre><code>server {
listen 80;

server_name your-domain.com;
root /var/www/backdrop;
index index.php index.html index.htm;

location / {
    try_files $uri $uri/ /index.php?$args;
   }

location = /favicon.ico {
    log_not_found off;
    access_log off;
   }

location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
    expires max;
    log_not_found off;
   }

location = /robots.txt {
    allow all;
    log_not_found off;
    access_log off;
   }

location ~ \.php$ {
    include /etc/nginx/fastcgi_params;
    fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
    fastcgi_index index.php;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
   }
}</code></pre>
<p>Remember to replace <strong><code>your-domain.com</code></strong> with the domain name of your server.</p>
<p>Save and exit the configuration file.</p>
<p>To implement the changes, restart Nginx webserver:</p>
<pre><code># systemctl restart nginx</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 7: Access Backdrop Web Interface</span></h2>
<p>To complete the setup go to your browser and visit <strong>http://your-domain.com/.</strong> Choose language and click on the <strong>SAVE AND CONTINUE</strong> button.</p>
<p><img fetchpriority="high" decoding="async" class="aligncenter wp-image-1586 size-large" src="https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_01-900x415.webp" alt="Backdrop Choose language" width="900" height="415" srcset="https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_01-900x415.webp 900w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_01-300x138.webp 300w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_01-768x354.webp 768w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_01-1536x709.webp 1536w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_01-1222x564.webp 1222w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_01-897x414.webp 897w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_01-684x316.webp 684w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_01.webp 1916w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<p>Provide your database details and click on the <strong>SAVE AND CONTINUE</strong> button.</p>
<p><img decoding="async" class="aligncenter wp-image-1587 size-large" src="https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_02-900x416.webp" alt="Backdrop Database Configuration" width="900" height="416" srcset="https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_02-900x416.webp 900w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_02-300x139.webp 300w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_02-768x355.webp 768w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_02-1536x710.webp 1536w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_02-1222x565.webp 1222w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_02-897x415.webp 897w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_02-684x316.webp 684w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_02.webp 1917w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<p>Provide your admin username, password, email then click on the <strong>SAVE AND CONTINUE</strong> button.</p>
<p><img decoding="async" class="aligncenter wp-image-1588 size-large" src="https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_03-900x694.webp" alt="Backdrop Primary User Account" width="900" height="694" srcset="https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_03-900x694.webp 900w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_03-300x231.webp 300w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_03-768x592.webp 768w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_03-1222x942.webp 1222w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_03-897x692.webp 897w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_03-684x527.webp 684w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_03.webp 1398w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<p>You will get the Backdrop dashboard.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1592" src="https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_04-900x513.webp" alt="Backdrop Dashboard" width="900" height="513" srcset="https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_04-900x513.webp 900w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_04-300x171.webp 300w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_04-768x438.webp 768w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_04-1536x876.webp 1536w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_04-1222x697.webp 1222w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_04-897x511.webp 897w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_04-684x390.webp 684w, https://www.linuxtuto.com/wp-content/uploads/2023/11/backdrop_04.webp 1894w" sizes="auto, (max-width: 900px) 100vw, 900px" /></p>
<h2><span class="has-inline-color has-vivid-purple-color">Comments and Conclusion</span></h2>
<p>That’s it. You have successfully installed Backdrop CMS on Debian 12.</p>
<p>For additional help or useful information, we recommend you to check <a href="https://docs.backdropcms.org/">the official Backdrop documentation</a>.</p>
<p>If you have any questions please leave a comment below.</p>
<p>The post <a href="https://www.linuxtuto.com/how-to-install-backdrop-cms-on-debian-12/">How to Install Backdrop CMS on Debian 12</a> appeared first on <a href="https://www.linuxtuto.com">LinuxTuto</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.linuxtuto.com/how-to-install-backdrop-cms-on-debian-12/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1584</post-id>	</item>
	</channel>
</rss>
