vmware安装银河麒麟V10高级服务器利用系统

数据人与超自然意识  金牌会员 | 2024-6-24 11:05:19 | 来自手机 | 显示全部楼层 | 阅读模式
打印 上一主题 下一主题

主题 580|帖子 580|积分 1740

1、下载银河麒麟V10镜像

官方提供使用通道 访问官网 链接: https://www.kylinos.cn/
下拉到页面最底部 点击产物试用申请 输入申请信息 根据用户范例选择 个人用户试用选个人就行
输入手机号 获取验证码 输入验证码后 会跳转到镜像下载界面

跳转到镜像下载界面 如下 选择银河麒麟高级服务器利用系统V10 选择对应的CPU架构

点击下载链接

推荐使用BitTorrent下载,迅雷就可以

下载完成后
校验文件完备性 对比sha256哈希值 应该是一样的 不一样的阐明文件有破坏 需要重新下载
  1. certutil -hashfile Kylin-Server-V10-SP3-General-Release-2303-X86_64.iso SHA256
复制代码

2、VMware安装银河麒麟V10高级服务器利用系统

2.1、新建虚拟机



镜像文件选择下载的镜像文件
Kylin-Server-V10-SP3-General-Release-2303-X86_64.iso 点击下一步

选择 其他 Linux 4.x 内核 64位

然后 下一步

填写虚拟机的名称 然后下一步

填写磁盘大小 然后下一步

点自界说硬件

设置 内存 处置惩罚器 等

然后点 完成

2.2、安装虚拟机

开启虚拟机

选择Install Kylin Linux Aduanced Server V10 然后回车

等待进入安装界面


进入安装界面了
选择中文

选择安装目的地

存储设置 选择自界说 然后点击左上角 完成 按钮

新挂载点将使用以下分区方案(N): 选择LVM

磁盘100G,举行以下分区计谋
挂载点分区名称分区大小分区文件系统装备范例/根分区50Gext4LVM/homehome分区20Gext4LVMSWAPSWAP分区15GSWAPLVM/varvar分区14Gext4LVM/bootboot分区1Gext4Stand Partitionbiosbootbiosboot分区2MBIOS BootStand Partition 点击+ 创建根分区

选择文件系统是 EXT4

然后点击 左下角 + 创建 第二个分区 /home



然后点击 左下角 + 创建 第三个分区 SWAP


然后点击 左下角 + 创建 第四个分区 /var


然后点击 左下角 + 创建 第五个分区 /boot


然后点击 左下角 + 创建 第六个分区 biosboot

添加biosboot时可能遇到剩余空间不敷2M的环境 导致无法添加biosboot分区

解决方法是 先缩小/var分区 预留出来1G
添加完成biosboot后,再把剩余所有空间分配给/var

下拉页面 点击更新设置 即可更新/var分区的大小

注意页面左下角会显示 当前剩余 可用空间

至此 分区创建完成
点击左上角 的 完成


下一步是 设置root账户暗码

软件选择




选择组件完成后 然后点击左上角的完成

主机名设置

点击应用后 显示当前主机名是kylin

然后点击左上角 完成

最后点击 开始安装


最开始就是创建 我们自界说的分区

接下来 等待安装完成 不会太久

显示安装完成 既是已经安装乐成 点击 重启系统

等待系统重启



点击 我同意许可协议 (A) 和 左上角 完成

点击 竣事设置

然后进入 登录界面

输入 同户名 root 输入暗码 进入系统

麒麟系统的桌面 泰裤辣

3、设置银河麒麟V10高级服务器利用系统

3.1、安装vmware tools

麒麟系统的桌面 泰裤辣

文件管理器 进入VMware Tools 目次
右键 选择 再在终端中打开

  1. cp VMwareTools-10.3.25-20206839.tar.gz /root/
  2. cd /root/
  3. chmod 777 VMwareTools-10.3.25-20206839.tar.gz
  4. tar -zxvf VMwareTools-10.3.25-20206839.tar.gz
  5. cd vmware-tools-distrib/
复制代码
执行安装下令
  1. ./vmware-install.pl
复制代码
一起回车即可
安装过程输出如下
  1. [root@kylin vmware-tools-distrib]# ./vmware-install.pl
  2. Creating a new VMware Tools installer database using the tar4 format.Installing VMware Tools.In which directory do you want to install the binary files? [/usr/bin] INPUT: [/usr/bin]  defaultWhat is the directory that contains the init directories (rc0.d/ to rc6.d/)? [/etc/rc.d] INPUT: [/etc/rc.d]  defaultWhat is the directory that contains the init scripts? [/etc/rc.d/init.d] INPUT: [/etc/rc.d/init.d]  defaultIn which directory do you want to install the daemon files? [/usr/sbin] INPUT: [/usr/sbin]  defaultIn which directory do you want to install the library files? [/usr/lib/vmware-tools] INPUT: [/usr/lib/vmware-tools]  defaultThe path "/usr/lib/vmware-tools" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want?[yes] INPUT: [yes]  defaultIn which directory do you want to install the documentation files? [/usr/share/doc/vmware-tools] INPUT: [/usr/share/doc/vmware-tools]  defaultThe path "/usr/share/doc/vmware-tools" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] INPUT: [yes]  defaultThe installation of VMware Tools 10.3.25 build-20206839 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".Before running VMware Tools for the first time, you need to configure it by invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want this program to invoke the command for you now? [yes] INPUT: [yes]  defaultInitializing...Making sure services for VMware Tools are stopped.正在制止vmware-tools(透过 systemctl):  [  确定  ]The module vmci has already been installed on this system by another installer or package and will not be modified by this installer.The module vsock has already been installed on this system by another installeror package and will not be modified by this installer.The module vmxnet3 has already been installed on this system by another installer or package and will not be modified by this installer.The module pvscsi has already been installed on this system by another installer or package and will not be modified by this installer.The module vmmemctl has already been installed on this system by another installer or package and will not be modified by this installer.The VMware Host-Guest Filesystem allows for shared folders between the host OS and the guest OS in a Fusion or Workstation virtual environment.  Do you wish to enable this feature? [yes] INPUT: [yes]  defaultThe vmxnet driver is no longer supported on kernels 3.3 and greater. Please upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)The vmblock enables dragging or copying files between host and guest in a Fusion or Workstation virtual environment.  Do you wish to enable this feature?[yes] INPUT: [yes]  defaultSkipping configuring automatic kernel modules as no drivers were installed by this installer.Disabling timer-based audio scheduling in pulseaudio.Do you want to enable Guest Authentication (vgauth)? [yes] INPUT: [yes]  defaultDetected X server version 1.20.8Distribution provided drivers for Xorg X server are used.Skipping X configuration because X drivers are not included.Skipping rebuilding initrd boot image for kernel as no drivers to be included in boot image were installed by this installer.The configuration of VMware Tools 10.3.25 build-20206839 for Linux for this running kernel completed successfully.You must restart your X session before any mouse or graphics changes take effect.To enable advanced X features (e.g., guest resolution fit, drag and drop, and file and text copy/paste), you will need to do one (or more) of the following:1. Manually start /usr/bin/vmware-user2. Log out and log back into your desktop session3. Restart your X session.Found VMware Tools CDROM mounted at /run/media/root/VMware Tools. Ejecting device /dev/sr0 ...Enjoy,--the VMware team[root@kylin vmware-tools-distrib]#
复制代码
3.2、设置静态IP地点 和 dns

  1. cp /etc/sysconfig/network-scripts/ifcfg-ens33  /etc/sysconfig/network-scripts/ifcfg-ens33.bak
复制代码
编辑网卡设置文件
  1. vi /etc/sysconfig/network-scripts/ifcfg-ens33
复制代码
①BOOTPROTO=dhcp 改为 BOOTPROTO=static
ONBOOT=no 改为 ONBOOT=yes
②插入以下内容
  1. IPADDR=192.168.2.152  #静态IP地址
  2. NETMASK=255.255.255.0 #掩码
  3. GATEWAY=192.168.2.2   #网关
  4. DNS1=192.168.2.2      #首选DNS
  5. DNS2=114.114.114.114  #备选DNS
复制代码
网卡设置文件参考下述改动过程
更改前
  1. TYPE=Ethernet
  2. PROXY_METHOD=none
  3. BROWSER_ONLY=no
  4. BOOTPROTO=dhcp
  5. DEFROUTE=yes
  6. IPV4_FAILURE_FATAL=no
  7. IPV6INIT=yes
  8. IPV6_AUTOCONF=yes
  9. IPV6_DEFROUTE=yes
  10. IPV6_FAILURE_FATAL=no
  11. IPV6_ADDR_GEN_MODE=stable-privacy
  12. NAME=ens33
  13. UUID=25fa4dcd-5fca-47c0-a335-c3acb7b4abed
  14. DEVICE=ens33
  15. ONBOOT=no
复制代码
更改后
  1. TYPE=Ethernet
  2. PROXY_METHOD=none
  3. BROWSER_ONLY=no
  4. BOOTPROTO=static
  5. DEFROUTE=yes
  6. IPV4_FAILURE_FATAL=no
  7. IPV6INIT=yes
  8. IPV6_AUTOCONF=yes
  9. IPV6_DEFROUTE=yes
  10. IPV6_FAILURE_FATAL=no
  11. IPV6_ADDR_GEN_MODE=stable-privacy
  12. NAME=ens33
  13. UUID=25fa4dcd-5fca-47c0-a335-c3acb7b4abed
  14. DEVICE=ens33
  15. ONBOOT=yes
  16. IPADDR=192.168.2.152
  17. NETMASK=255.255.255.0
  18. GATEWAY=192.168.2.2
  19. DNS1=192.168.2.2
  20. DNS2=114.114.114.114
复制代码
更改完成后重启网络服务使得更改生效
  1. systemctl restart NetworkManager.service
复制代码
3.3、查看磁盘分区

  1. df -lTh
复制代码

3.4、查看系统版本、内核版本

  1. cat /etc/*release
  2. cat /etc/.productinfo
  3. cat /etc/.kyinfo
复制代码
版本是SP3 代码是Lance
term=2025-07-27 表示系统试用逾期时间是2025-07-27,系统逾期对使用无影响。会有激活到期提示,不能再享受售后服务。

内核版本是4.19.90-52.22.v2207.ky10.x86_64,gcc版本是7.3.0,glibc版本是2.28。


免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

0 个回复

倒序浏览

快速回复

您需要登录后才可以回帖 登录 or 立即注册

本版积分规则

数据人与超自然意识

金牌会员
这个人很懒什么都没写!

标签云

快速回复 返回顶部 返回列表