UBUNTU 16.04 安裝 Parse Server 筆記

安裝流程 (參考新裝parse的方法) UBUNTU 16

$ sudo apt-get install build-essential git python-software-properties
$ curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
$ sudo apt-get install nodejs
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
$ echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb.list
$ sudo apt-get update
$ sudo apt-get install mongodb-org
$ cd /opt
$ sudo apt-get install git
$ git clone [parse server git]
$ cd /opt/[parse server git dir]
$ npm install
$ sudo npm install -g pm2
$ sudo pm2 start index.js --no-automation --name xxx-app (xxx-app 為自行設定名稱)


$ adduser [USERNAME]
$ usermod -aG sudo [USERNAME]
$ su - [USERNAME]
$ mkdir ~/.ssh
$ chmod 700 ~/.ssh
$ sudo chown -R "[USERNAME]" ~/.ssh
$ vim ~/.ssh/authorized_keys => 將id_rsa.pub貼入
$ sudo vim /etc/ssh/sshd_config => PasswordAuthentication no
$ sudo systemctl reload sshd


  1. Fortunately, you do not have to be a hardcore gambler to know 1xbet korea method to|tips on how to} choose a winning slot machine both. Space Wars is a fast-paced video slot with 5 reels, four rows, and forty paylines. When you play Space Wars for real money, have the ability to|you presumably can} choose to guess anywhere from 0.four to twenty per spin.