boring, and a sort of a lost momentum is there
Some seminar to attend:
Example again: I think there is slipup where "worrier" should have been warrior? Happens to me sometimes.
1. Do not exit install after finishing and answer yes to get to Shell. Once at the prompt type in
... And of course exit to exit shell and reboot.
2. Assuming you already setup your network card in the install steps and you are connected via ssh, the focus is now to edit three files: /etc/rc.conf; /etc/resolv.conf; /etc/hosts;
3. And there is also the /etc/wpa_supplicant.conf that covers wireless connection.
However, I will spare the detail since that can be found in the forum. What is to note is the focus on those files. Yes files that needs your attention.
PRE BUILD TASKS:
THE BUILD:
Of course it sounds better than my last post on the issue. I guess I got too sentimental and neither google let me find the aim. However, it feels like a more stable ground now.
https://forums.freebsd.org/threads/59613/
Good luck!
Some seminar to attend:
Example again: I think there is slipup where "worrier" should have been warrior? Happens to me sometimes.
1. Do not exit install after finishing and answer yes to get to Shell. Once at the prompt type in
ee /etc/ssh/sshd_config
# means edit the ssh configuration
Code:
# uncomment and change the lines per following example (do not make any other changes)
PermitRootLogin yes
StrictModes yes
RSAAuthentication yes
HostbasedAuthentication no
IgnoreUserKnownHosts no
IgnoreRhosts yes
PasswordAuthentication yes
PermitEmptyPasswords no
PrintMotd yes
UseDNS no
# (ee save: press escape and (a) (a))
... And of course exit to exit shell and reboot.
2. Assuming you already setup your network card in the install steps and you are connected via ssh, the focus is now to edit three files: /etc/rc.conf; /etc/resolv.conf; /etc/hosts;
3. And there is also the /etc/wpa_supplicant.conf that covers wireless connection.
However, I will spare the detail since that can be found in the forum. What is to note is the focus on those files. Yes files that needs your attention.
PRE BUILD TASKS:
gpart show da0
Code:
=> 0 570310591 da0s1 BSD (272G)
0 134217728 1 freebsd-ufs (64G) da0s1a fs-root
134217728 134217728 2 freebsd-ufs (64G) da0s1b fs-usr
268435456 134217728 4 freebsd-ufs (64G) da0s1d fs-var
402653184 16777216 5 freebsd-ufs (8.0G) da0s1e fs-tmp
419430400 33554432 6 freebsd-ufs (16G) da0s1f fs-/usr/obj
452984832 67108864 7 freebsd-ufs (32G) da0s1g fs-zbk
520093696 16777216 8 freebsd-swap (8.0G) da0s1h fs-spare
536870912 33439679 - free - (16G)
df -h
Code:
Filesystem Size Used Avail Capacity Mounted on
/dev/da0s1a 62G 176M 57G 0% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/da0s1b 62G 1.3G 56G 2% /usr
/dev/da0s1d 62G 37M 57G 0% /var
/dev/da0s1e 7.7G 32M 7.1G 0% /tmp
/dev/da0s1f 15G 32M 14G 0% /usr/obj
/dev/da0s1g 31G 32M 28G 0% /zbk
Code:
# pre-build tasks
pkg upgrade -f pkg
pkg upgrade -f
# svn install
pkg install subversion
rm -R /usr/ports
# base - Revision 313376: /stable/11
svn checkout https://svn.freebsd.org/base/stable/11/ /usr/src
# *** press p to accept permanent certificate
# ports - Revision 433530: /head
svn checkout https://svn.freebsd.org/ports/head/ /usr/ports
mkdir -p /usr/ports/distfile && \
mkdir -p /usr/ports/packages
#
# END of pre-build
#
shutdown -r now
THE BUILD:
Code:
# check number of cpu cores
sysctl hw.model hw.machine hw.ncpu
Code:
hw.model: Intel(R) Xeon(R) CPU E5440 @ 2.83GHz
hw.machine: amd64
hw.ncpu: 8
df -h
Code:
Filesystem Size Used Avail Capacity Mounted on
/dev/da0s1a 62G 176M 57G 0% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/da0s1b 62G 4.5G 53G 8% /usr
/dev/da0s1d 62G 104M 57G 0% /var
/dev/da0s1e 7.7G 32M 7.1G 0% /tmp
/dev/da0s1f 15G 32M 14G 0% /usr/obj
/dev/da0s1g 31G 32M 28G 0% /zbk
Code:
cd /usr/src
rm -rf /usr/obj/*
# script /var/tmp/mw.out # for some reason I skipped this one
make -j8 buildworld # @2334 completed 0019
# make sure we have a GENERIC config in the /usr/src
ls -l /usr/src/ | grep GENERIC
# if missing file, copy from svn output
cp /usr/src/sys/amd64/conf/GENERIC /usr/src/GENERIC
make buildkernel KERNCONF=GENERIC # @0052
make installkernel
make installworld
mergemaster -Ui
shutdown -r now # @0058
df -h
Code:
Filesystem Size Used Avail Capacity Mounted on
/dev/da0s1a 62G 292M 57G 1% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/da0s1b 62G 5.2G 52G 9% /usr
/dev/da0s1d 62G 104M 57G 0% /var
/dev/da0s1e 7.7G 32M 7.1G 0% /tmp
/dev/da0s1f 15G 5.8G 8.4G 41% /usr/obj
/dev/da0s1g 31G 32M 28G 0% /zbk
Code:
#
cd /usr/src
make check-old
#To remove old files and directories run 'make delete-old'.
#To remove old libraries run 'make delete-old-libs'.
yes|make delete-old
yes|make delete-old-libs
# END of my fresh build @ 0105 about one hour and a half
df -hc
Code:
Filesystem Size Used Avail Capacity Mounted on
/dev/da0s1a 62G 292M 57G 1% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/da0s1b 62G 5.2G 52G 9% /usr
/dev/da0s1d 62G 104M 57G 0% /var
/dev/da0s1e 7.7G 32M 7.1G 0% /tmp
/dev/da0s1f 15G 5.8G 8.4G 41% /usr/obj
/dev/da0s1g 31G 32M 28G 0% /zbk
total 240G 11G 209G 5%
Of course it sounds better than my last post on the issue. I guess I got too sentimental and neither google let me find the aim. However, it feels like a more stable ground now.
https://forums.freebsd.org/threads/59613/
Good luck!
Last edited: