Posts

Showing posts from August, 2015

HPVM creation

1> Install the HPVM package -- VMMGR_A.6.3.0.91593_HP-UX_B.11.31_IA.depot 2> Create VM # hpvmcreate -P hpux11v1 -c2 -r16G # # ioscan -kfnNC disk Class     I  H/W Path  Driver S/W State   H/W Type     Description =================================================================== disk      3  64000/0xfa00/0x1  esdisk   CLAIMED     DEVICE       HP      LOGICAL VOLUME                       /dev/disk/disk3      /dev/disk/disk3_p2   /dev/rdisk/disk3     /dev/rdisk/disk3_p2                       /dev/disk/disk3_p1   /dev/disk/disk3_p3   /dev/rdisk/disk3_p1  /dev/rdisk/disk3_p3 disk      4  64000/0xfa00/0x3  esdisk   CLAIMED     DEVICE       IBM     2810XIV                       /dev/disk/disk4   /dev/rdisk/disk4 disk     11  64000/0xfa00/0x4  esdisk   CLAIMED     DEVICE       IBM     2810XIV                       /dev/disk/disk11   /dev/rdisk/disk11 disk     12  64000/0xfa00/0x8  esdisk   CLAIMED     DEVICE       IBM     2810XIV                       /dev/disk/disk12   /

Build new Solaris 11

root@edus005v1:~# svccfg -s name-service/switch svc:/system/name-service/switch> listprop config config                      application        config/value_authorization astring     solaris.smf.value.name-service.switch config/default             astring     files config/host                astring     "files dns" config/printer             astring     "user files" svc:/system/name-service/switch> setprop config/group = astring: "files nis" svc:/system/name-service/switch> setprop config/automount= astring: "files nis" svc:/system/name-service/switch> exit root@edus005v1:~# svcadm refresh name-service/switch root@edus005v1:~# svcadm refresh svc:/network/nis/client:default root@edus005v1:~#  svcadm refresh svc:/system/filesystem/autofs:default 1. edit the file  /etc/ssh/sshd_config PermitRootLogin yes  with  PermitRootLogin no  and save file.      vi /etc/ssh/sshd_config     PermitRootLogin yes 2. Comment out the  “CONS