stripped down opensolaris
OpenSolaris still only comes as a Live CD and can't be installed without a GUI, at least AFAIK. Well, I managed to boot the CD into cmdline mode, then started sshd to be able to login from a remote box - only to start the GUI installation again via X11 forwarding :-\
So, here are a few things I did to start a minimal OpenSolaris system and a few other things I always have to look for after another installation procedure - yes, the memory upgrade for my brain is already ordered.
So, here are a few things I did to start a minimal OpenSolaris system and a few other things I always have to look for after another installation procedure - yes, the memory upgrade for my brain is already ordered.
$ svcadm disable gdm ppd-cache-update desktop-mime-cache mime-types-cache ogl-select \ gconf-cache input-method-cache pixbuf-loaders-installer fc-cache \ icon-cache pkg/update stosreg dbus hal autofs dns/multicast intrd \ rmvolmgr avahi-bridge-dsd name-service-cache routing/ndp $ cat /etc/hostname.xnf0 /etc/defaultrouter /etc/nodename 192.168.10.12 192.168.10.1 foo $ svcadm disable svc:/network/physical:nwam $ svcadm enable svc:/network/physical:nwam $ cp /etc/nsswitch.dns /etc/nsswitch.conf $ cat /etc/inet/ntp.conf server de.pool.ntp.org server europe.pool.ntp.org server 2.pool.ntp.org $ svcadm enable svc:/network/ntp $ rolemod -K type=normal rootNow booting takes only 105 seconds on this box - heh, we just saved 5 seconds! :-)
$ grep -v ^\# /rpool/boot/grub/menu.lst timeout 30 default 0 title opensolaris findroot (pool_rpool,0,a) bootfs rpool/ROOT/opensolaris kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=tty -v module$ /platform/i86pc/$ISADIR/boot_archive $ cat ~/.bash_profile export HISTSIZE=9000 export HISTTIMEFORMAT='%F %T ' export GREP_OPTIONS='--color=tty' export EDITOR=vi export PAGER=less alias la='ls -lah' alias locate='slocate'Oh, and as a bonus, although totally unrelated to this article: check out this package manger cheatsheet - how often I have needed that ("How do I do 'dpkg -S' with RPM? Or pkg?"). Thanks, nakedape!