Diff for /wikisrc/guide/exinst.mdwn between versions 1.2 and 1.4

version 1.2, 2013/03/12 22:20:54 version 1.4, 2013/03/24 17:52:45
Line 1 Line 1
   [[!toc levels=3]]
 # Example installation  # Example installation
 ## Introduction  ## Introduction
Line 535  finishing the NetBSD installation: Line 539  finishing the NetBSD installation:
 ## System configuration  ## System configuration
 The first thing you can configure is your timezone. It is *Universal Time   Having reached this point of the installation you will see the configuration 
 Coordinated* (UTC) by default, and you can use the two-level menu of   menu:
 continents/countries and cities shown below to select your timezone with the   
 Return key. Next, press `x` followed by Return to exit timezone selection.  ![Configuration menu](/guide/images/exinst_configuration_menu.png)  
   **Configuration menu**
   Here, you can do the following:
    * *Configure network* -- make changes to the network settings on the installed
      system, i.e. either configure it or if you already did, write that 
      configuration to disk.
    * *Timezone* -- set your time zone.
    * *Root shell* -- this potion allows you to choose which command line 
      interpreter, also known as *shell*, will be used for the root account.
    * *Change root password* -- set the password you will use to login in as root.
    * *Enable installation of binary packages* -- this option enables the 
      installation of binary packages (3rd party software).
    * *Fetch and unpack pkgsrc for building from source* -- install the pkgsrc 
      tree for installing third-party software from source. 
 ![Selecting the system's time zone](/guide/images/exinst_timezone.png)     * *Enable sshd* -- enable the secure shell daemon sshd(8) to allow users to 
      login over an insecure network.
    * *Enable ntpd* -- ntpd(8) is the daemon to keep the system time accurate.
    * *Run ntpdate at boot* -- sets the local date and time.
    * *Enable mdnsd* -- a daemon invoked at boot time to implement Multicast DNS 
      and DNS Service Discovery.
   #### Configure network
   The process was already described previously, you can just call it again and 
   have the results directly written to disk.
   #### Timezone
   The timezone is Universal Time Coordinated (UTC) by default, and you can use the 
   two-level menu of continents/countries and cities shown in the figure below to 
   select your timezone with the Return Key.
   ![Timezone selection](/guide/images/exinst_timezone.png)  
 **Selecting the system's time zone**  **Selecting the system's time zone**
 At this point, you are given the option to choose a password encryption scheme.   #### Root Shell
 While *DES* is the standard algorithm used on most Unix systems, *MD5*,   
 *Blowfish*, and *SHA1* allow longer passwords than DES, which only uses the   The default is the classic Bourne shell, sh(1). Other choices are the Korn shell 
 first eight characters of the password that is entered. DES is still useful for   (ksh(1)) and the C shell(csh(1)). If, upon reading this, you don't have some 
 interoperability with other operating systems.  idea of which shell you prefer, simply use the default, as this is a highly 
   subjective decision. Should you later change your mind, root's shell can always 
 ![Selecting a password encryption scheme](/guide/images/exinst_cipher.png)    be changed with the chsh(1) command or by directly editing master.passwd(5).
 **Selecting a password encryption scheme**  
   ![Root Shell](/guide/images/exinst_rootshell.png)  
 After choosing the password cipher you are asked if you want to set the root   **Root Shell**
 password. It is recommended to set a root password at this point for security   
 reasons.  #### Change root password
 ![Set a root password?](/guide/images/exinst_passwd.png)    Perhaps one of the things that you would want to configurate is your root 
 **Set a root password?**  password. If you don't, it is unset, i.e. you can login as root just by entering 
   the login name without a password.
 When you agree to set a root password, sysinst will run the   
 [passwd(1)](http://netbsd.gw.com/cgi-bin/man-cgi?passwd+1+NetBSD-5.0.1+i386)   ![Change root password](/guide/images/exinst_change_root_password.png)  
 utility for you. Please note that the password is not echoed.  **Change root password**
 ![Setting root password](/guide/images/exinst_passwd2.png)    When you agree to set a root password, sysinst will run the passwd(1) utility 
 **Setting root password**  for you. Please note that the password is not echoed:
 The next menu allows you to choose which command line interpreter - also known   ![Entering root password](/guide/images/exinst_entering_root_password.png)  
 as a `shell` - will be used for the root account. The default is the classic   **Entering the root password**
 *Bourne shell*,   
 [sh(1)](http://netbsd.gw.com/cgi-bin/man-cgi?sh+1+NetBSD-5.0.1+i386). Other   #### Enable installation of binary packages
 choices are the *Korn shell*   
 ([ksh(1)](http://netbsd.gw.com/cgi-bin/man-cgi?ksh+1+NetBSD-5.0.1+i386)) and the   This option installs pkgin(1) and initialises its database. This will feel 
 *C shell*   familiar to users of other package tools, such as apt-get, pkg or yum.
 ([csh(1)](http://netbsd.gw.com/cgi-bin/man-cgi?csh+1+NetBSD-5.0.1+i386)). If,   
 upon reading this, you don't have some idea of which shell you prefer, simply   Note that installing pkgin will need a network connection. If you didn't set it 
 use the default, as this is a highly subjective decision. Should you later   up yet, this option will call the configuration for you.
 change your mind, root's shell can always be changed.  
   ![Enable installation of binary packages](/guide/images/exinst_pkgin.png)  
   **Enable installation of binary packages**
   When the installation is finished, a short help is provided, and you can return 
   to the main menu:
   ![After enabling installation of binary packages](/guide/images/exinst_pkgin_after.png)  
   **After enabling installation of binary packages**
   #### Fetch and unpack pkgsrc for building from source.
   Use this option to download the [pkgsrc](http://pkgsrc.org) tree to install 
   additional packages by source. Note that this method in many cases conflicts 
   with binary packages, so you should decide for either one of them or use 
   different directories for installing packages.
   This will require a network connection set up, otherwise, it will ask for it 
   ![Fetch and unpack pkgsrc](/guide/images/exinst_fetch_and_unpack_pkgsrc.png)  
   **Fetch and unpack pkgsrc for building from source**
   This step will take a while, as pkgsrc consists of many small files which have 
   to be unpacked on your hard disk, and several 10MB have to be downloaded.
   #### Enabling daemons
   Finally, you can enable some daemons such as sshd(8), ntpd(8) or mdnsd(8) and 
   choose whether you want to run ntpdate(8) at boot, which will set the time no 
   matter how large the gap between "real" time and you computer's time is. ntpd 
   will not set the time when the time skew is too large.
   *Note*: You can change these settings any time you want after the installation. 
   You can either do this by directly editing the configuration files, or by 
   running sysinst(8) again (either from the running system, or from an 
   installation CD).
 ![Choosing a shell](/guide/images/exinst_shell.png)    *Note*: When you run this menu when you already installed NetBSD, but want to 
 **Choosing a shell**  configure the running system, you have to choose the hard disk NetBSD is 
   installed on. When sysinst doesn't find an NetBSD installation, it will fail, 
   and you have to choose another disk.
 ## Finishing the installation  ## Finishing the installation

Removed from v.1.2  
changed lines
  Added in v.1.4

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb