VMware创建并配置虚拟机、MobaXterm_Personal_12.3.exe安装MySQL

该博客详细介绍了如何在VMware中创建CentOS虚拟机,从选择操作系统到配置网络,再到安装MySQL的客户端和服务端。过程中涉及了网络配置、root密码设定、防火墙关闭以及MobaXterm的远程连接。还展示了安装MySQL依赖、解压安装包、配置文件修改等步骤,并最终成功连接和使用MySQL。
摘要由CSDN通过智能技术生成

在VMware中创建linux虚拟机,并配置相关文件,然后在打开MobaXterm,建立连接,在虚拟机中安装MySQL客户端和服务端进行使用。

第一步:在VMware中新建虚拟机,选择经典

 第二步:选择稍后安装操作系统,下一步,选择linux以及centOS版本

 

 第三步:修改虚拟机名称和新建目录存放虚拟机

 

 第四步:配置虚拟机,内存、处理器、IDE、网络适配器

 

 

 

 第五步:开启虚拟机,会进行相关文件的载入

 第六步:完成后会进入语言选择,选择相应的语言,点击继续

 

 第七步:进入如下界面,在对红标处进行如下修改

 

此处的ip需要牢记。

第八步:点击开始安装,然后在设置root用户的密码,在重启

 

第九步:结束后如下图。输入用户名root,以及设置的密码,登录后在输入 vi /etc/sysconfig/network-scripts/ifcfg-ens33

 出现如界面,在进行参数修改,如下

 修改后,esc,在:wq回车,修改后再做输入如下命令:

systemctl restart network
systemctl stop firewalld
systemctl disable firewalld

 以上linux配置结束,保持linux开启状态,不要关闭,下面将配置Moba进行连接

第一步:创建新的session,填写ip,用户名,密码,并开启

 

 

 

 

第二步: 找到opt目录,将jdk包、mysql-client包、mysql-server包出入其中

 第三步:先解压jdk包,并配置相应文件,并验证,如下:

 

 

第四步:安装Mysql依赖包、客户端、服务端

 

 

 安装服务端会报出冲突,需要处理。并再次安装服务端

 第五步:获得初始随机默认密码,登录mysql,登录后可修改密码

 

 

 最后就可以使用修改后的密码重新登陆了。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
MobaXterm一个包含很多功能的小工具,personal版本已经需要收费下载,此版本为之前没有收费前下载的,功能还是比较齐全。 MobaXterm X server and SSH client MobaXterm is your ultimate toolbox for remote computing. In a single Windows application, it provides loads of functions that are tailored for programmers, webmasters, IT administrators and pretty much all users who need to handle their remote jobs in a more simple fashion. MobaXterm provides all the important remote network tools (SSH, X11, RDP, VNC, FTP, MOSH, ...) and Unix commands (bash, ls, cat, sed, grep, awk, rsync, ...) to Windows desktop, in a single portable exe file which works out of the box. More info on supported network protocols There are many advantages of having an All-In-One network application for your remote tasks, e.g. when you use SSH to connect to a remote server, a graphical SFTP browser will automatically pop up in order to directly edit your remote files. Your remote applications will also display seamlessly on your Windows desktop using the embedded X server. See demo You can download and use MobaXterm Home Edition for free. If you want to use it inside your company, you should consider subscribing to MobaXterm Professional Edition: this will give you access to much more features and the "Customizer" software. Features comparison When developing MobaXterm, we focused on a simple aim: proposing an intuitive user interface in order for you to efficiently access remote servers through different networks or systems. Screenshots MobaXterm is being actively developed and frequently updated by Mobatek.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值