Popular
Latest Articles
- How to Secure your Cisco Router
- Creating CLI Views on a Cisco Router
- Configuring TACACS+ on a Cisco Router
- How to enable SDM on your router
- Build a Samba Server on Redhat / CentOS
- How to set the Time / Date and Timezone in CentOS
- How to install SSH on Solaris 10 x86
- ESX4 - How do I turn on/off a Virtual Machine from the command line ?
Solaris Files and Prompts
Wednesday, 20 May 2009 10:17
Solaris is a UNIX based (BSD derivative) operating system. Nativity based on Sun (SPARC) hardware, Solaris allows for high performance due to its lightweight and minimal design.
Basic Configuration
- /etc/inittab - sets run-level (default 3, runs scripts under S, 2 and 3)
- /etc/init.d/ - boot scripts
- /etc/rc?.d/S* - links to scripts to be run on boot during run-level n, executed in alphabetical order (i.e. S26script runs before S27script)
Network configuration files
- /etc/nodename - system hostname
- /etc/hostname.bge0 - interface bge0 IP address
- /etc/netmasks - subnet addresses and network masks
- /etc/defaultrouter - default gateway
- /etc/system - driver options (e.g. defaults for interface speed/duplex)
ALOM
ALOM provides access to the hardware system outside the operating system. If the chassis has power, ALOM is available regardless of “power-on” or operating system state.
To access the system from ALOM, use the “console” command. To break back into ALOM, use the escape sequence “#.”
Sun SPARC “ok” prompt
Similar function to a PC BIOS menu. If you have the “ok” prompt, this is an indication that the device is down.
Within the "prompt" there are a number of commands which allow you to modify the system settings, and change various system defaults (variables).
To connect through to the "ok" prompt, use the command "halt".