Changes between Version 167 and Version 168 of NanoBSD
- Timestamp:
- Jan 5, 2013, 4:45:28 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NanoBSD
v167 v168 31 31 The procedure to setup and configure a 9.0 nodefactory is similar to the 8.2 procedure described below. 32 32 33 == A. Setup a FreeBSD 8.2host ==33 == A. Setup a FreeBSD host == 34 34 ---- 35 35 Warning: 1) Make sure ''/usr'' is '''at least 5GB''' in size building as building images require quite some space. 2) Make sure you install the 32bit '''i386''' release of FreeBSD also when your system does support amd64, as cross compiling can give some nasty surprises. … … 38 38 Get yourself a fresh i386 freebsd host with ports and subversion installed as follows: 39 39 40 === A.1. Run the basic CD installer of 8.2.===41 The procedure below has been tested with 8.2-RELEASE (standard developer install - no ports -, e.g. with default partitioning will fit our needs). Installing FreeBSD is outside the scope of this document, take a look into [http://www.freebsd.org/doc/en/books/handbook/install.html the FreeBSD handbook Chapter 2 Installing FreeBSD] if you do not know the details.40 === A.1. Run the basic CD installer === 41 The procedure below has been tested with 9.0-RELEASE (standard developer install - no ports -, e.g. with default partitioning will fit our needs). Installing FreeBSD is outside the scope of this document, take a look into [http://www.freebsd.org/doc/en/books/handbook/install.html the FreeBSD handbook Chapter 2 Installing FreeBSD] if you do not know the details. 42 42 43 43 Please do mind that all commands below need to be executed as root, because of the many mounts and unmounts done in various phases. … … 48 48 build# ntpdate -s pool.ntp.org 49 49 50 === A.2. get latest sources === 51 build# csup -h cvsup.nl.freebsd.org /usr/share/examples/cvsup/standard-supfile 52 53 === A.3 fetch ports === 50 === A.2 fetch ports === 54 51 build# portsnap fetch extract 55 52 56 53 57 === A. 4set some useful variables ===54 === A.3 set some useful variables === 58 55 Alter the shell configuration file:/root/.cshrc: 59 56 {{{ … … 73 70 build# source /root/.cshrc 74 71 75 === A. 5. install subversion ===72 === A.4. install subversion === 76 73 Note: Install all packages via ports to prevent issues later on. 77 74 78 75 build# make -C /usr/ports/devel/subversion install clean BATCH=yes 79 76 80 === A. 6. OPTIONAL, every developer has his own preferences, these are mine ===77 === A.5. OPTIONAL, every developer has his own preferences, these are mine === 81 78 build# make -C /usr/ports/editors/vim-lite install clean BATCH=yes 82 79 build# make -C /usr/ports/security/sudo install clean BATCH=yes 83 80 build# make -C /usr/ports/sysutils/screen install clean BATCH=yes 81 82 === A.6. get latest sources === 83 build# svn co svn://svn.freebsd.org/base/release/9.1.0 /usr/src'' 84 84 85 == B. Build environment == 85 86 … … 99 100 B.3. Set your favorite root password to be used in the image 100 101 101 Note: you can skip this step if you are satisfied with the default password set in step A. 4above.102 Note: you can skip this step if you are satisfied with the default password set in step A.3 above. 102 103 103 104 {{{
