<?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>Uncategorized  |  塞翁失馬</title>
	<atom:link href="https://hbirds.mydns.jp/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>https://hbirds.mydns.jp</link>
	<description>禍福は糾える縄の如し</description>
	<lastBuildDate>Wed, 25 Jan 2023 20:50:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6</generator>

<image>
	<url>https://hbirds.mydns.jp/wp-content/uploads/2022/12/cropped-akaza-32x32.png</url>
	<title>Uncategorized  |  塞翁失馬</title>
	<link>https://hbirds.mydns.jp</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>sudoをNOPASSWDにする</title>
		<link>https://hbirds.mydns.jp/sudo%e3%82%92nopasswd%e3%81%ab%e3%81%99%e3%82%8b/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Wed, 25 Jan 2023 20:50:16 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=758</guid>

					<description><![CDATA[以下をターミナルで実行sれば良いらしいのでやってみた。いちいちパスワードを入れるのが面倒なので。 実際には、このサイトを参考にsudo visudoでやってみた。]]></description>
										<content:encoded><![CDATA[
<p>以下をターミナルで実行sれば良いらしいのでやってみた。いちいちパスワードを入れるのが面倒なので。</p>



<pre class="wp-block-code terminal"><code>sudo sh -c 'echo "&lt;ユーザ名> ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/&lt;ユーザ名>'</code></pre>



<p>実際には、<a href="https://qiita.com/RyodoTanaka/items/e9b15d579d17651650b7">このサイト</a>を参考にsudo visudoでやってみた。</p>



<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Wordmove でLOCALからOCIに移行</title>
		<link>https://hbirds.mydns.jp/wordmove-%e3%81%a7local%e3%81%8b%e3%82%89oci%e3%81%ab%e7%a7%bb%e8%a1%8c/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Tue, 24 Jan 2023 09:47:38 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=734</guid>

					<description><![CDATA[movefile.ymlは以下のとおり。ポイントは、rsync_options:に &#8216;&#8211;rsync-path=&#8221;sudo rsync&#8221;&#8216; を追記しておくこと。これで、転送先のパーミッションエラーを回避できた。 また、.ssh/configを以下の通り作成しておいて、秘密キーを読み込ませる。 以上で、通常のファイルは問題なく転送できたが、問題はMySQLの方で、ubuntu22.04 の最新rubyに組み込まれているnet-ssh-6.1.0のバグのようである。どうするか。幸いながらnet-sshの7.0.0以降で対応しているので、bundle update net-sshすればたいていの場合解決するだろうとのことだが・・・。 bundle update net-ssh をやってみたが・・。 bundlerのバージョン確認と現状でどのようなGEMが入っているのかリストアップ。wordmoveももちろん入っている。net-ssh (6.1.0)は、バージョン6.1.0になっているが、RubyGems.orgでnet-sshを検索すると現時点で最新のバージョンは、7.0.1となっているので、これにアップデートすることで問題は解決すると思われるが、アップデートはGemfileに基づいて行われる仕組みなのでGemfileがある場所でbundle updateコマンドを行わないと Could not locate Gemfile となる。そもそもrubyやwordmoveをインストールしただけではGemfileはできないものなのかよくわかっていない。 以下でGemfileを作成 作成されたGemfaileの内容。ここにnet-sshを追記してbundle updateすればよいのか？ gem environmetコマンドにより、インストールされたパスを調べることができる。 インストール先のリスト。 Gmfileを修正 sudo bundle update を実行 確認したところnet-sshが7.0.1は入っているものの古いバージョンも消えないで残っている。これで大丈夫なのか？ wordmove push &#8211;all を実行した結果、以下の通りNG。相変わらずnet-sshは古いバージョンのままなのでエラーが出ている。 もはやこのサイトの方法しかないか。]]></description>
										<content:encoded><![CDATA[
<p>movefile.ymlは以下のとおり。ポイントは、rsync_options:に &#8216;&#8211;rsync-path=&#8221;sudo rsync&#8221;&#8216; を追記しておくこと。これで、転送先のパーミッションエラーを回避できた。</p>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~/Local Sites/hbirdsddnsnet/app/public$ cat movefile.yml
global:
  sql_adapter: wpcli

local:
  vhost: https://hbirds.mydns.jp
  wordpress_path: /home/hbirds/Local Sites/hbirdsddnsnet/app/public # use an absolute path here

  database:
    name: local
    user: root
    password: "root" # could be blank, so always use quotes around
    host: localhost

production:
  vhost: https://hbirds.ddns.net
  wordpress_path: /var/www/html # use an absolute path here

  database:
    name: wordpress
    user: wordpress
    password: "ZQAHLLOL"
    host: 141.147.151.125
    # port: 3308 # Use just in case you have exotic server config
    # mysqldump_options: '--max_allowed_packet=1G' # Only available if using SSH
    # mysql_options: '--protocol=TCP' # mysql command is used to import db

  exclude:
    - '.git/'
    - '.gitignore'
    - '.gitmodules'
    - '.env'
    - 'node_modules/'
    - 'bin/'
    - 'tmp/*'
    - 'Gemfile*'
    - 'Movefile'
    - 'movefile'
    - 'movefile.yml'
    - 'movefile.yaml'
    - 'wp-config.php'
    - 'wp-content/*.sql.gz'
    - '*.orig'

  # paths: # you can customize wordpress internal paths
  #   wp_content: wp-content
  #   uploads: wp-content/uploads
  #   plugins: wp-content/plugins
  #   mu_plugins: wp-content/mu-plugins
  #   themes: wp-content/themes
  #   languages: wp-content/languages

  ssh:
    host: 141.147.151.125 #hbirds.ddns.net
    user: ubuntu
  #   password: password # password is optional, will use public keys if available.
    port: 22 # Port is optional
    rsync_options: '--verbose --itemize-changes --rsync-path="sudo rsync"' # Additional rsync options, optional
  #   gateway: # Gateway is optional
  #     host: host
  #     user: user
  #     password: password # password is optional, will use public keys if available.

  # ftp:
  #   user: user
  #   password: password
  #   host: host
  #   passive: true
  #   port: 21 # Port is optional
  #   scheme: ftps # default `ftp`. alternative `sftp`

  # hooks: # Remote hooks won't work with FTP
  #   push:
  #     before:
  #       - command: 'echo "do something"'
  #         where: local
  #         raise: false # raise is true by default
  #     after:
  #       - command: 'echo "do something"'
  #         where: remote
  #   pull:
  #     before:
  #       - command: 'echo "do something"'
  #         where: local
  #         raise: false
  #     after:
  #       - command: 'echo "do something"'
  #         where: remote
  #
  # forbid:
  #   push:
  #     db: false
  #     plugins: false
  #     themes: false
  #     languages: false
  #     uploads: false
  #     mu-plugins: false
  #   pull:
  #     db: false
  #     plugins: false
  #     themes: false
  #     languages: false
  #     uploads: false
  #     mu-plugins: false

# staging: # multiple environments can be specified
#   &#91;...]</code></pre>



<p>また、.ssh/configを以下の通り作成しておいて、秘密キーを読み込ませる。</p>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~$ cat .ssh/config
# OCI hbirds.ddns.net 
Host 141.147.151.125
    User ubuntu
    Port 22
    IdentityFile /home/hbirds/ssh-key-2023-01-10.key</code></pre>



<p>以上で、通常のファイルは問題なく転送できたが、問題はMySQLの方で、ubuntu22.04 の最新rubyに組み込まれているnet-ssh-6.1.0のバグのようである。どうするか。幸いながらnet-sshの7.0.0以降で対応しているので、bundle update net-sshすればたいていの場合解決するだろうとのことだが・・・。</p>



<pre class="wp-block-code terminal"><code>▬▬ Pushing Database ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

   remote | mysqldump --host=&#91;secret] --user=wordpress --password=&#91;secret] --result-file="&#91;secret]/wp-content/dump.sql" wordpress
/var/lib/gems/3.0.0/gems/net-ssh-6.1.0/lib/net/ssh/buffer.rb:316:in `set_key': rsa#set_key= is incompatible with OpenSSL 3.0 (OpenSSL::PKey::PKeyError)
</code></pre>



<p>bundle update net-ssh をやってみたが・・。</p>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~$ bundle update net-ssh
Command 'bundle' not found, but can be installed with:
sudo snap install ruby          # version 3.2.0, or
sudo apt  install ruby-bundler  # version 2.3.5-2
See 'snap info ruby' for additional versions.
hbirds@hbirds-Lenovo-G580:~$ ruby -v
ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) &#91;x86_64-linux-gnu]
hbirds@hbirds-Lenovo-G580:~$ sudo gem install bundler
&#91;sudo] password for hbirds: 
Fetching bundler-2.4.5.gem
Successfully installed bundler-2.4.5
Parsing documentation for bundler-2.4.5
Installing ri documentation for bundler-2.4.5
Done installing documentation for bundler after 0 seconds
1 gem installed
hbirds@hbirds-Lenovo-G580:~$ bundle update net-ssh
Could not locate Gemfile
hbirds@hbirds-Lenovo-G580:~$ sudo bundle update net-ssh
Could not locate Gemfile</code></pre>



<p>bundlerのバージョン確認と現状でどのようなGEMが入っているのかリストアップ。wordmoveももちろん入っている。net-ssh (6.1.0)は、バージョン6.1.0になっているが、<a href="https://rubygems.org/">RubyGems.org</a>でnet-sshを検索すると現時点で最新のバージョンは、7.0.1となっているので、これにアップデートすることで問題は解決すると思われるが、アップデートはGemfileに基づいて行われる仕組みなのでGemfileがある場所でbundle updateコマンドを行わないと Could not locate Gemfile となる。そもそもrubyやwordmoveをインストールしただけではGemfileはできないものなのかよくわかっていない。</p>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~/Local Sites/hbirdsddnsnet/app/public$ bundler -v
Bundler version 2.4.5
hbirds@hbirds-Lenovo-G580:~/Local Sites/hbirdsddnsnet/app/public$ gem list

*** LOCAL GEMS ***

abbrev (default: 0.1.0)
activesupport (6.1.7.1)
base64 (default: 0.1.0)
benchmark (default: 0.1.1)
bigdecimal (default: 3.0.0)
bundler (2.4.5, default: 2.2.22)
cgi (default: 0.2.0)
colorize (0.8.1)
concurrent-ruby (1.1.10)
csv (default: 3.1.9)
date (default: 3.1.0)
dbm (default: 1.1.0)
debug (default: 0.1.0)
delegate (default: 0.2.0)
did_you_mean (default: 1.5.0)
digest (default: 3.0.0)
dotenv (2.7.6)
drb (default: 2.0.4)
english (default: 0.7.1)
erb (default: 2.2.0)
etc (default: 1.2.0)
fcntl (default: 1.0.0)
fiddle (default: 1.0.6)
fileutils (default: 1.5.0)
find (default: 0.1.0)
forwardable (default: 1.3.2)
gdbm (default: 2.1.0)
getoptlong (default: 0.1.1)
i18n (1.12.0)
io-console (default: 0.5.7)
io-nonblock (default: 0.1.0)
io-wait (default: 0.1.0)
ipaddr (default: 1.2.2)
irb (default: 1.3.5)
json (default: 2.5.1)
kwalify (0.7.2)
logger (default: 1.4.3)
matrix (default: 0.3.1)
minitest (5.14.2)
mutex_m (default: 0.1.1)
net-ftp (0.1.3, default: 0.1.2)
net-http (default: 0.1.1)
net-imap (default: 0.1.1)
net-pop (default: 0.1.1)
net-protocol (default: 0.1.0)
net-scp (3.0.0)
net-sftp (3.0.0)
net-smtp (default: 0.2.1)
net-ssh (6.1.0)
net-ssh-gateway (2.0.0)
net-telnet (0.1.1)
nkf (default: 0.1.0)
observer (default: 0.1.1)
open-uri (default: 0.1.0)
open3 (default: 0.1.1)
openssl (default: 3.0.0)
optparse (default: 0.1.0)
ostruct (default: 0.3.1)
pathname (default: 0.1.0)
photocopier (1.4.1)
power_assert (1.2.0)
pp (default: 0.1.0)
prettyprint (default: 0.1.0)
prime (default: 0.1.2)
pstore (default: 0.1.1)
psych (default: 3.3.0)
racc (default: 1.5.1)
rake (13.0.6, 13.0.3)
rbs (1.0.4)
rdoc (default: 6.3.1)
readline (default: 0.0.2)
readline-ext (default: 0.1.1)
reline (default: 0.2.5)
resolv (default: 0.2.0)
resolv-replace (default: 0.1.0)
rexml (3.2.5)
rinda (default: 0.1.0)
rss (0.2.9)
rubygems-update (3.3.5)
securerandom (default: 0.1.0)
set (default: 1.0.1)
shellwords (default: 0.1.0)
singleton (default: 0.1.1)
stringio (default: 3.0.0)
strscan (default: 3.0.0)
syslog (default: 0.1.0)
tempfile (default: 0.1.1)
test-unit (3.3.7)
thor (0.20.3)
time (default: 0.1.0)
timeout (default: 0.1.1)
tmpdir (default: 0.1.2)
tracer (default: 0.1.1)
tsort (default: 0.1.0)
typeprof (0.12.0)
tzinfo (2.0.5)
un (default: 0.1.0)
uri (default: 0.10.1)
weakref (default: 0.1.1)
webrick (1.7.0)
wordmove (5.2.2)
xmlrpc (0.3.2)
yaml (default: 0.1.1)
zeitwerk (2.6.6)
zlib (default: 1.1.0)
</code></pre>



<p>以下でGemfileを作成</p>



<pre class="wp-block-code terminal"><code>birds@hbirds-Lenovo-G580:~/Local Sites/hbirdsddnsnet/app/public$ bundle init
Writing new Gemfile to /home/hbirds/Local Sites/hbirdsddnsnet/app/public/Gemfile
</code></pre>



<p>作成されたGemfaileの内容。ここにnet-sshを追記してbundle updateすればよいのか？</p>



<pre class="wp-block-code terminal"><code>birds@hbirds-Lenovo-G580:~/Local Sites/hbirdsddnsnet/app/public$ cat Gemfile
# frozen_string_literal: true

source "https://rubygems.org"

# gem "rails"
</code></pre>



<p>gem environmetコマンドにより、インストールされたパスを調べることができる。</p>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~/Local Sites/hbirdsddnsnet/app/public$ gem environment
RubyGems Environment:
  - RUBYGEMS VERSION: 3.3.5
  - RUBY VERSION: 3.0.2 (2021-07-07 patchlevel 107) &#91;x86_64-linux-gnu]
  - INSTALLATION DIRECTORY: /var/lib/gems/3.0.0
  - USER INSTALLATION DIRECTORY: /home/hbirds/.local/share/gem/ruby/3.0.0
  - RUBY EXECUTABLE: /usr/bin/ruby3.0
  - GIT EXECUTABLE: /usr/bin/git
  - EXECUTABLE DIRECTORY: /usr/local/bin
  - SPEC CACHE DIRECTORY: /home/hbirds/.local/share/gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /etc
  - RUBYGEMS PLATFORMS:
     - ruby
     - x86_64-linux
  - GEM PATHS:
     - /var/lib/gems/3.0.0
     - /home/hbirds/.local/share/gem/ruby/3.0.0
     - /usr/local/lib/ruby/gems/3.0.0
     - /usr/lib/ruby/gems/3.0.0
     - /usr/lib/x86_64-linux-gnu/ruby/gems/3.0.0
     - /usr/share/rubygems-integration/3.0.0
     - /usr/share/rubygems-integration/all
     - /usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /opt/Local/resources/extraResources/bin/composer/posix
     - /opt/Local/resources/extraResources/bin/wp-cli/posix
     - /opt/Local/resources/extraResources/lightning-services/php-8.1.9+8/bin/linux/bin
     - /opt/Local/resources/extraResources/lightning-services/mysql-8.0.16+6/bin/linux/bin
     - /usr/local/bin
     - /usr/local/sbin
     - /usr/local/bin
     - /usr/sbin
     - /usr/bin
     - /sbin
     - /bin
     - /usr/games
     - /usr/local/games
     - /snap/bin
     - /snap/bin</code></pre>



<p>インストール先のリスト。</p>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:/var/lib/gems/3.0.0/gems$ ls -la
total 76
drwxr-xr-x 19 root root 4096  1月 24 19:26 .
drwxr-xr-x  9 root root 4096  1月 22 13:07 ..
drwxr-xr-x  3 root root 4096  1月 22 13:07 activesupport-6.1.7.1
drwxr-xr-x  4 root root 4096  1月 24 19:26 bundler-2.4.5
drwxr-xr-x  4 root root 4096  1月 22 13:07 colorize-0.8.1
drwxr-xr-x  4 root root 4096  1月 22 13:07 concurrent-ruby-1.1.10
drwxr-xr-x  4 root root 4096  1月 22 13:07 dotenv-2.7.6
drwxr-xr-x  3 root root 4096  1月 22 13:07 i18n-1.12.0
drwxr-xr-x  9 root root 4096  1月 22 13:07 kwalify-0.7.2
drwxr-xr-x  5 root root 4096  1月 22 13:07 net-ftp-0.1.3
drwxr-xr-x  3 root root 4096  1月 22 13:07 net-scp-3.0.0
drwxr-xr-x  3 root root 4096  1月 22 13:07 net-sftp-3.0.0
drwxr-xr-x  4 root root 4096  1月 22 13:07 net-ssh-6.1.0
drwxr-xr-x  3 root root 4096  1月 22 13:07 net-ssh-gateway-2.0.0
drwxr-xr-x  6 root root 4096  1月 22 13:07 photocopier-1.4.1
drwxr-xr-x  4 root root 4096  1月 22 13:07 thor-0.20.3
drwxr-xr-x  3 root root 4096  1月 22 13:07 tzinfo-2.0.5
drwxr-xr-x 10 root root 4096  1月 22 13:07 wordmove-5.2.2
drwxr-xr-x  3 root root 4096  1月 22 13:07 zeitwerk-2.6.6
</code></pre>



<p>Gmfileを修正</p>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~/Local Sites/hbirdsddnsnet/app/public$ cat Gemfile
# frozen_string_literal: true

source "https://rubygems.org"

# gem "rails"
gem "wordmove"
gem "net-ssh", "7.0.1"
</code></pre>



<p>sudo bundle update を実行</p>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~/Local Sites/hbirdsddnsnet/app/public$ sudo bundle update
&#91;sudo] password for hbirds: 
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Using rake 13.0.6
Fetching concurrent-ruby 1.2.0
Fetching minitest 5.17.0
Using bundler 2.4.5
Fetching escape 0.0.4
Fetching colored 1.2
Installing colored 1.2
Installing escape 0.0.4
Fetching net-ssh 7.0.1
Fetching thor 1.2.1
Installing minitest 5.17.0
Installing concurrent-ruby 1.2.0
Installing thor 1.2.1
Installing net-ssh 7.0.1
Using net-ssh-gateway 2.0.0
Fetching net-scp 4.0.0
Using i18n 1.12.0
Using tzinfo 2.0.5
Fetching activesupport 7.0.4.1
Installing net-scp 4.0.0
Installing activesupport 7.0.4.1
Fetching photocopier 0.0.10
Installing photocopier 0.0.10
Fetching wordmove 1.2.0
Installing wordmove 1.2.0
Bundle updated!
Post-install message from wordmove:

============================================================================
Beware! From version 1.0, we have changed the wordmove flags' behaviour:
they used to tell wordmove what to _skip_, now they tell what to _include_.

Read `wordmove help` for more info.
============================================================================
</code></pre>



<p>確認したところnet-sshが7.0.1は入っているものの古いバージョンも消えないで残っている。これで大丈夫なのか？</p>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:/var/lib/gems/3.0.0/gems$ ls -la
total 116
drwxr-xr-x 29 root root 4096  1月 25 05:31 .
drwxr-xr-x  9 root root 4096  1月 25 05:31 ..
drwxr-xr-x  3 root root 4096  1月 22 13:07 activesupport-6.1.7.1
drwxr-xr-x  3 root root 4096  1月 25 05:31 activesupport-7.0.4.1
drwxr-xr-x  4 root root 4096  1月 24 19:26 bundler-2.4.5
drwxr-xr-x  4 root root 4096  1月 25 05:31 colored-1.2
drwxr-xr-x  4 root root 4096  1月 22 13:07 colorize-0.8.1
drwxr-xr-x  4 root root 4096  1月 22 13:07 concurrent-ruby-1.1.10
drwxr-xr-x  4 root root 4096  1月 25 05:31 concurrent-ruby-1.2.0
drwxr-xr-x  4 root root 4096  1月 22 13:07 dotenv-2.7.6
drwxr-xr-x  4 root root 4096  1月 25 05:31 escape-0.0.4
drwxr-xr-x  3 root root 4096  1月 22 13:07 i18n-1.12.0
drwxr-xr-x  9 root root 4096  1月 22 13:07 kwalify-0.7.2
drwxr-xr-x  4 root root 4096  1月 25 05:31 minitest-5.17.0
drwxr-xr-x  5 root root 4096  1月 22 13:07 net-ftp-0.1.3
drwxr-xr-x  3 root root 4096  1月 22 13:07 net-scp-3.0.0
drwxr-xr-x  3 root root 4096  1月 25 05:31 net-scp-4.0.0
drwxr-xr-x  3 root root 4096  1月 22 13:07 net-sftp-3.0.0
drwxr-xr-x  4 root root 4096  1月 22 13:07 net-ssh-6.1.0
drwxr-xr-x  5 root root 4096  1月 25 05:31 net-ssh-7.0.1
drwxr-xr-x  3 root root 4096  1月 22 13:07 net-ssh-gateway-2.0.0
drwxr-xr-x  4 root root 4096  1月 25 05:31 photocopier-0.0.10
drwxr-xr-x  6 root root 4096  1月 22 13:07 photocopier-1.4.1
drwxr-xr-x  4 root root 4096  1月 22 13:07 thor-0.20.3
drwxr-xr-x  4 root root 4096  1月 25 05:31 thor-1.2.1
drwxr-xr-x  3 root root 4096  1月 22 13:07 tzinfo-2.0.5
drwxr-xr-x  6 root root 4096  1月 25 05:31 wordmove-1.2.0
drwxr-xr-x 10 root root 4096  1月 22 13:07 wordmove-5.2.2
drwxr-xr-x  3 root root 4096  1月 22 13:07 zeitwerk-2.6.6
</code></pre>



<p>wordmove push &#8211;all を実行した結果、以下の通りNG。相変わらずnet-sshは古いバージョンのままなのでエラーが出ている。</p>



<pre class="wp-block-code terminal"><code>▬▬ Pushing Database ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

   remote | mysqldump --host=&#91;secret] --user=wordpress --password=&#91;secret] --result-file="&#91;secret]/wp-content/dump.sql" wordpress
/var/lib/gems/3.0.0/gems/net-ssh-6.1.0/lib/net/ssh/buffer.rb:316:in `set_key': rsa#set_key= is incompatible with OpenSSL 3.0 (OpenSSL::PKey::PKeyError)
</code></pre>



<p>もはや<a href="https://tech.buty4649.net/entry/2022/10/11/142229">このサイト</a>の方法しかないか。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>OCIのユーザーにパスワード設定</title>
		<link>https://hbirds.mydns.jp/oci%e3%81%ae%e3%83%a6%e3%83%bc%e3%82%b6%e3%83%bc%e3%81%ab%e3%83%91%e3%82%b9%e3%83%af%e3%83%bc%e3%83%89%e8%a8%ad%e5%ae%9a/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Sun, 15 Jan 2023 20:30:46 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=640</guid>

					<description><![CDATA[デフォルトでユーザー名がubuntuになるが、パスワードが設定されていないのでクラウドシェルでインスタンスにログインできない。いざというときに困ったことになるので、ユーザーubuntuにパスワードを設定しておく。 SSHで接続しておいて以下のコマンドを入力すればパスワードを聞かれるので入力すれば設定される。]]></description>
										<content:encoded><![CDATA[
<p>デフォルトでユーザー名がubuntuになるが、パスワードが設定されていないのでクラウドシェルでインスタンスにログインできない。いざというときに困ったことになるので、ユーザーubuntuにパスワードを設定しておく。</p>



<p>SSHで接続しておいて以下のコマンドを入力すればパスワードを聞かれるので入力すれば設定される。</p>



<pre class="wp-block-code terminal"><code>ubuntu@viewdns-net:~$ sudo passwd ubuntu</code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>OCI オブジェクトストレージの作成</title>
		<link>https://hbirds.mydns.jp/oci-%e3%82%aa%e3%83%96%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%82%b9%e3%83%88%e3%83%ac%e3%83%bc%e3%82%b8%e3%81%ae%e4%bd%9c%e6%88%90/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Sat, 14 Jan 2023 22:12:15 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=624</guid>

					<description><![CDATA[すべてデフォルトのまま作成]]></description>
										<content:encoded><![CDATA[
<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-07-08-39-1024x453.png" alt="" class="wp-image-625" width="768" height="340" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-07-08-39-1024x453.png 1024w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-07-08-39-300x133.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-07-08-39-768x339.png 768w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-07-08-39.png 1360w" sizes="(max-width: 768px) 100vw, 768px" /></figure>



<figure class="wp-block-image aligncenter size-large is-resized border shadow"><img decoding="async" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-07-11-27-1024x451.png" alt="" class="wp-image-626" width="768" height="338" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-07-11-27-1024x451.png 1024w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-07-11-27-300x132.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-07-11-27-768x338.png 768w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-07-11-27.png 1366w" sizes="(max-width: 768px) 100vw, 768px" /></figure>



<figure class="wp-block-image aligncenter size-large is-resized border shadow"><img decoding="async" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-07-13-55-1024x451.png" alt="" class="wp-image-628" width="768" height="338" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-07-13-55-1024x451.png 1024w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-07-13-55-300x132.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-07-13-55-768x338.png 768w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-07-13-55.png 1366w" sizes="(max-width: 768px) 100vw, 768px" /></figure>



<p>すべてデフォルトのまま作成</p>



<figure class="wp-block-image aligncenter size-large is-resized border shadow"><img loading="lazy" decoding="async" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-07-14-20-1024x451.png" alt="" class="wp-image-633" width="768" height="338" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-07-14-20-1024x451.png 1024w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-07-14-20-300x132.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-07-14-20-768x338.png 768w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-15-07-14-20.png 1366w" sizes="(max-width: 768px) 100vw, 768px" /></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>s3f3-fuse Install</title>
		<link>https://hbirds.mydns.jp/s3f3-fuse-install/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Sat, 14 Jan 2023 20:00:42 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=614</guid>

					<description><![CDATA[参考サイトのとおりやってみたが最後の結果が違うようだ。 マウント・ポイントを作成: バケットをマウントする。 s3fs &#60;bucket_Name> &#60;mount_point> -o url=https://&#60;namespace_name>.compat.objectstorage.&#60;region>.oraclecloud.com -o nomultipart -o use_path_request_style -o endpoint=&#60;region> 検証。コマンド： df -h &#60;mount_point>]]></description>
										<content:encoded><![CDATA[
<p><a href="https://qiita.com/liu-wei/items/c97c56c3037c91b78145">参考サイト</a>のとおりやってみたが最後の結果が違うようだ。</p>



<pre class="wp-block-code terminal"><code>root@ddns-net:/home/ubuntu# apt install s3fs
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libfuse2
The following NEW packages will be installed:
  libfuse2 s3fs
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 357 kB of archives.
After this operation, 1040 kB of additional disk space will be used.
Do you want to continue? &#91;Y/n] Y
Get:1 http://ap-osaka-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 libfuse2 arm64 2.9.9-5ubuntu3 &#91;89.2 kB]
Get:2 http://ap-osaka-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe arm64 s3fs arm64 1.90-1 &#91;268 kB]
Fetched 357 kB in 2s (187 kB/s)
Selecting previously unselected package libfuse2:arm64.
(Reading database ... 131290 files and directories currently installed.)
Preparing to unpack .../libfuse2_2.9.9-5ubuntu3_arm64.deb ...
Unpacking libfuse2:arm64 (2.9.9-5ubuntu3) ...
Selecting previously unselected package s3fs.
Preparing to unpack .../archives/s3fs_1.90-1_arm64.deb ...
Unpacking s3fs (1.90-1) ...
Setting up libfuse2:arm64 (2.9.9-5ubuntu3) ...
Setting up s3fs (1.90-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for man-db (2.10.2-1) ...
Scanning processes...                                                           
Scanning linux images...                                                        

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
</code></pre>



<pre class="wp-block-code terminal"><code>root@ddns-net:/home/ubuntu# s3fs --version
Amazon Simple Storage Service File System V1.90 (commit:unknown) with GnuTLS(gcrypt)
Copyright (C) 2010 Randy Rizun &lt;rrizun@gmail.com&gt;
License GPL2: GNU GPL version 2 &lt;https://gnu.org/licenses/gpl.html&gt;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
</code></pre>



<pre class="wp-block-code terminal"><code>root@ddns-net:/home/ubuntu# echo 01d7e6d740f52caa2436af426787f9bd8757f1e7:IAtMjUNCRAXNjWZZu1HVMOl1tB98gOWI54KRoiiIzes= > /home/ubuntu/.passwd-s3fs
root@ddns-net:/home/ubuntu# chmod 600 /home/ubuntu/.passwd-s3fs</code></pre>



<p><strong>マウント・ポイントを作成</strong>:</p>



<pre class="wp-block-code terminal"><code>root@ddns-net:/home/ubuntu# mkdir /home/ubuntu/mntmybucket</code></pre>



<p></p>



<p>バケットをマウントする。</p>



<p>s3fs &lt;bucket_Name> &lt;mount_point> -o url=https://&lt;namespace_name>.compat.objectstorage.&lt;region>.oraclecloud.com -o nomultipart -o use_path_request_style -o endpoint=&lt;region></p>



<pre class="wp-block-code terminal"><code>root@ddns-net:/home/ubuntu# s3fs MyBucket /home/ubuntu/mntmybucket -o url=https://axwprv32yjwd.compat.objectstorage.ap-osaka-1.oraclecloud.com -o nomultipart -o use_path_request_style -o endpoint=ap-osaka-1
</code></pre>



<p>検証。コマンド： <code>df -h &lt;mount_point></code></p>



<pre class="wp-block-code terminal"><code>root@ddns-net:/home/ubuntu# df -h mntmybucket
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        45G  3.0G   43G   7% /</code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>OCI</title>
		<link>https://hbirds.mydns.jp/oci/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Mon, 09 Jan 2023 21:53:19 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=550</guid>

					<description><![CDATA[hostsとhostnameを確認]]></description>
										<content:encoded><![CDATA[
<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~$ sudo chmod 0600 ssh-key-2023-01-09.key</code></pre>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~$ ssh -p 22 ubuntu@168.138.37.60 -i ssh-key-2023-01-09.key
The authenticity of host '168.138.37.60 (168.138.37.60)' can't be established.
ED25519 key fingerprint is SHA256:eOB1P1rFAbgFtdXMvyiJKmMjQkyYBRyakwpgKQxs0yA.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/&#91;fingerprint])? yes
Warning: Permanently added '168.138.37.60' (ED25519) to the list of known hosts.
Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-1021-oracle aarch64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Mon Jan  9 21:51:11 UTC 2023

  System load:  0.0               Processes:               155
  Usage of /:   3.2% of 44.96GB   Users logged in:         0
  Memory usage: 1%                IPv4 address for enp0s3: 10.0.0.77
  Swap usage:   0%

0 updates can be applied immediately.


The list of available updates is more than a week old.
To check for new updates run: sudo apt update


The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To run a command as administrator (user "root"), use "sudo &lt;command&gt;".
See "man sudo_root" for details.

ubuntu@mydns-net:~$ exit
logout
Connection to 168.138.37.60 closed.</code></pre>



<p>hostsとhostnameを確認</p>



<pre class="wp-block-code terminal"><code>buntu@mydns-net:~$ cat /etc/hosts
127.0.0.1	localhost

# The following lines are desirable for IPv6 capable hosts
::1	ip6-localhost	ip6-loopback
fe00::0	ip6-localnet
ff00::0	ip6-mcastprefix
ff02::1	ip6-allnodes
ff02::2	ip6-allrouters
ff02::3	ip6-allhosts
127.0.1.1	mydns-net	mydns-net

ubuntu@mydns-net:~$ cat /etc/hostname
mydns-net
</code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>ML115G7Fan3missing</title>
		<link>https://hbirds.mydns.jp/1611%e3%82%a8%e3%83%a9%e3%83%bc/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Thu, 05 Jan 2023 20:20:15 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=499</guid>

					<description><![CDATA[ML110G7の電源を入れると以下のようなエラーが出て、再起動の無限ループにハマってしまった。 ネットで検索すると以下の通りです。 ML110G7には、ファンが３個付いているが、Fan3は、以下の写真の通りPCIファンとなる。内部を確認したところ、電源投入後、①と②のファンは回ったが③は微動だにしなかった。 PCIファンが動いていないのでセンサーが働いてしまったようだ。ファンを新品に交換すればいいのだが、ML110G7で使われているファンは一般的なファンではないようで同等のものを入手するのは困難なので、静音化のためにファンを交換した事例を参考にアマゾンで8cmPWN対応12V4pinファンを買って入れ替えてみることにした。とりあえず、ファンを購入せず以下の図を参考に緑と黒のコードをつないでロック検知センサーを無効化して起動できるか確認したが同じエラーが出て駄目だった。やはり、買わざるを得ないようだ。 安い8cmファンの在庫がなかったので6cmのファンを591円で購入した。 下が交換対象のDELTAのファン。右側の取っ手のようなものを引けば簡単に外せます。ファンから出ているこの４本のコードを切断して新しいファンと先の配線図どおりに繋げば良い。D]]></description>
										<content:encoded><![CDATA[
<p>ML110G7の電源を入れると以下のようなエラーが出て、再起動の無限ループにハマってしまった。</p>



<figure class="wp-block-image aligncenter size-large is-resized shadow"><img loading="lazy" decoding="async" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/IMG_20230106_071912-1024x768.jpg" alt="" class="wp-image-530" width="768" height="576" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/IMG_20230106_071912-1024x768.jpg 1024w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/IMG_20230106_071912-300x225.jpg 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/IMG_20230106_071912-768x576.jpg 768w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/IMG_20230106_071912-1536x1152.jpg 1536w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/IMG_20230106_071912-2048x1536.jpg 2048w" sizes="(max-width: 768px) 100vw, 768px" /></figure>



<p>ネットで検索すると以下の通りです。</p>



<figure class="wp-block-image size-full border shadow"><img loading="lazy" decoding="async" width="972" height="144" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-06-05-12-10.png" alt="" class="wp-image-500" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-06-05-12-10.png 972w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-06-05-12-10-300x44.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-06-05-12-10-768x114.png 768w" sizes="(max-width: 972px) 100vw, 972px" /><figcaption class="wp-element-caption">1611 fan3 failure</figcaption></figure>



<p>ML110G7には、ファンが３個付いているが、Fan3は、以下の写真の通りPCIファンとなる。内部を確認したところ、電源投入後、①と②のファンは回ったが③は微動だにしなかった。</p>



<figure class="wp-block-image aligncenter size-full is-resized shadow"><img loading="lazy" decoding="async" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/c03472590.png.png" alt="" class="wp-image-502" width="476" height="374" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/c03472590.png.png 430w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/c03472590.png-300x236.png 300w" sizes="(max-width: 476px) 100vw, 476px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="963" height="106" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-06-05-24-31.png" alt="" class="wp-image-504" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-06-05-24-31.png 963w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-06-05-24-31-300x33.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-06-05-24-31-768x85.png 768w" sizes="(max-width: 963px) 100vw, 963px" /></figure>



<p>PCIファンが動いていないのでセンサーが働いてしまったようだ。ファンを新品に交換すればいいのだが、ML110G7で使われているファンは一般的なファンではないようで同等のものを入手するのは困難なので、静音化のためにファンを交換した事例を参考にアマゾンで8cmPWN対応12V4pinファンを買って入れ替えてみることにした。とりあえず、ファンを購入せず以下の図を参考に緑と黒のコードをつないでロック検知センサーを無効化して起動できるか確認したが同じエラーが出て駄目だった。やはり、買わざるを得ないようだ。</p>



<figure class="wp-block-image aligncenter size-full is-resized border shadow"><img loading="lazy" decoding="async" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/ml110g7_silentfan_cc.png" alt="" class="wp-image-519" width="564" height="199" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/ml110g7_silentfan_cc.png 752w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/ml110g7_silentfan_cc-300x106.png 300w" sizes="(max-width: 564px) 100vw, 564px" /></figure>



<p>安い8cmファンの在庫がなかったので6cmのファンを591円で購入した。</p>



<figure class="wp-block-image aligncenter size-full is-resized shadow"><img loading="lazy" decoding="async" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/71NEKQOahuL._AC_SX425_.jpg" alt="" class="wp-image-531" width="319" height="291" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/71NEKQOahuL._AC_SX425_.jpg 425w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/71NEKQOahuL._AC_SX425_-300x274.jpg 300w" sizes="(max-width: 319px) 100vw, 319px" /></figure>



<p>下が交換対象のDELTAのファン。右側の取っ手のようなものを引けば簡単に外せます。ファンから出ているこの４本のコードを切断して新しいファンと先の配線図どおりに繋げば良い。D</p>



<figure class="wp-block-image aligncenter size-large is-resized shadow"><img loading="lazy" decoding="async" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/IMG_20230106_130306-1024x768.jpg" alt="" class="wp-image-534" width="512" height="384" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/IMG_20230106_130306-1024x768.jpg 1024w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/IMG_20230106_130306-300x225.jpg 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/IMG_20230106_130306-768x576.jpg 768w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/IMG_20230106_130306-1536x1152.jpg 1536w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/IMG_20230106_130306-2048x1536.jpg 2048w" sizes="(max-width: 512px) 100vw, 512px" /></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>hbirds.netの取得</title>
		<link>https://hbirds.mydns.jp/hbirds-net%e3%81%ae%e5%8f%96%e5%be%97/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Sat, 17 Dec 2022 23:16:05 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=30</guid>

					<description><![CDATA[Xserver Domainでは1円で取得できる。 ただし１年間のみ。２年目以降は1500円以上の更新料がかかる。]]></description>
										<content:encoded><![CDATA[
<p>Xserver Domainでは1円で取得できる。</p>



<p>ただし１年間のみ。２年目以降は1500円以上の更新料がかかる。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>ESXiがブートできない</title>
		<link>https://hbirds.mydns.jp/esxi%e3%81%8c%e3%83%96%e3%83%bc%e3%83%88%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Thu, 15 Dec 2022 22:01:06 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=23</guid>

					<description><![CDATA[ESXiのブート中に以下のエラーが出ている。 Memory map contains over lapping ranges. Multiboot Memmap contains overlapping ranges. Relocating modules and staring up the kernel&#8230; メモリが壊れたのかと思い、memtest86+のブータブルUSBを作ってメモリーチェックをしてみた。 １６Gのメモリーを#1〜#10までの１０パターンでチェックし、約３５分かかる。 １回目のテストにパスするとPASSが1となる。 そのままテストを続けると３５分ごとにPASSが積み上がる。 PASS 10くらい（都合、約350分ほど）までチェックしてERRORが出なければメモリは問題ないということになる。 メモリが問題なければ、BIOSをアップデートしてみるか、ESXiを再インストールするか、6.0から6.7にアップグレードしてみるかのいずれかか。 たぶん、ESXi上の問題かと思われるので、まずは、ESXiの再インストールを先に試してみるか。 以下のサイトが参考になりそう。 VMware ESXi5.0再インストールstdman.blogspot.com 内部に刺さっているUSBメモリー（SONY４GB)が壊れているのかと思い変えてみたが結果は同じ。 ４スロットに刺さっているECCのDIMMはすべて同じ４Gバイトのもので合計１６Gのもの。 刺さっているDIMMを外したり入れ替えたりしてみても駄目。 ESXi5.5をインストールしてみたが結果は同じ。 もしかするとCPUのキャッシュ？ ML115には問題なくインストールできそう。一方、ML110にはFreeNASは問題なくインストールできる。ML110にESXiを入れるのは諦めてML115の方に入れるか。]]></description>
										<content:encoded><![CDATA[
<p>ESXiのブート中に以下のエラーが出ている。</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p><strong>Memory map contains over lapping ranges.</strong></p>



<p><strong>Multiboot Memmap contains overlapping ranges.</strong></p>



<p>Relocating modules and staring up the kernel&#8230;</p>
</blockquote>



<p>メモリが壊れたのかと思い、memtest86+のブータブルUSBを作ってメモリーチェックをしてみた。</p>



<p>１６Gのメモリーを#1〜#10までの１０パターンでチェックし、約３５分かかる。</p>



<p>１回目のテストにパスするとPASSが1となる。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="768" src="https://hbirds.mydns.jp/wp-content/uploads/2022/12/IMG_20221216_063233-1024x768.jpg" alt="" class="wp-image-24" srcset="https://hbirds.mydns.jp/wp-content/uploads/2022/12/IMG_20221216_063233-1024x768.jpg 1024w, https://hbirds.mydns.jp/wp-content/uploads/2022/12/IMG_20221216_063233-300x225.jpg 300w, https://hbirds.mydns.jp/wp-content/uploads/2022/12/IMG_20221216_063233-768x576.jpg 768w, https://hbirds.mydns.jp/wp-content/uploads/2022/12/IMG_20221216_063233-1536x1152.jpg 1536w, https://hbirds.mydns.jp/wp-content/uploads/2022/12/IMG_20221216_063233-2048x1536.jpg 2048w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>そのままテストを続けると３５分ごとにPASSが積み上がる。</p>



<p>PASS 10くらい（都合、約350分ほど）までチェックしてERRORが出なければメモリは問題ないということになる。</p>



<p>メモリが問題なければ、BIOSをアップデートしてみるか、ESXiを再インストールするか、6.0から6.7にアップグレードしてみるかのいずれかか。</p>



<p>たぶん、ESXi上の問題かと思われるので、まずは、ESXiの再インストールを先に試してみるか。</p>



<p>以下のサイトが参考になりそう。</p>




<a rel="noopener" href="http://stdman.blogspot.com/2012/04/vmware-esxi50.html" title="VMware ESXi5.0再インストール" class="blogcard-wrap external-blogcard-wrap a-wrap cf" target="_blank"><div class="blogcard external-blogcard eb-left cf"><div class="blogcard-label external-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail external-blogcard-thumbnail"><img loading="lazy" decoding="async" src="https://s.wordpress.com/mshots/v1/http%3A%2F%2Fstdman.blogspot.com%2F2012%2F04%2Fvmware-esxi50.html?w=160&#038;h=99" alt="" class="blogcard-thumb-image external-blogcard-thumb-image" width="160" height="99" /></figure><div class="blogcard-content external-blogcard-content"><div class="blogcard-title external-blogcard-title">VMware ESXi5.0再インストール</div><div class="blogcard-snippet external-blogcard-snippet"></div></div><div class="blogcard-footer external-blogcard-footer cf"><div class="blogcard-site external-blogcard-site"><div class="blogcard-favicon external-blogcard-favicon"><img loading="lazy" decoding="async" src="https://www.google.com/s2/favicons?domain=http://stdman.blogspot.com/2012/04/vmware-esxi50.html" alt="" class="blogcard-favicon-image external-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain external-blogcard-domain">stdman.blogspot.com</div></div></div></div></a>



<p>内部に刺さっているUSBメモリー（SONY４GB)が壊れているのかと思い変えてみたが結果は同じ。</p>



<p>４スロットに刺さっているECCのDIMMはすべて同じ４Gバイトのもので合計１６Gのもの。</p>



<p>刺さっているDIMMを外したり入れ替えたりしてみても駄目。</p>



<p>ESXi5.5をインストールしてみたが結果は同じ。</p>



<p>もしかするとCPUのキャッシュ？</p>



<p>ML115には問題なくインストールできそう。一方、ML110にはFreeNASは問題なくインストールできる。ML110にESXiを入れるのは諦めてML115の方に入れるか。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>ln -s</title>
		<link>https://hbirds.mydns.jp/ln-s/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Wed, 14 Dec 2022 19:38:03 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=21</guid>

					<description><![CDATA[sudo ln -s /etc/nginx/sites-available/default /etc/nginx/sites-enabled]]></description>
										<content:encoded><![CDATA[
<p>sudo ln -s /etc/nginx/sites-available/default /etc/nginx/sites-enabled</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
