PCDVD¼Æ¦ì¬ì§Þ°Q½×°Ï

PCDVD¼Æ¦ì¬ì§Þ°Q½×°Ï (https://www.pcdvd.com.tw/index.php)
-   ºÃÃøÂø¯g°Ï (https://www.pcdvd.com.tw/forumdisplay.php?f=34)
-   -   ¦p¦ó¦bLinux¤U¨Ï¥Î¥xÆW»È¦æªººô¸ô»È¦æ¡H (https://www.pcdvd.com.tw/showthread.php?t=1179969)

sparc10 2020-12-28 12:10 PM

§Ú²{¦b±N virtual box ¬[¦b CentOS Stream 8¤§¤W ¡A¨Ã¦bVirtualBox¤W¸ËWindows10¡C
CentOS®Ö¤ß: 5.10.2-1.el8.elrepo.x86_64
¦ý¶}±ÒVirtualBox«á¡A¦A±NWindows10¶}¾÷«á¡A·|¥X²{¤U¦C¿ù»~°T®§¡C
½Ð°Ý¡A¸Ó¦p¦ó³B²z¡HÁÂÁÂ

======
¿ù»~°T®§¦p¤U
======

Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing
'/sbin/vboxconfig'
as root.

If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
The virtual machine 'MSEdge - Win10' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
MachineWrap
Interface:
IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
=====
§ÚÁÙ°µ¹L¥H¤U¨BÆJ¡A¦ý¤´ÂÂ¥¢±Ñ¡C
=====
[root@localhost ~]# chmod 777 /sbin/vboxconfig
[root@localhost ~]# /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.

Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
kernel-devel kernel-devel-5.10.2-1.el8.elrepo.x86_64
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root. If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.
====
§Ú¤]°µ¹L "sudo dnf update"¡A¦ý¨S¥Î¡C
https://docs.fedoraproject.org/en-U...system-upgrade/

sparc10 2020-12-28 12:21 PM

§Ú«á¨Ó¤S¹Á¸Õ¥ÎGnome boxes¶]Win10¡A¦ýŪ¨ú¤£¨ì´£´Ú¥d¡I

§Ú¥D­n§@·~¨t²Î: CentOS Stream 8¡A¥B§Ú¥Î¨ä¤º«ØªºGnome boxes1)¥h¹B¦æ Window 10¡CWin10¯à§ì¨ìŪ¥d¾÷¡AQemu USB Ccid¡C¦ý§Ú´¡¤J´£´Ú¥d¨ìŪ¥d¾÷«á¡A«o¤SŪ¤£¨ì´£´Ú¥d¡C¦ýŪ¥d¾÷¬õ¿O«G°_¡Aªí¥Ü¦³´¡¤J¡C

§Ú¦b¯u¹êWin10¤U¸Õ¹LŪ¥d¾÷»P´£´Ú¥d³£¥¿±`¡C½Ð°Ý¡A¦p¦ó¸Ñ¨M¡HÁÂÁ¡C

PS:
®Ö¤ß: 5.10.3-1.el8.elrepo.x86_64
Ū¥d¾÷«¬¸¹: Costar US777.
§ÚªºCPU: AMD® Ryzen 5 3600

substar999 2020-12-28 01:31 PM

­Ó¤H¯uªº¤£²M·¡±z°í«ù­n¦bPC¤W¨Ï¥Î¥x»Èºô»Èªº¥Øªº¡A
¦ý­Y±z¤£·Q¦A¯Ó¤U¥hªº¸Ü...¤â¾÷¥­¥x¤]¯à¥Î!

³¥¤f¶©¥v 2020-12-28 02:18 PM

¦]¬° header ¹w³]¨S¦³¦w¸Ë

¥ý uname -r ¬d¸ß¥Ø«e¥¿¦b¨Ï¥Îªºª©¥»

·j´M©Ò¦³ headers
yum search kernel-headers

¦w¸Ë¹ïÀ³ª©¥»
yum install kernel-headers

­«±Ò¤§«á¦A§â virtualbox build ¶i header
/sbin/vboxconfig

¨Ï¥Î Stream 8 ¨ä¹ê¥u¬O§ä¦Û¤v³Â·Ð¦Ó¤w
¬Ý§A¨ä¥L¦ê¦³»¡§A¤]¥Î¹L manjaro
§Úı±o´N¥Î manjaro ´N¦n¤F
·í®à­±¨Ï¥Î manjaro ¦n¥Î¤Ó¦h¤F
§ó¦h¤]§ó¦nªº®M¥óºÞ²z¾¹¡A¦w¸Ë¤W¬Ù¤F«Ü¦h³Â·Ð

NTC_TW_IT 2021-01-02 02:43 AM

¬Ù¨Æªº¸Ü~~°µdual boot¤ñ¸û§Ö
°£«D¨º´X¤ÀÄÁªº¶}¾÷®É¶¡¯uªº«Ü´o¤H

sparc10 2021-01-02 04:12 PM

ÁÂÁ¤j®a¡I
¥ý»¡µ²½×¡A§Ú¥Ø«e¥ÎWIN10+openSUSE 15.2Âù¨t²Î¡A¥BÀɮ׮榡¥HBTRFS爲¥D¡C
²¦³ºopenSUSE¬O³Ì¤ä«ùBTRFSªºLINUX¤À¤ä¡A¥B®M¥óºÞ²z¾¹®e©ö¤W¤â¡C
¤Þ¥Î:
§@ªÌNTC_TW_IT
¬Ù¨Æªº¸Ü~~°µdual boot¤ñ¸û§Ö¡I§Ú­ì¥ý´N¬OÂù¨t²Î¡C
°£«D¨º´X¤ÀÄÁªº¶}¾÷®É¶¡¯uªº«Ü´o¤H
¹ï¡A°µdual boot¤ñ¸û§Ö¡I§Ú­ì¥»´N¬OÂù¨t²Î¡C

¤Þ¥Î:
§@ªÌsubstar999
­Ó¤H¯uªº¤£²M·¡±z°í«ù­n¦bPC¤W¨Ï¥Î¥x»Èºô»Èªº¥Øªº¡A
¦ý­Y±z¤£·Q¦A¯Ó¤U¥hªº¸Ü...¤â¾÷¥­¥x¤]¯à¥Î!
§Ú´¿¦b¤â¾÷¤W¬d¸ß¡u»È¦æ¶U´Ú¡v¡A¦ý¤@¤p®É¤º´N¦³¤H²°T­n¶U´Úµ¹§Ú¡A
¦Ó¥B¹ï¤èª¾¹D§Úªº©m¤ó¡B§Ú¥Î»·¶Ç¹q«H¡I¦]¦¹¡A§Ú¤£³ßÅw¦b¤â¾÷¤WÂà±b¡C

¤Þ¥Î:
§@ªÌ³¥¤f¶©¥v
¨Ï¥Î Stream 8 ¨ä¹ê¥u¬O§ä¦Û¤v³Â·Ð¦Ó¤w
¬Ý§A¨ä¥L¦ê¦³»¡§A¤]¥Î¹L manjaro
§Úı±o´N¥Î manjaro ´N¦n¤F
·í®à­±¨Ï¥Î manjaro ¦n¥Î¤Ó¦h¤F
§ó¦h¤]§ó¦nªº®M¥óºÞ²z¾¹¡A¦w¸Ë¤W¬Ù¤F«Ü¦h³Â·Ð
§Ú¦bmanjaro¤W«Ü»´ÃP¦a¦w¸Ëvirtualbox 6.1.16¡A¦ýmanjaro¯à§ì¨ìŪ¥d¾÷¡A¦ývirtualbox¤¤ªºWIN10«o§ì¤£¨ì¡C

¤Þ¥Î:
§@ªÌ³¥¤f¶©¥v
¦]¬° header ¹w³]¨S¦³¦w¸Ë
¥ý uname -r ¬d¸ß¥Ø«e¥¿¦b¨Ï¥Îªºª©¥»
·j´M©Ò¦³ headers
yum search kernel-headers

¦w¸Ë¹ïÀ³ª©¥»
yum install kernel-headers

­«±Ò¤§«á¦A§â virtualbox build ¶i header
/sbin/vboxconfig
ÁÂÁ¡A¦ý¦]¬GÁÙ¬O¤£¯à¥Îvirtualbox¡A©Ò¥H§Ú´N©ñ±ó¤F¡C
$ uname -r
5.10.3-1.el8.elrepo.x86_64
$ sudo -i
[root@localhost ~]# yum search kernel-headers
Last metadata expiration check: 18:08:10 ago on Sun 27 Dec 2020 11:59:07 PM CST.
===================== Name Exactly Matched: kernel-headers =====================
kernel-headers.x86_64 : Header files for the Linux kernel for use by glibc
[root@localhost ~]# cd /usr/src/kernels/
[root@localhost kernels]# ls -l
total 8
drwxr-xr-x. 23 root root 4096 Dec 24 10:24 4.18.0-257.el8.x86_64
drwxr-xr-x. 23 root root 4096 Dec 24 23:40 4.18.0-259.el8.x86_64
[root@localhost kernels]# yum install kernel-headers
Last metadata expiration check: 18:10:24 ago on Sun 27 Dec 2020 11:59:07 PM CST.
Package kernel-headers-4.18.0-259.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@localhost kernels]# yum install kernel-devel
Last metadata expiration check: 18:12:32 ago on Sun 27 Dec 2020 11:59:07 PM CST.
Package kernel-devel-4.18.0-257.el8.x86_64 is already installed.
Package kernel-devel-4.18.0-259.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

PS¡G
­Ó¤H¦w¸ËopenSUSE¬yµ{¡C

¡uÂà¶K¡vºî¦X¨Ó¬Ý¡ARHEL ¸ò SUSE(SLES) ´¶¤Î²v³Ì°ª¡A¤T¤j¶³ºÝ¥­¥x¡BSAP¡BSQL¡BOracle ³£¤ä´©¡C
https://blog.darkthread.net/blog/docker-in-debian/

# openSUSE Leap «ü«n ¡]¸ËGNOME/KDE¸û¦n¡A¨Ã¶}LVM¡^
https://opensuse-guide.ustclug.org/index.php

# «Øij¨Ï¥ÎªºDNS¡G security.cloudflare-dns.com
1.1.1.2
2606:4700:4700::1112
https://security.cloudflare-dns.com/dns-query

# Add the Flathub repository
¡uÂà¶K¡vFlathub is the best place to get Flatpak apps. To enable it, run:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

# §ó·s®Ö¤ß¡]¥i¥H¬Ù²¤¤£°µ¡I¡^
Use the command
sudo -i
zypper ar https://download.opensuse.org/repos...table/standard/ kernel
zypper se -s 'kernel*'
Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r): a

to display a list of all kernel packages available:
µM«á¡A±qkernel-default§ä¨ì³Ì·sí©wª©®Ö¤ß¡A¨Ã¦w¸Ë.Á|¨Ò¦p¤U
zypper in kernel-default-5.10.4-1.1.g4169c1f

¦pªG¨Æ«á·Q²¾°£
zypper se -si 'kernel*' to list all kernels installed and zypper rm PACKAGENAME-VERSION to remove the package.
zypper rm kernel-default-5.10.4-1.1.g4169c1f

# ¡uÂà¶K¡v爲ÂsÄý¾¹¸ËCODEC
sudo -i
zypper ar -cfp 90 http://ftp.gwdg.de/pub/linux/misc/p...SUSE_Leap_15.2/ packman
zypper ref
zypper up --allow-vendor-change
reboot
https://kamarada.github.io/en/2020/...ow-to-solve-it/

# ¦w¸Ëµ¥¤Æ¾¹
¥ý¶}û£Yast Sound,¨Ì¦¸³]©w©Ò¦³­µ®Ä¥d¡C¥ý½s¿è²Ä¤@»O­µ®Ä¥d¡A¨Ã¿ï¶i¶¥¼Ò¦¡¡C
±N¡uDMA pointer read method¡vªº¼Æ­È§ï爲0¡I¨ä¥L¥d¤]¬O³o¼Ë¡C

¥hYast>Software>¦w¸Ëpulseaudio-equalizer
¶}û£pulseaudio-equalizer«á¡A¨Ã±NPreset§ï爲SKA
ÁÙ­n¤Ä¿ïEQ Enabled¡BKeep Setting¡AµM«áQUIT

# ¦bopenSUSE¦w¸Ë¤¤¤å
¡uÂà¶K¡v¦b YaST ¿ï¾Ü»y¨¥®É¡A¥i±N¥Ø¼Ð»y¨¥³]¦¨¦¸­n»y¨¥§Y¥i¡A¤£»Ý­n§ï¥D­n»y¨¥¡C
µ§ªÌ·|¨è·N±N GNU/Linux ªº¬É­±©M¨Ï¥ÎªÌ°T®§«O«ù¦b­^¤å¡A¸I¨ì°ÝÃD®É¤ñ¸û®e©ö¬d¨ì¸ê®Æ¡C
https://michaelchen.tech/blog/ibus-...od-on-opensuse/
System Settings ➜ Region & Language
¨ú®ø¡uOnly show current language¡v«á¡A
¿ïÁcÅ餤¤å¡A´N¦³IBUS¡A¨Ï¥ÎWIN + Space §Y¥i¤Á´«¿é¤Jªk
¿ï²Å餤¤å¡A´N¦³FCitix¡A¨Ï¥ÎCTRL + Space §Y¥i¤Á´«¿é¤Jªk
­Y¬OFCitix¡A«h¿ï¾Ü Shuangpin(LibPinyin)

# Chromium
¥ÎYAST¦w¸ËChromium

# ¡uÂà¶K¡v¦w¸ËOneNote
sudo zypper addrepo --refresh https://download.opensuse.org/repos...nSUSE_Leap_15.2 snappy
sudo zypper --gpg-auto-import-keys refresh
sudo zypper dup --from snappy
sudo zypper install snapd
You then need to either reboot, logout/login or source /etc/profile to have /snap/bin added to PATH. Additionally, enable and start both the snapd and the snapd.apparmor services with the following commands:
sudo systemctl enable snapd
sudo systemctl start snapd
sudo snap install p3x-onenote
reboot
https://snapcraft.io/install/p3x-onenote/opensuse

# vlc
https://software.opensuse.org/package/vlc

# ²©ö§ó·s«ü¥O
sudo -i
yast2 online_update

# systemd-zram-service¡]¥i¥H¬Ù²¤¤£°µ¡^
https://software.opensuse.org/packa...md-zram-service

sparc10 2021-01-03 06:50 PM

¤Þ¥Î:
§@ªÌ³¥¤f¶©¥v
¦]¬° header ¹w³]¨S¦³¦w¸Ë
¥ý uname -r ¬d¸ß¥Ø«e¥¿¦b¨Ï¥Îªºª©¥»
·j´M©Ò¦³ headers
yum search kernel-headers

¦w¸Ë¹ïÀ³ª©¥»
yum install kernel-headers

­«±Ò¤§«á¦A§â virtualbox build ¶i header
/sbin/vboxconfig
·PÁ§A¡I§Ú²{¦b¯à¦bopenSUSEªºµêÀÀ¾÷¤¤§ì¨ìŪ¥d¾÷¡A¦Ó¥B·í´¡¤J´£´Ú¥d«á¡A¤]¯àŪ¨ú¨ì¦¹¥d¤ù¡C

After I did the steps below, I could open a Win10 on VirtualBox.

I installed VirtualBox in YAST of openSUSE 15.2, and added myself to the "vboxusers" group. before starting VirtualBox.
I could do it using: Yast / Security and Users / User and Group management.

sudo -i
localhost:~ # yast2 -i kernel-source
reboot

sudo -i
localhost:~ # zypper install virtualbox-host-source kernel-devel kernel-default-devel
reboot

sudo -i
localhost:~ # /sbin/vboxconfig
Building kernel modules...
Kernel modules built correctly. They will now be installed.
insmod /lib/modules/5.10.4-1.g4169c1f-default/misc/vboxdrv.ko
insmod /lib/modules/5.10.4-1.g4169c1f-default/misc/vboxnetflt.ko
insmod /lib/modules/5.10.4-1.g4169c1f-default/misc/vboxnetadp.ko
Kernel modules are installed and loaded.

sparc10 2021-01-17 10:45 PM

·í§Ú¶i¤JCentOS Stream 8ªºGnome Boxesªº¥k¤W¨¤ªº³]©w«á¡A
¤~»®µMµo²{¥¦¡uª¾¹D¡v§ÚªºÅª¥d¾÷爲¦ó¡A¦ý§Ú«oµLªk啓¥ÎŪ¥d¾÷¡C
¦]¦¹¡AGuestOSµLªk¨Ï¥Î§ÚªºÅª¥d¾÷¡C

Á`¤§¡A§Ú¤´¥Î¡uopenSUSEªºµêÀÀ¾÷¡v¥h§Ëºô¸ô»È¦æÂà±b¡C

cjan. 2021-01-18 08:55 AM

Ū¥d¾÷­n firmware ¶Ü¡A¹³°¸ªº dvb-t ´N­n¡C

sparc10 2021-01-18 10:52 AM

¤Þ¥Î:
§@ªÌcjan.
Ū¥d¾÷­n firmware ¶Ü¡A¹³°¸ªº dvb-t ´N­n¡C
§Ú¤£¾å±o¡A²¦³ºBoxes¿ù»~°T®§¨S­n§Ú¸ËŪ¥d¾÷ªº¶´Åé¡C


©Ò¦³ªº®É¶¡§¡¬°GMT +8¡C ²{¦bªº®É¶¡¬O04:41 PM.

vBulletin Version 3.0.1
powered_by_vbulletin 2024¡C