Hp-unix Depot Software Installation method

Source: Internet
Author: User
Tags jboss hppd

How do I install depot files? First Su to root user, then swinstall –s/home/... Hit the path and file name, enter, a character interface with a menu, you can tab switch, first in the following "box" to enter, select the entry to install (1 of the 1 selected), and then tab to the menu, use the arrow keys to move the cursor to the Actions Enter, select Mark for install, the following marked is yes, then choose Actions under the install, if the analysis is not a problem, Choose OK to start the installation, appear status:completed,percent complete:100% when, tab to done, enter, this is installed. By default, the program installation path can be seen when downloading files such as Apache software:

: http://hpux.connect.org.uk/hppd/hpux/Networking/WWW/apache-2.4.16/

Attached: Swinstall usage:

Multiple depot files need to be installed on several HP-UX servers (mainly installing ethereal, but it requires other software support such as Zlib, Libpcap, Libiconv, OpenSSL, and so on). Installing each package has to run Swinstall,mark once and install it, which is cumbersome. Don't want to repeat on each machine, so Google has no way to install multiple depot files at once.

Multiple depot files need to be installed on several HP-UX servers (mainly installing ethereal, but it requires other software support such as Zlib, Libpcap, Libiconv, OpenSSL, and so on). Installing each package has to run Swinstall,mark once and install it, which is cumbersome. Don't want to repeat on each machine, so Google has no way to install multiple depot files at once.

The method found is as follows (there is:) in Cu):

Create a temporary depot directory

# Mkdir/tmp/ethereal_depot

Use Swcopy to copy all the packages ethereal need into this directory.

# swcopy-v-s/tmp/zlib-1.2.2-sd-11.11.depot zlib @/tmp/ethereal_depot # swcopy-v-s/tmp/openssl-0.9.7e-sd-11.11.depot OpenSSL @/tmp/ethereal_depot # swcopy-v-s/tmp/libpcap-0.8.3-sd-11.11.depot libpcap @/tmp/ethereal_depot # swcopy-v -s/tmp/libiconv-1.9.2-sd-11.11.depot Libiconv @/tmp/ethereal_depot ... # swcopy-v-s/tmp/ Ethereal-0.9.15-sd-11.00.depot Ethereal @/tmp/ethereal_depot

You can then use the swlist command to verify

swlist-d @/tmp/ethereal_depot

Similarly, install with swinstall command, select all packages, Mark,install ...

Swinstall-s/tmp/ethereal_depot

# tar CVF ethereal.tar/tmp/ethereal_depot swinstall on the other machine.

Only with the sd-ux of a little fur, in-depth not empty research, such as can be depot directory into a file, directly with the Swinstall can be installed, not like me, but also tar to tar.

Kaiyuan Software on the Hpux http://h20392.www2.hp.com/portal/swdepot/index.do http://h20392.www2.hp.com/portal/swdepot/ Displayproductinfo.do?productnumber=hpuxjavahome http://h20392.www2.hp.com/portal/swdepot/searchProducts.do http ://www.hp.com/products1/unix/webservers/apache/downloads/?jumpid=reg_r1002_usen HTTP://HPUX.CONNECT.ORG.UK/HPPD /hpux/gnu/http://www.oschina.net/How to install the software. You can refer to the following: http://windlike.javaeye.com/blog/258579 hpux tar.gz software to use Gunzip first, then with tar xvf 1. Installing Apache http://www.hp.com/ Products1/unix/webservers/apache/downloads/?jumpid=reg_r1002_usen http://httpd.apache.org/download.cgi Check if Apache software is installed #swlist-L Bundle | Grep-i Apache modified/etc/rc.config.d/hpws_apacheconf file will hpws_apache_start=0 modified to Hpws_apache_start=1 Sbin/rc3.d/S823hpws_ Apache start Swlist cannot be used when the check is as follows: 1, hostname whether test 2, nslookup test is normal swinstall usage if you want to install a certain software on the CD swinstall-f mysoft-s/mnt/ CD to choose to install all software from the default software warehouse (/VAR/SPOOL/SW) on the server host to the default directory on the Myhost host and preview the installation process (-p) without actually installing it, type the following command: swinstall-p-s server \* @ myhost If you want to install multiple packages at the same time, can be as follows: Build a temporary depot directory # Mkdir/tmp/ethereal_depot use swcopy to copy all the packages ethereal need into this directory. Then install with Swinstall. Swlist usage: swlist-i command can start swlist GUI program swlist-d list available products in the software warehouse, to list contents of local tape repositories/dev/rmt/0m swlist-d @/dev/rmt/0m swlist -L bundle displays only packages Swlist-l product View all products installed on the local host Swlist-l depot lists all repositories on the local host

2. JDK installation in the Hu-unix environment for JDK and JBoss installation Hu-unix environments

① download jsdk1.4, note that there is no JDK on Sun's website that runs in the HP-UNIX environment and must be downloaded from the HP website at http://www.hp.com/products1/unix/java/or HTTP.// H20392.www2.hp.com/portal/swdepot/displayproductinfo.do?productnumber=hpuxjavahome② after the download is complete, is a compressed file with the suffix. Depot, here is Sdk14_14208_1122.depot, do not unzip directly. First upload to the Hu-unix system to be installed directory, such as/usr/lotapp③ execution cksum xxxx.depot Check the correctness of the file. The system will display similar results as follows: Checksum 3939770967 660,480,001 like no problem, if it goes wrong, re-download the version (or other version)

④ start the installation, execute the following command, launch the installation tool/usr/sbin/swinstall system terminal will initialize a pure DOS-style class graphical interface.

Note: It seems that the Telnet terminal is not able to start the tool, the tool needs some necessary libraries, so it must be installed in the place where Hp-unix is located. ⑤ Select source Depot type for Local Directory, do not need to change the source Host Name, enter source Depot path for your JDK, such as:/usr/lotapp/sdk14_14208_ 1122.depot⑥ system will display the items to be installed, in the JDK installation, there will be two jdk1.4, one is jre1.4, before the project to install the installation mark. A menu item in the Action menu mark install can mark the currently selected item for installation and unmark can cancel the installation tag. ⑦ after you have selected the items you want to install, continue with the install command in the Action menu, and the installation will start, and you will be prompted for the installation percentage. After installation, select the Exit command from the File menu to exit. ⑧ This is the java1.4 folder that will appear in the/usr/opt/directory, which is the path where we installed the JDK, adding that path to path. You can edit the. profile file with VI and add the path/usr/opt/java1.4 in the PATH environment variable. You can also execute the command export path=/usr/opt/java1.4; $PATH; ⑨JDK installation is complete. JBOSS4 installation ① download compressed files from the JBoss Web site. Upload to the Hp-unix system. ② decompression, Gunzip jboss.tar.gz will produce Jboss.tar file tar vxf Jboss.tar will produce the JBoss directory so the installation is complete. Note: I am in the process of decompression, error, the resulting JBoss directory of some files are missing, such as all the files under the bin, in fact, the decompression failed. And no reason was found, nor was there any solution to the problem. A stopgap is to first in Windows extracted to a directory, in the use of tools, the decompression of all files uploaded, incredibly can also. FAQ: 1. When performing run.sh under Jboss/bin, the system prompts for no permissions. Modify the execution permissions for the run.sh. 2. When performing run.sh under Jboss/bin, the system prompts 8080 ports to be used to modify the Tomcat port in server\default\deploy\ The position of the 12th row in the Server.xml under Jbossweb-tomcat55.sar

"UNIX" HP-UX Platform installation Gcc,gmake,gdb method collection for development, install the GCC compiler and GMAKE,GDB tools on the HP-UX platform. After a day of hard groping, finally installed successfully, now summarizes the installation procedures, methods and installation process encountered problems as follows:

1. Download the required binary installation package: http://hpux.cs.utah.edu/, enter the required installation package keywords in the search box on the left and most of the required installation packages will be searchable. My current platform version is b.11.11, the installation package is as follows (if it is a different version, download the appropriate version of the installation package): Gcc-4.2.3-hppa-11.11.depot.gz gdb-5.3-hppa-11.00.depot.gz MAKE-3.81-HPPA-11.11.DEPOT.GZ//The following are some installation packages that install GCC dependencies autoconf-2.62-hppa-11.11.depot.gz bison-2.3-hppa-11.11.depot.gz gettext-0.17-hppa-11.11.depot.gz libgcc-4.2.3-hppa-11.11.depot.gz libiconv-1.12-hppa-11.11.depot.gz Ncurses-5.6-hppa-11.11.depot.gz zlib-1.2.3-hppa-11.11.depot.gz

2. Upload the above installation package to the/tmp directory, then unzip: Gunzip *.gz.

3. Log in as root, install the installation command for all the extracted installation files: Swinstall-s/tmp/*.depot, do not need to modify the target directory, the default will be installed under Usr/local. If an error occurs during the installation of a program that indicates that the library on which it depends does not exist, the program that is dependent is installed first. Under normal circumstances, all of the above packages will be installed successfully.

4. Add/usr/local/bin to the user's path environment variable, you can use G, Gmake, gdb.

5. Problems encountered: (1) Compile the program with G, error stdint.h file cannot be found. Workaround: The file exists under the/usr/local/include/c/4.2.3/tr1 path, copy it to the/usr/include path, OK.

Hp-unix Depot Software Installation method

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.