This Repository is created as a reminder for post installation of the Operating System FreeBSD, which is a Unix-Like OS.
Stuff to do after installing FreeBSD
before doing anything make sure you use the
su
command to emulate the root user, otherwise you may face some problems.
- Install updates and patches for the running branch of FreeBSD:
freebsd-update fetch install
- Update the FreeBSD Packages Repository:
pkg update
In case you installed FreeBSD as a virtual machine using VirualBox, VirualBox comes with graphics and audio drivers which FreeBSD may have a problem identifying.
therefore we need to install and configure the emulators/virtualbox-ose-additions package
You need to install the emulators/virtualbox-ose-additions
package using the pkg
installer:
pkg install emulators/virtualbox-ose-additions
To configure the vbox additions you will need to edit the file /etc/rc.conf
using any text editor you have installed such as ee
& vi
- Edit
/etc/rc.conf
:
ee /etc/rc.conf
- Add the following at the end of the
/etc/rc.conf
file:
vboxguest_enable="YES"
vboxservice_enable="YES"
As an example we will install and configure the mate desktop
& slim
but feel free to pick a desktop you want
pkg install xorg mate-desktop mate slim
We will need to edit the /etc/rc.conf
and enable dbus & slim etc..
- Edit
/etc/rc.conf
:
ee /etc/rc.conf
- Add the following in the end of the file
dbus_enable="YES"
slim_enable="YES"
also in the slim configuration file there is a commented default_user
which we need to uncomment and
set it up to our username, location: /usr/local/etc/slim.conf
- Edit
/usr/local/etc/slim.conf
:
ee /usr/local/etc/slim.conf
- Ucomment
default_user
(remove the # before it) the end result should look like this:
default_user username
Now the final step is editing the .xinitrc
for both user & root
user: navigate to /home/username
by writing cd /home/username
,
edit .xinitrc
and add the following:
exec mate-session
root: navigate to /root
by writing cd /root
,
edit .xinitrc
and add the same thing as the user, and reboot