4. Ok, the VM is created, now let’s configure it by attaching the S11.1 installation media, and adding
a network adapter (I will add a another NIC later for my LAN access) :
Laurent Leturgez – http://laurent-leturgez.com
4
5. And boot the VM …
2
S11.1 installation step by step
Select your keyboard layout
Laurent Leturgez – http://laurent-leturgez.com
5
6. And the language for your installation.
Select Oracle Solaris Installation
During the installation process, you can go to the next step by pressing F2 and go back by
pressing F3. Everything you can do is mentionned on the bottom of the screen :
Laurent Leturgez – http://laurent-leturgez.com
6
7. In the next screen, I will use the local discovery method because my disk is locally attached.
Select the discovered disk where you want to install S11 and then press F2.
In this screen, i choose to use the entire disk for my installation. You can select another partition
by selecting “Use a GPT partition of the disk”.
Laurent Leturgez – http://laurent-leturgez.com
7
8. Enter the computer name (short name), and choose how you want to configure your network. I
decided to configure my network automatically (DHCP).
No alternative name service.
Ok, now it’s time to configure time related information, first of all … Time zone
Laurent Leturgez – http://laurent-leturgez.com
8
9. Ok timezone set.
And next, date and time set.
Laurent Leturgez – http://laurent-leturgez.com
9
10. Set the root password and eventually, create a user account.
No need to register your system … it’s a VM
Configure the method to access oracle servers for OCM and Automatic SR features. Here it
doesn’t make sense.
Laurent Leturgez – http://laurent-leturgez.com
10
11. Review your configuration and press F2 to install.
Install in progress …
At the end of the process, you have to reboot your VM by pressing F8. In my case, instead of
rebooting the server, I shut it down and take the time to detach the installation medium and to
configure another Network adapter plugged into my LAN.
Laurent Leturgez – http://laurent-leturgez.com
11
12. Now I can boot my VM … I’m ready to configure it.
3
3.1
S11 Configuration
Network configuration
To configure network, I used the same method I described in this blog post : http://laurentleturgez.com/2012/08/01/build-a-basic-network-configuration-on-solaris-11/
Net1/v4 has to be configured
Link is up,so we can configure this NIC.
Laurent Leturgez – http://laurent-leturgez.com
12
13. As we configured DHCP client on a NAT Virtualbox NIC, we retrieved DNS information:
Now I can access to my VM from a putty client. But root access is disabled by default in sshd
config. So you have to modify the sshd config and restart the daemon
Laurent Leturgez – http://laurent-leturgez.com
13
14. 3.2
Package repository configuration and updates
If you want to add some package to your system. You can configure a local repository (and
download the repo ;) ) or use a remote repository (default configuration).
As I configured my internet access, I can use the default.
root@S11:~# pkg publisher
PUBLISHER
TYPE
STATUS P LOCATION
solaris
origin
online F
http://pkg.oracle.com/solaris/release/
root@S11:~# pkg publisher solaris
Publisher:
Alias:
Origin URI:
SSL Key:
SSL Cert:
Client UUID:
Catalog Updated:
Enabled:
solaris
http://pkg.oracle.com/solaris/release/
None
None
ddee2130-0292-11e2-b9e5-80144f013e20
November 9, 2011 03:34:27 PM
Yes
(If you want to configure other repositories, you can follow instructions at this link :
http://docs.oracle.com/cd/E23824_01/html/E21802/publisher-config.html)
3.3
XWindow basic configuration
To configure a basic XWindow config (needed to export X display), execute commands above :
root@S11:~# pkg install SUNWarc SUNWbtool SUNWhea SUNWlibms SUNWmfrun
SUNWxorg-client-programs SUNWxorg-clientlibs SUNWxwfsw
pkg://solaris/SUNWxwplt truetype/fonts-core
Packages to install: 65
Create boot environment: No
Create backup boot environment: No
Services to change: 5
DOWNLOAD
SPEED
Completed
280k/s
PKGS
FILES
XFER (MB)
65/65
5045/5045
40.9/40.9
PHASE
Installing new actions
Updating package state database
Updating image state
Creating fast lookup database
ITEMS
6797/6797
Done
Done
Done
Then logoff and login, you can now export your display and launch X Programs:
ssh root@192.168.99.130
Last login: Wed Oct 16 14:14:47 2013 from 192.168.99.1
Oracle Corporation
SunOS 5.11
11.1
September 2012
root@S11:~# echo $DISPLAY
localhost:10.0
root@S11:~# xlogo
Laurent Leturgez – http://laurent-leturgez.com
14
15. 3.4
Desktop Manager
If you want to configure a Desktop Manager, you have to install the slim_install package which
deploys 315 packages to your system … so it can take a while.
root@S11:~# pkg install slim_install
Packages to install: 315
Create boot environment: No
Create backup boot environment: Yes
Services to change: 13
DOWNLOAD
SPEED
Completed
259k/s
PKGS
FILES
XFER (MB)
315/315
50633/50633
524.2/524.2
PHASE
Installing new actions
Updating package state database
Updating image state
Creating fast lookup database
ITEMS
81666/81666
Done
Done
Done
Reboot your machine and you will display a nice Desktop manager environment:
Now if you want to complete the configuration of your system, you can read this document :
http://www.oracle.com/technetwork/server-storage/solaris11/documentation/solaris-11-cheatsheet-1556378.pdf
Laurent Leturgez – http://laurent-leturgez.com
15