CentOS 6.5 32bit Installation Guide
Fengda Huang edited this page Aug 28, 2015
·
15 revisions
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.
service iptables stop
chkconfig iptables off
service iptables status
- vi /etc/yum.repos.d/10gen.repo
[10gen]
name=10gen Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/i686
gpgcheck=0
:wq - yum install mongo-10gen-server
- /etc/init.d/mongod
yum install sqlite
yum install nodejs npm
Or Try nodesource to install:
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
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