29 11 2016
http://zero-gravity.tistory.com/251 참고
화상연동/Web,APP 구축및서비스/LMS/평생교육/학점은행/기업교육/연수관리/설문구축/
29 11 2016
http://zero-gravity.tistory.com/251 참고
16 11 2016
설치된 OS버젼을 확인
1 2 3 4 5 6 7 8 |
root@dev_was [/opt/hpws]# swlist -l bundle QPKBASE # Initializing... # Contacting target "dev_was"... # # Target: dev_was:/ # QPKBASE B.11.31.1603.421a Base Quality Pack Bundle for HP-UX 11i v3, March 2016 |
개별 환경 변수 설정의 경우는 cd ~ 해당 홈디렉토리 의 vi .profile 예 저장하시면 되구요 전체 공용 계정별 환경변수 저장은 vi /etc/profile에 설정 하면됩니다. 다운로드 https://h20392.www2.hp.com/portal/swdepot/displayProductsList.do?category=NSM 설치하기
1 |
root@dev_was [/tmp]# swinstall -s ./HP_UX_11.31_HPUXWS22ATW-B408-11-31-64.depot |
설치선택화면 설치선택완료화면(선택하고 Actions>Mark for Install 그다음 Actions>install하면 설치합니다. 설치중 화면 대화형 창이 뜨면 Space Bar로 apache를 선택 2)위의 명령어로 설치하면
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
root@dev_was [/opt/hpws22]# pwd /opt/hpws22 root@dev_was [/opt/hpws22]# ls -al total 112 drwxr-xr-x 8 bin bin 8192 Jul 16 2015 . dr-xr-xr-x 93 bin bin 8192 Nov 16 13:56 .. drwxr-xr-x 2 bin bin 96 Nov 16 15:46 LICENSES -r--r--r-- 1 bin bin 3853 Dec 16 2008 README drwxr-xr-x 22 bin bin 8192 Jul 16 2015 apache drwxr-xr-x 8 bin bin 8192 Nov 16 15:46 hp_docs drwxr-xr-x 13 bin bin 8192 Nov 16 15:46 tomcat dr-xr-xr-x 2 bin bin 96 Jul 16 2015 util drwxr-xr-x 19 bin bin 8192 Jul 16 2015 webmin |
위에서 […]
16 11 2016
버젼 확인
1 2 |
root@dev_was [/opt/hpws]# uname -a HP-UX dev_was B.11.31 U ia64 1073980350 unlimited-user license |
하드웨어 정보
1 2 3 4 5 6 7 8 9 10 11 |
root@dev_was [/opt/hpws]# machinfo CPU info: Intel(R) Itanium(R) Processor 9560 (2.53 GHz, 32 MB) 1 core, 1 logical processor per socket 6.39 GT/s QPI, CPU version D0 Active processor count: 2 sockets 2 cores Memory: 8186 MB (7.99 GB) ~~~ |
파티션정보확인
1 2 3 4 5 6 |
root@dev_was [/opt/hpws]# bdf Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol3 64487424 25488760 38694240 40% / /dev/vg00/lvol1 2097152 445160 1639136 21% /stand /dev/vg00/lvol4 52428800 78982 49077962 0% /was /dev/vg01/lvol1 524156928 195115 491214207 0% /data01 |
마운트정보확인
1 2 3 4 5 6 |
root@dev_was [/opt/hpws]# mount -v /dev/vg00/lvol3 on / type vxfs ioerror=mwdisable,largefiles,delaylog,dev=40000003 on Thu Oct 20 17:06:20 2016 /dev/vg00/lvol1 on /stand type vxfs ioerror=mwdisable,nolargefiles,log,tranflush,dev=40000001 on Thu Oct 20 17:06:22 2016 /dev/vg00/lvol4 on /was type vxfs ioerror=mwdisable,largefiles,delaylog,dev=40000004 on Thu Oct 20 17:06:29 2016 /dev/vg01/lvol1 on /data01 type vxfs ioerror=mwdisable,largefiles,delaylog,dev=40010001 on Thu Oct 20 17:06:29 2016 -hosts on /net type autofs ignore,indirect,nosuid,soft,nobrowse,dev=4000002 on Thu Oct 20 17:06:54 2016 |
가상메모리(Swap)공간 사용량 확인
1 2 3 4 5 6 7 |
root@dev_was [/opt/hpws]# swapinfo -tm Mb Mb Mb PCT START/ Mb TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME dev 16384 0 16384 0% 0 - 1 /dev/vg00/lvol2 reserve - 703 -703 memory 7786 1685 6101 22% total 24170 2388 21782 10% - 0 - |
설치된 OS버젼 확인
1 2 3 4 5 6 7 8 |
root@dev_was [/opt/hpws]# swlist -l bundle QPKBASE # Initializing... # Contacting target "dev_was"... # # Target: dev_was:/ # QPKBASE B.11.31.1603.421a Base Quality Pack Bundle for HP-UX 11i v3, March 2016 |
위의 11i v3의 경우는 Apache, Tomcat등 HP-UX사이트에서 다운받을때 해당 버젼을 다운받으면 됩니다. ip확인
1 2 3 4 |
root@dev_was [/opt/hpws]# netstat -in Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll lan0 1500 192.168.150.0 192.168.150.110 366806 0 267422 0 0 lo0 32808 127.0.0.0 127.0.0.1 273282 0 273282 0 0 |
IP확인이나 네트웍 관련 명령어 # ifconfig lan # lanscan #nwmgr 사용
15 11 2016
jdk 설치 (root로 해야 한다) HP-UX 버젼 확인
1 2 |
root@dev_was [/opt/hpws]# uname -a HP-UX dev_was B.11.31 U ia64 1073980350 unlimited-user license |
1.다운로드 http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXJAVAHOME HP UX용 다운받는다.(love**/ss!a) 2.기존 설치 버전확인
1 2 3 4 5 6 7 |
root@dev_was [/]# swlist -l product |grep -i java Jdk60 1.6.0.23.00 Java 6.0 JDK Jdk70 1.7.0.11.00 Java 7.0 JDK Jdk80 1.8.0.00.00 Java 8.0 JDK Jre60 1.6.0.23.00 Java 6.0 JRE Jre70 1.7.0.11.00 Java 7.0 JRE Jre80 1.8.0.00.00 Java 8.0 JRE |
3.기존 jdk 삭제할 경우
1 2 3 |
root@dev_was [/opt]# swremove -x enforce_dependencies=false Jdk70 Jre70 root@dev_was [/opt]# rm -rf java7 |
4.설치를 위해 swagentd 재시작(오류 발생 방지를 위해서) # export LANG=C # export LC_ALL=C
1 |
root@dev_was [/opt]# swagentd -r |
5.다운받은 위치로 가서 root@dev_was [/opt]# swinstall -s ./Itanium_JDK_JRE_7.0.18_September_2016_Z7550-63369_java7_17018_ia.depot 위의 화면이 뜨고 여기서 Return키를 눌러 선택하고 […]