1, 下载xxx.depot,bin方式上传到/tmp目录下;
2, 执行: swinstall –s /tmp/xxx.depot
3, 查看是否安装成功: swlist |grep T147
4, #ps –ef|grep ssh 会找到/opt/ssh/sbin/sshd 守护进程;
5, Kill 该进程: ps –ef|grep ssh 找到进程号,然可kill ;
6, 此时无法使用ssh登录;报告:refused the connection…
7, 启动ssh : /opt/ssh/sbin/sshd
首先应该下载自己对应版本的东东:
#uname -a 查看自己的hp版本
在第2步的时候可能会遇到这个问题:
The source you have chosen is a tape device. A tape
device must be local to the single marked target. Since the hostname of
the tape device does not match the hostname of the single marked
target, this source is not allowed. Please choose a different source
解决方法是:
swreg -l depot /tmp/*.depot
然后接着第2步就OK了。
阅读(909) | 评论(0) | 转发(0) |