当前位置:网站首页>搭建学习环境
搭建学习环境
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%的问题
至此,基本环境搭建安装完成,有问题可留言,一起学习
边栏推荐
- Research on personalized product search
- Timestamp and date conversion "suggested collection"
- Url追加参数方法,考虑#、?、$的情况
- UGUI使用小技巧(五) Scroll Rect组件的使用
- Prefix and (2D)
- 【Unity编辑器扩展实践】、查找所有引用该图片的预制体
- 如何获取泛型的类型
- Is there a threshold for opening futures accounts? How to open futures accounts safely on the Internet
- 2022年理财产品的常见模式有哪些?
- Graphics view framework for QT learning (to realize startup animation)
猜你喜欢

【vi/vim】基本使用及命令汇总

自定义标题栏View
![[C language] three sorting methods for random number files](/img/a5/363133a0c85aa43c6cd8287e479f71.jpg)
[C language] three sorting methods for random number files

Software test interview classic + 1000 high-frequency real questions, and the hit rate of big companies is 80%

Why do many people want to change careers as programmers, while some programmers want to change careers as others?

In less than an hour, apple destroyed 15 startups

Practice and Thinking on the architecture of a set of 100000 TPS im integrated message system

.NET混合开发解决方案24 WebView2对比CefSharp的超强优势

内部振荡器、无源晶振、有源晶振有什么区别?

Deployment and optimization of vsftpd service
随机推荐
【C语言】如何很好的实现复数类型
ArrayList源码解析
Which programming language will attract excellent talents?
AcWing 604. Area of circle (implemented in C language)
【Unity编辑器扩展基础】、EditorGUILayout(二)
2018 joint examination of nine provinces & Merging of line segment trees
[C language] use of file read / write function
Function and principle of remoteviews
Research on personalized product search
來吧元宇宙,果然這熱度一時半會兒過不去了
Chendanqi, Fang Fei, guquanquan and Li Bo won the prize, and the list of Sloan research award in 2022 was released
RemoteViews布局和类型限制源码分析
不到一小时,苹果摧毁了15家初创公司
【Unity编辑器扩展基础】、GUI
If you want to change to software testing, how can you package your resume as a test engineer with 1 year of work experience
【C语言】如何产生正态分布或高斯分布随机数
Bisection (integer bisection and floating point bisection)
Two writing methods of JNI function
Daily practice of C language - day 3: calculate the number of occurrences of sub strings of strings
Fruit FL studio/cubase/studio one music host software comparison