SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


Sidebar

Sponsor:

Would you like to sponsor this site?
Or buy me a beer?:


Recently Changed Pages:

View All Pages
View All Q Pages


View All Tags


Sign up for Q to post comments.





WIKI Disclaimer: As with most other things on the Internet, the content on this wiki is not supported. It was contributed by me and is published “as is”. It has worked for me, and might work for you.
Also note that any view or statement expressed anywhere on this site are strictly mine and not the opinions or views of my employer.


Terms And Conditions for Q users


Pages with comments

PageDateDiscussionTags
2018/11/10 11:24 2 Comments
2017/04/20 16:35 1 Comment
2017/04/20 15:28 1 Comment
2017/04/20 15:23 1 Comment
2017/04/19 14:59 1 Comment
2017/04/19 14:45 3 Comments
2017/04/19 14:44 1 Comment
2017/04/17 20:10 1 Comment
2017/04/17 20:07 1 Comment
2017/04/17 19:58 1 Comment
2017/04/17 19:52 1 Comment

View All Comments

installsolaris10u8

Install Solaris 10 Update 8

This is an installation report for installing a default Solaris 10 update 8 server. Note that the server is a virtual machine with a new VMXNET3 network card. This network card is not supported by the Solaris native filesystem so to the installation process is like there is no network card to configure. We'll install and configure the network card afterwards after installing the VMware Tools. Also note that the VMware Paravirtual SCSI adapter is not supported on Solaris so keep the default SCSI controller.

Used Media: sol-10-u8-ga-x86-dvd.iso

Note: If you're looking for a installation with the root filesystem being ZFS, take a look at Install Solaris 10 Update 9 - ZFS only.

Starting the Installation

Boot the VM using the media and select the Solaris Interactive (default) installation method:
solaris10u08-01.jpg

Select your keyboard layout (note that you have to confirm your choice with <F2>:
solaris10u08-02.jpg

Now the graphical part of the installation starts and you'll have to enter the hostname:
solaris10u08-03.jpg

Now keep the NFS settings on the default (Use the NFSv4 domain derived by the system):
solaris10u08-04.jpg

Then set the time by defining the timezone, country and actual time:
solaris10u08-05.jpg

solaris10u08-06.jpg

solaris10u08-07.jpg

Then enter the root password you want to use and select “No” to only enable SSH as the remote service:
solaris10u08-09.jpg

Then confirm your settings so the software installer can start. Use these installer options, do not automatically reboot after software installation but do eject CD/DVDs after installation:
solaris10u08-12.jpg

Specify the media from which you are installing (CD/DVD), accept the license agreement and select the default installation type: solaris10u08-15.jpg

Then you get to confirm your settings again and the installation start. Afterwards you'll have to reboot:
solaris10u08-18.jpg

After the reboot you get a login window:
solaris10u08-19.jpg

Post Installation

Install VMware Tools

Install VMware Tools according to the manual which comes down to:

  • Click VM in the virtual machine menu, then click Guest → Install/Upgrade VMware Tools and click OK.
  • Then use these commands to install the tools:
    # cp /cdrom/vmwaretools/vmware-solaris-tools.tar.gz /tmp
    # cd /tmp
    # gunzip vmware-solaris-tools.tar.gz
    # tar xvf vmware-solaris-tools.tar
    # cd vmware-tools-distrib
    # ./vmware-install.pl
  • Follow the prompts and reboot

Afterwards you can check the installation like this:

# /etc/init.d/vmware-tools status
vmware-guestd is running
vmware-memctld is running

Network Configuration

As it turns out, VMware also has a really nice article on configuring the network on a VMXNET3 network adapter. I'll walk you through the steps.
Find the name of the network card in the messages logfile:

# grep -i vmxnet /var/adm/messages

You'll see messages containing the name of the network card which should be similar to “vmxnet3s0”. Now activate the network card:

# ifconfig vmxnet3s0 plumb

Now set the actual network configuration:

# echo "bmrtest02" > /etc/nodename
# echo "bmrtest02" > /etc/hostname.vmxnet3s0
# echo "10.10.10.14 bmrtest02" >> /etc/inet/ipnodes
# echo "10.10.10.100" > /etc/defaultrouter
# echo "10.10.0.0 255.255.0.0" >> /etc/inet/netmasks

And then restart the network service:

# svcadm restart network/physical


IMPORTANT NOTE: in the VMware article they also want you to do this command: echo "10.10.10.14 bmrtest02" >> /etc/inet/hosts. However, the files /etc/inet/ipnodes and /etc/inet/hosts both point to the same file through a symbolic link: /etc/hosts. After adding the entry the file will look like this:
#
# Internet host table
#
::1    localhost       loghost bmrtest02
127.0.0.1       localhost       loghost    bmrtest02
10.10.10.14 bmrtest02

But because there are also entries for the hostname for ::1 and 127.0.0.1 you'll have to remove this to make this configuration work:

#
# Internet host table
#
::1    localhost       loghost 
127.0.0.1       localhost       loghost    
10.10.10.14 bmrtest02
Note: You can also configure the network for one time use (not persistent over reboots) by using ifconfig:
# ifconfig vmxnet3s0 10.10.10.14 netmask 255.255.0.0 up

Setup DNS Client

Enter the correct DNS information into the dns configuration files file:

# echo "search getshifting.local" > /etc/resolv.conf
# echo "nameserver 10.10.10.1" >> /etc/resolv.conf
# echo "nameserver 10.10.10.11" >> /etc/resolv.conf
# echo "getshifting.local" > /etc/defaultdomain

And change the /etc/nsswitch.conf file to also look at dns for hostname resolving since it only looks at the hosts file by default:

hosts:      files dns

SSH Access

Right now you only have one user root which is not allowed to login using ssh by default. Edit the file /etc/ssh/sshd_config to allow root access using ssh:

PermitRootLogin yes

and restart ssh:

# svcadm restart svc:/network/ssh:default

Firewall

If you have any network connectivity problem you can try to disable the firewall:

# svcadm disable svc:/network/ipfilter:default

Resources

You could leave a comment if you were logged in.
installsolaris10u8.txt · Last modified: 2013/09/20 11:26 by sjoerd