<?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>Server  |  塞翁失馬</title>
	<atom:link href="https://hbirds.mydns.jp/category/server/feed/" rel="self" type="application/rss+xml" />
	<link>https://hbirds.mydns.jp</link>
	<description>禍福は糾える縄の如し</description>
	<lastBuildDate>Tue, 21 Feb 2023 20:06:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>

<image>
	<url>https://hbirds.mydns.jp/wp-content/uploads/2022/12/cropped-akaza-32x32.png</url>
	<title>Server  |  塞翁失馬</title>
	<link>https://hbirds.mydns.jp</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>mydns.sh</title>
		<link>https://hbirds.mydns.jp/mydns-sh/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Tue, 21 Feb 2023 19:36:47 +0000</pubDate>
				<category><![CDATA[Server]]></category>
		<guid isPermaLink="false">https://hbirds.mydns.jp/?p=868</guid>

					<description><![CDATA[以下は、GoogleCloudのVMでの実行結果 以下は、OCIのVMでの実行結果]]></description>
										<content:encoded><![CDATA[
<p>以下は、GoogleCloudのVMでの実行結果</p>



<pre class="wp-block-code terminal"><code>hbirds1104@instance-1:~$ sudo -s
root@instance-1:/home/hbirds1104# /root/mydns.sh
--2023-02-22 04:32:20--  https://mydns252391:*password*@ipv4.mydns.jp/login.html
Resolving ipv4.mydns.jp (ipv4.mydns.jp)... 81.4.101.244, 168.235.80.65, 168.235.72.167, ...
Connecting to ipv4.mydns.jp (ipv4.mydns.jp)|81.4.101.244|:443... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authentication selected: Basic realm="Enter MasterID and Password."
Reusing existing connection to ipv4.mydns.jp:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified &#91;text/html]
Saving to: ‘STDOUT’

-                               &#91;&lt;=>                                        ]       0  --.-KB/s               &lt;html>
&lt;head>
&lt;title>Free Dynamic DNS (DDNS) for Home Server and VPS etc  | MyDNS.JP&lt;/title>
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
&lt;LINK href="./site.css" rel=stylesheet type=text/css>

&lt;/head>
&lt;BODY BGCOLOR="#FFFFFF"
      TEXT="#304040"
      leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"
>
Login and IP address notify OK.&lt;BR>
login_status = 1.&lt;BR>
&lt;BR>
&lt;DT>MASTERID :&lt;/DT>&lt;DD>mydns252391&lt;/DD>
&lt;DT>REMOTE ADDRESS:&lt;/DT>&lt;DD>34.127.72.35&lt;/DD>
&lt;DT>ACCESS DAYTIME:&lt;/DT>&lt;DD>2023/02/21 19:32:21 UTC&lt;/DD>
&lt;DT>SERVER ADDRESS:&lt;/DT>&lt;DD>81.4.101.244&lt;/DD>
&lt;BR>

&lt;/body>
&lt;/html>
-                               &#91; &lt;=>                                       ]     615  --.-KB/s    in 0s      

2023-02-22 04:32:21 (28.1 MB/s) - written to stdout &#91;615]

--2023-02-22 04:32:21--  https://mydns252391:*password*@ipv4.mydns.jp/login.html
Resolving ipv4.mydns.jp (ipv4.mydns.jp)... 210.197.74.203, 168.235.72.167, 168.235.80.65, ...
Connecting to ipv4.mydns.jp (ipv4.mydns.jp)|210.197.74.203|:443... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authentication selected: Basic realm="Enter MasterID and Password."
Reusing existing connection to ipv4.mydns.jp:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified &#91;text/html]
Saving to: ‘STDOUT’

-                               &#91;&lt;=>                                        ]       0  --.-KB/s               &lt;html>
&lt;head>
&lt;title>Free Dynamic DNS (DDNS) for Home Server and VPS etc  | MyDNS.JP&lt;/title>
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
&lt;LINK href="./site.css" rel=stylesheet type=text/css>

&lt;/head>
&lt;BODY BGCOLOR="#FFFFFF"
      TEXT="#304040"
      leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"
>
Login and IP address notify OK.&lt;BR>
login_status = 1.&lt;BR>
&lt;BR>
&lt;DT>MASTERID :&lt;/DT>&lt;DD>mydns252391&lt;/DD>
&lt;DT>REMOTE ADDRESS:&lt;/DT>&lt;DD>34.127.72.35&lt;/DD>
&lt;DT>ACCESS DAYTIME:&lt;/DT>&lt;DD>2023/02/21 19:32:21 UTC&lt;/DD>
&lt;DT>SERVER ADDRESS:&lt;/DT>&lt;DD>210.197.74.203&lt;/DD>
&lt;BR>

&lt;/body>
&lt;/html>
-                               &#91; &lt;=>                                       ]     617  --.-KB/s    in 0s      

2023-02-22 04:32:21 (24.2 MB/s) - written to stdout &#91;617]</code></pre>



<p>以下は、OCIのVMでの実行結果</p>



<pre class="wp-block-code terminal"><code>ubuntu@hbirds-mydns-jp:~$ sudo -s
root@hbirds-mydns-jp:/home/ubuntu# /root/mydns.sh
--2023-02-21 19:28:25--  https://mydns252391:*password*@ipv4.mydns.jp/login.html
Resolving ipv4.mydns.jp (ipv4.mydns.jp)... 210.197.74.203, 81.4.101.244, 168.235.80.32, ...
Connecting to ipv4.mydns.jp (ipv4.mydns.jp)|210.197.74.203|:443... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authentication selected: Basic realm="Enter MasterID and Password."
Reusing existing connection to ipv4.mydns.jp:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified &#91;text/html]
Saving to: ‘STDOUT’

-                       &#91;&lt;=>                 ]       0  --.-KB/s               &lt;html>
&lt;head>
&lt;title>Free Dynamic DNS (DDNS) for Home Server and VPS etc  | MyDNS.JP&lt;/title>
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
&lt;LINK href="./site.css" rel=stylesheet type=text/css>

&lt;/head>
&lt;BODY BGCOLOR="#FFFFFF"
      TEXT="#304040"
      leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"
>
Login and IP address notify OK.&lt;BR>
login_status = 1.&lt;BR>
&lt;BR>
&lt;DT>MASTERID :&lt;/DT>&lt;DD>mydns252391&lt;/DD>
&lt;DT>REMOTE ADDRESS:&lt;/DT>&lt;DD>138.2.61.45&lt;/DD>
&lt;DT>ACCESS DAYTIME:&lt;/DT>&lt;DD>2023/02/21 19:28:25 UTC&lt;/DD>
&lt;DT>SERVER ADDRESS:&lt;/DT>&lt;DD>210.197.74.203&lt;/DD>
&lt;BR>

&lt;/body>
&lt;/html>
-                       &#91; &lt;=>                ]     616  --.-KB/s    in 0s      

2023-02-21 19:28:25 (350 MB/s) - written to stdout &#91;616]

--2023-02-21 19:28:25--  https://mydns252391:*password*@ipv4.mydns.jp/login.html
Resolving ipv4.mydns.jp (ipv4.mydns.jp)... 168.235.80.32, 168.235.85.192, 81.4.101.244, ...
Connecting to ipv4.mydns.jp (ipv4.mydns.jp)|168.235.80.32|:443... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authentication selected: Basic realm="Enter MasterID and Password."
Reusing existing connection to ipv4.mydns.jp:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified &#91;text/html]
Saving to: ‘STDOUT’

-                       &#91;&lt;=>                 ]       0  --.-KB/s               &lt;html>
&lt;head>
&lt;title>Free Dynamic DNS (DDNS) for Home Server and VPS etc  | MyDNS.JP&lt;/title>
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
&lt;LINK href="./site.css" rel=stylesheet type=text/css>

&lt;/head>
&lt;BODY BGCOLOR="#FFFFFF"
      TEXT="#304040"
      leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"
>
Login and IP address notify OK.&lt;BR>
login_status = 1.&lt;BR>
&lt;BR>
&lt;DT>MASTERID :&lt;/DT>&lt;DD>mydns252391&lt;/DD>
&lt;DT>REMOTE ADDRESS:&lt;/DT>&lt;DD>138.2.61.45&lt;/DD>
&lt;DT>ACCESS DAYTIME:&lt;/DT>&lt;DD>2023/02/21 19:28:26 UTC&lt;/DD>
&lt;DT>SERVER ADDRESS:&lt;/DT>&lt;DD>168.235.80.32&lt;/DD>
&lt;BR>

&lt;/body>
&lt;/html>
-                       &#91; &lt;=>                ]     615  --.-KB/s    in 0s      

2023-02-21 19:28:26 (282 MB/s) - written to stdout &#91;615]
</code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>php install</title>
		<link>https://hbirds.mydns.jp/php-install/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Sun, 19 Feb 2023 21:29:11 +0000</pubDate>
				<category><![CDATA[Server]]></category>
		<guid isPermaLink="false">https://hbirds.mydns.jp/?p=862</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<pre class="wp-block-code terminal"><code>udo apt install -y  php-dom php-simplexml php-ssh2 php-xml php-xmlreader php-curl php-exif php-ftp php-gd php-iconv php-imagick php-json php-mbstring php-posix php-sockets php-tokenizer php-fpm php-mysql php-gmp php-intl php-cli php-zip</code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Converter for Media Plugin Install</title>
		<link>https://hbirds.mydns.jp/converter-for-media-plugin-install/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Sun, 12 Feb 2023 20:45:43 +0000</pubDate>
				<category><![CDATA[Server]]></category>
		<guid isPermaLink="false">https://hbirds.mydns.jp/?p=828</guid>

					<description><![CDATA[Configuration for Nginxのとおり、/etc/nginx/sites-available/defaultにStep1のコードを追加。Step2のとおり、jpeg、png等をリムーブ。Step3で/etc/nginx/mime.typesに以下を追記。]]></description>
										<content:encoded><![CDATA[
<p><a href="https://wordpress.org/plugins/webp-converter-for-media/#faq">Configuration for Nginx</a>のとおり、/etc/nginx/sites-available/defaultにStep1のコードを追加。Step2のとおり、jpeg、png等をリムーブ。Step3で/etc/nginx/mime.typesに以下を追記。</p>



<pre class="wp-block-code terminal"><code>image/avif                            avif;</code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>NGINXでHTTP/2を有効化</title>
		<link>https://hbirds.mydns.jp/http-2/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Sun, 12 Feb 2023 20:06:32 +0000</pubDate>
				<category><![CDATA[Server]]></category>
		<guid isPermaLink="false">https://hbirds.mydns.jp/?p=820</guid>

					<description><![CDATA[サイトパフォーマンスの向上のためには、HTTP/1.1をHTTP/2にした方が良いとのこと。まずは、&#8211;with-http_v2_module となっていることを確認。 NGINXでは、設定ファイルの「listen」ディレクティブに「http2」を追加することでHTTP/2を有効にできる。前述のとおり、ほとんどのWebブラウザではHTTPSでしかHTTP/2を利用できないので、通常は443番ポートでの待ち受け設定部分にこれを追加することになる。]]></description>
										<content:encoded><![CDATA[
<p>サイトパフォーマンスの向上のためには、HTTP/1.1をHTTP/2にした方が良いとのこと。まずは、&#8211;with-http_v2_module となっていることを確認。</p>



<pre class="wp-block-code terminal"><code>ubuntu@instance-20230205-0514:~$ nginx -V
nginx version: nginx/1.18.0 (Ubuntu)
built with OpenSSL 3.0.2 15 Mar 2022
TLS SNI support enabled
configure arguments: --with-cc-opt='-g -O2 -ffile-prefix-map=/build/nginx-OfQpv6/nginx-1.18.0=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now -fPIC' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --modules-path=/usr/lib/nginx/modules --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-compat --with-debug --with-pcre-jit --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_v2_module --with-http_dav_module --with-http_slice_module --with-threads --add-dynamic-module=/build/nginx-OfQpv6/nginx-1.18.0/debian/modules/http-geoip2 --with-http_addition_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_sub_module</code></pre>



<p>NGINXでは、設定ファイルの「listen」ディレクティブに「http2」を追加することでHTTP/2を有効にできる。前述のとおり、ほとんどのWebブラウザではHTTPSでしかHTTP/2を利用できないので、通常は443番ポートでの待ち受け設定部分にこれを追加することになる。</p>



<pre class="wp-block-code terminal"><code>server {
    listen       443 ssl http2 default_server;
    listen       &#91;::]:443 ssl http2 default_server;
    server_name  ＜ホスト名＞;
    root         /usr/share/nginx/html;
</code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>最大アップロードサイズの変更</title>
		<link>https://hbirds.mydns.jp/%e6%9c%80%e5%a4%a7%e3%82%a2%e3%83%83%e3%83%97%e3%83%ad%e3%83%bc%e3%83%89%e3%82%b5%e3%82%a4%e3%82%ba%e3%81%ae%e5%a4%89%e6%9b%b4/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Tue, 07 Feb 2023 19:22:23 +0000</pubDate>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[post_max_size]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=788</guid>

					<description><![CDATA[cocoonの親テーマをサーバーにアップロードしようとしたらできなかった。子テーマの方は問題なくできたのだが。調べてみるとファイルのアップロードサイズが足りていなかった。 php.iniでは、以下のように100Mと親テーマのファイルサイズを超える設定をしているのに・・・。 ※ 大きなファイルをアップロードするには post_max_size は upload_max_filesize よりも大きく設定する必要があり、一般的に memory_limit は post_max_size よりも大きくする必要があります。 同時にpost_max_sizeも上記のように100M以上で設定しないとダメというわけでした。]]></description>
										<content:encoded><![CDATA[
<p>cocoonの親テーマをサーバーにアップロードしようとしたらできなかった。子テーマの方は問題なくできたのだが。調べてみるとファイルのアップロードサイズが足りていなかった。</p>



<p>php.iniでは、以下のように100Mと親テーマのファイルサイズを超える設定をしているのに・・・。</p>



<pre class="wp-block-code terminal"><code>upload_max_filesize = 100M←変更
memory_limit = 256M←変更
max_execution_time = 360　←変更
date.timezone = Asia/Tokyo←変更</code></pre>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>※ 大きなファイルをアップロードするには post_max_size は upload_max_filesize よりも大きく設定する必要があり、一般的に memory_limit は post_max_size よりも大きくする必要があります。</p>
</blockquote>



<pre class="wp-block-code terminal"><code>post_max_size = 100M</code></pre>



<p>同時にpost_max_sizeも上記のように100M以上で設定しないとダメというわけでした。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>asdf Install</title>
		<link>https://hbirds.mydns.jp/asdf-install/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Wed, 25 Jan 2023 21:15:49 +0000</pubDate>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[asdf]]></category>
		<category><![CDATA[net-ssh]]></category>
		<category><![CDATA[openSSL]]></category>
		<category><![CDATA[ruby]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=755</guid>

					<description><![CDATA[Ubuntu22.04からOpenSSLが3.0になった。 OpenSSL3.0には後方互換があるようだが、いくつかのライブラリではうまく動かない場合がある。 例えば、Rubyのnet-sshである。 wordmoveを実行するとデータベースの移行のところで、ERROR: OpenSSL::PKey::PKeyError: rsa#set_key= is incompatible with OpenSSL 3.0 というエラーが出てしまう。net-sshのバージョンを上げる方法を試みたがubuntu22.04の標準的なインストール方法でRubyをインストールしているため失敗した。土台のRubyをubuntu標準のインストールから脱却し、違う方法でインストールし、OpenSSLとnet-sshが上手く動く環境を構築しないとwordmoveのエラーは解消できないと思われる。以下の環境であれば問題なさそうであるが、asdfを入れてやってみる。 環境1：Ruby、OpenSSL、net-sshのすべてを最新版にした環境 環境2：OpenSSL1.1をベースにしてRubyとnet-sshは依存関係が成り立つ環境 asdfを公式サイトに沿ってインストールする。 Install Dependencies Download asdf Install asdf 確認 Install a Plugin Plugin Dependencies Install Plugin Install a Version Set a Version Global Local 確認 ruby install asdf でRuby をインストールする前にubuntu標準で入れた Ruby をpurge しておく。 libyaml-dev をInstall やっと成功した。]]></description>
										<content:encoded><![CDATA[
<p>Ubuntu22.04からOpenSSLが3.0になった。 OpenSSL3.0には後方互換があるようだが、いくつかのライブラリではうまく動かない場合がある。 例えば、Rubyの<a href="https://github.com/net-ssh/net-ssh">net-ssh</a>である。 wordmoveを実行するとデータベースの移行のところで、<code>ERROR: OpenSSL::PKey::PKeyError: rsa#set_key= is incompatible with OpenSSL 3.0</code> というエラーが出てしまう。net-sshのバージョンを上げる方法を試みたがubuntu22.04の標準的なインストール方法でRubyをインストールしているため失敗した。土台のRubyをubuntu標準のインストールから脱却し、違う方法でインストールし、OpenSSLとnet-sshが上手く動く環境を構築しないとwordmoveのエラーは解消できないと思われる。以下の環境であれば問題なさそうであるが、asdfを入れてやってみる。</p>



<p>環境1：Ruby、OpenSSL、net-sshのすべてを最新版にした環境</p>



<p>環境2：OpenSSL1.1をベースにしてRubyとnet-sshは依存関係が成り立つ環境</p>



<p>asdfを公式サイトに沿ってインストールする。</p>



<p> </p>



<h2 class="wp-block-heading"> Install Dependencies</h2>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~$ sudo apt install curl git
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
curl is already the newest version (7.81.0-1ubuntu1.7).
git is already the newest version (1:2.34.1-1ubuntu1.6).
git set to manually installed.
</code></pre>



<h2 class="wp-block-heading"> Download asdf</h2>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~$ git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.11.1
Cloning into '/home/hbirds/.asdf'...
remote: Enumerating objects: 7951, done.
remote: Counting objects: 100% (441/441), done.
remote: Compressing objects: 100% (243/243), done.
remote: Total 7951 (delta 265), reused 302 (delta 192), pack-reused 7510
Receiving objects: 100% (7951/7951), 2.16 MiB | 6.29 MiB/s, done.
Resolving deltas: 100% (4663/4663), done.
Note: switching to '27c8a101e5fef2b8de29053cbe56f75fc06a3aca'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c &lt;new-branch-name&gt;

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false
</code></pre>



<h2 class="wp-block-heading"> Install asdf</h2>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~$ . $HOME/.asdf/asdf.sh
hbirds@hbirds-Lenovo-G580:~$ . $HOME/.asdf/completions/asdf.bash</code></pre>



<pre class="wp-block-code terminal"><code>$ echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.bashrc
$ echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.bashrc</code></pre>



<p>確認</p>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~$ asdf version
v0.11.1-27c8a10</code></pre>



<h2 class="wp-block-heading"> Install a Plugin</h2>



<h3 class="wp-block-heading"> Plugin Dependencies</h3>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~$ sudo apt-get install dirmngr gpg curl gawk
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
curl is already the newest version (7.81.0-1ubuntu1.7).
dirmngr is already the newest version (2.2.27-3ubuntu2.1).
dirmngr set to manually installed.
gpg is already the newest version (2.2.27-3ubuntu2.1).
gpg set to manually installed.
The following packages were automatically installed and are no longer required:
  libevent-pthreads-2.1-7 libhtml-template-perl libmecab2 mecab-ipadic
  mecab-ipadic-utf8 mecab-utils mysql-client-8.0 mysql-common mysql-server-8.0
  mysql-server-core-8.0
Use 'sudo apt autoremove' to remove them.
Suggested packages:
  gawk-doc
The following NEW packages will be installed:
  gawk
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
Need to get 447 kB of archives.
After this operation, 1,720 kB of additional disk space will be used.
Do you want to continue? &#91;Y/n] Y
Get:1 http://jp.archive.ubuntu.com/ubuntu jammy/main amd64 gawk amd64 1:5.1.0-1build3 &#91;447 kB]
Fetched 447 kB in 3s (174 kB/s)         
Selecting previously unselected package gawk.
(Reading database ... 268376 files and directories currently installed.)
Preparing to unpack .../gawk_1%3a5.1.0-1build3_amd64.deb ...
Unpacking gawk (1:5.1.0-1build3) ...
Setting up gawk (1:5.1.0-1build3) ...
Processing triggers for man-db (2.10.2-1) ...</code></pre>



<h3 class="wp-block-heading"> Install Plugin</h3>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~$ asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git</code></pre>



<h2 class="wp-block-heading"> Install a Version</h2>



<pre class="wp-block-code terminal"><code>birds@hbirds-Lenovo-G580:~$ asdf install nodejs latest
Trying to update node-build... ok
Downloading node-v19.5.0-linux-x64.tar.gz...
-&gt; https://nodejs.org/dist/v19.5.0/node-v19.5.0-linux-x64.tar.gz
Installing node-v19.5.0-linux-x64...
Installed node-v19.5.0-linux-x64 to /home/hbirds/.asdf/installs/nodejs/19.5.0</code></pre>



<h2 class="wp-block-heading"> Set a Version</h2>



<h3 class="wp-block-heading"> Global</h3>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~$ asdf global nodejs latest</code></pre>



<h3 class="wp-block-heading"> Local</h3>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~$ asdf local nodejs latest</code></pre>



<p>確認</p>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~$ cat $HOME/.tool-versions
nodejs 19.5.0</code></pre>



<h2 class="wp-block-heading"> ruby install</h2>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~$ asdf plugin add ruby https://github.com/asdf-vm/asdf-ruby.git</code></pre>



<p>asdf でRuby をインストールする前にubuntu標準で入れた Ruby をpurge しておく。</p>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~$ sudo apt purge ruby
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  fonts-lato javascript-common libevent-pthreads-2.1-7 libgmp-dev
  libgmpxx4ldbl libhtml-template-perl libjs-jquery libmecab2 mecab-ipadic
  mecab-ipadic-utf8 mecab-utils mysql-client-8.0 mysql-common mysql-server-8.0
  mysql-server-core-8.0 ruby-net-telnet ruby-webrick ruby-xmlrpc ruby3.0-doc
  rubygems-integration
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  libruby3.0* rake* ri* ruby* ruby-dev* ruby-full* ruby-rubygems* ruby3.0*
  ruby3.0-dev*
0 upgraded, 0 newly installed, 9 to remove and 9 not upgraded.
After this operation, 26.7 MB disk space will be freed.
Do you want to continue? &#91;Y/n] Y
(Reading database ... 268532 files and directories currently installed.)
Removing ruby-full (1:3.0~exp1) ...
Removing ruby-dev:amd64 (1:3.0~exp1) ...
Removing ruby3.0-dev:amd64 (3.0.2-7ubuntu2.3) ...
Removing ri (1:3.0~exp1) ...
Removing ruby (1:3.0~exp1) ...
Removing ruby3.0 (3.0.2-7ubuntu2.3) ...
dpkg: warning: while removing ruby3.0, directory '/var/lib/gems/3.0.0' not empty
 so not removed
Removing libruby3.0:amd64 (3.0.2-7ubuntu2.3) ...
Removing ruby-rubygems (3.3.5-2) ...
Removing rake (13.0.6-2) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...

birds@hbirds-Lenovo-G580:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  fonts-lato javascript-common libevent-pthreads-2.1-7 libgmp-dev
  libgmpxx4ldbl libhtml-template-perl libjs-jquery libmecab2 mecab-ipadic
  mecab-ipadic-utf8 mecab-utils mysql-client-8.0 mysql-common mysql-server-8.0
  mysql-server-core-8.0 ruby-net-telnet ruby-webrick ruby-xmlrpc ruby3.0-doc
  rubygems-integration
0 upgraded, 0 newly installed, 20 to remove and 9 not upgraded.
After this operation, 210 MB disk space will be freed.
Do you want to continue? &#91;Y/n] Y
(Reading database ... 265437 files and directories currently installed.)
Removing fonts-lato (2.0-2.1) ...
dpkg: warning: while removing fonts-lato, directory '/usr/share/fonts/truetype/l
ato' not empty so not removed
Removing javascript-common (11+nmu1) ...
Removing mysql-server-8.0 (8.0.32-0buntu0.22.04.1) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.c
nf (my.cnf) in auto mode
Removing mysql-server-core-8.0 (8.0.32-0buntu0.22.04.1) ...
Removing libevent-pthreads-2.1-7:amd64 (2.1.12-stable-1build3) ...
Removing libgmp-dev:amd64 (2:6.2.1+dfsg-3ubuntu1) ...
Removing libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-3ubuntu1) ...
Removing libhtml-template-perl (2.97-1.1) ...
Removing libjs-jquery (3.6.0+dfsg+~3.5.13-1) ...
Removing mecab-ipadic-utf8 (2.7.0-20070801+main-3) ...
update-alternatives: using /var/lib/mecab/dic/ipadic to provide /var/lib/mecab/d
ic/debian (mecab-dictionary) in auto mode
Removing mecab-ipadic (2.7.0-20070801+main-3) ...
Removing mecab-utils (0.996-14build9) ...
Removing libmecab2:amd64 (0.996-14build9) ...
Removing mysql-client-8.0 (8.0.32-0buntu0.22.04.1) ...
Removing mysql-common (5.8+1.0.8) ...
Removing ruby-net-telnet (0.1.1-2) ...
Removing ruby-xmlrpc (0.3.2-1ubuntu0.1) ...
Removing ruby-webrick (1.7.0-3) ...
Removing ruby3.0-doc (3.0.2-7ubuntu2.3) ...
Removing rubygems-integration (1.18) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for fontconfig (2.13.1-4.2ubuntu5) ...
</code></pre>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~$ asdf install ruby latest
To follow progress, use 'tail -f /tmp/ruby-build.20230126140906.7494.log' or pass --verbose
No system openssl version was found, ensure openssl headers are installed (https://github.com/rbenv/ruby-build/wiki#suggested-build-environment)
Downloading openssl-3.0.7.tar.gz...
-&gt; https://dqw8nmjcqpjn7.cloudfront.net/83049d042a260e696f62406ac5c08bf706fd84383f945cf21bd61e9ed95c396e
Installing openssl-3.0.7...
Installed openssl-3.0.7 to /home/hbirds/.asdf/installs/ruby/3.2.0

Downloading ruby-3.2.0.tar.gz...
-&gt; https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.0.tar.gz
Installing ruby-3.2.0...

BUILD FAILED (Ubuntu 22.04 using ruby-build 20230124)

Inspect or clean up the working tree at /tmp/ruby-build.20230126140906.7494.0lEiQf
Results logged to /tmp/ruby-build.20230126140906.7494.log

Last 10 log lines:
*** Fix the problems, then remove these directories and try again if you want.
make&#91;1]: Leaving directory '/tmp/ruby-build.20230126140906.7494.0lEiQf/ruby-3.2.0'
Generating RDoc documentation
/tmp/ruby-build.20230126140906.7494.0lEiQf/ruby-3.2.0/lib/yaml.rb:3: warning: It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
uh-oh! RDoc had a problem:
cannot load such file -- psych

run with --debug for full backtrace
make: *** &#91;uncommon.mk:598: rdoc] Error 1
</code></pre>



<p>libyaml-dev をInstall</p>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~$ sudo apt install libyaml-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
  libyaml-doc
The following NEW packages will be installed:
  libyaml-dev
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 62.8 kB of archives.
After this operation, 257 kB of additional disk space will be used.
Get:1 http://jp.archive.ubuntu.com/ubuntu jammy/main amd64 libyaml-dev amd64 0.2.2-1build2 &#91;62.8 kB]
Fetched 62.8 kB in 2s (30.7 kB/s)      
Selecting previously unselected package libyaml-dev:amd64.
(Reading database ... 251891 files and directories currently installed.)
Preparing to unpack .../libyaml-dev_0.2.2-1build2_amd64.deb ...
Unpacking libyaml-dev:amd64 (0.2.2-1build2) ...
Setting up libyaml-dev:amd64 (0.2.2-1build2) ...
hbirds@hbirds-Lenovo-G580:~$ 
</code></pre>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~$ asdf install ruby latest
To follow progress, use 'tail -f /tmp/ruby-build.20230126142727.39377.log' or pass --verbose
No system openssl version was found, ensure openssl headers are installed (https://github.com/rbenv/ruby-build/wiki#suggested-build-environment)
Downloading openssl-3.0.7.tar.gz...
-&gt; https://dqw8nmjcqpjn7.cloudfront.net/83049d042a260e696f62406ac5c08bf706fd84383f945cf21bd61e9ed95c396e
Installing openssl-3.0.7...
Installed openssl-3.0.7 to /home/hbirds/.asdf/installs/ruby/3.2.0

Downloading ruby-3.2.0.tar.gz...
-&gt; https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.0.tar.gz
Installing ruby-3.2.0...

BUILD FAILED (Ubuntu 22.04 using ruby-build 20230124)

Inspect or clean up the working tree at /tmp/ruby-build.20230126142727.39377.mpEITa
Results logged to /tmp/ruby-build.20230126142727.39377.log

Last 10 log lines:
The Ruby openssl extension was not compiled.
ERROR: Ruby install aborted due to missing extensions
Try running `apt-get install -y libssl-dev` to fetch missing dependencies.

Configure options used:
  --prefix=/home/hbirds/.asdf/installs/ruby/3.2.0
  --with-openssl-dir=/home/hbirds/.asdf/installs/ruby/3.2.0/openssl
  --enable-shared
  LDFLAGS=-L/home/hbirds/.asdf/installs/ruby/3.2.0/lib 
  CPPFLAGS=-I/home/hbirds/.asdf/installs/ruby/3.2.0/include </code></pre>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~$ sudo apt-get install -y libssl-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
  libssl-doc
The following NEW packages will be installed:
  libssl-dev
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 2,372 kB of archives.
After this operation, 12.4 MB of additional disk space will be used.
Get:1 http://jp.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libssl-dev amd64 3.0.2-0ubuntu1.7 &#91;2,372 kB]
Fetched 2,372 kB in 3s (846 kB/s)       
Selecting previously unselected package libssl-dev:amd64.
(Reading database ... 251898 files and directories currently installed.)
Preparing to unpack .../libssl-dev_3.0.2-0ubuntu1.7_amd64.deb ...
Unpacking libssl-dev:amd64 (3.0.2-0ubuntu1.7) ...
Setting up libssl-dev:amd64 (3.0.2-0ubuntu1.7) ...
</code></pre>



<p>やっと成功した。</p>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~$ asdf install ruby latest
To follow progress, use 'tail -f /tmp/ruby-build.20230126143911.71318.log' or pass --verbose
Downloading ruby-3.2.0.tar.gz...
-&gt; https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.0.tar.gz
Installing ruby-3.2.0...
Installed ruby-3.2.0 to /home/hbirds/.asdf/installs/ruby/3.2.0
</code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>cloud-init の無効化</title>
		<link>https://hbirds.mydns.jp/cloud-init-%e3%81%ae%e7%84%a1%e5%8a%b9%e5%8c%96/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Wed, 18 Jan 2023 05:29:58 +0000</pubDate>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[cloud-init]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=649</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<pre class="wp-block-code terminal"><code>touch /etc/cloud/cloud-init.disabled</code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>サーバーのIPアドレスの固定</title>
		<link>https://hbirds.mydns.jp/%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%aeip%e3%82%a2%e3%83%89%e3%83%ac%e3%82%b9%e3%81%ae%e5%9b%ba%e5%ae%9a/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Tue, 17 Jan 2023 21:17:07 +0000</pubDate>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[nic]]></category>
		<category><![CDATA[static]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=642</guid>

					<description><![CDATA[Ubuntu22.04LTSサーバーのIPアドレスを固定する。 現状は以下のようになっている。 新たに以下の 01-netcfg.yaml ファイルを作成して有効化(sudo netplan apply)する。 自分はNICが２つあるので１つ(ens17s0)は固定(192.168.0.99)、もう１つ(ens1)は dhcp:true としてみた。]]></description>
										<content:encoded><![CDATA[
<p>Ubuntu22.04LTSサーバーのIPアドレスを固定する。</p>



<p>現状は以下のようになっている。</p>



<pre class="wp-block-code terminal"><code>birds@ml115g5ubuntu2204server:/etc/netplan$ cat 00-installer-config.yaml
# This is the network config written by 'subiquity'
network:
  ethernets:
    enp17s0:
      dhcp4: true
    ens1:
      dhcp4: true
  version: 2
</code></pre>



<pre class="wp-block-code"><code>これを、以下で無効化して</code></pre>



<pre class="wp-block-code terminal"><code>hbirds@ml115g5ubuntu2204server:/etc/netplan$ sudo mv 00-installer-config.yaml 00-installer-config.yaml.bak</code></pre>



<p>新たに以下の 01-netcfg.yaml ファイルを作成して有効化(sudo netplan apply)する。</p>



<p>自分はNICが２つあるので１つ(ens17s0)は固定(192.168.0.99)、もう１つ(ens1)は dhcp:true としてみた。</p>



<pre class="wp-block-code terminal"><code>network:
  ethernets:
    # ネットワークインターフェース名
    enp17s0:
      dhcp4: false
      # IP アドレス/サブネットマスク
      addresses: &#91;192.168.0.99/24]
      # デフォルトゲートウェイ
      # &#91;metric] : 優先度を設定 (複数の NIC 搭載の場合に指定)
      # 値が低い方が優先度高
      routes:
        - to: default
          via: 192.168.0.1
          metric: 100
      nameservers:
        # 参照するネームサーバー
        addresses: &#91;192.168.0.1]
      dhcp6: false
    ens1:
     dhcp4: true
     dhcp6: true
  version: 2</code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>FileZilla Client for Linux (64bit x86) Install</title>
		<link>https://hbirds.mydns.jp/filezilla-client-for-linux-64bit-x86-install/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Sat, 14 Jan 2023 18:03:26 +0000</pubDate>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[FileZilla]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=609</guid>

					<description><![CDATA[FileZillaをインストールしてLOCAL上のwordpressファイルをOCIにアップロードしてみる。]]></description>
										<content:encoded><![CDATA[
<p>FileZillaをインストールしてLOCAL上のwordpressファイルをOCIにアップロードしてみる。</p>



<figure class="wp-block-image aligncenter size-large is-resized border shadow"><img fetchpriority="high" decoding="async" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-02-57-59-1024x453.png" alt="" class="wp-image-611" width="768" height="340" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-02-57-59-1024x453.png 1024w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-02-57-59-300x133.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-02-57-59-768x339.png 768w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-02-57-59.png 1360w" sizes="(max-width: 768px) 100vw, 768px" /></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>gFTPでsshkeyを使う方法</title>
		<link>https://hbirds.mydns.jp/gftp%e3%81%a7sshkey%e3%82%92%e4%bd%bf%e3%81%86%e6%96%b9%e6%b3%95/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Fri, 13 Jan 2023 20:35:25 +0000</pubDate>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[gftp]]></category>
		<category><![CDATA[oci]]></category>
		<category><![CDATA[ssh]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=558</guid>

					<description><![CDATA[OCIにファイルの転送をクライアントPC（Ubuntu 22.04）からgFTPを使って行えるようにした。やり方は、以下のようにPreferencesタブにsshコマンドを書くこと。以下の例では、-oオプションを使っているが、-iオプションの方が簡単。 Here are the steps how to setup gFTP to use SSH keys: ポイントは、SSH Prog Nameにsshと正しいSSHコマンド名を入れること、-iオプションで正しいパスを指定するときに -iの前に空白を入れること、Need SSH User/Passのチェックは外すことの３点。 以下のように無事に接続されたので、相互にファイル転送ができるようになったはず。 クライアントPCからOCIに画像ファイル(dembell-1966702_1920.jpg)を送ってみた。無事に転送できた。 しかし、LOCALからテーマディレクトリ(cocoon-child-master)を送ろうとしたら以下のように失敗している。原因を突き止めねば。他のディレクトリでは問題なく転送できたのでLocal Sites固有の問題なのか？]]></description>
										<content:encoded><![CDATA[
<p>OCIにファイルの転送をクライアントPC（Ubuntu 22.04）からgFTPを使って行えるようにした。やり方は、以下のようにPreferencesタブにsshコマンドを書くこと。以下の例では、-oオプションを使っているが、-iオプションの方が簡単。</p>



<p>Here are the steps how to setup gFTP to use SSH keys:</p>



<ol class="wp-block-list">
<li>In the&nbsp;<strong>FTP menu</strong>&nbsp;click on&nbsp;<strong>Preferences</strong>;</li>



<li>Go to&nbsp;<strong>SSH tab</strong>;</li>



<li>Fill the field&nbsp;<strong>SSH Extra Params</strong>&nbsp;with this value:<code>-o IdentityFile=/home/&lt;your user&gt;/.ssh/id_rsa </code>Change&nbsp;<code>&lt;user name&gt;</code>&nbsp;with your&nbsp;<strong>real username</strong>. Or use:<code>-o IdentityFile=~/.ssh/id_rsa</code></li>



<li>In gFTP&#8217;s main window choice&nbsp;<strong>SSH2</strong>&nbsp;as type of the connection;</li>



<li>Enter the target&nbsp;<strong>Host</strong>&nbsp;name, or&nbsp;<strong>IP</strong>&nbsp;address;</li>



<li>Setup the SSH&nbsp;<strong>Port</strong>&nbsp;of the target machine (if it&#8217;s not the default &#8211;&nbsp;<code>22</code>);</li>



<li>Enter&nbsp;<strong>User</strong>&nbsp;for the SSH connection;</li>



<li>Enter your SSH key&#8217;s&nbsp;<strong>Pass</strong>phrase (if there is some);</li>



<li>Hit&nbsp;<kbd>Enter</kbd>.</li>
</ol>



<p>ポイントは、SSH Prog Nameにsshと正しいSSHコマンド名を入れること、-iオプションで正しいパスを指定するときに -iの前に空白を入れること、Need SSH User/Passのチェックは外すことの３点。</p>



<figure class="wp-block-image aligncenter size-full border shadow"><img decoding="async" width="557" height="593" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-14-05-12-37.png" alt="" class="wp-image-592" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-14-05-12-37.png 557w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-14-05-12-37-282x300.png 282w" sizes="(max-width: 557px) 100vw, 557px" /></figure>



<p>以下のように無事に接続されたので、相互にファイル転送ができるようになったはず。</p>



<figure class="wp-block-image size-large border shadow"><img decoding="async" width="1024" height="526" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-14-05-12-02-1024x526.png" alt="" class="wp-image-593" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-14-05-12-02-1024x526.png 1024w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-14-05-12-02-300x154.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-14-05-12-02-768x395.png 768w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-14-05-12-02.png 1368w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>クライアントPCからOCIに画像ファイル(dembell-1966702_1920.jpg)を送ってみた。無事に転送できた。</p>



<figure class="wp-block-image aligncenter size-large border shadow"><img loading="lazy" decoding="async" width="1024" height="533" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-14-07-11-19-1024x533.png" alt="" class="wp-image-597" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-14-07-11-19-1024x533.png 1024w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-14-07-11-19-300x156.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-14-07-11-19-768x399.png 768w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-14-07-11-19.png 1044w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>しかし、LOCALからテーマディレクトリ(cocoon-child-master)を送ろうとしたら以下のように失敗している。原因を突き止めねば。他のディレクトリでは問題なく転送できたのでLocal Sites固有の問題なのか？</p>



<figure class="wp-block-image aligncenter size-large border shadow"><img loading="lazy" decoding="async" width="1024" height="643" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-14-07-18-53-1024x643.png" alt="" class="wp-image-600" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-14-07-18-53-1024x643.png 1024w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-14-07-18-53-300x189.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-14-07-18-53-768x483.png 768w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-14-07-18-53-120x74.png 120w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-14-07-18-53-160x99.png 160w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-14-07-18-53.png 1122w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
