Servicios

Web hosting
Ver »
Páginas Web
Ver »
Soporte UNIX
Ver »
UNIX TIPS
Ver »

COMPONENTES DE UNA ZONA CONFIGURADA

# zonecfg -z guimx5

create -b
set zonepath=/export/zone/guimx5
set autoboot=true

add fs
set dir=/iplanet
set special=/dev/md/dsk/d612
set raw=/dev/md/rdsk/d612
set type=ufs
end

add fs
set dir=/logs_aplic
set special=/dev/md/dsk/d613
set raw=/dev/md/rdsk/d613
set type=ufs
end

add fs
set dir=/iplanetgui
set special=/dev/md/dsk/d614
set raw=/dev/md/rdsk/d614
set type=ufs
end

add fs
set dir=/runwaygui
set special=/dev/md/dsk/d615
set raw=/dev/md/rdsk/d615
set type=ufs
end

add fs
set dir=/Logs_Iplanet
set special=/dev/md/dsk/d616
set raw=/dev/md/rdsk/d616
set type=ufs
end

add net

set address=10.0.0.33
set physical=qfe0
end
#

Regresar


Random TIPS

EFFICIENT COMMANDS
In anytime I see someone code inefficiently. Here are three of the most common mistakes, followed by a better way to do the same thing.
Bad: cat somefile | grep something
Better: grep something somefile
Why: You're running one program (grep) instead of two (cat and grep).
Bad: ps -ef | grep something | grep -v grep
Better: ps -ef | grep [s]omething
Why: You're running two commands (grep) instead of three (ps and two greps).
Bad: cat /dev/null > somefile
Better: > somefile
Why: You're running a command (cat) with I/O redirection, instead of just redirection.
Although the bad way will have the same result, the good way is far faster. This may seem trivial, but the benefits will really show when dealing with large files or loops.

free counters