安装Python2.7
sudo add-apt-repository ppa:fkrull/deadsnakes-python2.7
sudo apt-get update
sudo apt-get install python2.7
$ sudo apt-get install python-pip
安装nodejs
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm
推荐如下安装方式
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
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.org
root账号下运行Chrome
cd /opt/google/chrome
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