Site updated: 2022-10-21 10:02:04
This commit is contained in:
59
rss.xml
59
rss.xml
@ -10,8 +10,8 @@
|
||||
</author>
|
||||
<description>hito的博客</description>
|
||||
<language>zh-CN</language>
|
||||
<pubDate>Thu, 20 Oct 2022 08:56:00 +0800</pubDate>
|
||||
<lastBuildDate>Thu, 20 Oct 2022 08:56:00 +0800</lastBuildDate>
|
||||
<pubDate>Fri, 21 Oct 2022 09:06:00 +0800</pubDate>
|
||||
<lastBuildDate>Fri, 21 Oct 2022 09:06:00 +0800</lastBuildDate>
|
||||
<category term="hito" />
|
||||
<category term="無言" />
|
||||
<category term="博客" />
|
||||
@ -19,6 +19,57 @@
|
||||
<category term="笔记" />
|
||||
<category term="心得体会" />
|
||||
<category term="踩坑" />
|
||||
<item>
|
||||
<guid isPermalink="true">https://blog.jingxiyuan.cn/2022/10/21/%E6%9E%81%E7%A9%BA%E9%97%B4Docker%E7%89%88mariadb%E5%AE%89%E8%A3%85%E4%B8%8E%E9%85%8D%E7%BD%AE/</guid>
|
||||
<title>极空间Docker版mariadb安装与配置</title>
|
||||
<link>https://blog.jingxiyuan.cn/2022/10/21/%E6%9E%81%E7%A9%BA%E9%97%B4Docker%E7%89%88mariadb%E5%AE%89%E8%A3%85%E4%B8%8E%E9%85%8D%E7%BD%AE/</link>
|
||||
<category term="极空间" scheme="https://blog.jingxiyuan.cn/categories/%E6%9E%81%E7%A9%BA%E9%97%B4/" />
|
||||
<category term="Docker" scheme="https://blog.jingxiyuan.cn/categories/%E6%9E%81%E7%A9%BA%E9%97%B4/Docker/" />
|
||||
<category term="技术分享" scheme="https://blog.jingxiyuan.cn/categories/%E6%9E%81%E7%A9%BA%E9%97%B4/Docker/%E6%8A%80%E6%9C%AF%E5%88%86%E4%BA%AB/" />
|
||||
<category term="极空间" scheme="https://blog.jingxiyuan.cn/tags/%E6%9E%81%E7%A9%BA%E9%97%B4/" />
|
||||
<category term="Docker" scheme="https://blog.jingxiyuan.cn/tags/Docker/" />
|
||||
<category term="mariadb" scheme="https://blog.jingxiyuan.cn/tags/mariadb/" />
|
||||
<category term="mysql" scheme="https://blog.jingxiyuan.cn/tags/mysql/" />
|
||||
<pubDate>Fri, 21 Oct 2022 09:06:00 +0800</pubDate>
|
||||
<description><![CDATA[ <h4 id="介绍"><a class="anchor" href="#介绍">#</a> 介绍</h4>
|
||||
<ul>
|
||||
<li>mariadb 属于 mysql 的一个分支,完全兼容 mysql,使用方式和 mysql 无区别。</li>
|
||||
</ul>
|
||||
<h4 id="安装"><a class="anchor" href="#安装">#</a> 安装</h4>
|
||||
<ul>
|
||||
<li>本文介绍安装的镜像为 linuxserver_mariadb 的 10.5.13-r0-ls45,原则上使用最新版即可</li>
|
||||
<li>配置文件映射<br />
|
||||
<img data-src="https://file.jingxiyuan.cn/images/2022/10/21/2022-10-21-09-20-56.jpg" alt="" /></li>
|
||||
<li>端口<br />
|
||||
<img data-src="https://file.jingxiyuan.cn/images/2022/10/21/2022-10-21-09-21-49.jpg" alt="" /></li>
|
||||
<li>环境(MYSQL_ROOT_PASSWORD 为数据库 root 用户密码)<br />
|
||||
<img data-src="https://file.jingxiyuan.cn/images/2022/10/21/2022-10-21-09-22-43.jpg" alt="" /></li>
|
||||
<li>到此已经可以在内网使用了,连接方法同 mysql 一致</li>
|
||||
</ul>
|
||||
<h3 id="配置"><a class="anchor" href="#配置">#</a> 配置</h3>
|
||||
<ul>
|
||||
<li>此处配置为 nginx 反向代理,配置完成后可在外网连接访问</li>
|
||||
</ul>
|
||||
<pre><code class="language-conf">stream &#123;
|
||||
|
||||
#极空间-docker-mariadb
|
||||
upstream mariadb &#123;
|
||||
hash $remote_addr consistent;
|
||||
server mariadb的ip:端口;
|
||||
&#125;
|
||||
|
||||
server &#123;
|
||||
listen 监听端口;
|
||||
|
||||
proxy_connect_timeout 30s;
|
||||
proxy_timeout 300s;
|
||||
proxy_pass mariadb;
|
||||
&#125;
|
||||
|
||||
&#125;
|
||||
</code></pre>
|
||||
]]></description>
|
||||
</item>
|
||||
<item>
|
||||
<guid isPermalink="true">https://blog.jingxiyuan.cn/2022/10/20/%E6%9E%81%E7%A9%BA%E9%97%B4Docker%E7%89%88Wordpress%E5%AE%89%E8%A3%85%E4%B8%8E%E9%85%8D%E7%BD%AE/</guid>
|
||||
<title>极空间Docker版Wordpress安装与配置</title>
|
||||
@ -493,8 +544,8 @@ sudo sysctl vm.overcommit_memory=1
|
||||
<category term="Windows" scheme="https://blog.jingxiyuan.cn/categories/Windows/" />
|
||||
<category term="工具" scheme="https://blog.jingxiyuan.cn/categories/Windows/%E5%B7%A5%E5%85%B7/" />
|
||||
<category term="经验分享" scheme="https://blog.jingxiyuan.cn/categories/Windows/%E5%B7%A5%E5%85%B7/%E7%BB%8F%E9%AA%8C%E5%88%86%E4%BA%AB/" />
|
||||
<category term="chevereto" scheme="https://blog.jingxiyuan.cn/tags/chevereto/" />
|
||||
<category term="PicGo" scheme="https://blog.jingxiyuan.cn/tags/PicGo/" />
|
||||
<category term="chevereto" scheme="https://blog.jingxiyuan.cn/tags/chevereto/" />
|
||||
<pubDate>Wed, 12 Oct 2022 14:40:00 +0800</pubDate>
|
||||
<description><![CDATA[ <h1 id="简介"><a class="anchor" href="#简介">#</a> 简介</h1>
|
||||
<p>PicGo 是一款开源的图床管理工具,十分流行。</p>
|
||||
@ -833,11 +884,11 @@ server &#123;
|
||||
<category term="极空间" scheme="https://blog.jingxiyuan.cn/categories/%E6%9E%81%E7%A9%BA%E9%97%B4/" />
|
||||
<category term="Docker" scheme="https://blog.jingxiyuan.cn/categories/%E6%9E%81%E7%A9%BA%E9%97%B4/Docker/" />
|
||||
<category term="技术分享" scheme="https://blog.jingxiyuan.cn/categories/%E6%9E%81%E7%A9%BA%E9%97%B4/Docker/%E6%8A%80%E6%9C%AF%E5%88%86%E4%BA%AB/" />
|
||||
<category term="chevereto" scheme="https://blog.jingxiyuan.cn/tags/chevereto/" />
|
||||
<category term="极空间" scheme="https://blog.jingxiyuan.cn/tags/%E6%9E%81%E7%A9%BA%E9%97%B4/" />
|
||||
<category term="docker" scheme="https://blog.jingxiyuan.cn/tags/docker/" />
|
||||
<category term="图床" scheme="https://blog.jingxiyuan.cn/tags/%E5%9B%BE%E5%BA%8A/" />
|
||||
<category term="图片上传" scheme="https://blog.jingxiyuan.cn/tags/%E5%9B%BE%E7%89%87%E4%B8%8A%E4%BC%A0/" />
|
||||
<category term="chevereto" scheme="https://blog.jingxiyuan.cn/tags/chevereto/" />
|
||||
<pubDate>Fri, 16 Sep 2022 08:04:00 +0800</pubDate>
|
||||
<description><![CDATA[ <h1 id="安装准备"><a class="anchor" href="#安装准备">#</a> 安装准备</h1>
|
||||
<ol>
|
||||
|
Reference in New Issue
Block a user