2015-11-25から1日間の記事一覧

使っていなかったCentOS 6でyum upgradeした時のエラー

エラーその1 yum upgrade Loaded plugins: fastestmirror Determining fastest mirrors Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.c…

ps | grep 検索でgrep自体のプロセスを表示させ無い方法

コマンドに入力する場合は、以下。 ps aux | grep [h]ttp Python Fabricの中で使ったコードの一部は、以下。 sudo('apachectl -k graceful-stop') is_apache_stopped = False cnt = 0 SLEEP_SEC = 10 MAX_CNT = 30 # 300秒でタイムアウト while is_apache_st…

cannot be done?

はてなブログで、記事を削除しようとしたら、 This will now be deleted and cannot be done. Are you sure you want to continue? というメッセージが表示された。 元に戻せないと言いたいのだろうけど、 cannot be done て、なんか違う気がする。 cannot b…

MacOSで.で始まるディレクトリを表示(FileZillaで.sshディレクトリ内のキーファイル表示)

MacOSのFileZillaで、SFTPを使い、サーバーに接続するとき、 .sshディレクトリの中にあるキーファイルを選択しようとしたら、表示されていないので選べなかった。 エクスプローラー?でファイル一覧を表示している状態で、 command + shift + . キー を押し…