1.查找ubuntu的ip地址
使用ip a命令
2.使用Mobaxterm远程登录Ubuntu时Network error: Connection refused
排查路径: 1).查看sshd相关服务是否存在
apt-get install openssh-server
systemctl restart ssh
# 重启openssh server
2).查看22端口是否存在
ss -ntl
3.使用韦东山下面的一键配置时出错
book@100ask: ~ $ wget --no-check-certificate -O Configuring_ubuntu.sh
https://weidongshan.coding.net/p/DevelopmentEnvConf/d/DevelopmentEnvConf/git/raw/master/Configuring_ubuntu.sh &&
sudo chmod +x Configuring_ubuntu.sh &&
sudo ./Configuring_ubuntu.sh
出错为:
./Configuring_ubuntu.sh: 1: ./Configuring_ubuntu.sh: {msg:{user_not_login:用户未登录},data:{account_type:0},code:1000}: not found
解决办法:
rm -rf DevelopmentEnvConf
git clone https://e.coding.net/weidon