動漫網站設計方案華為手機軟文范文300
vmware安裝銀河麒麟V10高級服務器操作系統(tǒng)
- 1、下載銀河麒麟V10鏡像
- 2、VMware安裝銀河麒麟V10高級服務器操作系統(tǒng)
- 2.1、新建虛擬機
- 2.2、安裝虛擬機
- 3、配置銀河麒麟V10高級服務器操作系統(tǒng)
- 3.1、安裝vmware tools
- 3.2、配置靜態(tài)IP地址 和 dns
- 3.3、查看磁盤分區(qū)
- 3.4、查看系統(tǒng)版本
1、下載銀河麒麟V10鏡像
官方提供使用通道 訪問官網 鏈接: https://www.kylinos.cn/
下拉到頁面最底部 點擊產品試用申請 輸入申請信息 根據(jù)用戶類型選擇 個人用戶試用選個人就行
輸入手機號 獲取驗證碼 輸入驗證碼后 會跳轉到鏡像下載界面
跳轉到鏡像下載界面 如下 選擇銀河麒麟高級服務器操作系統(tǒng)V10 選擇對應的CPU架構
點擊下載鏈接
推薦使用BitTorrent下載,迅雷就可以
下載完成后
校驗文件完整性 對比sha256哈希值 應該是一樣的 不一樣的說明文件有損壞 需要重新下載
2、VMware安裝銀河麒麟V10高級服務器操作系統(tǒng)
2.1、新建虛擬機
鏡像文件選擇下載的鏡像文件
Kylin-Server-V10-SP3-General-Release-2303-X86_64.iso 點擊下一步
選擇 其他 Linux 4.x 內核
然后 下一步
填寫虛擬機的名稱 然后下一步
填寫磁盤大小 然后下一步
點自定義硬件
配置 內存 處理器 等
然后點 完成
2.2、安裝虛擬機
開啟虛擬機
選擇Install Kylin Linux Aduanced Server V10 然后回車
等待進入安裝界面
進入安裝界面了
選擇中文
選擇安裝目的地
存儲配置 選擇自定義
新掛載點將使用以下分區(qū)方案(N): 選擇LVM
磁盤100G,進行以下分區(qū)策略
掛載點 | 分區(qū)名稱 | 分區(qū)大小 | 分區(qū)文件系統(tǒng) | 設備類型 |
---|---|---|---|---|
/ | 根分區(qū) | 50G | ext4 | LVM |
/home | home分區(qū) | 20G | ext4 | LVM |
SWAP | SWAP分區(qū) | 15G | SWAP | LVM |
/var | var分區(qū) | 14G | ext4 | LVM |
/boot | boot分區(qū) | 1G | ext4 | Stand Partition |
biosboot | biosboot分區(qū) | 2M | BIOS Boot | Stand Partition |
點擊+ 創(chuàng)建根分區(qū)
選擇文件系統(tǒng)是 EXT4
然后點擊 左下角 + 創(chuàng)建 第二個分區(qū) /home
然后點擊 左下角 + 創(chuàng)建 第三個分區(qū) SWAP
然后點擊 左下角 + 創(chuàng)建 第四個分區(qū) /var
然后點擊 左下角 + 創(chuàng)建 第五個分區(qū) /boot
然后點擊 左下角 + 創(chuàng)建 第六個分區(qū) biosboot
添加biosboot時可能遇到剩余空間不足2M的情況 導致無法添加biosboot分區(qū)
解決方法是 先縮小/var分區(qū) 預留出來1G
添加完成biosboot后,再把剩余所有空間分配給/var
下拉頁面 點擊更新設置 即可更新/var分區(qū)的大小
注意頁面左下角會顯示 當前剩余 可用空間
至此 分區(qū)創(chuàng)建完成
點擊左上角 的 完成
下一步是 設置root賬戶密碼
軟件選擇
選擇組件完成后 然后點擊左上角的完成
主機名配置
點擊應用后 顯示當前主機名是kylin
然后點擊左上角 完成
最后點擊 開始安裝
最開始就是創(chuàng)建 我們自定義的分區(qū)
接下來 等待安裝完成 不會太久
顯示安裝完成 既是已經安裝成功 點擊 重啟系統(tǒng)
等待系統(tǒng)重啟
點擊 我同意許可協(xié)議 (A) 和 左上角 完成
點擊 結束配置
然后進入 登錄界面
輸入 同戶名 root 輸入密碼 進入系統(tǒng)
麒麟系統(tǒng)的桌面 泰褲辣
3、配置銀河麒麟V10高級服務器操作系統(tǒng)
3.1、安裝vmware tools
麒麟系統(tǒng)的桌面 泰褲辣
文件管理器 進入VMware Tools 目錄
右鍵 選擇 再在終端中打開
cp VMwareTools-10.3.25-20206839.tar.gz /root/
cd /root/
chmod 777 VMwareTools-10.3.25-20206839.tar.gz
tar -zxvf VMwareTools-10.3.25-20206839.tar.gz
cd vmware-tools-distrib/
執(zhí)行安裝命令
./vmware-install.pl
安裝過程輸出如下
[root@kylin vmware-tools-distrib]# ./vmware-install.pl
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 installer
or 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-user
2. Log out and log back into your desktop session
3. 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、配置靜態(tài)IP地址 和 dns
cp /etc/sysconfig/network-scripts/ifcfg-ens33 /etc/sysconfig/network-scripts/ifcfg-ens33.bak
編輯網卡配置文件
vi /etc/sysconfig/network-scripts/ifcfg-ens33
①BOOTPROTO=dhcp 改為 BOOTPROTO=static
ONBOOT=no 改為 ONBOOT=yes
②插入以下內容
IPADDR=192.168.2.152 #靜態(tài)IP地址
NETMASK=255.255.255.0 #掩碼
GATEWAY=192.168.2.2 #網關
DNS1=192.168.2.2 #首選DNS
DNS2=114.114.114.114 #備選DNS
網卡配置文件參考下述改動過程
更改前
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens33
UUID=25fa4dcd-5fca-47c0-a335-c3acb7b4abed
DEVICE=ens33
ONBOOT=no
更改后
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens33
UUID=25fa4dcd-5fca-47c0-a335-c3acb7b4abed
DEVICE=ens33
ONBOOT=yes
IPADDR=192.168.2.152
NETMASK=255.255.255.0
GATEWAY=192.168.2.2
DNS1=192.168.2.2
DNS2=114.114.114.114
更改完成后重啟網絡服務使得更改生效
systemctl restart NetworkManager.service
3.3、查看磁盤分區(qū)
df -lTh
3.4、查看系統(tǒng)版本
cat /etc/*release
cat /etc/.productinfo
cat /etc/.kyinfo
版本是SP3 代碼是Lance