1. SETTING UP STUFFS
Log in FreeBSD OS as root account. You are required to set up some stuffs.
Then, run the command below:
Next, you will need to set up sudo file and associate with your username. Run the command below:
Uncomment the section of the line like this:
Then, add username into sudoers file: pkg install sudo nano
nano /usr/local/etc/sudoers
%wheel ALL=(ALL) ALL %wheel ALL=(ALL) NOPASSwD: ALL %sudo ALL=(ALL) ALL
amirzaim ALL=(ALL) ALLPress Ctrl+O to save the file and then press Ctrl+X to exit.
Next, we are going to set up the desktop environment. Xorg package must be installed first before installing any kind of desktop environment. Run the command below:
Next, enter this line kern.evdev.rcpt_mask=6 on file /etc/sysctl.conf to allow ps/2 mouse especially on virtualbox.
pkg install xorg
pkg install kde5For Gnome, run the command below:
pkg install gnome3For XFCE, run the command below (login manager need to installed alongside as well):
pkg install xfce gdmDesktop environments needs /proc to be mounted, so you will need to add the line proc /proc procfs rw 0 0 on /etc/fstab
Next, open up file /etc/rc.conf and add two lines first:
dbus_enable="YES" hald_enable="YES"
For Gnome/XFCE, add these lines into /etc/rc.conf file:
gdm_enable="YES" gnome_enable="YES"For KDE, just add these lines into /etc/rc.conf file:
sddm_enable="YES"Then, reboot the virtual machine. If you seeing this logon screen, congratulations!
HELP!!! MY FREEBSD FAIL TO BOOT DUE TO SYNTAX ERROR ON /etc/rc.conf FILE!!!
Don't worry! Just enter these command here below to grant the disk access during abnormal boot:
fsck -y mount -u / mount -a -t ufs swapon -aNOTE: If you're installing FreeBSD on actual hardware instead of virtualbox, then you will need to configure graphics manually. See this FreeBSD handbook for details.
Let's go to part 3 to play it around the FreeBSD interface...
No comments:
Post a Comment