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

RESPALDAR ARCHIVO wtmpx CON FORMATO LEGIBLE

root@ # cd /var/adm/
root@ # ls -l wtmpx
-rw-r--r--   1 adm      adm      1539641784 Apr 15 18:02 wtmpx
root@ # /usr/lib/acct/fwtmp < /var/adm/wtmpx > /var/adm/wtmpx.`date +%Y%m%d`
root@ # ls -l | grep wtmpx
-rw-r--r--   1 adm      adm      1539693492 Apr 15 18:09 wtmpx
-rw-r--r--   1 root     other    355949528 Apr 15 18:09 wtmpx.20150415
root@ # > /var/adm/wtmpx
root@ # ls -l /var/adm/wtmpx
-rw-r--r--   1 adm      adm          372 Apr 15 18:11 /var/adm/wtmpx
root@ # gzip wtmpx.20150415
root@ # ls -l | grep wtmpx
-rw-r--r--   1 adm      adm        10044 Apr 15 18:12 wtmpx
-rw-r--r--   1 root     other    42045437 Apr 15 18:09 wtmpx.20150415.gz
root@ #

free counters