Changes

Jump to: navigation, search

SRA840 Lab1

3,805 bytes added, 23:44, 16 July 2012
no edit summary
In the file /etc/rc.conf, we can configure the network card.
'''Start-up scripts in FreeBSD'''
In FreeBSD, the start-up scripts is in the /etc/rc.d directory. If you want to make them enable, you should set them in the /etc/rc.conf file.
 === Gregory Katherine Masseau ===
Differences in installation between FreeBSD and Linux:
So far, I haven't really found anything to dislike - maybe something will come up later on, during use, but I have no issues with the installer.
 
=== Nestor CHAN ===
I tried to install FreeBSD in my virtual machine for few times. But I still havn't figured out the proper way to install. Instead, I found some valuable, fantastic resources about the differences between Linux, BSD and Solaris. I.'ve summerise and organised the articles and I would love to share with you
 
==== DIFFERENCES BETWEEN LINUX, FREEBSD AND SUN SOLARIS ====
===== PROCESS =====
The basic unit of scheduling in FreeBSD is the thread; and in Linux, the task_struct. Linux represents processes (and threads) by task_struct structures. A single-threaded process in Linux has a single task_struct. A single-threaded process in FreeBSD has a proc struct, a thread struct, and a ksegrp struct. The ksegrp is a "kernel scheduling entity group." Effectively, both OSes schedule threads, where a thread is a task_struct in Linux and a thread structure in FreeBSD.
 
===== MEMORY =====
FreeBSD describes its process address space by a vmspace, divided into logical sections called regions. Hardware-dependent portions are in the "pmap" (physical map) module and "vmap" routines handle hardware-independent portions and data structures. Linux uses a memory descriptor to divides the process address space into logical sections called "memory areas" to describe process address space. Linux also has a pmap command to examine process address space.
 
=====FILES SYSTEM=====
'''FreeBSD'''
ufs Default local file system (ufs2, based on BSD Fast Filesystem)
defvs Keeps track of /dev files
ext2 Linux ext2 file system (GNU-based)
nfs Remote files
ntfs Windows NT file system
smbfs Samba file system
portalfs Mount a process onto a directory
kernfs Files containing various system information
 
'''Linux'''
ext3 Journaling, extent-based file system from ext2
ext2 Extent-based file system
afs AFS client support for remote file sharing
nfs Remote files
coda Another networked file system
procfs Processes, processors, buses, platform specifics
reiserfs Journaling file system
 
===Varinder Singh===
 
Installation of freeBSD is a lot different than Other distro i.e. Fedora and Ubuntu. I had installed freeBSD as a virtual machine on Fedora 9.0. with Sun's Virtual Box. During installtion VirtulaBox automatically assign 2GB harddisk space. But when i selected Automatic paritions allocation it raised and error "no space to create partition /usr. After aloting 4GB space it works fine. After installation created the user with "adduser" instead of useradd. adduser command ask lot of quesion while creating. Installtion of packages is a difficult task. Had installed the X-servers/Gnome packages But still unable to run Gnome on FreeBSD.
 
===Mohak Vyas===
Tips & Tricks
 
* Enable root login: login as root. Issue the command 'pw mod user <username> -G wheel'. After issuing this command you'll be able to login as a root from given <username>
 
* Gnome on FreeBSD: Download the gnome package either during the installation or separately. As a root user add the line 'gnome_enable="YES"' to /etc/rc.conf, then reboot your machine. When you'll boot up you will see gnome desktop environment.
 
===Milton Paiva===
 
*I installed FreeBSD 7.1 on my laptop in a virtual machine that a run on Virtual Box. In the beginning I missed a lot the system-config-* commands I was used to have on Fedora, but time goes on and I found another ways to set up a nic, check the routing table "netstat -r".
*The biggest difference I found was that FreeBSD has all the services setted by default as "locked", then if you need to run something, you have to go there and enable it by yourself.
*Free BSD is not for beginners, once it ask you for everything it need. The opposite of Fedora or Ubuntu, that try to make everything for the user, without asking lot of questions.

Navigation menu