プログラミングで飯を食え。腕をあげたきゃ備忘録!

PHP、JavaScript、HTML5、CSS3などWEB系言語を中心に基本テク、備忘録をまとめます。Android、Iphoneアプリ開発についても!

2015-05-01から1ヶ月間の記事一覧

PeerServerのインストール手順。

yum -y install git rpm -ivh http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm yum -y install nodejs npm --enablerepo=epel cd /usr/src git clone https://github.com/peers/peerjs-server.git cd peerjs-server npm i…

IPの経路を全て表示する。

たとえばgoogle.comへの通信で経由したIPを全部見たいなら、 tracert -d google.com こんな感じですね。 1 1 ms 1 ms 1 ms 192.168.100.1 2 5 ms 4 ms 3 ms 202.224.47.115 3 3 ms 3 ms 2 ms 202.224.47.21 4 12 ms 18 ms 10 ms 202.224.47.2 5 11 ms 15 ms …

CentOS6で現在のプロセスを確認する方法。

現在のプロセスを確認するには ps -ef で、httpdを特定して出すなら ps -ef | grep httpd などとすればいい。 リアルタイムで見たいなら、 top で見れる。 プロセスを止める場合は、 top 後に k を押して、プロセス番号を入力の上Enter。 top を抜けるには q

AsteriskのDIALSTATUS。

-------------------------------------------------------------------------------- ■ANSWER 通話成功Call is answered. A successful dial. The caller reached the callee. --------------------------------------------------------------------------…

CentOS6でgrep。

grep -ri 検索文字列 ディレクトリ これで大文字・小文字区別なしで、 サブディレクトリまでgrepします。