Skip to content

CentOS 6.5 32bit Installation Guide

Fengda Huang edited this page Aug 28, 2015 · 15 revisions

Install CentOS 6.5 32bit

why CentOS 6.5, not 7.0. Because I hope I can build a Environment with the least cost. I choose the CentOS 6.5 which can work perfectly in a 512MB RAM computer.

Shutdown SELINUX

service iptables stop
chkconfig iptables off
service iptables status

Install MongoDB

  1. vi /etc/yum.repos.d/10gen.repo
    [10gen]
    name=10gen Repository
    baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/i686
    gpgcheck=0
    :wq
  2. yum install mongo-10gen-server
  3. /etc/init.d/mongod

Install sqlite3

yum install sqlite

Install node.js

yum install nodejs npm

Or Try nodesource to install:

curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -

Install lan

1.Clone

git clone https://github.com/phodal/lan.git
cd lan

2.Install

npm install

3.Install sequelize CLI

npm install -g sequelize-cli

4.DB Migrate

sequelize db:migrate

5.Start Server

npm start