当前位置:网站首页>搭建学习环境
搭建学习环境
2022-06-28 12:05:00 【用户4982247】
下载VMware、CentOS
- Vmware下载地址、密钥百度,官网最新版即可。(必会能力,不附链接)
- CentOS下载地址,同样百度,国内镜像总有一个速度快的,推荐下载7系列(也可直接下载RedHat,个人可申请免费,教程百度)
配置VM虚拟网络
安装完成后需对网络进行修改(不改也OK)
- 取消勾选DHCP服务
image.png - 修改子网IP、网关等
image.png
注:网关IP一般使用的是.1或254,不过.1已被虚拟网卡vmnet8使用,其他也OK
安装CentOS
选择自定义安装,使用下载的CentOS镜像即可,安装教程自行百度。太熟练了懒得写,可以最小化安装
注:
1、CentOS安装默认网卡名称应该是ens33开始,建议修改成eth0开始(不改无影响),首次安装在显示install那三个选项时,按下Tab键,留个空格输入biosdevname=0 net.ifnames=0。然后敲回车。
2、安装时即可以配置成固定IP,方便远程工具连接,不配置也行
安装远程工具
ssh远程工具,自行选择,xshell这类一堆,百度,输入IP端口、用户名、密码即可
无法远程问题排查:
- ping虚拟机是否ping通,ping不通大部分应该是win11情况,win11网络适配器查看vmnet8是否显示未识别网络(不要信那些修改注册表可以识别的帖子了,尝试过都不行,最后两种解决方案,重装win10、使用win11内部预览版,win11的21H2好像和VM不太兼容,估计是某个补丁问题)
- 查看Linux的ssh服务是否开启,防火墙是否允许22端口(可以使用telnet命令)
- 简单粗暴:删除重新安装,删除重启等操作一般可以解决70%的问题
至此,基本环境搭建安装完成,有问题可留言,一起学习
边栏推荐
- AcWing 607. Average 2 (implemented in C language)
- Asynctask experience summary
- fatal: unsafe repository (‘/home/anji/gopath/src/gateway‘ is owned by someone else)
- JS foundation 8
- 开源项目维权成功案例: spug 开源运维平台成功维权
- 已知两个点和中间一个比例的点,求该点坐标
- Two writing methods of JNI function
- Redis 原理 - List
- AsyncTask经验小结
- Deployment and optimization of vsftpd service
猜你喜欢

JS foundation 8

已知两个点和中间一个比例的点,求该点坐标

Source code analysis of ArrayList
![[C language] about scanf() and scanf_ Some problems of s()](/img/d1/e3d0b845e699c8c1fe3eb9f3b250e1.png)
[C language] about scanf() and scanf_ Some problems of s()

Fruit FL studio/cubase/studio one music host software comparison

Still using simpledateformat for time formatting? Be careful that the project collapses!

Graphics view framework for QT learning (to realize startup animation)

. Net hybrid development solution 24 webview2's superior advantages over cefsharp

Many benefits of SEO optimization are directly related to traffic

Build your own website (18)
随机推荐
【C语言】文件读写函数使用
Difference (one dimension)
设置Canvas的 overrideSorting不生效
【Unity编辑器扩展实践】、利用txt模板动态生成UI代码
Many benefits of SEO optimization are directly related to traffic
AsyncTask经验小结
In less than an hour, apple destroyed 15 startups
3. seat number
Redis principle - List
Deep learning has a new pit! The University of Sydney proposed a new cross modal task, using text to guide image matting
Batch will png . bmp . JPEG format pictures are converted to Jpg format picture
FTP protocol for Wireshark packet capture analysis
UGUI使用小技巧(六)Unity实现字符串竖行显示
What is the main chain system?
SoapUI rookie tutorial
建立自己的网站(18)
RemoteViews的作用及原理
AcWing 608. Poor (implemented in C language)
【C语言】关于scanf()与scanf_s()的一些问题
KDD 2022 | 图“预训练、提示、微调”范式下的图神经网络泛化框架