TextWrangler 複数のファイルを一括置換 [MBP 2014]

macOSで複数ファイルを一括して置換する方法を調べていて「TextWrangler」が使いやすいとの事だったので使ってみました
アプリは、Appstoreからインストールできるので、Appstoreを起動してインストールしま ...
bash の脆弱性対策 対策 (Max OS X )

前回の「bash の脆弱性対策 対策 (CVE-2014-6271 等)」でも書きました、bash の脆弱性ですが、Mac OS X向けのアップデート「OS X bash Update 1.0」を公開されています。
下記、 ...
bash の脆弱性対策 対策 (CVE-2014-6271 等)

9月24日、Linuxで広く使われているシェルプログラム「bash」に脆弱性が見つかりました
この脆弱性では、bashが環境変数を通じて、特定の記述をした文字列をコマンドと解釈して実行してしまうものです。また、CGI経由などで ...
Apache インストール 、初期設定、チューニング [CentOS 5,6,7]

ApacheとPHPをインストールし、WEBサーバを構築する
改訂履歴2014/09/25 apache チューニング関係のパラメータを追加
2015/06/04 CentOS 7 の起動・自動起動設定の追加
SyntaxHighlighter Evolved 文字サイズ変更

ブログのテーマーを「STINGER3」に変更したら、スクリプト・プログラムを表示する際に使っている「SyntaxHighlighter Evolved 」の文字が大きくなりすぎて見にくかったので修正しました
修正箇所は、s ...
DoS攻撃対策 Apacheモジュール mod_dosdetector 導入

仕事でお客様からの特定のIPアドレス帯から大量アクセスが有りサーバーが不安定になるて相談があり、
Apacheモジュールの【mod_dosdetector】を導入したのでその際の作業メモです
mod_dosdete ...
munin プラグイン追加 【apache】

このブログのサーバーの監視はMRTGを利用していましたが
サーバーのOSをCentOS 6.xに変更した際に、munin に最近変更しました
その際にApacheの監視関係の設定に手間取ったので、その手順を書き留めてお ...
MRTGでApacheプロセス数の監視

Macネタが続いてましたが、久しぶりサーバーエンジニアらしい投稿です
apacheのプロセス数をMRTGでグラフ化しましたので、その手順を投稿します
事前にMTRGが動作する環境が必要ですので、下記のURLを参考に ...
このアプリケーションで開くを整理する [MBP 2014]

ファインダーとかでファイル右クリックして、「このアプリケーションから開く」と選択したら、
重複したアプリ・削除したアプリが表示されて見難くなってきたので、解決方法を探しましたので紹介します
・LaunchServi ...
Mac に入れたソフト【仕事用】[MBP 2014]

MacBook Pro 2014にもだいぶ慣れてきて、MacBookのキー入力にも慣れてきました
だけど、Windows機の方が使い慣れているので使いやすいです
Mac関連のブログをみてもらうと分かると思いますが、 ...
MAC OS X ターミナルのプロンプト(PS1)変更[MBP 2014]

ターミナルのプロンプトをアップルマークに変更するのと、CentOSと同じようなプロンプト(PS1)に変更します
変更後は以下の様なプロンプトになります。
1.プロンプトで使用できる変数
プロンプトで ...
ドラクエ10ベンチマーク [MBP2014]

前回ではBoot CampのWindows7 64bitのWindows エクスペリエンス インデックスでマシン測定結果をアップしましたが、
今回はドラクエ10のベンチマークを測定してみました
結果は、1280×7 ...
Windows エクスペリエンス インデックス【MPB2014】

Boot Campを使ってWindows7 64bitをインストールしました
途中ファイルコピーでとまることが3回あり、2時間近くかかりました
普通にDOS/V機にインストールする場合はこんなに時間がかからなかったと思 ...
Mac OSX ターミナルのカラー表示【ls】

macOS でSSHクライアントは標準のターミナルを使っていますが、【ls】コマンドの結果がカラー表示にならずに見難いので以下のように修正
OSTYPE でOSの種類を判別してmacOSなら「darwin*」側の処理で、 ...
【macOS】 SSH セッション切れ対策(Write failed: Broken pipe, packet_write_wait: Connection 防止)

SSHクライアントは、Windowsの時は Tera Term を使ってましたが、macOS では
標準のターミナルソフトとiTerm2を使用しています
標準ターミナル・iTerm2を使用していて少し長めに離席した ...