Disabling OpenSolaris desktop auto-start
Submitted by gotdon on Mon, 07/06/2009 - 19:12As a Solaris administrator I love using the command line. One annoyance I find when installing Solaris 10 is the auto-start of the desktop environment. This is a quick tip on how to disable auto-start of the desktop. Open a console and issue:
/usr/dt/bin/dtconfig -d
This should disable the desktop from startup the next time you reboot. To re-enable desktop startup upon boot issue:
/usr/dt/bin/dtconfig -e
This will re-enable the desktop environment upon startup.Shell - Saving keystrokes by using !$
Submitted by tuxtutorials on Sun, 03/01/2009 - 20:19This is a quick tip on using your shell more efficiently by using !$. How !$ works is it takes the last argument you supplied in your last command and allows you to repeat it.
Here is a good example of how to use it:
cp source.tar.gz /usr/local/src
Here I am just copying a source.tar.gz file into /usr/local/src so I can begin to compile. To save me time of typing out
cd /usr/local/src
I can simply issue:
cd !$
Mounting CD-ROM in Solaris Manually
Submitted by tuxtutorials on Wed, 02/04/2009 - 15:38First we need to determine the logical device of the cdrom device. To do this issue:
iostat -En
Determining MAC address from OpenBoot Prom
Submitted by tuxtutorials on Thu, 01/22/2009 - 23:19At the Open Boot Prom issue the following commands to list the devices on the system:
show-devs
CentOS 5 Xen Installation
Submitted by tuxtutorials on Fri, 01/09/2009 - 20:30
1. You installed CentOS 5 and performed a security hardening procedure before deploying the machine into production.
2. You have applied the latest patches and bug fixes.
OpenWrt dyndns with ez-update
Submitted by tuxtutorials on Thu, 01/08/2009 - 23:26The purpose of ez-update is to update your current IP address on your router with the dyndns servers. This allows them to keep track of your IP address if it changes.
OpenSolaris - Bringing a Solaris network interface up after a cable has been disconnected
Submitted by tuxtutorials on Thu, 10/23/2008 - 00:20First we need to unplumb the interface:
ifconfig ce0 unplumb
Next we can bring the interface backup online using:
ifconfig ce0 plumb up
OpenSolaris - Bringing up Network Interface in single user mode
Submitted by tuxtutorials on Mon, 10/20/2008 - 00:48With networking turned on we can mount or connect to network resources to restore files not on the CD-ROM or Tape.
To accomplish this we need to bring the system into single user mode:
boot cdrom -s

