Step-by-Step Installation of OmniOS with Napp-IT
Classified in Computers
Written on in
English with a size of 3.94 KB
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.