2012-01-01から1年間の記事一覧

はじめての node.js

CentOS上で node.js を触った記録です。 ■ node.js(以下、node) とは サーバサイドJavaScript ノンブロッキングI/Oとイベントループが特徴 ■ 環境 CentOS 6.0 on VMWare ■ node インストール $ cd /usr/local/src $ wget http://nodejs.org/dist/v0.8.6/node…

nginx を yum でインストールする

yum に nginx 用の Repository を追加する $ sudo vi /etc/yum.repos.d/nginx.repo [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/6/$basearch/ gpgcheck=0 enabled=1インストール $ sudo yum install -y nginx起動 $ sudo nginx $ ps …

nginx + php-fpm で PHP を動かす

nginx のインストールはコチラ次に、php-fpmをインストールする まずは remi Repository を追加する $ sudo rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi $ wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm $ wget http…

nginxをSSL付きでインストールする。

インストール $ wget http://nginx.org/download/nginx-1.3.3.tar.gz $ tar xvfz nginx-1.3.3.tar.gz $ cd nginx-1.3.3 $ sudo yum install pcre pcre-devel openssl openssl-devel $ ./configure \ --prefix=/usr/local/nginx-1.3.3 \ --with-http_ssl_modu…

Google Authenticator とは

Authenticatorを使ってLinuxのログイン(PAM)で二段階認証を試す の記事がとても分かりやすかったです。 ブラウザからのGoogleログイン時に設定していたので、 内容は知っていましたが、Linuxのログイン時にも適用できるんですね。 Linuxのログイン時に使用す…

Google認証システム(Google Authenticator)を iPod touch で利用する方法

・条件 iPhone、iPod touch および iPad 互換iOS 3.1.3 以降が必要 http://itunes.apple.com/jp/app/id388497605?mt=8&ign-mpt=uo%3D4 ・余談 初期の iPod touch を持っていたので、アプリをインストールしよう! と思い久しぶりに触っていたところ、ソフト…