Site updated: 2022-10-21 10:02:04

This commit is contained in:
qinglong
2022-10-21 10:02:05 +08:00
parent 9b065664c6
commit df2bde5591
78 changed files with 229 additions and 91 deletions

View File

@ -8,7 +8,7 @@
<author>
<name>Hito li</name>
</author>
<updated>2022-10-20T00:56:00.000Z</updated>
<updated>2022-10-21T01:06:00.000Z</updated>
<category term="hito" />
<category term="無言" />
<category term="博客" />
@ -16,6 +16,57 @@
<category term="笔记" />
<category term="心得体会" />
<category term="踩坑" />
<entry>
<id>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/</id>
<title>极空间Docker版mariadb安装与配置</title>
<link rel="alternate" href="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/"/>
<content type="html">&lt;h4 id=&#34;介绍&#34;&gt;&lt;a class=&#34;anchor&#34; href=&#34;#介绍&#34;&gt;#&lt;/a&gt; 介绍&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;mariadb 属于 mysql 的一个分支,完全兼容 mysql使用方式和 mysql 无区别。&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;安装&#34;&gt;&lt;a class=&#34;anchor&#34; href=&#34;#安装&#34;&gt;#&lt;/a&gt; 安装&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;本文介绍安装的镜像为 linuxserver_mariadb 的 10.5.13-r0-ls45原则上使用最新版即可&lt;/li&gt;
&lt;li&gt;配置文件映射&lt;br /&gt;
&lt;img data-src=&#34;https://file.jingxiyuan.cn/images/2022/10/21/2022-10-21-09-20-56.jpg&#34; alt=&#34;&#34; /&gt;&lt;/li&gt;
&lt;li&gt;端口&lt;br /&gt;
&lt;img data-src=&#34;https://file.jingxiyuan.cn/images/2022/10/21/2022-10-21-09-21-49.jpg&#34; alt=&#34;&#34; /&gt;&lt;/li&gt;
&lt;li&gt;环境MYSQL_ROOT_PASSWORD 为数据库 root 用户密码)&lt;br /&gt;
&lt;img data-src=&#34;https://file.jingxiyuan.cn/images/2022/10/21/2022-10-21-09-22-43.jpg&#34; alt=&#34;&#34; /&gt;&lt;/li&gt;
&lt;li&gt;到此已经可以在内网使用了,连接方法同 mysql 一致&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;配置&#34;&gt;&lt;a class=&#34;anchor&#34; href=&#34;#配置&#34;&gt;#&lt;/a&gt; 配置&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;此处配置为 nginx 反向代理,配置完成后可在外网连接访问&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code class=&#34;language-conf&#34;&gt;stream &amp;#123;
#极空间-docker-mariadb
upstream mariadb &amp;#123;
hash $remote_addr consistent;
server mariadb的ip:端口;
&amp;#125;
server &amp;#123;
listen 监听端口;
proxy_connect_timeout 30s;
proxy_timeout 300s;
proxy_pass mariadb;
&amp;#125;
&amp;#125;
&lt;/code&gt;&lt;/pre&gt;
</content>
<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/" />
<updated>2022-10-21T01:06:00.000Z</updated>
</entry>
<entry>
<id>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/</id>
<title>极空间Docker版Wordpress安装与配置</title>
@ -506,8 +557,8 @@ url 后缀必须用红线圈中的部分key 在 chevereto 登陆后 api 配
<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/" />
<updated>2022-10-12T06:40:00.000Z</updated>
</entry>
<entry>
@ -889,11 +940,11 @@ server &amp;#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/" />
<updated>2022-09-16T00:04:00.000Z</updated>
</entry>
<entry>