当前位置:网站首页>MySQL installation steps - how to create a virtual machine under Linux (1)
MySQL installation steps - how to create a virtual machine under Linux (1)
2022-06-28 06:58:00 【Xiaobinbin &】
install MySQL Prerequisite , Computers already have VMware Workstation (linux Virtual machine environment )
Package required
The specific installation process is as follows :
1、 open linux Software
2、 Click create new virtual machine , Click next
3、 Select virtual machine hardware compatibility
here , According to your computer model , Query the hardware compatibility
Choose to finish , Click next
4、 choice —— Install the operating system later , Click next
5、 choice linux operating system
6、 Set virtual machine name , And the installation path you need , Click next
It is recommended that the installation path should not be placed in C disc
7、 Select processor configuration , Click next
According to the audit number of your computer , Reasonable choice , I am 8 nucleus 16 Linear , choice 2 The processor of , Kernel number selection 2
8、 Select virtual machine memory module
General choice 4g , The computer memory is not big , You can also choose 2g, Here is a demonstration of 4g
9、 Choose the second , Click next
10、 Click next
11、 Select create new virtual machine disk
12、 Disk size , Here we recommend 20G
Disk here , In the future, all the programs and data on the virtual machine will be saved here
13、 Click next
14、 Click Custom hardware , configure network
15、 hardware setup
15.1 Click on the left side of the CD/DVD(IDE)--> Use IOS Image file ( Tour load you download Centos.7 The image file of )
15.2 Click on the left side of the network adapter --> senior --> Generate MAC Address
15.3 Click on the bottom left corner add to --> network adapter --> complete , And again 15.2 equally To configure MAC Address
16、 Click OK after configuration , complete
17、 Click Open Virtual Machine
18、 Select first Install CentOS 7
Here, click the black interface , Use the keyboard to select up and down , Press enter to confirm
19、 Choice language , The default here is OK --->continue
20, Set up here 3 Data
1、DATA & TIME Choose the Chinese time zone , Adjust the time , Finish clicking Done
2、 Select this one below , Click on , Then click directly Done
3、 Turn on the Internet , After opening , Click on Done
Choose... On the right on,ens33 and ens34 You have to choose on,
Pay special attention here to remember ens33 Network address of 192.168.220.136
21、 choice ROOT PASSWORD
Set the username and password
22、 Wait for the load to complete
After loading , Click on the bottom right corner Reboot
23、 Enter account number and password ,
Account number is root, password You just set it up !!!
24. Modify the network
Enter... In the interface vi /etc/sysconfig/network-scripts/ifcfg-ens33
enter
25. Modify the parameters
Press a Key to enter edit mode :
modify BOOTPROTO=static
ONBOOT=yes
increase IPADDR= The top three of the gateway .100 ( there 100 As long as it is not the same as the previous requirement to remember IP Same address and not 0 that will do )
Press... After the modification ESC Key to exit , Input ( English status ) :wq
26、 Configure network and firewall
systemctl restart network --> Restart the network
systemctl stop firewalld --> Turn off firewall
systemctl disable firewalld --> Disable firewall
Congratulations on coming here linux install mysql succeed .
边栏推荐
- 金山云团队分享 | 5000字读懂Presto如何与Alluxio搭配
- 微信小程序编译页面空白bug的原因
- 4. use MySQL shell to install and deploy Mgr clusters | explain Mgr in simple terms
- 2 startup, interrupt and system call
- Overview, implementation and use of CRC32
- A small code editor can also run programs -- a summary of sublime Text3 running programs in various languages
- 小小一款代码编辑器竟然也可以有程序运行之功能——Sublime Text3运行各种语言程序的总结
- Introduction to Qualcomm platform WiFi -- Wi Fi display software
- [produced by Xinghai] operation and maintenance inspection collection
- 我的MVVM开源项目《出行防疫App》已发布
猜你喜欢
My MVVM open source project "travel epidemic prevention app" has been released
Causes of wechat applet compilation page blank bug
LeetCode+ 66 - 70 高精度、二分专题
Some habits of it veterans in the workplace
图片按日期批量导入WPS表格
微信小程序编译页面空白bug的原因
职场IT老鸟的几点小习惯
编译配置in文件
Floating and positioning
Batch import of pictures into WPS table by date
随机推荐
普歌--三大基础排序,冒泡·选择·快速
The code is correct, and the rendering page does not display the reason
Introduction to Qualcomm platform WiFi -- Wi Fi display software
Compile configuration in file
Singleton singleton mode
[rust daily] May 24, 2020 rush, rocket, Mun, caspin
金山云团队分享 | 5000字读懂Presto如何与Alluxio搭配
自律挑战30天
Last 29 days
选拔赛题目代码
2 startup, interrupt and system call
Triode driven brushless motor
Rn7302 three-phase electric quantity detection (based on STM32 single chip microcomputer)
微信小程序编译页面空白bug的原因
Deleting MySQL under Linux
Puge -- understanding of getordefault() method
Iphone6plus enters the list of antique products netizen: I'm still using it
Promotion intégrale et ordre des octets de fin de taille
【Rust日报】2020-05-24 Rash, Rocket, Mun, Casbin
Error reporting - resolve core JS / modules / es error. cause. JS error