- 取得連結
- 以電子郵件傳送
- 其他應用程式
- 取得連結
- 以電子郵件傳送
- 其他應用程式
安裝流程 (參考新裝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 為自行設定名稱)
$ 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 為自行設定名稱)
=======================
設定用ssh連線機器並關閉密碼功能
$ 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貼入
$ 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貼入
請先確保key有輸入正確並登入正確再改以下步驟
$ sudo vim /etc/ssh/sshd_config => PasswordAuthentication no
$ sudo systemctl reload sshd
$ sudo vim /etc/ssh/sshd_config => PasswordAuthentication no
$ sudo systemctl reload sshd
留言
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.
回覆刪除