solaris_installation
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| solaris_installation [2013/10/12 20:03] – Text replace - "<div style="width:55%;margin:0 auto;border:2px solid;border-left:20px solid;border-color:#d9534f;text-align:center;padding:5px;font-weight:bold;">This page is out of date and needs rewriting.<br /> _hayden | solaris_installation [2026/09/27 05:35] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{OODNotice}} | ||
| - | |||
| - | |||
| - | |||
| - | ====== Tardis Solaris Installation/ | ||
| - | |||
| - | |||
| - | A fairly minimal guide to running Solaris on to Tardis systems. | ||
| - | |||
| - | |||
| - | ====== Installation ====== | ||
| - | |||
| - | |||
| - | ===== Pre-requisites ===== | ||
| - | |||
| - | * Computer - wired in, serial consoled, networked | ||
| - | * 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 [[http:// | ||
| - | |||
| - | |||
| - | ==== VLAN install ==== | ||
| - | |||
| - | Login to [[http:// | ||
| - | |||
| - | |||
| - | ==== 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 < | ||
| - | |||
| - | |||
| - | ==== Responses to non-obvious questions ==== | ||
| - | |||
| - | |||
| - | May not be conclusive, mostly from memory | ||
| - | |||
| - | * Terminal type - choose ' | ||
| - | * Install type - choose normal install. Install the whole solaris system (minus OEM support). The ' | ||
| - | * Disk layout - choose ' | ||
| - | |||
| - | |||
| - | ====== Configuration ====== | ||
| - | |||
| - | |||
| - | ===== DNS ===== | ||
| - | |||
| - | cp / | ||
| - | Then edit / | ||
| - | |||
| - | ===== LDAP Client ===== | ||
| - | |||
| - | ldapclient -v manual -a defaultSearchBase=dc=tardis, | ||
| - | -a domainName=tardis.ed.ac.uk -a defaultServerList=193.62.81.2 | ||
| - | This messes up / | ||
| - | |||
| - | |||
| - | ===== Environment tweaks ===== | ||
| - | |||
| - | |||
| - | Solaris comes with a fairly alien default configuration, | ||
| - | |||
| - | * Set the default shell to bash rather than sh (this is safe in S10). | ||
| - | * Set the default TERM variable to something less ' | ||
| - | * Edit / | ||
| - | < | ||
| - | * Export an appropriate $http_proxy variable from / | ||
| - | |||
| - | |||
| - | ===== 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 [[http:// | ||
| - | |||
| - | < | ||
| - | |||
| - | |||
| - | ===== 2.3 Minimise Network Exposure ===== | ||
| - | |||
| - | //TODO: using svcadm to disable the vast swathes of useless services// | ||
| - | |||
| - | ===== 2.4 Solaris Zones ===== | ||
| - | |||
| - | See [[http:// | ||
| - | |||
| - | ==== 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. | ||
| - | |||
| - | |||
| - | ==== 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)// | ||
| - | |||
| - | * Disable autofs | ||
| - | < | ||
| - | * Fix permissions on /home | ||
| - | < | ||
| - | * Add account | ||
| - | < | ||
| - | < | ||
| - | |||
| - | //This may all be fixable cleanly by leaving autofs running and following the instructions in the comments [[http:// | ||
| - | |||
| - | |||
