Initial install and configuration of FreeBSD!

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi everyone welcome back to the channel uh thanks for subscribing and liking i'm just gonna run through how to install and set up and configure or at least initially freebsd on a computer for you um now i'm i'm doing this on a virtual machine but that's fine so here's the the installer i'm going to assume that you've already set up your usb it's quite easy to do that you can just use rufus or whatever tool dd on on a unix or linux like box um so quickly running through here it is it's booted from the usb stick here's the install and we'll just quickly install it so choose the install you can go to the shell or a live cd but it's not a live cd in a traditional sense it's more of a rescue cd more than a live cd so we'll click install we'll choose our keyboard map now i'm in the uk so i'll just use this one i won't bother testing it because i know it works they generally do and this is just what we want to call it this is the host name here's the options we don't need the debug we will however have the ports and the source i like to put these in because i like um compiling software and the os from their source just allows me to go through it and have a look at what i'm actually doing and what i'm actually using you don't have to do it that way you can use other stuff um namely the ports namely the package system pkg uh we'll choose the auto zfs on this one the guided root on zfs but you can use the ufs or you can manually do it yourself i think for for most people the the auto will be pretty spot on for you so if we click that one it will probe the device now as you can see there's the pool name um i'll go through what some of these mean in a later video but essentially this will create a data set on your zfs um file system and again i'm not going to get into that but yeah so we'll just change this to uefi [Music] and we don't really need to change the swap we could do if we wanted to but we don't need to on this one um and then if we had multiple disks we could change the arrangement the the pool type so there's a stripe which is basically the data is just literally chucked across all the disks striped and there is also a mirror so you can have two discs with exactly the same stuff on them and if one goes you've got that redundancy um and again raid 10 which is a two-way mirror a single redundant raid so if you have one disk that fails and so on so we'll we'll go with the stripe for now and we'll proceed with the install there we go so it's just fetching the distribution from the the usb stick very quickly which is what we like to just like to see now obviously this may depend on your hardware um but generally speaking this is usually very very quick just unzipping or extracting the the base the base os then do the kernel which is not very big the lib32 stuff and then the ports so this is all the software that 45 000 packages or whatever it is that freebsd offers [Music] and then the source for the base and the kernel this is where you can recompile your kernel and your operating system and in the kernel you can add devices or take them out and make it a streamlined install however you want to do it very very customizable select your your password for root and like i said this is a virtual machine so there's my hyper-v network in the face we'll allow it to do this on ipv4 and we will select dhcp you can set a static if you want a static ip address if you know what you're doing um but nine times out of ten dhcp is is just fine for a desktop for a server you'd probably definitely want to set a static ip address we don't want to use ipv6 for the moment my isp doesn't provide ipv6 anyway and here you'll see the resolver the dns resolver uh configuration so it will search for the domain name and it will use the the two dns servers so that's 1.1. and then google for the second one select your location i'm in europe the uk and that does look reasonable to me um it is february the first and that is the correct time here we can check a few services that start on boots when you turn it on like to have the sshd secure shell damon and i like to have ntp date and ntpd so that it gets time automatically unless you're using a laptop it's really no point in using the adjust cpu frequency dynamically it's a power thing um doesn't matter on a desktop and i'm not going to worry about kernel crash dumps it just takes up space and i don't debug them anyway because i've taken all the debugging stuff out you can do a lot of this i'm just going to disable send mail [Music] and not worry about anything else [Music] and then i'll add my username for the login group you can use star for wheel either of these groups will allow you to su or become the super user and i like the csh gel which always used to be the default shell for free sd i think it still is for root home directory permissions will leave as default we'll use a password-based authentication not an empty one we won't create a random one so let's choose our password we don't want to lock it out after and that all looks reasonable to me we don't want to add another one so there we go um that's all of the configuration we'll apply that and it's finished would we like to do anything else before restarting basically is what it's asking me and i don't want to i could do i could drop down to the shell and and make some other changes but at this point it's not necessary um we will need to take our usb stick out while it's rebooting so it doesn't just boot from that again so i'll let you know when to do that you can do that now that's the usb stick removed and here we go this will be booting up our new install of freebsd it's getting its ip address setting up the date and there we go ready to log in and i can log in as gary h there we go that is how you install freebsd i hope you found this useful um please keep coming back for content i'm trying to do two to three videos a week give it a thumbs up and a like share it and subscribe and i'll see you in the next one take care you
Info
Channel: GaryH Tech
Views: 6,152
Rating: undefined out of 5
Keywords: FreeBSD, OSS, FOSS
Id: Jg4YW-8Xr_g
Channel Id: undefined
Length: 9min 27sec (567 seconds)
Published: Fri Feb 04 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.