Step-by-Step Installation of OmniOS with Napp-IT

Computer scienceUpdated on 3.94 KB

Summary

This guide walks through a manual installation of OmniOS (Bloody or Stable) with the Napp-IT web management tool, covering VM or hardware setup, network configuration with static or DHCP addressing, DNS, and first access to the web interface. It also explains enabling remote root SSH access, fixing common console and Perl module issues, installing Netatalk 3 for AFP, and updating from Stable to Bloody.

Key points

  • OmniOS can run on ESXi (Solaris 10-64 VM with e1000 NIC, 15 GB minimum disk) or on hardware using SATA or USB sticks of at least 16 GB (8 GB absolute minimum).
  • Network can be set statically with ipadm create-addr -T static or via DHCP with ipadm create-addr -T dhcp, followed by adding a nameserver and copying nsswitch.dns to nsswitch.conf.
  • Napp-IT 0.9 is installed with wget -O - www.napp-it.org/nappit | perl and is accessed in a browser at http://serverip:81.
  • Remote root SSH access is enabled from the Napp-IT menu Services-SSH by allowing root.
  • Stable and Bloody builds need different Perl modules; Napp-IT 0.9 should detect the build, otherwise the matching omni_bloody or omni_stable tools folder must be copied.
  • Updating from Stable to Bloody or the newest version is done with pkg image-update.

Test yourself

Manual Installation:
Current State (Tests are Conducted in ESXi5):


1. Download OmniOS (Bloody or Stable)
2a. Option: Run on ESXi, create a new VM (Solaris 10-64) with e1000 or install on hardware (15 GB disk minimum)

2b. Run on Hardware:
You can install Omni + Napp-IT onto SATA or fast USB sticks >=16 GB (absolute minimum=8 GB when needed).
If you use USB, the best are external USB3 enclosures with a SATA SSD >=16 GB inside.
(Prefer USB3; they are mostly even faster on USB2)

3. Install with defaults from CD or USB install media, login as root (no password)

4. Setup Network. Network is set to (by default): network/physical:default,
so login as root (no password)

4.1 Create Interface
- List available interfaces and use link name, e.g., e1000g0:
dladm show-link
ipadm create-if e1000g0

4.2 Add Static IP Address
4.2.1 Create Static Address
ipadm create-addr -T static -a 192.168.0.1/24 e1000g0/v4
4.2.2 Add Default Route
route -p add default 192.168.0.254

4.3 Or Use DHCP (Select Either Static or DHCP)
ipadm create-addr -T dhcp e1000g0/dhcp


4.4 Add Nameserver
echo 'nameserver 8.8.8.8' >> /etc/resolv.conf

4.5 Use DNS (Copy Over DNS Template)
cp /etc/nsswitch.dns /etc/nsswitch.conf

5. Install Napp-IT 0.9
wget -O - www.napp-it.org/nappit | perl

6. Start Napp-IT from Your Desktop via Browser
http://serverip:81 (use the real server IP of your server)

7. Enable Remote Root Access
Napp-IT menu Services-SSH allow root

If something happens (typo error), retry; optionally delete the interface, e.g., ipadm delete-if e1000g0.

You are now able to connect via WinSCP (or Putty) as root.


Other Settings
- Reduce messages on your root console:

8. Auth Alert Messages at console (not a problem, but they disappear with)


Edit /etc/hosts and add your IP and hostname there like:
::1 localhost
127.0.0.1 localhost loghost
192.168.10.198 omnios-bloody



Problems with TTY::IO


e.g., in menu pools or user: Omni Stable and Omni Bloody need different Perl modules.
Napp-IT 0.9 should detect the Omni build and use the correct module; otherwise, try


cp /var/web-gui/data/tools/omni_bloody/. /var/web-gui/data/napp-it/
or
cp /var/web-gui/data/tools/omni_stable/. /var/web-gui/data/napp-it/


9. Netatalk 3
Basic steps done via (Stable and Bloody) using the repo http://scott.mathematik.uni-ulm.de/
wget -O - www.napp-it.org/afp | perl

Bugs and News:
Problem with AFP: missing libcrypt; you need to run
pkg install /system/library/security/libgcrypt


10. Update from Stable to Bloody to Newest
pkg image-update



About Console:
The root console is used for real-time logging and system error messages (mostly real-time monitor).
If you need to work at the console as root: login as a regular user and enter su to get superuser permissions.
Use root as a role, not as a user, besides file access via WinSCP. (You may connect via Putty as root and duplicate the session)
This may change with Napp-IT 1.0.

Download

PDF Word HTML

FAQ

How much disk space do I need to install OmniOS on a virtual machine?

The text recommends a minimum of 15 GB for the disk when installing on ESXi. No other size for virtual machines is given.

How do I update OmniOS from Stable to Bloody?

Use the command pkg image-update. The text describes this as the way to update from Stable to Bloody or to the newest version.

How can I access Napp-IT after installing it?

Open a browser and go to http://serverip:81, using the real IP address of your server.

Test yourself

Flashcards

Click a card to see the answer.

Quiz

1. What is the minimum USB stick size recommended for installing OmniOS on hardware?
2. Which command installs Napp-IT 0.9?
3. Which command creates a static IP address on interface e1000g0?
4. What must be done to allow remote root access in Napp-IT?
5. Which package is needed to fix the AFP problem with missing libcrypt?
6. What is the recommended way to use the root account at the console?

Questions generated by AI from the document: check the answers against the text.