docker run ubuntu
apt-get update
apt-get install openssh-server net-tools supervisor lrzsz htop iftop -y
//编辑sshd启动
vim /etc/supervisor/supervisor.conf
//显示中文:
apt-get install language-pack-zh-hant language-pack-zh-hans
dpkg-reconfigure locales
echo "export LANGUAGE=\"zh_CN.UTF-8\"" >> ~/.bashrc
echo "export LC_ALL=\"zh_CN.UTF-8\"" >> ~/.bashrc
. ~/.bashrc
//Nodejs
vim /etc/profile
#set for nodejs
export NODE_HOME=/root/node-v8.12.0-linux-x64
export PATH=$NODE_HOME/bin:$PATH
source /etc/profile
© 著作权归作者所有