<?xml version="1.0" encoding="UTF-8" ?>
<feed xml:lang="ja" xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:thr="http://purl.org/syndication/thread/1.0">
  <title type="text">エンジニア初心者の備忘録</title>
  <subtitle type="html">エンジニア初心者が躓いたことハマったことを公開します！</subtitle>
  <link rel="self" type="application/atom+xml" href="https://rigil.iku4.com/atom"/>
  <link rel="alternate" type="text/html" href="https://rigil.iku4.com/"/>
  <updated>2014-09-17T18:18:05+09:00</updated>
  <author><name>プラムザ　太郎</name></author>
  <generator uri="//www.ninja.co.jp/blog/" version="0.9">忍者ブログ</generator>
  <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" />
  <entry>
    <id>rigil.iku4.com://entry/147</id>
    <link rel="alternate" type="text/html" href="https://rigil.iku4.com/linux_command/clear" />
    <published>2018-12-28T16:05:25+09:00</published> 
    <updated>2018-12-28T16:05:25+09:00</updated> 
    <category term="Linuxコマンド" label="Linuxコマンド" />
    <title>端末スクリーンをクリアする～エンジニア初心者のためのLinuxコマンド～</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[今回は<span color="#333333" style="color: #333333;"><span color="#333333" style="color: #333333;">端末スクリーンをクリアするclearコマンドについてまとめます。<br />
<br />
まずは、マニュアルを確認。<br />
<br />
<br />
</span></span>
<blockquote>$ man clear <br />
<br />
名前 clear - 端末スクリーンをクリアする <br />
書式 clear <br />
説明 clear は tput(1) を clear 引数とともに呼ぶ。すると tput はスクリーンをクリアしようとする。そのときのデータ は 、 GNU ま た は BSD tput では /etc/termcap から取得され、 ncurses の tput では /etc/terminfo から取得される。こ の コマンドは、リダイレクトすれば他の端末のスクリーンをクリ アすることができる。 <br />
関連項目 reset(1), stty(1), tput(1) <br />
著者 Rik Faith (faith@cs.unc.edu) Linux 0.99 10 October 1993 CLEAR(1)</blockquote>
<span color="#333333" style="color: #333333;"><br />
<span color="#333333" style="color: #333333;">この様に使います。</span><br />
<br />
<span style="color: #3366ff; font-size: large;"><strong>$ clear</strong> </span><br />
<br />
これで、このコマンドラインのが画面の上部となります。<br />
このため、実際にはこれまでの内容はクリアされておらず、視界からクリアする形になります。<br />
<br />
<br />
以上です！<br />
<br />
<br />
<span color="#333333" style="color: #333333;">【参考サイト】</span><br />
<a href="https://eng-entrance.com/linux-command-clear" title="" target="_blank">『画面をリセットする！clearコマンドの使い方【Linuxコマンド集』</a><br />
</span>]]> 
    </content>
    <author>
            <name>プラムザ　太郎</name>
        </author>
  </entry>
  <entry>
    <id>rigil.iku4.com://entry/146</id>
    <link rel="alternate" type="text/html" href="https://rigil.iku4.com/mysql/storage_engine" />
    <published>2018-11-30T16:52:50+09:00</published> 
    <updated>2018-11-30T16:52:50+09:00</updated> 
    <category term="MySQL" label="MySQL" />
    <title>MySQLのストレージエンジンについて</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[今回は、<span style="color: #545454; font-family: arial, sans-serif; font-size: small;">MySQLのストレージエンジンである</span><span color="#545454" face="arial, sans-serif" size="2" style="color: #545454; font-family: arial, sans-serif; font-size: small;"><span color="#545454" face="arial, sans-serif" size="2" style="color: #545454; font-family: arial, sans-serif; font-size: small;">MyISAMとInnoDBの違いについてまとめたいと思います。<br />
<br />
<br />
まずは、ストレージエンジンとは、<br />
<br />
<br />
</span></span>
<blockquote>データベースエンジン(Database Engine)あるいはストレージエンジンはデータベース管理システム (DBMS)がデータベースに対しデータを挿入、抽出、更新および削除(CRUD参照)するために使用する基礎となるソフトウェア部品。データベースエンジンを操作する際、DBMS固有のユーザインタフェースを用いる方法と、ポート番号を通じて行う方法がある。<br />
<a href="https://ja.wikipedia.org/wiki/%E3%83%87%E3%83%BC%E3%82%BF%E3%83%99%E3%83%BC%E3%82%B9%E3%82%A8%E3%83%B3%E3%82%B8%E3%83%B3" title="" target="_blank">『データベースエンジン - Wikipedia』</a></blockquote>
<span color="#545454" face="arial, sans-serif" size="2" style="color: #545454; font-family: arial, sans-serif; font-size: small;"><br />
<br />
<span color="#545454" face="arial, sans-serif" size="2" style="color: #545454; font-family: arial, sans-serif; font-size: small;">そして、MyISAMとInnoDBについてやその違いなどは、下記の記事に良くまとまっています。</span><br />
<br />
<a href="http://tech.lexues.co.jp/archives/1405" title="" target="_blank" style="color: #545454; font-family: arial, sans-serif; font-size: small;">『運用視点なMyISAMとInnoDBと。』</a><br />
<a href="http://shindolog.hatenablog.com/entry/2015/04/01/185703" title="" target="_blank" style="color: #545454; font-family: arial, sans-serif; font-size: small;">『MySQLの「InnoDB」と「MyISAM」についての易しめな違い』</a><br />
<a href="https://thinkit.co.jp/free/article/0608/1/2/" title="" target="_blank" style="color: #545454; font-family: arial, sans-serif; font-size: small;">『徹底比較!! MySQLエンジン 第２回：MyISAMとInnoDB』</a><br />
<br />
<br />
<span color="#545454" face="arial, sans-serif" size="2" style="color: #545454; font-family: arial, sans-serif; font-size: small;">では、どちらをどのように使うべきかについてですが、</span><br />
<span color="#545454" face="arial, sans-serif" size="2" style="color: #545454; font-family: arial, sans-serif; font-size: small;">MySQL5.5からI</span><span style="color: #545454; font-family: arial, sans-serif; font-size: small;">MyISAMより高機能な</span><span color="#545454" face="arial, sans-serif" size="2" style="color: #545454; font-family: arial, sans-serif; font-size: small;">nnoDBがデフォルトストレージとなっているのでそのまま使っている。。が実際ですが、、<br />
</span>ただ、システムによっては使い分け等を考えなくてよいのか。。<br />
<br />
簡単に結論が出なかったので、いつか勘所が分かるようになりたいですね！<br />
<br />
<br />
以上です！<br />
<br />
</span>]]> 
    </content>
    <author>
            <name>プラムザ　太郎</name>
        </author>
  </entry>
  <entry>
    <id>rigil.iku4.com://entry/145</id>
    <link rel="alternate" type="text/html" href="https://rigil.iku4.com/linux_command/while" />
    <published>2018-10-31T23:47:54+09:00</published> 
    <updated>2018-10-31T23:47:54+09:00</updated> 
    <category term="Linuxコマンド" label="Linuxコマンド" />
    <title>コマンドを繰り返し実行する～エンジニア初心者のためのLinuxコマンド～</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[今回は、コマンドを繰り返し実行するコマンドについてまとめます。<br />
こちらになります。<br />
<br />
<span style="font-size: large;"><strong><span style="color: #000080;">while true; do コマンド; done</span></strong></span><br />
<br />
<br />

<div><span style="color: #000080;">$ while true; do date; done</span></div>
<div><span style="color: #000080;">2018年 10月 31日 水曜日 23:44:34 JST</span></div>
<div><span style="color: #000080;">2018年 10月 31日 水曜日 23:44:34 JST</span></div>
<div><span style="color: #000080;">2018年 10月 31日 水曜日 23:44:34 JST</span></div>
<div><span style="color: #000080;">2018年 10月 31日 水曜日 23:44:34 JST</span></div>
<div><span style="color: #000080;">2018年 10月 31日 水曜日 23:44:34 JST</span></div>
<div><span style="color: #000080;">2018年 10月 31日 水曜日 23:44:34 JST</span></div>
<div><br />
<br />
この様に使えます。<br />
doとdoneの間にsleepコマンドを使用して、繰り返し実行のタイミングを設定することができます。<br />
この様に、<br />
<br />

<div><span style="color: #000080;">$ while true; do date; sleep 1s; done</span></div>
<div><span style="color: #000080;">2018年 10月 31日 水曜日 23:38:05 JST</span></div>
<div><span style="color: #000080;">2018年 10月 31日 水曜日 23:38:06 JST</span></div>
<div><span style="color: #000080;">2018年 10月 31日 水曜日 23:38:07 JST</span></div>
<div><span style="color: #000080;">2018年 10月 31日 水曜日 23:38:08 JST</span><br />
<br />
<br />
この場合は、1秒ごとに実行することになります。<br />
<br />
<br />
どこかで使えるといいですね！<br />
<br />
<br />
以上です！</div>
</div>
<br />
<br />
<br />
<br />
【参考サイト】<br />
<a href="http://www.atmarkit.co.jp/ait/articles/1806/28/news037.html" title="" target="_blank">『Linux基本コマンドTips（219）： 【 while 】コマンド――繰り返し処理を行う』</a><br />
<a href="https://i-think-it.net/linux-useful-cmd-5/" title="" target="_blank">『Linuxで知っておくと便利で役に立つコマンド5つ』</a><br />
<a href="https://shellscript.sunone.me/while.html" title="" target="_blank">『UNIX &amp; Linux コマンド・シェルスクリプト リファレンス』</a><br />
<a href="https://qiita.com/muramount/items/d9d4030fe12ce1978ac8" title="" target="_blank">『コマンドラインで繰り返し実行する際のメモ』</a><br />
<br />
]]> 
    </content>
    <author>
            <name>プラムザ　太郎</name>
        </author>
  </entry>
  <entry>
    <id>rigil.iku4.com://entry/144</id>
    <link rel="alternate" type="text/html" href="https://rigil.iku4.com/linux_command/expand" />
    <published>2018-09-29T12:02:59+09:00</published> 
    <updated>2018-09-29T12:02:59+09:00</updated> 
    <category term="Linuxコマンド" label="Linuxコマンド" />
    <title>テキストファイルの中にあるタブをスペースに変換する～エンジニア初心者のためのLinuxコマンド～</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[今回は、テキストファイルの中にあるタブをスペースに変換するexpandコマンドについて書き留めてきたいと思います。<br />
<br />
まずは、マニュアルを確認。<br />

<blockquote>
<blockquote>EXPAND(1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; EXPAND(1)</blockquote>
<blockquote></blockquote>
<blockquote>名前</blockquote>
<blockquote>&nbsp; &nbsp; &nbsp; &nbsp;expand - タブをスペースに変換する</blockquote>
<blockquote></blockquote>
<blockquote>書式</blockquote>
<blockquote>&nbsp; &nbsp; &nbsp; &nbsp;expand&nbsp; [-i] [-TAB1[,TAB2...]&nbsp; [-t TAB1[,TAB2...]&nbsp; [--initial]</blockquote>
<blockquote>&nbsp; &nbsp; &nbsp; &nbsp;[--tabs=TAB1[,TAB2...]&nbsp; [FILE...]</blockquote>
<blockquote></blockquote>
<blockquote>&nbsp; &nbsp; &nbsp; &nbsp;expand [--help] [--version]</blockquote>
<blockquote></blockquote>
<blockquote>説明</blockquote>
<blockquote>&nbsp; &nbsp; &nbsp; &nbsp;expand は指定された FILE の内容を標準出力に書き込む。その際 、</blockquote>
<blockquote>&nbsp; &nbsp; &nbsp; &nbsp;タ ブ文字を適当な数のスペースに置き換える。 FILE が 1 つも与え</blockquote>
<blockquote>&nbsp; &nbsp; &nbsp; &nbsp;られないと標準入力から読み込む。また FILE が &lsquo;-&rsquo; だった場合 に</blockquote>
<blockquote>&nbsp; &nbsp; &nbsp; &nbsp;は、そのファイルには標準入力が用いられる。</blockquote>
<blockquote></blockquote>
<blockquote>&nbsp; &nbsp; &nbsp; &nbsp;デフォルトでは expand はすべてのタブをスペースに変換する。バッ</blockquote>
<blockquote>&nbsp; &nbsp; &nbsp; &nbsp;クスペース文字は出力に保存され、タブの計算における桁数を減らす</blockquote>
<blockquote>&nbsp; &nbsp; &nbsp; &nbsp;作用をもたらす。デフォルトの動作は &lsquo;-t 8&rsquo; が指定された場合と同</blockquote>
<blockquote>&nbsp; &nbsp; &nbsp; &nbsp;じ (タブを 8 桁おきに設定する)。</blockquote>
</blockquote>
<br />
書式は、<br />
<br />
<span style="color: #0000ff; font-size: large;"><strong>expand [オプション] [ファイル]</strong></span><br />
<br />
ですね。<br />
<br />
<br />
試してみると、<br />
<br />
まず、タブ区切りのファイルを作成。<br />
<br />
<span style="color: #0000ff;">$ echo -e "plumsa\thoge1\thoge2" &gt; plumsahoge.txt</span><br />
<br />
確認。<br />
<br />

<div><span style="color: #0000ff;">$ expand plumsahoge.txt</span></div>
<div><span style="color: #0000ff;">plumsa&nbsp; hoge1&nbsp; &nbsp;hoge2</span><br />
<br />
スペース1つに変換。<br />
<br />

<div><span style="color: #0000ff;">$ expand -t 1 plumsahoge.txt</span></div>
<div><span style="color: #0000ff;">plumsa hoge1 hoge2</span></div>
</div>
<br />
どこかで使えるといいですね！<br />
<br />
以上です！<br />
<br />
<br />
【参考サイト】<br />
<a href="https://eng-entrance.com/linux-command-expand" title="" target="_blank">『expandコマンドについて詳しくまとめました 【Linuxコマンド集】』</a><br />
<a href="https://webkaru.net/linux/expand-command/" title="" target="_blank">『expand - タブをスペースに変換 - Linuxコマンド』</a><br />
<br />
<br />
<br />
]]> 
    </content>
    <author>
            <name>プラムザ　太郎</name>
        </author>
  </entry>
  <entry>
    <id>rigil.iku4.com://entry/143</id>
    <link rel="alternate" type="text/html" href="https://rigil.iku4.com/linux_command/cp_143" />
    <published>2018-08-31T23:58:22+09:00</published> 
    <updated>2018-08-31T23:58:22+09:00</updated> 
    <category term="Linuxコマンド" label="Linuxコマンド" />
    <title>ディレクトリの中身だけを複製する～エンジニア初心者のためのLinuxコマンド～</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[今回はディレクトリの中身だけを複製したい時のコマンドを留めたいと思います。<br />
<br />
「*」がポイントになります。<br />
<br />
cp -pR home/plumsa home/hoge<br />
<br />
<br />
ではなく、<br />
<br />

<div>cp -pR home/plumsa/* home/hoge</div>
<div><br />
<br />
が正しいです！<br />
<br />
<br />
以上です！</div>
<br />
<br />
<br />
<br />
【参考サイト】<br />
<a href="https://qiita.com/meg-kuma/items/083f64825b0191948ad5" title="" target="_blank">『ディレクトリの中身のみを異なるディレクトリにコピーする方法』</a>]]> 
    </content>
    <author>
            <name>プラムザ　太郎</name>
        </author>
  </entry>
  <entry>
    <id>rigil.iku4.com://entry/142</id>
    <link rel="alternate" type="text/html" href="https://rigil.iku4.com/linux_command/ffmpeg" />
    <published>2018-07-31T17:49:42+09:00</published> 
    <updated>2018-07-31T17:49:42+09:00</updated> 
    <category term="Linuxコマンド" label="Linuxコマンド" />
    <title>動画と音声を変換する～エンジニア初心者のためのLinuxコマンド～</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[<span style="color: #333333;">動画と音声を変換するコマンド</span>ffmpeg(エフエフエムペグ)<span style="color: #333333;">について書き留めておきたいと思います。<br />
</span><br />
まず、ffmpegの概要について、<br />

<blockquote>FFmpeg（エフエフエムペグ）は動画と音声を変換することのできるフリーソフトウェアであり、libavcodec（動画/音声のコーデックライブラリ）、libavformat（動画/音声のコンテナライブラリ）、libswscale（色空間・サイズ変換ライブラリ）、libavfilter（動画のフィルタリングライブラリ）などを含む。ライセンスはコンパイル時のオプションによりLGPLかGPLに決定される。<br />
<a href="https://www.weblio.jp/content/Ffmpeg" title="" target="_blank">『Ffmpegとは - Weblio辞書』</a></blockquote>
<br />
次に使い方について、<br />
<br style="color: #333333;" /><br style="color: #333333;" /><span color="#0000ff" size="4" style="color: #0000ff; font-size: large;"><b>ffmpeg -i 元ファイル 出力ファイル</b></span><br style="color: #333333;" /><br />
<br style="color: #333333;" /><span color="#333333" style="color: #333333;">例えば、このように使えます。<br />
<br />
ffmpeg -i input.mp4 output.avi<br />
<br />
<br />
</span><br style="color: #333333;" /><span style="color: #333333;">なお、ffmpegには多様なオプションが用意されているので、色々な利用が考えられますね。</span><br style="color: #333333;" /><br style="color: #333333;" /><br style="color: #333333;" /><br style="color: #333333;" /><span style="color: #333333;">以上です！</span><br style="color: #333333;" /><br style="color: #333333;" /><br style="color: #333333;" /><span style="color: #333333;">【参考サイト】<br />
<a href="https://www.ffmpeg.org/" title="" target="_blank" style="color: #0099dd;">『FFmpeg』</a></span><a href="https://plan-ltd.co.jp/plog/2341" title="" target="_blank" style="color: #0099dd;"><br />
</a><a href="https://ja.wikipedia.org/wiki/FFmpeg" title="" target="_blank" style="color: #0099dd;">『FFmpeg - ウィキペディア』<br />
</a><a href="http://tech.ckme.co.jp/ffmpeg_basic.shtml" title="" target="_blank">『ffmpegの最も基本的な使い方：tech.ckme.co.jp』</a>]]> 
    </content>
    <author>
            <name>プラムザ　太郎</name>
        </author>
  </entry>
  <entry>
    <id>rigil.iku4.com://entry/141</id>
    <link rel="alternate" type="text/html" href="https://rigil.iku4.com/other/unlock_pass_phrase" />
    <published>2018-06-29T19:27:39+09:00</published> 
    <updated>2018-06-29T19:27:39+09:00</updated> 
    <category term="その他" label="その他" />
    <title>秘密鍵のパスフレーズを解除～エンジニア初心者のためのopensslコマンド～</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[今回は、秘密鍵のパスフレーズを解除するコマンドをについてまとめたいと思います。<br />
<br />
こちらが、そのコマンドとなります。<br />
<br />
<br />
<span style="color: #333333; font-family: Lato, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, sans-serif;"><span style="font-size: large;"><strong><span style="color: #0000ff;"># openssl rsa -in filename -out</span></strong><span style="color: #0000ff;"><strong>&nbsp;filename</strong></span></span><br />
<br />
<br />
</span><span style="color: #0000ff;"><strong>rsa</strong></span><br />
<br />
RSA鍵を表示・操作します。<br />
<span color="#333333" face="Lato, ヒラギノ角ゴ Pro W3, Hiragino Kaku Gothic Pro, メイリオ, Meiryo, sans-serif" style="color: #333333; font-family: Lato, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, sans-serif;"><br />
</span>
<div><span style="color: #0000ff;"><strong>-in filename</strong></span></div>
<div></div>
<div>これは読み込みたいリクエストが格納されているファイル名を指定する。このオプションが指定されていない場合は、標準入力から読み込む。リクエストは生成オプション (-new 及び -newkey) が指定されていない場合のみ読み込まれる。</div>
<br />
<br />
<br />
以上です！<br />
<br />
<br />
【参考サイト】<br />
<a href="http://x68000.q-e-d.net/~68user/unix/pickup?openssl" title="" target="_blank">『コマンド openssl 暗号化・復号化・公開鍵などを扱うツール』</a><br />
<a href="http://home.att.ne.jp/theta/diatom/req(1).html" title="" target="_blank">『OpenSSL Manual Translation - req(1)』</a><br />
<a href="https://jp.globalsign.com/support/csr/04.html" title="" target="_blank">『[CSR生成] Apache 2.x + mod_ssl + OpenSSL（新規・更新）』</a><br />
<a href="http://www.nekochango.com/entry/top/openssl/cmd/req" title="" target="_blank">『【OpenSSL-コマンド】reqについて』<br />
</a>]]> 
    </content>
    <author>
            <name>プラムザ　太郎</name>
        </author>
  </entry>
  <entry>
    <id>rigil.iku4.com://entry/140</id>
    <link rel="alternate" type="text/html" href="https://rigil.iku4.com/other/check_contents_of_crt" />
    <published>2018-05-31T17:23:08+09:00</published> 
    <updated>2018-05-31T17:23:08+09:00</updated> 
    <category term="その他" label="その他" />
    <title>証明書の内容を確認～エンジニア初心者のためのopensslコマンド～</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[今回は、証明書の内容を確認するコマンドをについてまとめたいと思います。<br />
<br />
こちらが、そのコマンドとなります。<br />
<br />
<span style="font-size: large;"><strong><span style="color: #0000ff; font-family: lato, 'ヒラギノ角ゴ pro w3', 'hiragino kaku gothic pro', メイリオ, Meiryo, sans-serif;"># openssl x509 -text -noout -in filename</span></strong></span><span style="color: #333333; font-family: Lato, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, sans-serif;"><br />
<br />
<br />
</span><span style="color: #0000ff;"><strong>x509</strong></span><br />
<br />
証明書の表示と署名ユーティリティ<br />
<br />
<span style="color: #0000ff;"><strong><span style="font-family: Lato, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, sans-serif;">-text</span></strong></span><br />
<br />
テキスト形式で証明書リクエストを出力する。<br />
<br />
<br />
<strong><span style="color: #0000ff;">-noout</span></strong><br />
<br />
<span color="#333333" face="Lato, ヒラギノ角ゴ Pro W3, Hiragino Kaku Gothic Pro, メイリオ, Meiryo, sans-serif" style="color: #333333; font-family: Lato, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, sans-serif;">このオプションはリクエストのエンコードバージョンの出力を抑制する。<br />
<br />
<br />
</span>
<div><span style="color: #0000ff;"><strong>-in filename</strong></span></div>
<div></div>
<div>これは読み込みたいリクエストが格納されているファイル名を指定する。このオプションが指定されていない場合は、標準入力から読み込む。リクエストは生成オプション (-new 及び -newkey) が指定されていない場合のみ読み込まれる。</div>
<br />
<br />
<br />
以上です！<br />
<br />
<br />
【参考サイト】<br />
<a href="http://ash.jp/sec/openssl.htm" title="" target="_blank">『OpenSSLコマンド簡易マニュアル』<br />
</a><a href="http://home.att.ne.jp/theta/diatom/x509%281%29.html" title="" target="_blank">『OpenSSL Manual Translation - x509(1)』</a><br />
<a href="http://x68000.q-e-d.net/~68user/unix/pickup?openssl" title="" target="_blank">『コマンド openssl 暗号化・復号化・公開鍵などを扱うツール』</a><br />
<a href="https://jp.globalsign.com/support/csr/04.html" title="" target="_blank">『[CSR生成] Apache 2.x + mod_ssl + OpenSSL（新規・更新）』</a><a href="http://www.nekochango.com/entry/top/openssl/cmd/req" title="" target="_blank"><br />
</a>]]> 
    </content>
    <author>
            <name>プラムザ　太郎</name>
        </author>
  </entry>
  <entry>
    <id>rigil.iku4.com://entry/139</id>
    <link rel="alternate" type="text/html" href="https://rigil.iku4.com/other/check_contents_of_rsa" />
    <published>2018-04-26T19:05:17+09:00</published> 
    <updated>2018-04-26T19:05:17+09:00</updated> 
    <category term="その他" label="その他" />
    <title>秘密鍵の内容を確認する～エンジニア初心者のためのopensslコマンド～</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[今回は、秘密鍵の内容を確認するコマンドをについてまとめたいと思います。<br />
<br />
こちらが、そのコマンドとなります。<br />
<br />
<br />
<span style="color: #333333; font-family: Lato, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, sans-serif;"><span style="font-size: large;"><strong><span style="color: #0000ff;"># openssl rsa -text -noout -i</span></strong><span style="color: #0000ff;"><strong>n&nbsp;filename</strong></span></span><br />
<br />
<br />
</span><span style="color: #0000ff;"><strong>rsa</strong></span><br />
<br />
RSA鍵を表示・操作します。<br />
<br />
<br />
<span style="color: #0000ff;"><strong><span style="font-family: Lato, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, sans-serif;">-text</span></strong></span><br />
<br />
テキスト形式で証明書リクエストを出力する。<br />
<br />
<br />
<strong><span style="color: #0000ff;">-noout</span></strong><br />
<br />
<span color="#333333" face="Lato, ヒラギノ角ゴ Pro W3, Hiragino Kaku Gothic Pro, メイリオ, Meiryo, sans-serif" style="color: #333333; font-family: Lato, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, sans-serif;">このオプションはリクエストのエンコードバージョンの出力を抑制する。<br />
<br />
<br />
</span>
<div><span style="color: #0000ff;"><strong>-in filename</strong></span></div>
<div></div>
<div>これは読み込みたいリクエストが格納されているファイル名を指定する。このオプションが指定されていない場合は、標準入力から読み込む。リクエストは生成オプション (-new 及び -newkey) が指定されていない場合のみ読み込まれる。</div>
<br />
<br />
<br />
以上です！<br />
<br />
<br />
【参考サイト】<br />
<a href="http://x68000.q-e-d.net/~68user/unix/pickup?openssl" title="" target="_blank">『コマンド openssl 暗号化・復号化・公開鍵などを扱うツール』</a><br />
<a href="http://home.att.ne.jp/theta/diatom/req(1).html" title="" target="_blank">『OpenSSL Manual Translation - req(1)』</a><br />
<a href="https://jp.globalsign.com/support/csr/04.html" title="" target="_blank">『[CSR生成] Apache 2.x + mod_ssl + OpenSSL（新規・更新）』</a><br />
<a href="http://www.nekochango.com/entry/top/openssl/cmd/req" title="" target="_blank">『【OpenSSL-コマンド】reqについて』<br />
<br />
</a>]]> 
    </content>
    <author>
            <name>プラムザ　太郎</name>
        </author>
  </entry>
  <entry>
    <id>rigil.iku4.com://entry/138</id>
    <link rel="alternate" type="text/html" href="https://rigil.iku4.com/mysql_command/col_duplication" />
    <published>2018-03-26T11:28:43+09:00</published> 
    <updated>2018-03-26T11:28:43+09:00</updated> 
    <category term="MySQLコマンド" label="MySQLコマンド" />
    <title>特定のカラムの値が重複するレコードを抽出する～エンジニア初心者のためのMySQLコマンド～</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[今回は、特定のカラムの値が重複するレコードを抽出するコマンドについて書き留めておきたいと思います。<br />
<br />
<br />
<span style="color: #0000ff; font-size: large;"><strong>SELECT * FROM&nbsp;tbl_name WHERE&nbsp;col_name </strong></span><br />
<span style="color: #0000ff; font-size: large;"><strong> IN (SELECT col_name FROM tbl_name GROUP BY col_name HAVING count(*) &gt; 1);</strong></span><br />
<br />
<br />
なお、IN句の中身は、GROUP BY句で指定したカラムで集計を行い、その結果をHAVING句で指定した条件で絞込を行ったカラムを抽出しています。<br />
<br />
<br />
<br />
以上です！<br />
<br />
<br />
【参考サイト】<br />
<a href="https://plan-ltd.co.jp/plog/2341" title="" target="_blank">『【MySQL】重複するレコードを抽出して表示する方法』</a><br />
<a href="https://qiita.com/yamaguchi_takashi/items/7e53336d323672fc8031" title="" target="_blank">『【エンジニア教材】MySQL編（4）GROUP BY,HAVING』</a><br />
<a href="https://dev.classmethod.jp/server-side/db/difference-where-and-having/" title="" target="_blank">『[SQL] Where句とHaving句の違い』</a><br />
<a href="https://www.dbonline.jp/mysql/select/index10.html" title="" target="_blank">『グループに対する検索条件の設定』</a>]]> 
    </content>
    <author>
            <name>プラムザ　太郎</name>
        </author>
  </entry>
</feed>