User Tools

Site Tools


usersguide:postinstallation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
usersguide:postinstallation [2016/01/23 16:45]
andytanenbaum [Getting OpenSSH and Logging in Remotely with It]
usersguide:postinstallation [2017/05/25 08:59] (current)
clarkleach [KYUA tests] Fixed spelling and grammar errors.
Line 40: Line 40:
  
 The same is true if you disable the running of the DHCP client at system initialization time and instead manually assign a static IP address (see boot(8) for more information). So if you know what the IP address will be and wish to assign a name to your MINIX host, enter the address/​name pair into /etc/hosts (see hosts(5) for specific information about the format of that file). The same is true if you disable the running of the DHCP client at system initialization time and instead manually assign a static IP address (see boot(8) for more information). So if you know what the IP address will be and wish to assign a name to your MINIX host, enter the address/​name pair into /etc/hosts (see hosts(5) for specific information about the format of that file).
 +
 +For further information on post-installation network configuration see [[usersguide:​networkconfiguration|here]].
  
 ===== Installing Binary Packages ===== ===== Installing Binary Packages =====
Line 49: Line 51:
  
 ===== Getting OpenSSH and Logging in Remotely with It ===== ===== Getting OpenSSH and Logging in Remotely with It =====
-The PKGSRC OpenSSH package contains both the client (ssh) and the daemon (sshd). ​To install it after you have done pkgin update, type: pkgin install openssh. Then type: reboot to start the daemon. ​We recommend installing this, as it allows ssh access from another host, which improves greatly the user experience in the absence of X11.+[[https://​wiki.netbsd.org/​guide/​rc/#​index4h2|rc.d scripts of 
 +additional services]]:​ 
 + 
 +The PKGSRC OpenSSH package contains both the client (ssh) and the daemon (sshd). ​ We recommend installing this, as it allows ssh access from another host, which improves greatly the user experience in the absence of X11.
  
 If you installed MINIX in a virtual machine, please refer to the [[usersguide:​start | Virtualization]] chapter for your virtual machine monitor of this user guide for further instructions on how to enable network access to the MINIX guest. If you installed MINIX in a virtual machine, please refer to the [[usersguide:​start | Virtualization]] chapter for your virtual machine monitor of this user guide for further instructions on how to enable network access to the MINIX guest.
  
-To access MINIX 3 via sshnote the IP address in the promptsayaaa.bbb.ccc.ddd, and proceed as follows:\\ +To installstartand automatically start sshddo these commands, referring to [[https://​wiki.netbsd.org/​guide/​rc/#​index4h2|rc.d scripts of 
 +additional services]] for explanation:​
 <​code>​ <​code>​
 # pkgin update # pkgin update
-# pkgin openssl +# pkgin install openssh 
-user add -m mary +cp /​usr/​pkg/​etc/​rc.d/​sshd /etc/rc.d/ 
-shutdown -r now+printf '​sshd=YES\n'​ >> /​etc/​rc.conf 
 +# /​etc/​rc.d/​sshd start
 </​code>​ </​code>​
  
-where "​mary"​ is the name of the user you want to log in as (if it does not already exist). Then on a different computertype: \\+If you want to enable ssh login as root (dangerous), edit /​usr/​pkg/​etc/​ssh/​sshd_config and change the line that reads \\ #​PermitRootLogin prohibit-password\\ to \\ PermitRootLogin yes 
 + 
 +===== Installing Common Packages ===== 
 +A script is available to install about 700 commonly used packages, organized in three sets. To install them, type the following commands and answer Y each time you are asked about a set.
 <​code>​ <​code>​
-# ssh mary@aaa.bbb.ccc.ddd+pkgin update 
 +pkgin_sets
 </​code>​ </​code>​
 +Note that you don't need to run pkgin update every time you run pkgin. Just before the first use.
  
-If you want to enable ssh login as root (dangerous),​ edit /​usr/​pkg/​etc/​ssh/​sshd_config and change the line that reads \\ #​PermitRootLogin prohibit-password\\ to \\ PermitRootLogin yes 
  
 ===== Using Virtual Terminals ===== ===== Using Virtual Terminals =====
Line 90: Line 100:
  
  
-===== Running the test sets =====+===== Running the Test Sets =====
 After installing MINIX, you can check the status of your system by running different tests. After installing MINIX, you can check the status of your system by running different tests.
  
Line 101: Line 111:
 </​code>​ </​code>​
  
-**Warning:​** This test suite is extremely extensive, and my take up to several hours to complete, depending on your hardware. The usual run time on current ​computer ​(about 2GHz Intel CPUs) is about half an hour.+**Warning:​** This test suite is extremely extensive, and may take up to several hours to complete, depending on your hardware. The usual run time on current ​computers ​(about 2GHz Intel CPUs) is about half an hour.
  
-You might see some warning, those are fine as long as the test prints "​ok"​ at the end.+You might see some warnings, those are fine as long as the test prints "​ok"​ at the end.
  
 After all the tests have been run, a summary will be printed. After all the tests have been run, a summary will be printed.
Line 109: Line 119:
 ==== KYUA tests ==== ==== KYUA tests ====
  
-We have imported the KYUA test suits. At this moment ​we have not yet spent much time trying to get all tests to pass. It is expected that some are marked as brokenand / or failed.+We have imported the KYUA test suites. At this time we have not yet spent much time trying to get all tests to pass. It is expected that some are marked as broken and/or failed.
  
-Also not everything which is tried is relevant on MINIX, for example we do not have quota support, which is why all the related tests fail.+Alsonot everything which is tried is relevant on MINIX, for example we do not have quota support, which is why all the related tests fail.
  
 Anyway, to see how much MINIX is NetBSD-compatible,​ you can run the kyua tests as follow: Anyway, to see how much MINIX is NetBSD-compatible,​ you can run the kyua tests as follow:
Line 120: Line 130:
 </​code>​ </​code>​
  
-To see the report, you can use on of+To see the report, you can use one of the following commands:
  
 <​code>​ <​code>​
Line 134: Line 144:
  
 See [[DevelopersGuide:​TrackingCurrent]]. See [[DevelopersGuide:​TrackingCurrent]].
- 
usersguide/postinstallation.1453585530.txt.gz · Last modified: 2016/01/23 16:45 by andytanenbaum