The “interface name” part of an ifconfig command can be a simple interface name, such as eri0, bge0 and such, or a logical unit such as eri0:1, eri0:2 and so on.
This makes it easy to setup more than 1 ip address on a network card, and hence to make virtual servers.
In Solaris 10, services are managed by SMF. The scripts in /etc/rcX.d are only there for legacy (and so is inetd).
To manage the services, you mainly use 2 commands : svcadm and svcs. Below are the most useful commands.
disable services :
# svcadm disable network/finger
enable services :
# svcadm enable network/finger
list all enabled services :
# svcs
list all services:
#svcs -a
list error conditions for services:
#svcs -x
These are the only options I’ve use so far … for the other ones, check the manual !
crle is the tool which lets you manage the way Solaris searches the shares libraries.
crle -l path1:path2:path3 will make Solaris lookup for shared libraries in path1, 2 and 3.
Beware that this replaces the previous settings !!! Easy to mess with your system…
to transfer a filesystem or directory while preserving permissions, special files and such, you can use the following :
# cd sourceDirectory
# tar cpf – . | (cd destinationDirectory && tar xpf – )
The first tar will archive the source directory and pipe it out to the second one which operates the extraction in the destination directory.