-
-
nginxの時間あたりのログ件数を確認
負荷対策やダウンタイムの影響を調べる時に、WEBサーバにどれくらいのリクエストが ...
-
-
直下のディレクトリ容量の一覧
2017/07/10 シェルスクリプト
ディスクがいっぱいになって、削除対象とする大きいファイルを探す時に linuxで ...
-
-
サーバ上で取ったJSONログの解析にjqを使うと便利
通常のWEBサーバのログ以外に独自でJSON形式のログを取ったりしているのだが、 ...
-
-
apacheのログからステータスコード200以外を抽出したい
2016/12/23 シェルスクリプト
grepのvオプションを使う [crayon-603e4a34f19ff3579 ...
-
-
【超格安VPS】月160円から借りられる世界最安の激安海外VPS クラウドサーバ(たぶん)
個人的な開発環境にするのにさくらの1000円くらいのサーバを借りるのはちょっと高 ...
-
-
PHP5.3からPHP5.5にアップデート
今更だけどメモ
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm# yum info php --enablerepo=remi-php55,remiLoaded plugins: downloadonly, fastestmirror, priorities, securityLoading mirror speeds from cached hostfile* base: www.ftp.ne.jp* epel: ftp.kddilabs.jp* extras: www.ftp.ne.jp* remi: remi.kazukioishi.net* remi-php55: remi.kazukioishi.net* updates: www.ftp.ne.jpbase | 3.7 kB 00:00extras | 3.4 kB 00:00remi | 2.9 kB 00:00remi/primary_db | 696 kB 00:00remi-php55 | 2.9 kB 00:00remi-php55/primary_db | 150 kB 00:00updates | 3.4 kB 00:00531 packages excluded due to repository priority protectionsInstalled PackagesName : phpArch : x86_64Version : 5.3.3Release : 27.el6_5Size : 3.5 MRepo : installedFrom repo : updatesSummary : PHP scripting language for creating dynamic web sitesURL : http://www.php.net/License : PHPDescription : PHP is an HTML-embedded scripting language. PHP attempts to make it: easy for developers to write dynamically generated webpages. PHP also: offers built-in database integration for several commercial and: non-commercial database management systems, so writing a: database-enabled webpage with PHP is fairly simple. The most common: use of PHP coding is probably as a replacement for CGI scripts.:: The php package contains the module which adds support for the PHP: language to Apache HTTP Server.Available PackagesName : phpArch : x86_64Version : 5.5.13Release : 1.el6.remiSize : 2.6 MRepo : remi-php55Summary : PHP scripting language for creating dynamic web sitesURL : http://www.php.net/License : PHP and Zend and BSDDescription : PHP is an HTML-embedded scripting language. PHP attempts to make it: easy for developers to write dynamically generated web pages. PHP also: offers built-in database integration for several commercial and: non-commercial database management systems, so writing a: database-enabled webpage with PHP is fairly simple. The most common: use of PHP coding is probably as a replacement for CGI scripts.:: The php package contains the module (often referred to as mod_php): which adds support for the PHP language to Apache HTTP Server....
-
-
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! と怒られる
先日vagrantの開発環境を入れ替えたら発生したのでメモ。 [crayon-6 ...
-
-
ansibleを公開鍵認証する時に秘密鍵のパスフレーズを何度も聞かれるのを対策する
ansibleを秘密鍵を指定して公開鍵認証する時に秘密鍵にパスフレーズを設定して ...
-
-
CentOS7でネットワークインターフェースが立ち上がらない
2014/10/16 サーバ
CentOS7が出てしばらくたち、巷でもserviceコマンドがなくなったとか色 ...
-
-
カレントディレクトリのスクリプトを実行したい
2014/06/02 シェルスクリプト
1./deploy_script.shだと実行できる ...
-
-
su で path が通らない
2014/01/21 サーバ
su してから useradd したら command not found にな ...
-
-
sshのパスワード認証禁止
2013/12/13 サーバ
vim /etc/ssh/sshd_config [crayon-603e4a3 ...
-
-
プロセス数を測る時に便利なgrepした行数のカウント
2013/12/01 シェルスクリプト
負荷対策とかでapacheのプロセス数を測るたい時が結構ある grepした結果の ...
-
-
apacheのメモリ使用量合計を確認する
2013/11/27 シェルスクリプト
apacheのメモリ使用量合計を確認するコマンド [crayon-603e4a3 ...
-
-
ログのローテートとかに便利なファイルを空にするコマンド
2013/11/22 シェルスクリプト
CentOSでファイル空にするのはどうやってやるんだろう? と思っ ...