solaris_installation
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| solaris_installation [2005/12/30 04:13] – _seth | solaris_installation [2026/09/27 05:35] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | |||
| - | ====== Tardis Solaris Installation/ | ||
| - | |||
| - | |||
| - | A fairly minimal guide to running Solaris on to Tardis systems. | ||
| - | |||
| - | |||
| - | ====== Installation ====== | ||
| - | |||
| - | |||
| - | |||
| - | ===== Pre-requisites ===== | ||
| - | |||
| - | |||
| - | < | ||
| - | * Install media (or install jumpstart server) | ||
| - | * IP address - find something free in appropriate VLAN/subnet | ||
| - | * Hostname - pick something, have DNS admin add it to the DNS | ||
| - | </ | ||
| - | |||
| - | ===== Pre-install setup ===== | ||
| - | |||
| - | |||
| - | Attempt to do the following before installing the new machine. Generally you will require someone else to to complete some or all of these tasks, depending on whether you have/need access to the Spiderport/ | ||
| - | |||
| - | |||
| - | ==== Configure spiderport ==== | ||
| - | |||
| - | |||
| - | Login to spiderport (requires access to admin machine, eg baker or davison) and configure tcp port n to map to the serial port you plugged the new machine into, where n is the last octet of the IP address chosen for the new system. | ||
| - | |||
| - | |||
| - | ==== VLAN install ==== | ||
| - | |||
| - | |||
| - | Login to switch, map chosen ethernet port into the approriate VLAN. | ||
| - | |||
| - | |||
| - | ==== Firewall configuration ==== | ||
| - | |||
| - | |||
| - | Allow outgoing DNS, HTTP Proxy Access (if required). | ||
| - | |||
| - | Allow incoming SSH (if required). | ||
| - | |||
| - | |||
| - | ===== Solaris Install ===== | ||
| - | |||
| - | |||
| - | Put install media in drive. | ||
| - | |||
| - | Connect to the serial console on the new machine (would advise running this inside a screen session, in case the connection fails and context is lost). Drop machine to the prom (^] then send break from the telnet> prompt), type boot cdrom at the go prompt to begin the interactive installer program. | ||
| - | |||
| - | Most of the questions in the installer program can be answered with common sense. Remeber to use < | ||
| - | |||
| - | |||
| - | ==== 1.3.1 Non-obvious ==== | ||
| - | |||
| - | |||
| - | May not be conclusive, mostly from memory | ||
| - | |||
| - | < | ||
| - | * Install type - choose normal install. Install the whole solaris system (minus OEM support). The ' | ||
| - | * Disk layout - choose ' | ||
| - | </ | ||
| - | |||
| - | ====== Configuration ====== | ||
| - | |||
| - | |||
| - | ===== 2.1 Environment tweaks ===== | ||
| - | |||
| - | |||
| - | Solaris comes with a fairly alien default configuration, | ||
| - | |||
| - | < | ||
| - | * Set the default TERM variable to something less ' | ||
| - | * Edit / | ||
| - | </ | ||
| - | / | ||
| - | |||
| - | < | ||
| - | </ | ||
| - | |||
| - | ===== 2.2 Package Manager ===== | ||
| - | |||
| - | |||
| - | pkg-get is an apt-ish package manager for Solaris for installing unofficial community software builds. You can install pkg-get from blastwave.org. Usage is fairly trivial, eg: | ||
| - | |||
| - | pkg-get -i vim | ||
| - | |||
| - | |||
| - | ===== 2.3 Minimise Network Exposure ===== | ||
| - | |||
| - | TODO: using svcadm to disable the vast swathes of useless services | ||
| - | |||
| - | ===== 2.4 Solaris Zones ===== | ||
| - | |||
| - | See Zones FAQ on opensolaris.org. | ||
| - | |||
| - | ==== 2.4.1 Creating and installing a zone ==== | ||
| - | |||
| - | |||
| - | reaper:~# zonecfg -z < | ||
| - | db: No such zone configured | ||
| - | Use ' | ||
| - | zonecfg: | ||
| - | zonecfg: | ||
| - | zonecfg: | ||
| - | zonecfg: | ||
| - | zonecfg: | ||
| - | zonecfg: | ||
| - | zonecfg: | ||
| - | zonecfg: | ||
| - | |||
| - | reaper:~# zoneadm -z < | ||
| - | reaper:~# zoneadm -z < | ||
| - | reaper:~# zlogin -e] -C < | ||
| - | |||
| - | Then follow the above guidelines on setting up the Solaris environment. | ||
| - | |||
| - | |||
| - | ==== 2.4.2 Useful info ==== | ||
| - | |||
| - | Connecting to the console on a zone | ||
| - | It is necessary to change the escape char for zlogin, because by default it is the same as ssh (~) which will create confusion if you're logged in through a chain of ssh sessions. | ||
| - | |||
| - | zlogin -e] -C < | ||
| - | |||
| - | To disconnect from a zone, first log out, then type ]. after a newline. | ||
| - | Adding user accounts (you cannot ssh into the root account) | ||
| - | |||
| - | < | ||
| - | </ | ||
| - | svcadm disable svc:/ | ||
| - | |||
| - | < | ||
| - | </ | ||
| - | chmod 755 /home | ||
| - | |||
| - | < | ||
| - | </ | ||
| - | useradd -m -d / | ||
| - | |||
| - | passwd username | ||
solaris_installation.1135916019.txt.gz · Last modified: (external edit)
