<?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>oci  |  塞翁失馬</title>
	<atom:link href="https://hbirds.mydns.jp/tag/oci/feed/" rel="self" type="application/rss+xml" />
	<link>https://hbirds.mydns.jp</link>
	<description>禍福は糾える縄の如し</description>
	<lastBuildDate>Fri, 13 Jan 2023 23:13:05 +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>oci  |  塞翁失馬</title>
	<link>https://hbirds.mydns.jp</link>
	<width>32</width>
	<height>32</height>
</image> 
	<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 fetchpriority="high" 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 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>
		<item>
		<title>OCIインスタンスでワードプレス</title>
		<link>https://hbirds.mydns.jp/oci%e3%82%a4%e3%83%b3%e3%82%b9%e3%82%bf%e3%83%b3%e3%82%b9%e3%81%a7%e3%83%af%e3%83%bc%e3%83%89%e3%83%97%e3%83%ac%e3%82%b9/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Thu, 29 Dec 2022 06:38:45 +0000</pubDate>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[oci]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=315</guid>

					<description><![CDATA[アカウント作成 　オラクルのアカウントを作成します。個人だと先に進めないようなので、会社員としてアカウントを作成。リージョンは、東京は枠が埋まっているので、大阪で取得。 VM(インスタンス）作 イメージ Ubuntu22.04を選択 シェイプ シェイプとは、インスタンスに割り当てられるCPU数、メモリー・サイズおよびその他のリソースを決定するテンプレートです。イメージは、シェイプ上で実行されるオペレーティング・システムです。 Ampereを選択]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">アカウント作成</h2>



<p>　オラクルのアカウントを作成します。個人だと先に進めないようなので、会社員としてアカウントを作成。リージョンは、東京は枠が埋まっているので、大阪で取得。</p>



<h2 class="wp-block-heading">VM(インスタンス）作</h2>



<h3 class="wp-block-heading">イメージ</h3>



<p>Ubuntu22.04を選択</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="862" height="345" src="https://hbirds.mydns.jp/wp-content/uploads/2022/12/Screenshot-from-2022-12-29-15-31-26.png" alt="" class="wp-image-316" srcset="https://hbirds.mydns.jp/wp-content/uploads/2022/12/Screenshot-from-2022-12-29-15-31-26.png 862w, https://hbirds.mydns.jp/wp-content/uploads/2022/12/Screenshot-from-2022-12-29-15-31-26-300x120.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2022/12/Screenshot-from-2022-12-29-15-31-26-768x307.png 768w" sizes="(max-width: 862px) 100vw, 862px" /></figure>



<h3 class="wp-block-heading">シェイプ</h3>



<p><a rel="noopener" class="" href="https://docs.oracle.com/iaas/Content/Compute/References/computeshapes.htm" target="_blank">シェイプ</a>とは、インスタンスに割り当てられるCPU数、メモリー・サイズおよびその他のリソースを決定するテンプレートです。イメージは、シェイプ上で実行されるオペレーティング・システムです。</p>



<p>Ampereを選択</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="857" height="418" src="https://hbirds.mydns.jp/wp-content/uploads/2022/12/Screenshot-from-2022-12-29-15-35-07.png" alt="" class="wp-image-318" srcset="https://hbirds.mydns.jp/wp-content/uploads/2022/12/Screenshot-from-2022-12-29-15-35-07.png 857w, https://hbirds.mydns.jp/wp-content/uploads/2022/12/Screenshot-from-2022-12-29-15-35-07-300x146.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2022/12/Screenshot-from-2022-12-29-15-35-07-768x375.png 768w" sizes="(max-width: 857px) 100vw, 857px" /></figure>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
