Dev Setup: Ubuntu - Maixbxp/salt-ui GitHub Wiki

Welcome to the salt-ui wiki!

Ubuntu 14.04或Ubuntu 16.04环境搭建(以下为刚安装好系统后命令,)

非root帐号登录,nowa只支持4.0<=node<5.0,npm>=3.0

sudo apt-get update
sudo apt-get -y install make build-essential curl git zlib1g-dev python2.7 libkrb5-dev
sudo wget http://nodejs.org/dist/v4.4.7/node-v4.4.7.tar.gz
sudo tar xfz node-v4.4.7.tar.gz
cd node-v4.4.7
sudo ./configure
sudo make
sudo make install
sudo npm config set registry https://registry.npm.taobao.org
sudo npm config set python python2.7
sudo npm install -g npm
sudo chmod 777 /usr/local/lib/node_modules/
sudo npm install -g webpack
sudo npm i nowa -g --registry=https://registry.npm.taobao.org && nowa install --registry=https://registry.npm.taobao.org
⚠️ **GitHub.com Fallback** ⚠️