<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>mariadb on Talha Tabak</title><link>https://talhatabak.com/tags/mariadb/</link><description>Recent content in mariadb on Talha Tabak</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Talha Tabak</copyright><lastBuildDate>Sat, 21 Nov 2026 00:20:00 +0300</lastBuildDate><atom:link href="https://talhatabak.com/tags/mariadb/index.xml" rel="self" type="application/rss+xml"/><item><title>Moving an Old WordPress Site into This Setup</title><link>https://talhatabak.com/self-hosting/wordpress-migration/</link><pubDate>Sat, 21 Nov 2026 00:20:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/wordpress-migration/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;The MariaDB container from &lt;a href="https://talhatabak.com/self-hosting/wordpress/"&gt;10 WordPress Setup&lt;/a&gt; must be set up and the &lt;code&gt;db&lt;/code&gt; network created.&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/docker-template/"&gt;4.1 A Ready Template for Docker Containers&lt;/a&gt; must be done (&lt;code&gt;proxy.tmpl&lt;/code&gt; and &lt;code&gt;websocket.conf&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The old server runs WordPress with MariaDB as the database. The example site is &lt;code&gt;example.com&lt;/code&gt;, and the site directory on the old server is &lt;code&gt;/var/www/example&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;Our user on the new server can connect to the old server over SSH (its SSH key is allowed on the old server).&lt;/li&gt;&#10;&lt;li&gt;The moved site uses port &lt;code&gt;8031&lt;/code&gt; (pick a free port from the &lt;code&gt;8030&lt;/code&gt;–&lt;code&gt;8049&lt;/code&gt; range set aside for WordPress).&lt;/li&gt;&#10;&lt;li&gt;The server each command runs on is written before it. On the new server, commands that need root rights are written with &lt;code&gt;sudo&lt;/code&gt;.&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>WordPress Setup</title><link>https://talhatabak.com/self-hosting/wordpress/</link><pubDate>Sat, 21 Nov 2026 00:19:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/wordpress/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/nginx/"&gt;3 NGINX Configuration&lt;/a&gt;, &lt;a href="https://talhatabak.com/self-hosting/docker/"&gt;4 Docker Setup&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/docker-template/"&gt;4.1 A Ready Template for Docker Containers&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;li&gt;For the sites to send mail, &lt;a href="https://talhatabak.com/self-hosting/mail-server/"&gt;2 Mail Server Setup&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;li&gt;To finish the setup wizard behind the VPN, &lt;a href="https://talhatabak.com/self-hosting/services-behind-vpn/"&gt;7.2 Putting Services Behind the VPN&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The example site is &lt;code&gt;example.com&lt;/code&gt;, and the site&amp;rsquo;s short name is &lt;code&gt;example&lt;/code&gt;. The short name is used in directory, container and database names; for each site, replace every &lt;code&gt;example&lt;/code&gt; with the site&amp;rsquo;s name.&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;A&lt;/code&gt; and &lt;code&gt;AAAA&lt;/code&gt; records exist for &lt;code&gt;example.com&lt;/code&gt; and &lt;code&gt;www.example.com&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;The port range &lt;code&gt;8030&lt;/code&gt;–&lt;code&gt;8049&lt;/code&gt; is set aside for WordPress sites; the first site uses port &lt;code&gt;8030&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;Commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Moving the Mail Server</title><link>https://talhatabak.com/self-hosting/mail-server-migration/</link><pubDate>Sat, 21 Nov 2026 00:06:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/mail-server-migration/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/mail-server/"&gt;2 Mail Server Setup&lt;/a&gt; must be done on the new server.&lt;/li&gt;&#10;&lt;li&gt;You must have root access to the old server.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The old server was also set up with iRedMail (MariaDB + &lt;code&gt;/var/vmail&lt;/code&gt;).&lt;/li&gt;&#10;&lt;li&gt;There is no valuable data on the new server yet; the &lt;code&gt;vmail&lt;/code&gt; database of the new installation can be overwritten.&lt;/li&gt;&#10;&lt;li&gt;Commands are run with root rights (&lt;code&gt;sudo&lt;/code&gt;). The server each command runs on is written before it.&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item></channel></rss>