サーバに合わせてファイルをダウンロードする # cd /usr/local/src 64bit # wget http://downloads.mongodb.org/linux/mongodb-linux-x86_64-1.4.3.tgz 32bit # wget http://downloads.mongodb.org/linux/mongodb-linux-i686-1.4.3.tgz 展開して、任意のディレクトリへ移動(ここでは、/opt/以下) # tar xvzf mongodb-linux-x86_64-1.4.3.tgz # mv mongodb-linux-x86_64-1.4.3 /opt/ # ln -s /opt/mongodb-linux-x86_64-1.4.3 /opt/mongodb mongodb用のユーザと、データとログのディレクトリを作成する # us