If a man speaks in a forest, and his wife's not there, is he still wrong?

OpenSolaris 2008.11 installation

I've decided to give OpenSolaris 2008.11 a go as my main desktop environment.

These are some notes I made detailing the process, including some gotchas I ran into.

Boot from the 2008.11 Live CD.

Choose first option from GRUB boot menu: "OpenSolaris 2008.11 snv_101b_rc2 X86"

Choose keyboard layout (option 40 - UK-English)

Choose desktop language (option 3 - English)

Launch the installer from the "Install OpenSolaris" link on the desktop.

Click 'Next' at the Welcome page

Select the first hard drive - c3t0d0 in my case

 - one thing that is not stated in the installer screen is that in order to mirror the root file-system it must be installed to a partition, not onto the whole disk, so make sure that "Partition the disk" is selected.

Click 'Next'

Choose the location to set your Region & Time Zone - London in my case - and set the time correctly

Click 'Next'

Choose the Language - English in my case

Click 'Next'

Enter a root password, and create a non-root user account - I used "admin" and will create another user account later for myself so I can specify the uid (I want it to be 10000 to match the one on my other machines so NFS works OK)

Enter a machine name

Click 'Next' Click 'Install' to perform the installation

When the installation completes, click 'Reboot' to restart. - remove the install CD as the machine restarts

The first thing I want to do is to set up networking. The OpenSolaris 2008.11 CD does not support the NICs on my motherboard (dual Marvell GB (88E8052/88E8056) but drivers are available from the Marvell website.

On some other machine:

go to http://www.marvell.com/drivers/search.do

Select Marvell part no. 88E8052 and press Submit

Look for the Solaris x64 Driver (64-bit) for Yukon Devices

Download the file yukonxsol_x64v10.0.3.3.tar.Z and copy to a USB key

On the OpenSolaris machine:

Login as the non-root user (admin in my case)

Open a terminal window

Plug in the USB key and copy the driver file

cp /media/MARVELL/yukonxsol_x64v10.0.3.3.tar.Z .

# uncompress and extract the archive:

uncompress yukonxsol_x64v10.0.3.3.tar.Z

tar xvf yukonxsol_x64v10.0.3.3.tar

# the install scripts seem to have /usr/ucb/echo hard-coded so create a symlink to make that available

pfexec ln -s /usr/gnu/bin/echo /usr/ucb/

pfexec pkgadd -d . YUKONXsolx

 - choose 'n' (don't configure interfaces)

- choose 'y' (continue with the installation)

Reboot when the installation has completed.

I have a dhcp server on my network so when the server came back up, it was automatically assigned the correct address.

Install some additional package repositories:

pfexec pkg set-authority -O http://pkg.sunfreeware.com:9000 sunfreeware

pfexec pkg set-authority -O http://blastwave.network.com:10000 blastwave

pfexec pkg set-authority -O http://pkg.opensolaris.org/dev opensolaris-contrib

pfexec pkg set-authority -O http://pkg.opensolaris.org/contrib opensolaris-contrib

pfexec pkg set-authority -O http://pkg.opensolaris.org/pending opensolaris-pending

Add the Extras repo, instructions here: https://pkg.sun.com/register/help

pfexec mkdir -m 0755 -p /var/pkg/ssl

pfexec chmod 755 /var/pkg/ssl

# download a key and cert from https://pkg.sun.com/register

pfexec cp -i ~/Desktop/OpenSolaris_extras.key.pem /var/pkg/ssl/

pfexec cp -i ~/Desktop/OpenSolaris_extras.certificate.pem /var/pkg/ssl/

pfexec pkg set-authority -k /var/pkg/ssl/OpenSolaris_extras.key.pem -c /var/pkg/ssl/OpenSolaris_extras.certificate.pem -O https://pkg.sun.com/opensolaris/extra/ opensolaris-extra

 

Improve the display:

Right-click on the desktop

Choose Desktop Appearance

Click the Fonts tab

Select the Liberation version of the fonts, i.e. replace "Sans" with "Liberation Sans"

Choose "subpixel smoothing (LCDs)" in the Rendering section

Click the Visual Effects tab

Choose "Extra"

Click Close

 

Install firefox flash plugin from extras repo

Install virtualbox and virtualbox/kernel from extras repo

Eclipse

Install eclipse from the default repo.

Run with: /usr/eclipse/eclipse

Enable updates: Windows| Preferences, General->Capabilities, check "Classic Update"

Installed EPIC perl IDE plug in and Subclipse subversion plugin

The package manager daemon popped up to tell me I have updates. Simply follow the application prompts to create a new Boot Environment (BE) and upgrade all packages. Unfortunately, it didn't work for me - I got an "error in evaluation". Possibly something to do with the additional repos I have installed.

I tried running the Package Manager manually, selecting the opensolaris dev repo and clicking "Update All" . Bingo!

Need a C-compiler to build stuff:

pfexec pkg install ss-dev

 

There is a terminfo bug - pageup/pagedown/home/end don't work. Details here: http://defect.opensolaris.org/bz/show_bug.cgi?id=5574

There is a fix listed in the bug, which goes something like:

mkdir ${HOME}/terminfo
env TERMINFO=/usr/share/lib/terminfo /bin/infocmp xterm > ${HOME}/terminfo/xterm.ti
echo ' knp=\E[6~, kpp=\E[5~, kend=\EOF, khome=\EOH, ' >> ${HOME}/terminfo/xterm.ti
env TERMINFO=${HOME}/terminfo /bin/tic -v ${HOME}/terminfo/xterm.ti

Now, the new TERMINFO can be activated by using:

export TERMINFO=${HOME}/terminfo

 Install screen:

pfexec pkg install SUNWscreen

 

 

 

Mirroring the root pool

In my case, I initially installed to /dev/rdsk/c3t0d0s0. After installation, I wanted to add /dev/rdsk/c3t1d0s0 as a mirror of c3t0d0s0. Here's the procedure:

# use format to create a 100% solaris partition, and label the disk

pfexec format c3t1d0

# copy the vtoc from the first disk to the second

pfexec prtvtoc /dev/rdsk/c3t0d0s2 | pfexec fmthard -s - /dev/rdsk/c3t1d0s2

# attach the second disk as a mirror of the first in the rpool

pfexec zpool attach -f rpool c3t0d0s0 c3t1d0s0

# install grub on the second disk

pfexec installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c3t1d0s0

 

NFS mount /space from nas02:

Add this line to /etc/vfstab:

nas02:/space    -               /mnt/space      nfs     -       yes     soft

Then:

mount /mnt/space

 

Install xchat (SUNWxchat)

Copy config from hero backup on nas02:

cp -R /mnt/space/backup/hero/home/robin/.xchat2/* ~/.xchat2/

 

Launch Thunderbird to create the .thunderbird dir in ~/

Copy the .mozilla-thunderbird dir from hero backup on nas02:

cp -R /mnt/space/backup/hero/home/robin/.mozilla-thunderbird/* ~/.thunderbird/

 

Launch Pidgin, add one account then exit.

Copy Pidgin config dir from hero backup on nas02:

cp -R /mnt/space/backup/hero/home/robin/.purple/* ~/.purple/

Story Options

OpenSolaris 2008.11 installation | 0 comments
The following comments are owned by whomever posted them. This site is not responsible for what they say.

Topics

  • Home
  • Misc (6/0)
  • Audio (5/0)
  • Linux (21/0)
  • Family (1/0)
  • Fishing Diary (1/0)
  • OpenSolaris (7/0)
  • Computing (11/0)
  • General News (7/0)
  • Chloe (1/0)
  • Emily (2/0)
  • Twins (5/0)
  • Classifieds (2/0)
  • GeekLog (2/0)
  • Project Management (1/0)
  • User Functions






    Lost your password?