欧美一级特黄大片做受成人-亚洲成人一区二区电影-激情熟女一区二区三区-日韩专区欧美专区国产专区

怎么在HP-UX11.31下安裝bash環(huán)境-創(chuàng)新互聯(lián)

這篇文章主要講解了“怎么在HP-UX11.31下安裝bash環(huán)境”,文中的講解內(nèi)容簡單清晰,易于學(xué)習(xí)與理解,下面請大家跟著小編的思路慢慢深入,一起來研究和學(xué)習(xí)“怎么在HP-UX11.31下安裝bash環(huán)境”吧!

普寧ssl適用于網(wǎng)站、小程序/APP、API接口等需要進(jìn)行數(shù)據(jù)傳輸應(yīng)用場景,ssl證書未來市場廣闊!成為創(chuàng)新互聯(lián)建站的ssl證書銷售渠道,可以享受市場價格4-6折優(yōu)惠!如果有意向歡迎電話聯(lián)系或者加微信:18982081108(備注:SSL證書合作)期待與您的合作!

bash默認(rèn):

(1)有命令歷史記憶功能,可以使用上下鍵切換命令;

(2)命令輸入為文件格式,進(jìn)退簡單,符合人的習(xí)慣;

(3)可以使用TAB鍵補(bǔ)全命令或目錄;

(4)bash是以人為體驗(yàn)為中心設(shè)計;

sh默認(rèn):

(1)默認(rèn)沒有歷史記憶功能,但可以通過配置環(huán)境變量達(dá)到.

(2)命令輸入為vi模式,輸入命令時,就像我們使用vi編輯,i是插入,x是刪除,u撤銷等,

(3)沒有命令補(bǔ)齊功能.可以使用ECS鍵補(bǔ)齊目錄.

(4)在功能設(shè)計上卻有獨(dú)到之處.

習(xí)慣了bash環(huán)境,下面我們就在HP-UX上安裝bash環(huán)境做一個詳細(xì)的安裝,步驟如下所示:

1、檢查HP_UX的版本

root@rx2660 [/]uname -a

HP-UX rx2660 B.11.31 U ia64 1544395069 unlimited-user license

2、下載相應(yīng)的軟件包

軟件包下載地址:

http://hpux.connect.org.uk/hppd/cgi-bin/search?package=on&description=on&term=bash

看到有一個簡介Run-time dependencies: gettext、libiconv、libunistring、readline、termcap是bash環(huán)境運(yùn)行的依賴包,全部下載下來。
怎么在HP-UX11.31下安裝bash環(huán)境

3、通過FTP上傳到HP-UX操作系統(tǒng)的/bash文件夾下

怎么在HP-UX11.31下安裝bash環(huán)境

root@rx2660 [/bash]ll

total 111440

-rw-r-----   1 root       sys        10557440 Jan 11 02:29 bash-4.4.012-ia64_64-11.31.depot.gz

-rw-r-----   1 root       sys        26501120 Jan 11 02:29 gettext-0.19.8.1-ia64_64-11.31.depot.gz

-rw-r-----   1 root       sys        3450880 Jan 11 02:29 libiconv-1.15-ia64_64-11.31.depot.gz

-rw-r-----   1 root       sys        10414080 Jan 11 02:29 libunistring-0.9.7-ia64_64-11.31.depot.gz

-rw-r-----   1 root       sys         550089 Jan 11 02:59 make-4.2.1-ia64_64-11.31.depot.gz

-rw-r-----   1 root       sys        3481600 Jan 11 02:29 readline-7.0.003-ia64_64-11.31.depot.gz

-rw-r-----   1 root       sys        2078720 Jan 11 02:29 termcap-1.3.1-ia64_64-11.31.depot.gz

4、安裝

安裝下面的順序依次進(jìn)行安裝,需要注意的是安裝的路徑必須是絕對路徑,不能使用相對路徑;如果是相對路徑,就會出現(xiàn)下面報錯信息:

root@rx2660 [/bash]swinstall -s make-4.2.1-ia64_64-11.31.depot.gz \*

=======  01/11/98 03:00:39 EAT  BEGIN swinstall SESSION

         (non-interactive) (jobid=rx2660-0011)

       * Session started for user "root@rx2660".

       * Beginning Selection

       * Target connection succeeded for "rx2660:/".

ERROR:   Could not contact host "make-4.2.1-ia64_64-11.31.depot.gz".

         Make sure the hostname is correct and an absolute pathname is

         specified (beginning with "/").

       * Source connection failed for

         "make-4.2.1-ia64_64-11.31.depot.gz:/var/spool/sw".

WARNING: More information may be found in the daemon logfile on this

         target (default location is

         make-4.2.1-ia64_64-11.31.depot.gz:/var/adm/sw/swagentd.log).

       * Selection had errors.

=======  01/11/98 03:00:39 EAT  END swinstall SESSION (non-interactive)

         (jobid=rx2660-0011)

正確的安裝方法:

root@rx2660 [/bash]swinstall -s /bash/gettext-0.19.8.1-ia64_64-11.31.depot.gz \*

=======  01/11/98 02:56:17 EAT  BEGIN swinstall SESSION

         (non-interactive) (jobid=rx2660-0009)

       * Session started for user "root@rx2660".

       * Beginning Selection

       * Target connection succeeded for "rx2660:/".

       * Source:

         /bash/gettext-0.19.8.1-ia64_64-11.31.depot.gz

       * Targets:                rx2660:/

       * Software selections:

             gettext.gettext-MAN,r=0.19.8.1,a=HP-UX_B.11.31_64

             gettext.gettext-RUN,r=0.19.8.1,a=HP-UX_B.11.31_64

       * Selection succeeded.

       * Beginning Analysis and Execution

       * Session selections have been saved in the file

         "/.sw/sessions/swinstall.last".

       * The analysis phase succeeded for "rx2660:/".

       * The execution phase succeeded for "rx2660:/".

       * Analysis and Execution succeeded.

NOTE:    More information may be found in the agent logfile using the

         command "swjob -a log rx2660-0009 @ rx2660:/".

=======  01/11/98 02:56:43 EAT  END swinstall SESSION (non-interactive)

         (jobid=rx2660-0009)

root@rx2660 [/bash]swinstall -s /bash/termcap-1.3.1-ia64_64-11.31.depot.gz \*

=======  01/11/98 03:04:02 EAT  BEGIN swinstall SESSION

         (non-interactive) (jobid=rx2660-0014)

       * Session started for user "root@rx2660".

       * Beginning Selection

       * Target connection succeeded for "rx2660:/".

       * Source:

         /bash/termcap-1.3.1-ia64_64-11.31.depot.gz

       * Targets:                rx2660:/

       * Software selections:

             termcap.termcap-RUN,r=1.3.1,a=HP-UX_B.11.31_64

       * Selection succeeded.

       * Beginning Analysis and Execution

       * Session selections have been saved in the file

         "/.sw/sessions/swinstall.last".

       * The analysis phase succeeded for "rx2660:/".

       * The execution phase succeeded for "rx2660:/".

       * Analysis and Execution succeeded.

NOTE:    More information may be found in the agent logfile using the

         command "swjob -a log rx2660-0014 @ rx2660:/".

=======  01/11/98 03:04:06 EAT  END swinstall SESSION (non-interactive)

         (jobid=rx2660-0014)

root@rx2660 [/bash]swinstall -s /bash/libiconv-1.15-ia64_64-11.31.depot.gz \*

=======  01/11/98 03:04:36 EAT  BEGIN swinstall SESSION

         (non-interactive) (jobid=rx2660-0015)

       * Session started for user "root@rx2660".

       * Beginning Selection

       * Target connection succeeded for "rx2660:/".

       * Source:

         /bash/libiconv-1.15-ia64_64-11.31.depot.gz

       * Targets:                rx2660:/

       * Software selections:

             libiconv.libiconv-MAN,r=1.15,a=HP-UX_B.11.31_64

             libiconv.libiconv-RUN,r=1.15,a=HP-UX_B.11.31_64

       * Selection succeeded.

       * Beginning Analysis and Execution

       * Session selections have been saved in the file

         "/.sw/sessions/swinstall.last".

       * The analysis phase succeeded for "rx2660:/".

       * The execution phase succeeded for "rx2660:/".

       * Analysis and Execution succeeded.

NOTE:    More information may be found in the agent logfile using the

         command "swjob -a log rx2660-0015 @ rx2660:/".

=======  01/11/98 03:04:39 EAT  END swinstall SESSION (non-interactive)

         (jobid=rx2660-0015)

root@rx2660 [/bash]swinstall -s /bash/libunistring-0.9.7-ia64_64-11.31.depot.gz \*

=======  01/11/98 03:05:22 EAT  BEGIN swinstall SESSION

         (non-interactive) (jobid=rx2660-0016)

       * Session started for user "root@rx2660".

       * Beginning Selection

       * Target connection succeeded for "rx2660:/".

       * Source:

         /bash/libunistring-0.9.7-ia64_64-11.31.depot.gz

       * Targets:                rx2660:/

       * Software selections:

             libunistring.libunistring-INC,r=0.9.7,a=HP-UX_B.11.31_64

             libunistring.libunistring-RUN,r=0.9.7,a=HP-UX_B.11.31_64

       * Selection succeeded.

       * Beginning Analysis and Execution

       * Session selections have been saved in the file

         "/.sw/sessions/swinstall.last".

       * The analysis phase succeeded for "rx2660:/".

       * The execution phase succeeded for "rx2660:/".

       * Analysis and Execution succeeded.

NOTE:    More information may be found in the agent logfile using the

         command "swjob -a log rx2660-0016 @ rx2660:/".

=======  01/11/98 03:05:27 EAT  END swinstall SESSION (non-interactive)

         (jobid=rx2660-0016)

root@rx2660 [/bash]swinstall -s /bash/bash-4.4.012-ia64_64-11.31.depot.gz \*

=======  01/11/98 03:06:23 EAT  BEGIN swinstall SESSION

         (non-interactive) (jobid=rx2660-0017)

       * Session started for user "root@rx2660".

       * Beginning Selection

       * Target connection succeeded for "rx2660:/".

       * Source:

         /bash/bash-4.4.012-ia64_64-11.31.depot.gz

       * Targets:                rx2660:/

       * Software selections:

             bash.bash-RUN,r=4.4.012,a=HP-UX_B.11.31_64

       * Selection succeeded.

       * Beginning Analysis and Execution

       * Session selections have been saved in the file

         "/.sw/sessions/swinstall.last".

       * The analysis phase succeeded for "rx2660:/".

       * The execution phase succeeded for "rx2660:/".

       * Analysis and Execution succeeded.

NOTE:    More information may be found in the agent logfile using the

         command "swjob -a log rx2660-0017 @ rx2660:/".

=======  01/11/98 03:06:25 EAT  END swinstall SESSION (non-interactive)

         (jobid=rx2660-0017)

附帶swinstall安裝界面步驟:http://www.thegeekstuff.com/2010/06/install-remove-depot-packages/

5、查看軟件包的安裝情況

root@rx2660 [/bash]swlist

# Initializing...

# Contacting target "rx2660"...

#

# Target:  rx2660:/

#

……(此處省略N行記錄)

#

# Product(s) not contained in a Bundle:

#

  OnlineJFS                             B.11.31        Online features of the VxFS File System

  bash                                  4.4.012        bash          

  gettext                               0.19.8.1       gettext       

  libiconv                              1.15           libiconv      

  libunistring                          0.9.7          libunistring  

  termcap                               1.3.1          termcap     

6、修改環(huán)境變量

root@rx2660 [/]chmod 744 .profile

root@rx2660 [/]vi .profile

".profile" 50 lines, 975 characters

# @(#)B.11.31_LR

# Default (example of) super-user's .profile file

# Do not put "." in PATH; it is a potential security breach.

# Do not put "/usr/local/bin" in PATH; it is a potential security breach.

# Example assumes /home/root exists.

        set +u

        PATH=/usr/sbin:$PATH:/sbin:/home/root

# Be sure that VUE does not invoke tty commands

   if [ ! "$VUE" ]; then

   # Set up the terminal:

        if [ "$TERM" = "" ]

        then

                eval ` tset -s -Q -m ':?hp' `

        else

                eval ` tset -s -Q `

        fi

        stty erase "^H" kill "^U" intr "^C" eof "^D"

        stty hupcl ixon ixoff

        tabs

        echo

        echo "Value of TERM has been set to \"$TERM\". "

        export TERM

".profile" 50 lines, 975 characters

# Set up shell environment:

        set -u                                  # error if undefined variable.

        trap "echo 'logout root'" 0             # what to do on exit.

# Set up shell variables:

        MAIL=/var/mail/root

        # don't export, so only login shell checks.

        echo "WARNING:  YOU ARE SUPERUSER !!\n"

umask 027

#增加下面一句

export PATH=$PATH:/usr/local/bin

7、退出會話,重新登錄檢查bash是否可用

root@rx2660 [/]bash

/usr/lib/hpux64/dld.so: Unable to find library 'libhistory.so'.

Killed

運(yùn)行bash,出現(xiàn)上面的報錯信息:是由于缺少依賴的包

解決方法:

root@rx2660 [/bash]swinstall -s /bash/readline-7.0.003-ia64_64-11.31.depot.gz \*

=======  01/11/98 03:21:11 EAT  BEGIN swinstall SESSION

         (non-interactive) (jobid=rx2660-0019)

       * Session started for user "root@rx2660".

       * Beginning Selection

       * Target connection succeeded for "rx2660:/".

       * Source:

         /bash/readline-7.0.003-ia64_64-11.31.depot.gz

       * Targets:                rx2660:/

       * Software selections:

             readline.readline-INC,r=7.0.003,a=HP-UX_B.11.31_64

             readline.readline-RUN,r=7.0.003,a=HP-UX_B.11.31_64

       * Selection succeeded.

       * Beginning Analysis and Execution

       * Session selections have been saved in the file

         "/.sw/sessions/swinstall.last".

       * The analysis phase succeeded for "rx2660:/".

       * The execution phase succeeded for "rx2660:/".

       * Analysis and Execution succeeded.

NOTE:    More information may be found in the agent logfile using the

         command "swjob -a log rx2660-0019 @ rx2660:/".

=======  01/11/98 03:21:15 EAT  END swinstall SESSION (non-interactive)

         (jobid=rx2660-0019)

再次運(yùn)行bash成功,這樣就可以使用tab鍵補(bǔ)全指令信息

root@rx2660 [/]bash

bash-4.4#

bash-4.4#

感謝各位的閱讀,以上就是“怎么在HP-UX11.31下安裝bash環(huán)境”的內(nèi)容了,經(jīng)過本文的學(xué)習(xí)后,相信大家對怎么在HP-UX11.31下安裝bash環(huán)境這一問題有了更深刻的體會,具體使用情況還需要大家實(shí)踐驗(yàn)證。這里是創(chuàng)新互聯(lián),小編將為大家推送更多相關(guān)知識點(diǎn)的文章,歡迎關(guān)注!

本文標(biāo)題:怎么在HP-UX11.31下安裝bash環(huán)境-創(chuàng)新互聯(lián)
URL地址:http://aaarwkj.com/article42/ccpcec.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供響應(yīng)式網(wǎng)站、企業(yè)建站營銷型網(wǎng)站建設(shè)、關(guān)鍵詞優(yōu)化、品牌網(wǎng)站制作、服務(wù)器托管

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

成都app開發(fā)公司
人妻伦理一区二区三区| 五月激情开心久久婷婷| 色91精品在线观看剧情| 成人午夜福利影院在线| 亚洲av毛片免费在线| 中文字幕在线看二区不卡 | 美女诱惑福利视频久久久| 久久精品国产精品亚洲片| av中文字幕亚洲一区二区| 丰满人妻一区二区三区色| 精品欧美黑人一区二区| 中文字幕国产精品一二区| 亚洲精品综合在线二区| 黄片在线免费在线播放| 另类欧美亚洲中文在线综合| 九九九热视频这里只有精品| 国产精品国产三级国av中文 | 国产精品呦呦国产精品尤物| 久久精品欧美日韩视频| 97国产精品视频在线观看| 日韩久久这里只有精品视频| 亚洲日本韩国在线免费| 欧美 日韩亚洲一区| 欧美日韩亚洲国产激情| 1区2区3区精品视频| 好吊妞在线新免费视频| 国产亚洲精品视频在线| 国产蜜臀视频一区二区三区| 色婷婷av一区二区三| 91出品国产福利在线| 成熟人妻中文字幕在线看| 国产精品国产成人生活片| 欧美成人黄片免费播放| 丰满少妇一区二区三区在线观看| 看夫妻性生活免费视频| 亚洲国产香蕉视频在线播放| 久久激情日本人妻av免费| 激情四射五月天亚洲婷婷| 久久伊人这里都是精品| av在线成人国产精品欧美| 中文字幕日本精品人妻在线|