grepで拡張子を指定して検索・拡張子を除外して検索

grepコマンドで特定の拡張子を指定して検索する方法・特定の拡張子を除外して検索する方法を紹介します
grepコマンドで特定の拡張子のファイルのみ検索する方法grepコマンドでHTMLファイル等の特定のファイルを対象に検索 ...
curlコマンドでファイルをアップロードする

CUI環境で特定のURLでファイルをアップロードする方法にはいくつかありますが、Wgetだとうまく動かなかったので、Curlコマンドならファイルのアップロードできまし ...
iptables -L が遅い場合の対処方法

「iptables -L」で設定内容を確認すると、設定しているIPアドレスからホスト名を確認します。
特定のIPアドレスのみ許可、拒否しているとそのIPアドレスから逆引きさ ...
CentOSのCUI環境でDropBoxをインストール

CentOSのCUI環境でDropboxを利用したくてCUI環境でインストールする方法を調べてみました。
利用するには「Python 2.6」以上の環境が必要ですので、CentOS 6.x以 ...
さくらのクラウド APIを利用してアーカイブリストをメール送信

さくらのクラウドAPIでアーカイブを自動作成するスクリプトを以前に作成しました。アーカイブが正しくできるているか確認するために、アーカイブリストをメールで送信するシェルスクリプトも作 ...
さくらのクラウド APIを利用してアーカイブ作製

前回の記事(yumで「jq」コマンドをインストールする )で、JSONを利用できるになったので、さくらのクラウドのAPIを利用して自動アーカイブを作成するシェルスクリプ ...
yumで「jq」コマンドをインストールする

さくらのクラウドのアーカイブ機能で日時バックアップを自動で作製してました。さくらのクラウドが提供する自動アーカイブ作製はベータ段階で2台のサーバーしか利用できないので、3台目以降の場合 ...
ソフトウェアRAIDの解除方法【CentOS】

CentOSでは、mdadmコマンドを利用してソフトウェアRAIDを構築できます。その作成したソフトウェアRAIDの解除方法を紹介します
作業手順は、RAIDを使用してい ...
/var/log/messageに「imuxsock begins to drop messages」と表示される(ログ紛失)

CentOS 6.9のサーバで「/var/log/message」に「imuxsock begins to drop messages」と ...
CentOS 6.x にPHP5.4をインストール

CentOS 6系で、PHPをyumでインストールするとPHPのバージョンは「PHP 5.3」で、CentOS 7系では「PHP 5.6」となります。
CentOS 6系で ...
cron を10分おき 2時間おきに実行する方法

cronで5分おき、10分おき、15分おき、等の○分おき、cronを実行する方法です
$ crontab -e# 5分おきに実行*/5 * * * * command# 10 ...WordPress管理者のパスワード変更 【phpMyAdmin】

wordpressの管理画面のパスワードを忘れた場合の変更の方法を紹介します。通常であれば、パスワードを忘れた場合は登録しているメールアドレスでリセットできます ...
CGIエラー:ファイルが有るのに「No such file or directory: exec of 〜」

引き続きCGIエラーの記事です。
CGIが動作する状態で実行するCGIファイルが存在するのに状態でApacheのエラーには「 ...
CGIエラー 「Can’t locate CGI/Carp.pm in〜〜」

先日、ApacheでCGIを動かすでCGIを動作する環境をつくりました。
メッセージを表示する簡単なCGIは動くので、実際に設置するお問い合わせフォームのCGIにアクセスすると、Internal Server Errorでエラ ...
ApacheでCGIを動かす

最近、滅多に使うことがなくなったCGIの設置依頼が久しぶりに来ました。CGI設定て何年ぶりだろう。
お客様ではWor ...