The first command to use the HP-UX

Source: Internet
Author: User

1. View users, user groups, and user templates:

Ugweb

2. System Management Homepage opened in firefox:

Smh (System Management Homepage)

3. Install software:

Interactive Installation Method: absolute path of wsinstall-s installation package

Non-interactive installation: the absolute path software name of the wsinstall-s installation package

4. Modify kernel parameters:

1) # kconfig-e/stand/system. mod Kernel Parameters everywhere

2) edit the system. mod file and modify the corresponding kernel parameters.
3) # kconfig-I/stand/system. mod import Kernel Parameters
4) # shutdown-ry 0
5) # kctune check the Modification result

5. Install bash:

[From below] http://blogold.chinaunix.net/u3/93513/showart_1929119.html

The default shell used in the HP-UX is POSIX shell, that is,/usr/bin/sh, and ksh and csh are provided, but bash is not provided, to use the familiar bash, you must install it on your own. Because of software dependency, you need to install four packages: gettext, libiconv, termcap, and bash. Here is a download Website: Composer:
Bash-4.0.010-hppa-11.31.depot
Gettext-0.17-hppa-11.31.depot
Libiconv-1.13-hppa-11.31.depot
Termcap-1.3.1-hppa-11.31.depot
Install the four packages on the server. Note that the installation is sequential. The installation sequence is gettext, libiconv, termcap, bash, run the following command to install the SDK:
# Swinstall-s/tools/gettext-0.17-hppa-11.31.depot
# Swinstall-s/tools/libiconv-1.13-hppa-11.31.depot
# Swinstall-s/tools/termcap-1.3.1-hppa-11.31.depot
# Swinstall-s/tools/bash-4.0.010-hppa-11.31.depot
Note that the absolute path must be included when you use the swinstall command for installation. The relative path will report an error. Next we can use the bash we are familiar.
# Export PATH = $ PATH:/usr/local/bin/
# Bash
Or you can directly start/usr/local/bin/Bash to the bash environment, or add this command to $ home /. profile file, so that the next login will start directly to the bash environment.

 

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.