win10下虚拟机安装
安装:VMware Workstation Pro17(个人免费部需要密匙,但需要注册):VMware Workstation Pro: Now Available Free for Personal Use – VMware Workstation Zealot
下载AlmaLinux9.5 DVD版本: https://almalinux.org/zh-hans/
安装:
- VMware中自定义虚拟主机
- 内存配置4GB,硬盘60GB,安装到
f:\VM\AlmaLinux9
,磁盘文件位置F:\VM\AlmaLinux9\AlmaLinux9.vmdk
- 简体中文,软件选择,默认Server With GUI安装
- 允许root通过ssh登录
- 创建非root用户并设为管理员,如max
更新系统:
sudo dnf update
sudo dnf install epel-release
安装桌面环境,
enable the PowerTools (crb) on AlmaLinux 9 with the following command
sudo dnf config-manager --set-enabled crb
sudo dnf update -y
sudo dnf repoquery *cinnamon*
根据输出,安装对应的包
sudo dnf install -y cinnamon cinnamon-calendar-server cinnamon-control-center cinnamon-control-center-devel cinnamon-control-center-filesystem cinnamon-desktop cinnamon-desktop-devel cinnamon-menus cinnamon-menus-devel cinnamon-screensaver cinnamon-session cinnamon-settings-daemon cinnamon-settings-daemon-devel cinnamon-themes cinnamon-translations slick-greeter-cinnamon workrave-cinnamon
Install LightDM Display Manager: must install LightDM packages instead of the GDM,disable the GDM and enable LightDM,set the default target to a graphical GUI target
sudo dnf install lightdm-settings slick-greeter-cinnamon -y
sudo systemctl disable gdm
sudo systemctl enable lightdm
sudo systemctl set-default graphical.target
sudo reboot
默认桌面图标字体发虚
尚未安装VMware Tools:能够改善鼠标移动性,视频和性能,需要登录客户机操作系统,点击”安装Tools“
正文完