Xubuntu 16.04 VM
Xubuntu Xenial stuff for experimentation.
# deprecated
apt-cache policy phantomjs
sudo apt install phantomjs
# as usual
sudo apt install git
sudo apt install curl
# deprecated
cd
curl -sL https://deb.nodesource.com/setup_6.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt install nodejs
sudo apt install build-essential
# archive
sudo npm install -g electron
sudo npm install -g electroshot (electron 0.33.9)
# react
sudo npm install -g babel-cli
sudo npm install -g babel-preset-react
sudo npm install -g babel-preset-es2015
# vue
sudo npm install -g vue-cli
# go
sudo tar -C /usr/local -xzf go1.7.3.linux-amd64.tar.gz
nano .profile
[add] PATH="$PATH:/usr/local/go/bin"
[add] export GOPATH="$HOME/gowork"
go get -u github.com/fogleman/primitive
go get -u github.com/pierrre/imageserver
# static ip
$ ll /etc/network/
$ sudo cp /etc/network/interfaces /etc/network/interfaces.orig
$ sudo nano /etc/network/interfaces
$ source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enp0s3
iface enp0s3 inet dhcp
auto enp0s8
iface enp0s8 inet static
address 192.168.56.90
network 192.168.56.0
netmask 255.255.255.0
broadcast 192.168.56.255
dns-nameservers 192.168.1.1 8.8.8.8 8.8.4.4