Nethence Newdoc Olddoc Lab Your IP BBDock  

Warning: those guides are mostly obsolete, please have a look at the new documentation.


Solaris 11 post-installation
Allow root login and put your SSH public keys in place,
cd /etc/ssh/
cp sshd_config sshd_config.dist
vi sshd_config
PermitRootLogin yes
svcadm restart sshd
cd /etc/default/
cp login login.dist
rolemod -K type=normal root
cd ~/
mkdir -p .ssh/
cd .ssh/
cat >> authorized_keys <<EOF
You can now connect remotely.
Make sure the system doesn't start gnome gdm at boot time,
svcadm disable application/graphical-login/gdm:default
Allo admin user to switch to root,
usermod -R root adminuser
Allow admin user to sudo,
vi /etc/sudoers
adminuser ALL=(ALL) ALL
Fix the PATH setting and tweak the shell a little bit,
vi .bash_profile
source $HOME/.bashrc
vi .bashrc
typeset +x PS1="\u@\h:\w\\$ "
export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
case "himBH" in *i*)
alias ll='ls -alhF'
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
source .bashrc
Identify your network interface,
svcs | grep network | grep physical
dladm show-phys
dladm show-link
ipadm show-if
Change the hostname and IP using this script (assuming an IP has previously been setup),
svccfg -s system/identity:node listprop config
svccfg -s system/identity:node setprop config/nodename="$newhost"
svccfg -s system/identity:node setprop config/loopback="$newhost"
svccfg -s system/identity:node refresh
svcadm restart system/identity:node
svccfg -s system/identity:node listprop config
ipadm delete-addr net0/v4
ipadm create-addr -T static -a $newip/24 net0/v4
cat >> /etc/hosts <<EOF && echo /etc/hosts done
$newip $ $newhost.example.local $newhost
Reduce the boot loader timeout from 30 to 3 seconds,
bootadm list-menu
bootadm set-menu timeout=3
bootadm list-menu
Install VMware Tools,
VM > Guest > Install VMware Tools
cp -R /cdrom/vmwaretools/ ~/
cd ~/vmwaretools/
tar xzf vmware-solaris-tools.tar.gz
cd vmware-tools-distrib/
check status and make sure it's enabled at startup,
/etc/init.d/vmware-tools status
find /etc/rc*.d/ | grep vmware
For ZFS see

(obsolete, see the new doc)