CentOS 7下载安装
镜像下载网址
推荐下载DVD版,学习够用,安装简单
阿里云开源镜像站资源目录 (aliyun.com)
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-rVd7QFpk-1652453497641)(springboot.assets/image-20220513215508156.png)]](https://img-blog.csdnimg.cn/0358f41122f54182a50e25f2d1ee2568.png)
![在这里插入图片描述](https://img-blog.csdnimg.cn/b57c0e5b977247468ded3dda4d72c734.png)
自动分配
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-33hpYfwc-1652453497643)(springboot.assets/image-20220513211021513.png)]](https://img-blog.csdnimg.cn/50d2fde21c6d4079aacf8d96838851d9.png)
开始安装必要文件
配置下root密码即可
root
root
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-NqXjHyZV-1652453497643)(springboot.assets/image-20220513215833780.png)]](https://img-blog.csdnimg.cn/18530fe227ec41b98bc7a49dd2619b19.png)
安装登录成功
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-aOr5EJMr-1652453497644)(springboot.assets/image-20220513220827758.png)]](https://img-blog.csdnimg.cn/56b5fc3ef9134dcf91403b0c91b15fd5.png)
使用远程设备连接Linux
Linux展示IP失败处理
配置虚拟机
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-qzCOexhF-1652453497645)(springboot.assets/image-20220513223641389.png)]](https://img-blog.csdnimg.cn/a645736fcabe42c48de2e894625aa0ab.png)
更改ONBOOT权限
使用vi编辑器编辑
insert键:插入切换
enter键:确认
shift + :
wq :保存退出
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-lENlRZoe-1652453497645)(springboot.assets/image-20220513224507437.png)]](https://img-blog.csdnimg.cn/f9325455af644c25b941fe56ad0878c5.png)
重启网络服务
或重启linux
sudo service network restart
展示ip
ip addr
ifconfig
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-rRMDk76Q-1652453497645)(springboot.assets/image-20220513224738975.png)]](https://img-blog.csdnimg.cn/f8a0a71be08548f38934786511d362ac.png)
SecureCRT连接
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-Da1C5G0E-1652453497646)(springboot.assets/image-20220513224918326.png)]](https://img-blog.csdnimg.cn/dc09a500ba0f449c9d9459412d7a3cc0.png)
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-l9JjCoCy-1652453497646)(springboot.assets/image-20220513224954750.png)]](https://img-blog.csdnimg.cn/5d95fee485764c8e85e8d98d9d5a3c7b.png)
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-YXZvxda4-1652453497647)(springboot.assets/image-20220513225011831.png)]](https://img-blog.csdnimg.cn/362ba722d79a442282e60fc67d788ba8.png)
connection successful!
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-DKEEPepn-1652453497649)(springboot.assets/image-20220513225114556.png)]](https://img-blog.csdnimg.cn/c6a493263852411eac32435aa630d6c9.png)