一、开启ssh服务
ssh localhost
ssh:connect to host localhost port 22: Connection refused 则表明没有安装
安装 ssh
sudo apt-get install openssh-server
输入命令“ps -e |grep ssh”测试ssh服务是否开启,如未开启输入命令“sudo /etc/init.d/ssh start”。
开启后出现以下界面:
二、ubuntu下建立新用户
1)输入命令“sudo adduser nsername” username根据自己的需要更改为自己喜欢的名字
2)如果需要让此用户有root权限,执行命令“ sudo vim /etc/sudoers”
# User privilege specification
root ALL=(ALL) ALL
username ALL=(ALL) ALL
xxx is not in the sudoers file.This incident will be reported.的解决方法
https://blog.csdn.net/zzx_5/article/details/119348584
一次/etc/sudoers: syntax error near line 21问题的解决记录
https://blog.csdn.net/p243679396/article/details/104399381/
gnu nano怎么保存退出
https://blog.csdn.net/weixin_44166997/article/details/93216783
查看用户列表
输入命令“cat /etc/passwd”。
删除用户
输入命令“sudo userdel –r username”。
三、设置静态IP
校园网的IP不固定所以不设置了
https://blog.csdn.net/chrisspf/article/details/122921495
四、配置中科大源
https://mirrors.ustc.edu.cn/help/ubuntu.html#id5
GGGG
yum 升级 内核 ubuntu GG
此帖终结
回来了 ubuntu不要使用yum 使用 apt-get
五、安装docker
http://t.zoukankan.com/gaofangye-p-12812486.html
六、安装JDK 1.8
https://blog.csdn.net/qq_31635851/article/details/123337486
七、docker 构建git+maven+jdk8
https://blog.csdn.net/qq_42937522/article/details/107755941
八、docker部署前后端分离项目
https://blog.csdn.net/qq_45743005/article/details/119922465
https://www.101test.com/cand/index?paperId=YSNBGK&name=%E5%BC%A0%E6%9F%8F%E9%91%AB&uid=892067902%40qq.com