安裝Python2.7node
sudo add-apt-repository ppa:fkrull/deadsnakes-python2.7
python
sudo apt-get update
sudo apt-get install python2.7
$ sudo apt-get install python-pip
redis
安裝nodejschrome
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npmnpm
推薦以下安裝方式bash
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejscurl
NPM鏡像使用方法:
1.經過config命令
npm config set registry https://registry.npm.taobao.org
npm info underscore (若是上面配置正確這個命令會有字符串response)
2.命令行指定
npm --registry https://registry.npm.taobao.org info underscore
3.編輯 ~/.npmrc 加入下面內容
registry = https://registry.npm.taobao.orggoogle
root帳號下運行Chromeurl
cd /opt/google/chrome spa
gedit google-chrome
安裝Redis
$ wget http://download.redis.io/releases/redis-4.0.1.tar.gz
$ tar xzf redis-4.0.1.tar.gz
$ cd redis-4.0.1
$ make
Run Redis with:
$ src/redis-server 1>&2 2>/dev/null &
Run Redis Command$ src/redis-cli