webサーバ
Nginx Web Server のインストールと動作確認
プロダクト選定
- Linux OS
トラブル時に情報を探しやすいので、シェアの一番大きいUbuntuを採用。 Read more about プロダクト選定
WEBサーバのステータス確認のためによく使うコマンド
- サービスステータス確認
$ service --status-all
- DB
キャッシュ
$ memcached' watch "echo stats | nc 127.0.0.1 11211"
アクセス状況
$ mytop --prompt
- WEB
コマンドラインでWebサーバを稼働する方法
- netcat
$ while true ; do nc -l 8888 < index.html ; done
- php
$ php -S localhost:8888
- python
$ python -m SimpleHTTPServer 8888
Read more about コマンドラインでWebサーバを稼働する方法