Rocky Linux 8.5 acer T350F2

一、Bios setup

EFI Optimized Boot Enabled

Use Legacy Video for EFI OS Enabled

二、Boot menu [ F2 setup 、F6 Boot menu]

三、 磁碟陣列卡(傳統模式 Ctrl + H、EFI 模式要進BIOS設定)

四、安裝Rocky Linux

Rocky Linux Setup

0.設定 multi-user.target 啟動(本地端啟動使用者介面)

   systemctl get-default

   systemctl set-default graphical.target

   systemctl set-default multi-user.target


1.xrdp(遠端桌面、注音、行列)

    dnf install epel-release -y

    yum install xrdp ibus ibus-table-chinese-array ibus-libzhuyin -y
    systemctl enable xrdp --now
    systemctl status xrdp
    systemctl restart xrdp
    firewall-cmd --add-port=3389/tcp --permanent
    firewall-cmd --reload

    dnf update

    systemctl get-default
    systemctl set-default multi-user.target


2.webmin

   vi /etc/yum.repos.d/webmin.repo

[Webmin]
name=Webmin Distribution Neutral
#baseurl=https://download.webmin.com/download/yum
mirrorlist=https://download.webmin.com/download/yum/mirrorlist
enabled=1

   wget https://download.webmin.com/jcameron-key.asc
   rpm --import jcameron-key.asc

   rpm --import https://download.webmin.com/jcameron-key.asc
  
   dnf install webmin -y

   firewall-cmd --add-port=10000/tcp --permanent
   firewall-cmd --reload

3.samba
  dnf -y install samba
  systemctl enable smb nmb
  systemctl restart smb nmb
  firewall-cmd --zone=public --add-service=samba --permanent
  firewall-cmd --reload
  pdbedit -a -u hellouser

  setsebool -P samba_enable_home_dirs on
  getsebool -a | grep samba

  setsebool -P samba_export_all_ro on
  setsebool -P samba_export_all_rw on

五、Install VirtualBox on Rocky Linux 8

dnf update -y

dnf install -y kernel-devel kernel-headers gcc make perl elfutils-libelf-devel wget

wget https://www.virtualbox.org/download/oracle_vbox.asc
rpm --import oracle_vbox.asc
rm -r -f oracle_vbox.asc
wget http://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo -O /etc/yum.repos.d/virtualbox.repo

reboot -n

dnf search virtualbox

上次中介資料過期檢查:0:04:23 前,時間點為西元2022年03月24日 (週四) 12時53分44秒。
======================== 名稱 & 摘要 符合: virtualbox =========================
VirtualBox-5.2.x86_64 : Oracle VM VirtualBox
VirtualBox-6.0.x86_64 : Oracle VM VirtualBox
VirtualBox-6.1.x86_64 : Oracle VM VirtualBox

dnf install VirtualBox-6.1 -y

systemctl status vboxdrv