分享

OpenSTF setting with Ubuntu Server 16.04

1.Environment Setting

 bash    
  

# rethinkdb
source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
wget -qO- https://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -
#
sudo apt-get update
sudo apt-get install git npm rethinkdb android-tools-adb python autoconf automake libtool build-essential ninja-build libzmq3-dev libprotobuf-dev
graphicsmagick yasm stow  
#nodejs
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo npm install -g bower karma gulp
mkdir ~/Downloads
#ZeroMQ
cd ~/Downloads
wget http://download.zeromq.org/zeromq-4.1.2.tar.gz
tar -zxvf zeromq-4.1.2.tar.gz
cd zeromq-4.1.2
./configure --without-libsodium --prefix=/usr/local/stow/zeromq-4.1.2
make
sudo make install
cd /usr/local/stow
sudo stow -vv zeromq-4.1.2
#Google protobuf
cd ~/Downloads
git clone https://github.com/google/protobuf.git
cd protobuf
./autogen.sh
./configure --prefix=/usr/local/stow/protobuf-`git rev-parse --short HEAD`
make
sudo make install
cd /usr/local/stow
sudo stow -vv protobuf-*
sudo ldconfig
#OpenSTF
cd
mkdir openstf
cd openstf/
git clone https://github.com/openstf/stf.git
cd stf
sudo npm install -g stf --unsafe-perm

   

2. Download Chrome Browser


 Download chrome browser linux version from google  https://www.google.co.jp/chrome/     
  bash    
  

sudo dpkg -i google-chrome-stable_current_amd64.deb

  

3. Start STF service

 bash    
  

#rethinkdb Start
rethinkdb

#OpenSTF Start
stf local --public-ip *.*.*.* --allow-remote

      

4. login STF Services

Using Browser open URL :

 http://*.*.*.*:7100  
#技術分享 
分類:學習

評論
上一篇
  • 下一篇
  • 更多文章
    載入中... 沒有更多了