Changes

Jump to navigation Jump to search
m
no edit summary
Line 3: Line 3:  
Current:
 
Current:
   −
1. Make Backup of the System Disk (dd = disk dump)
+
1. Make Backup of the System Disk (dd = disk dump) , boot o a FreeBSD Stick and mount a USB Drive
    
2. Use a copy of the current updated "GENERIC" Kernel Config File !! (located /usr/src/sys/amd64-or-i386/GENERIC)
 
2. Use a copy of the current updated "GENERIC" Kernel Config File !! (located /usr/src/sys/amd64-or-i386/GENERIC)
Line 40: Line 40:  
mergemaster -p
 
mergemaster -p
 
make -s installworld
 
make -s installworld
mergemaster -i
+
mergemaster -FiU
 
</pre>
 
</pre>
 
13. enable services at /etc/rc.conf remove "#" and  Reboot the FreeBSD Server
 
13. enable services at /etc/rc.conf remove "#" and  Reboot the FreeBSD Server
Line 46: Line 46:  
14. TEST THE SYSTEM + DO SECURITY CHECKS! (sockstat -4 / -6 = open Ports)
 
14. TEST THE SYSTEM + DO SECURITY CHECKS! (sockstat -4 / -6 = open Ports)
    +
15. Backup with tar /usr/ports and /usr/src to a tar archive for each folder! Prevents you from broken SVN Tree Updates!!
   −
<hr>
+
Remark: If you have a Multi CORE CPU System you often read Tuning Tips on setting "-j5" after the make Option! Don't use it on Production Systems it can break the Build Process cause the Maintainer / Developers of the Pakets SET the correct Settings for '''successful''' and '''clean''' builds!! Often Users asked me why the "build world" breaks or the "port build" breaks!
   −
Old 7.XX:
+
Make Process runs safe on normal Mode, cause it prevent the build processes from blocking access each other or on Library Files!!!
<pre>
+
Give the System to compile clean and safe..
- insert Freebsd i386 CD (netinstall)
  −
- Boot Server from CD
  −
- select keyboard for your Country
  −
- select Custom Expert Install at Install Mananger "sysinstall"
  −
- make a "minimal" setup
  −
- reboot
  −
- login as root
  −
- start $sysinstall
  −
- select distributions
  −
- select src
  −
- select base+tools+sys
  −
- install sources from ftp.freebsd.org
  −
exit sysinstall mananger
  −
- as root go $cd /usr/src/sys/i386/conf
  −
download "custom" Kernelfile from here
  −
- copy into custom into /usr/src/sys/i386/conf
  −
- run as root:
  −
$/usr/sbin/config custom
  −
$cd ..compile/custom
  −
$make cleandepend
  −
$make depend
  −
$make
  −
$make install
  −
$make clean
  −
</pre>
  −
[[KERNEL-FILE-CONFIG]]
 

Navigation menu