HP-UX Web Server Suite Installation guide

2013.09.11 22:04

조인상 조회 수:12562

원문 : http://www.ischo.net -- 조인상 // 시스템 엔지니어

Writer : http://www.ischo.net -- ischo // System Engineer in Replubic Of Korea

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

원문 : http://www.ischo.net -- 조인상 //시스템 엔지니어

출처 : https://h20392.www2.hp.com/portal/swdepot/displayInstallInfo.do?productNumber=HPUXWSATW326#10822
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

 

 

 

 

HP-UX Web Server Suite Installation guide

TABLE OF CONTENTS

Overview Installation Newconfig Support HP-UX Apache-based Web Server HP-UX Tomcat-based Servlet Engine HP-UX Webmin-based Admin Legal Notices

OVERVIEW

The HP-UX Web Server Suite is a free product for HP-UX platform and includes key software products necessary to deploy, manage, and implement mission critical web servers. The suite is comprised of three products that install into the following locations by default: HP-UX Apache-based Web Server /opt/hpws22/apache/ HP-UX Tomcat-based Servlet Engine /opt/hpws22/tomcat/ HP-UX Webmin-based Admin /opt/hpws22/webmin/ Depending on what you have installed, some components may or may not be found. For the latest information on the HP-UX Web Server Suite, see http://www.hp.com/go/webserver/

INSTALLATION

The installation paths for the products included in HP-UX Web Server Suite are: /opt/hpws22/apache/ for HP-UX Apache-based Web Server (50 - 60 MB) /opt/hpws22/tomcat/ for HP-UX Tomcat-based Servlet Engine (15 - 17 MB) /opt/hpws22/webmin/ for HP-UX Webmin-based Admin (5 MB) HP-UX Apache-based Web Server, HP-UX Webmin-based Admin and HP-UX Tomcat-based Servlet Engine Tools can all be installed together, in combination (e.g. Apache and Webmin) or separately (e.g. Apache standalone, Tomcat standalone). Installing the HP-UX Web Server Suite Distribution: Before updating, make sure to stop any running instances of your existing Apache, Tomcat and Webmin installation. % $OLD_APACHE_HOME/bin/apachectl stop % $OLD_TOMCAT_HOME/bin/shutdown.sh % $OLD_WEBMIN_HOME/webmin-init stop As root, use swinstall command to install the software: % /usr/sbin/swinstall & A user interface will be invoked to guide you through the installation. At this point, you can choose between HP-UX Apache-based Web Server, HP-UX Webmin-based Admin or HP-UX Tomcat-based Servlet Engine or any combination of these components. All products are installable as standalone. We recommend installing HP-UX Webmin-based Admin with HP-UX Apache-based Web Server for ease in web server management.

NEWCONFIG SUPPORT

Earlier releases of the HP-UX Web Server Suite (known as HP Apache-based Webserver) had the following behavior for user configurable files, say httpd.conf. When the software is installed, all the existing files on the system were saved with a ".save" suffix. Therefore, httpd.conf would be saved as httpd.conf.save. At the same time, new versions of the files were installed. Thus httpd.conf would be a new version corresponding to the installed version of the binary. Starting with this version, the HP-UX Web Server Suite follows the HP-UX defined standard methodology for delivering new user configurable files (henceforth referred to as just "file" or "files"). The new process is as follows: 1. The new files are delivered at: /opt/hpws22/<component>/newconfig/ 2. During the preparation phase in an swinstall, a file from the previous installation of the component is moved to a safe location for a later review: /opt/hpws22/<component>/old/ 3. The installation process then checks to see if the file is currently absent (implying either that this is the first installation or that the file has been removed), or that the working file is identical to the file at /opt/hpws22/<component>/old/. In both the cases, the file already on the system can be overwritten. The install process then copies the files from: /opt/hpws22/<component>/newconfig/ to: <absolute-path-to-file> Otherwise, it leaves the file untouched. An administrator can review the files later to determine and execute the move of the file from newconfig location to the actual location manually. Currently, even /etc/rc.config.d/hpws22_*conf files are covered in the newconfig support. The administrator can review the /var/adm/sw/swagent.log to identify the files that have been updated by the newconfig process. The following type of "NOTE:" message in the log file will assist the administrator to make this determination. NOTE: A new version of "/opt/hpws22/apache/conf/httpd.conf" has been installed on the system. IMPORTANT: The files located at /opt/hpws22/<component>/newconfig and /opt/hpws22/<component>/old/ are available to the administrator for reference when manually editing the current files, but they should not be altered. Doing so would make the file updates unpredictable.

HP-UX APACHE-BASED WEB SERVER

Apache is not automatically started upon installation. You must be root to start/stop Apache with the default installation. To start the HP-UX Apache-based Web Server: $ /opt/hpws22/apache/bin/apachectl start To stop the HP-UX Apache-based Web Server: $ /opt/hpws22/apache/bin/apachectl stop Once your Apache server is running, use your browser to access: http://yourserver.com/. Documentation detailing configuration and in-depth requirements can be found here. To start the HP-UX Apache-based Web Server with SSL capability Load the ssl Module in httpd.conf: $ /opt/hpws22/apache/bin/apachectl start To stop the HP-UX Apache-based Web Server with SSL capability: $ /opt/hpws22/apache/bin/apachectl stop For server startup with PHP, suEXEC and ldap authetication, see the corresponding Admin guides located in /opt/hpws22/hp_docs/apache/.

HP-UX TOMCAT-BASED SERVLET ENGINE

Tomcat is configured to be run as user www and it can be used as a standalone container or in conjunction with Apache. Tomcat can also be started as secure server, for detailed information consult ssl-howto.html. This version of Tomcat 6.0.x is designed to run on Java 1.5. The minimum Java requirement for Tomcat 6.0 is the JRE (Java Runtime Environment) 1.5.x or higher. If your web application uses JSPs (Java Server Pages) then you will also need the JDK (Java Development Kit) so you can compile the JSPs. The latest versions of Java 1.5 and higher can be downloaded from http://www.hp.com/go/java. Make sure to download the correct version for Itanium. In order to use standalone Tomcat, run the following commands: $ cd /opt/hpws22/tomcat $ ./bin/startup.sh Tomcat will start and will listen to the default port 8081. Once your Tomcat server is running, use your browser to access: http://yourserver.com:8081/. Documentation detailing configuration and in-depth requirements can be found here. To use Tomcat with Apache 1) Modify /opt/hpws22/apache/conf/httpd.conf In that file enable mod_jk connector by uncommenting the following line: Include /opt/hpws22/apache/conf/mod_jk.conf or Include /opt/hpws22/apache/conf/mod_jk2.conf 2) Modify mod_jk.conf(if necessary) You can add here additional mount points if you want Apache to forward requests to Tomcat. Add lines similar to the following: JkMount /mywebapp ajp13 3) Start Tomcat $ cd /opt/hpws22/tomcat $ bin/startup.sh Once your Tomcat server is running, use your browser to access: http://yourserver.com:8081/. 4) Start Apache $ /opt/hpws22/apache/bin/apachectl start Tomcat will start and will listen to the default port 8081. Once your Tomcat server is running, use your browser to access: http://yourserver.com:8081/. Documentation detailing configuration and in-depth requirements can be found here. For mod_jk2 configuration please refer to the following web site: http://tomcat.apache.org/connectors-doc-archive/jk2/jk2/printer/confighowto.html Stopping Tomcat $ cd /opt/hpws22/tomcat $ ./bin/shutdown.sh

HP-UX WEBMIN-BASED ADMIN

Webmin is not automatically started upon installation. You must be root to start and stop the Webmin miniserver. If you have problems starting Webmin, make sure you have Perl 5.1.6 or higher installed at /opt/perl/bin/perl. The latest version of Perl is available from HP Software Depot (http://software.hp.com). To start Webmin: Log in as root. $ /opt/hpws22/webmin/webmin-init start Point the browser to: http://yourserver.com:10000/ Login : admin Password : hp.com Click on the "Documentation" button for details about configuration and in-depth requirements. Remember to change your password. To stop Webmin: Log in as root. $ /opt/hpws22/webmin/webmin-init stop ***************************************************************************

번호 제목 글쓴이 날짜 조회 수
50 HP rx2660서버에서 H/W RAID 구성하기 ischo 2019.10.04 2334
49 특정계정만 ssh 접속 불가 sftp 만 접속 가능한 환경 만들기 ischo 2019.05.09 2275
48 HP-UX 환경에서 접근제어 사용하기 조인상 2016.06.02 14664
47 HP rp시리즈에서 mirror(lv-copy) 된 디스크 교체 : replace disk in mirror vg [1] 조인상 2016.05.18 21981
46 bdf의 결과를 GB단위로 보여주는 스크립트 [1] 조인상 2015.10.27 10033
45 Vmware ESXI 환경에서 HP Smart Array CLI 사용하기 - command 예제 조인상 2015.07.29 9191
44 VG00 의 mirror 상태 점검 스크립트 조인상 2015.06.12 5786
43 HP-UX에 JDK 1.5 설치 file 조인상 2013.10.15 20049
» HP-UX Web Server Suite Installation guide file 조인상 2013.09.11 12562
41 Event Monitoring Service - Event Log path 조인상 2013.07.03 12144
40 HP-UX에 gcc 설치 조인상 2013.04.11 19395
39 장비 H/W미러링 장치 확인 및 미러상태 점검 [1] 조인상 2013.02.25 26732
38 해당 포트를 열고 있는 프로세스 확인방법. netstat, lsof 조인상 2012.09.20 33485
37 시리얼 케이블 제작방법 조인상 2012.06.27 12884
36 HP Integrated Lights-Out User Guide [1] file 조인상 2012.03.14 13371
35 HP iLO 설정 및 라이센스 발급 방법 조인상 2012.03.14 16197
34 <queue max run limit reached / 대기행렬의 최대 실행 한계에 도달했습니다> 에러 발생시. 조인상 2012.02.29 16529
33 HP DAT Drive Manual file 조인상 2012.01.03 14200
32 DAT tape drive 인식 작업 조인상 2011.12.28 24521
31 HP0-P20 CSA-HPUX 11i v3 : HP-UX System Administrator’s Guide: Configuration Management file 조인상 2011.11.25 20735
서버에 요청 중입니다. 잠시만 기다려 주십시오...