Install FreeBSD 14.1 and KDE Plasma 6 in QEMU VM tutorial - June 2024 - 2da0c933

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello today we are going to install the latest release of the operating system FreeBSD 14.1 in a qmu virtual machine and we're going to also install KD plasma 6 let's go to the official website we have the announcement for FreeBSD 14.1 release also you can download it from here or from here okay in here it lists the possible installation media there are ISO files to be written on CD ROMs or in our case since we are using qm invert manager we will use this ISO file dvd1 in order to install the virtual machine let's find um a directory where we can download this file from we can for instance sort by file size this is the one amd64 dvd1 I've already downloaded the file let's install invert manager file new virtual machine browse rbsd cannot detect the operating system we can select in here FreeBSD 14.0 the template for ver manager is wrong gbsd 14.0 has more features than what's available in the ver manager template so we're going to edit the V ual machine before actually starting it does not matter what um is the amount of um virtual hard disk that I'm going to use I'm the virtual machine is never going to use all of the 200 gabt because the ow to file is going to increase in size as needed and always be less than 200 GB ebsd 141 customize and in here FreeBSD 14.0 and 14.1 do support the better motherboard which is Q35 okay apply CP p is always wrong hard disk is the fastest possible dis bus which is what IO faster than SATA CD ROM could be SATA which is a bit faster than ID network interface card um is the fastest which is verti O and the tablet begin installation it will automatically boot into the first option which is the correct one which is to start the installer in Live CD mode or you can press the enter key the default option here is okay so press enter install I have uh English US keyboard so I'm going going to press enter to continue with the default key map English US host name for this machine the same name as the virtual machine ebsd 141 I don't need any debug symbols I'm not going to use 32bit libraries but I'm going to keep this selection I'm only going to install software from binary pack package is not from so ports where I need to build software myself I prefer something else than butter FS or ZFS so that's going to be ufs entire dis I could use MBR do partitions or B or GPT GID partition table I'm going to go with the default which is MBR it creates a swap partition for gigabytes the rest is slash finish press enter commit press enter it's going to install the sets so base. txz which is an archive a um tar ball and then archived with XZ compression lip 32 is the 32bit libraries or root the password we will need this password until we install sudu the only network interface card press enter ipv4s DCPS no IP V6 so right arrow key and then enter the correct um values are in here press enter America let's get to the United States 49 press enter eastern most areas sounds okay EDT skip don't set date or time uh we want SSH server because we want to connect to the virtual machine without using ver manager graphical console the Selections in here look okay so I'm going to press enter I don't do any hardening this is a virtual machine I want as much performance as possible I'm going to compile software in here so I want performance I'm going to go with okay would you like to add users of course so I've pressed enter a ton of times to keep the defaults I'm going to invite administrator into the wheel group because I want to install sudu the default shell um sh is okay empty password no I've typed my password lock out no so the defaults except I've added um the user administrator to an additional Group which is whe okay do you want to add another user no so I'm going to keep pressing enter and that's it we have a user we have root password host name Network everything's okay so I'm going to keep the default selection which is exit press okay to exit before installation we could install additional software which um we're not going to do so press enter to go with a no option reboot correct okay we can uh hurry up the boot by pressing enter otherwise is going to wait 10 seconds I have the notes on how I install dbsd usually listing okay so I've added the user administrator to the user group wheel I'm only connecting with other means to the virtual machine than the vert manager console so I'm going to start first by connecting in text um user interface mode this is the IP address of the virtual machine SSH server is already installed and running on the virtual machine yes password okay can even close this window first of all I'll need to in install additional software including sudu for that we're going to become the user root asks for the password of the user route okay it's using the default shell which is sh how do we see that okay these two things first of all I want to have the package manager says that the package manager is not yet installed but could be installed do you want to fetch and install it now I'm going to the default option is no so I'm going to press y okay it uses quarterly which is is okay I'm going to install some command line software so BOS I'm going to change the shell from sh to BOS I um command line text edor which is um emx nox MC the file manager for text user interface mode and then get just because it installs all of the dependencies 62 packages in total it has finished downloading now it's U installing the packages okay I'm going to do the change shell twice once for the user root right now I'm the user roote and um I'll also do it for the user administrator where do I see that in here okay so let's go contrl D paste again okay and now we have bash as the default shell for both users administrator and root we might uh disconnect from SSH so contrl D connect again okay and now we're in bash next up we want to install graphical user interface and um enable sudu for the user admin so let's continue this thing middle click paste works xorg so the goal here is to have a virtual machine that's run in 3 BSD 14.1 xorg KD plasma 6 and then we connect to the virtual machine either in text user mode using SSH or in graphical user interface mode using the X um RDP server you usually install free RDP by following the um free BSD by following the free BSD book handbook you should read all of the messages of the packages additional rights for the user administrator we're going to need a ton of fonts in order to have the web browser working correctly in order to get to the free BSD handbook you can for instance search for free BSD handbook it comes in Split HTML single HTML or pdf version I would uh recommend that use either single HTML or PDF because this way you can have search in file using contrl F I know maybe you want to search for KD okay back to where we were so we've installed the Noto and sudu I'm going to enable sudu with password for all of the users that are member of the local user group wheel this is the command line and we need to search for this line says UNC commmand to allow members of the group wheel to execute any command the next one is without password so not that one okay will all all all this is the one let's save control XS XC now that we're going to install KD plasma this requires proc FS so let's enable that so I select and and middle click paste keep a trailing line new line so there should be a um empty final line just one that's the way I do it contrl xrl c not really required but it's better to have a trailing new line in most PL Tex files okay we want to mount the proas contrl L works for clearing the terminal and then we want to install KD there's a full set of KD packages for cute 5 for cute 6 the selection of packages is um way uh smaller it's a working Pro progress to have um KD plasma 6 and U the rest of um KD applications that depend on cute 6 available for free BSD the current status is 3 BSD KD plasma 6 this um blog article AO quiz. n l okay it says that there exist some pbsd packages that start have names starting with plasma 6 minus it's a meta package and we'll see by doing for instance a package search that um there's um they're use they're um for KD version C 6 cute 5 there's this meta package KD5 which does not exist for C6 so there's no KD6 package but there's a KD6 minus DL package so let's do a bit of searching package search ad five there is such a thing KD6 there's a KD6 minus DL okay and in here it recommends that we install PL plasma 6 minus plasma so let's um do a search for plasma six so there's many packages that start with plus M six and then a minus we want all of these we want the cute um widget steam Breeze we want K gamma for system settings K screen for system settings K window the window manager everything that's in here so we could uh do this installs the cute six packages installs many plasma 6 packages but not enough and then we also have this U prefix for um pbsd package names kf6 minus so we'll actually need all of these so kf6 minus plusma 6 minus and there's just one KD6 minus the one with devl in name we need to install more than 1,000 um 3 BSD packages okay we'll pause for a second okay so the package is uh finished installing let's um search again for um KD6 this guy we want to install it more KD Frameworks version six packages that's great and it also brings console cute 6 this is the name of console C 6 is not what you would expect console 6 or something similar it's minus DL that's the way it works there's also the default file manager in KD plasma which is dolphin in FreeBSD for now it has this package name dolin minus DL the same for the image viewer so you definitely want to install the packages this and this one KD6 minus Dev okay and since we also want all of the packages that have this prefix we'll use a command line like this so package install and then there's the possibility of using Globes package install package minus install Okay so minus minus globe or minus G so that's minus minus glob and then the syntax is similar to globes for file system so asterisk means any character any number of times so we want this thing and then a ocean sound team is used by default by KD plasma 6 plasma system monitor why would you install KD plasma without system monitor all of these should be actually part of the plasma of a KD6 KD plasma 6 meta package for FreeBSD so let's proceed okay and then the same thing for KD Frameworks version six because I want to do development okay just uh text templates is missing that's a good sign if uh by using Globes and wanting to install thousands of packages just a really small number of packages are not installed yet and that's a good sign okay and with that we have uh a terminal which is vital once you're connected using the graphical user interface because we have U console 6us DL we have a text editor we have Kate 6us DL we have a file manager dolphin 6 minus DL otherwise we would need to install for instance xterm or xfc terminal okay next up we're at um this step we did this now in order to have um KD plasma running we want deboss let's see if we can copy paste multiple lines at a time seems to be okay we already did this let's um do as both the user root and the user administrator make sure that the pet environment variable is set correctly so slash sbin SLB USR slsb SL USR be/ USR local SB SL USL local bean and then Tilda slban that's okay for the user route is okay let's do the same thing for the user administrator it um looks okay and I'm not exactly sure why previously I needed to edit the Tilda sl. profile file because this line is commented out okay we'll um edit this file when we actually require it at this step we have KD plasma run available and we can start it using um start X X in it RC okay let's continue installing the RDP server in FreeBSD let's restart the computer if that's what it says and uh prove that sudu Works sudu Su password reboot so we're at this stage I've pressed enter just not to wait um the additional 10 seconds which is the timeout in the boot loader okay the system has finished booting we can connect again using the SSH server SSH client protocol next up we want to install the two packages for um the RDP server xrdp so so let's see if we can run all of these three at the same time yes and it enabled the prsd services okay we need a configuration file for xrdp which we should create in the local Direct in the home directory of the administrator user this thing XS x c and this needs to be executable LS L okay so the file start wm. sh has the execute mode bit and we'll also want a web browser the one that I use is Firefox if Firefox is not available because reasons then I would probably use the KD web browser which is called Falcon so package install Firefox and with that we have everything KD plusma 6 the X um or and xrdp xor xrdp server we can restart REO and prepare the command line for the RDP client this is the command line and the IP address ends with 80 so we need to edit that 192 168 122 80 user administrator initial width um and height 1080P and if there's not enough space for uh this resolution the X free RDP RDP client window will U get the available size and then it will communicate to the RDP server please change the resolution inside of FreeBSD to the um resolution of the RTP client which means there's no scaling and you can re change the resolution inside 3 BSD just by resizing the X3 RDP window the computer has finished um the virtual machine has finished booting let's see the experience trust the certificate freeb SD 141 the window this is the free RDP client window wants to be 1080p cannot so it uh is um maximized because the entire resolution of the host machine which is running kuun 2404 Linux operating system is 1080 so there's there need to be a bit of space reserved for the KD plasma panel and for the title bar of the free RDP window KD plasma is starting for the first time it's creating the needed U uh files for the user the configuration files and this is the experience that we have we have icons we have the plasma panel working we have wallpapers system train seems to be okay the start menu works okay shows U the correct um icons has most of the applications that I would find that are minimum minimum required a web browser file manager system settings Kate text editor and um really important console okay I'll put in favorites all of these applications so I want console add to favorites and um I want Kate so in favorites I should have Kate dolphin console system settings no need for fire Fox because it's already pinned to the taskbar it's pinned in here okay I unpin dolphin this is the KD app store which is named discover not yet available for FreeBSD so this icon should not be pinned in here and system settings I'm going to UNP it and that's it we have KD plasma 6 installed as well as possible on FreeBSD without compiling software at all I'm just using 3 bsd1 14.1 the PKG package manager and I'm only installing binary packages okay console and uh from here here I do my my things toolbars shown nothing okay Firefox in private window need to configure it somewhere somehow like this title bar bookmarks [Music] never no white space and two more settings tabs and download and that's it K works okay I can open the home directory I can enable the file manager plugin file system browser it's available in here terminal included I can start Kate from the console dolphy did not dolphin did not want to start the first time around well I'm actually not using dolphin at all I'm using the KD5 um application file manager conqueror um Crusader so I can just install that nor problem back here page install okay this is the bug so says PKG is not found and that's because while I'm connected um using the RDP protocol the pat environment variable is wrong because um the correct U profile configuration files for the terminal are not being invoked by default so let's fix that control D so path is um set to the correct value and then exported and uh when I want the correct Pat environment variable I'm just manually sourcing the Tilda /. profile file okay the same thing for the super user the user route okay in here um it's okay okay this brings in U KD plasma 5 packages so KD Frameworks version five cute five modules and that's okay because um Crusader has not yet been ported to cute um six it's a cute five only up for now okay deleting yeah this is where it says that um in the blog post that um plasma 6 can't coinall with plasma 5 right now so it was a bad idea to blindly install Crusader because that um undid what I did previously which is install KD Frameworks version 6 C 6 and um plasma 6 packages so that's a bad idea don't install any k D 5 packages if you just want a KD plasma 6 environment for now in um dbsd 14.1 you can install additional software from other desktop environments I know from lxq for from um xfc Etc okay so the fix is to redo this so KD Frameworks version six are marked as conflict with um kf5 KD Frameworks version five packages like this and this so it says that um executable such as K wallet query KD go Ur Handler are um not versioned so don't have a five or A6 in the file path for KD Frameworks version 5 and KD Frameworks version 6 okay and now we should be back at the correct um list of pbsd packages installed on this virtual machine additional KD6 soft software I install using the KD build framework KD SRC minus build which means building software from source and that's why I made this virtual machine have so many resources 14 virtual CPUs and um 10 gbes of r get involved to development and then set up kdsr CS build so I would install the gbsd package git I would run these lines these I would edit the pth environment variable to add dild .lo /bin to it and then I would run ksrc build initial setup and then I would run KD SRC minus build space the name of the KD package or KD application that I want to install which um has been ported to C6 so this is it this is how you install FreeBSD 14.1 in in a qm invert manager virtual machine the virtual machine is super fast um I'm connecting to the virtual machine using the RTP protocol everything's extremely Snappy context menus work everything works extremely fast I can compile software and the virtual machine is running the best current version of KD plusma 6 from uh binary packages from free bsd1 14.1 thank you
Info
Channel: nmariusp
Views: 958
Rating: undefined out of 5
Keywords: FreeBSD 14.1, KDE Plasma 6, QEMU, Virtual Machine, VM, xrdp, RDP server
Id: mmjYuDjWXto
Channel Id: undefined
Length: 45min 36sec (2736 seconds)
Published: Sun Jun 09 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.