栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

Redhat7安装NBU7.5

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Redhat7安装NBU7.5

NBU7.5版本目前官方兼容列表提示Redhat7最低是7.6.1.1 

不过经过测试其实是一样可以安装的

一、下载NBU7.5客户端

客户端可以从官网上面下载下载7.7以后的版本

https://www.veritas.com/content/support/en_US/downloads/detail.REL249692

 7.5的客户端地址

链接:https://pan.baidu.com/s/1xATVbmBbLF4xtUuABpIdaw 
提取码:x4vl 

二、安装xinetd(这个很关键,没有安装的话NBU会报错安装会有问题)

可以讲Redhat7的光盘里面找得到Package有xinetd安装并启动

rpm -ivh xinetd-2.3.15-13.el7.x86_64.rpm

重点来了(添加一个启动脚本因为redhat7是用systemctrl启动,但是7.5安装的时候回去读取这个文件所以手动创建一下)

vim /etc/init.d/xinetd

#!/bin/bash

#

# xinetd This starts and stops xinetd.

#

# chkconfig: 345 56 50

# description: xinetd is a powerful replacement for inetd. /

# xinetd has access control machanisms, extensive /

# logging capabilities, the ability to make services /

# available based on time, and can place /

# limits on the number of servers that can be started, /

# among other things.

#

# processname: /usr/sbin/xinetd

# config: /etc/sysconfig/network

# config: /etc/xinetd.conf

# pidfile: /var/run/xinetd.pid

prog="xinetd"

PATH=/sbin:/bin:/usr/bin:/usr/sbin

# Source function library.

. /etc/rc.d/init.d/functions

# Get config.

test -f /etc/sysconfig/network && . /etc/sysconfig/network

# Check that networking is up.

[ ${NETWORKING} = "yes" ] || exit 0

[ -f /usr/sbin/xinetd ] || exit 1

[ -f /etc/xinetd.conf ] || exit 1

RETVAL=0

start(){

echo -n $"Starting $prog: "

# Need to get rid of localization for external services -

# it doesn make much sense to have i18n on the server side here

LANG=en_US

LC_TIME=en_US

LC_ALL=en_US

LC_MESSAGES=en_US

LC_NUMERIC=en_US

LC_MonETARY=en_US

LC_COLLATE=en_US

export LANG LC_TIME LC_ALL LC_MESSAGES LC_NUMERIC LC_MonETARY LC_COLLATE

unset HOME MAIL USER USERNAME

daemon xinetd -stayalive -reuse -pidfile /var/run/xinetd.pid

RETVAL=$?

echo

touch /var/lock/subsys/xinetd

return $RETVAL

}

stop(){

echo -n $"Stopping $prog: "

killproc xinetd

RETVAL=$?

echo

rm -f /var/lock/subsys/xinetd

return $RETVAL

}

reload(){

echo -n $"Reloading configuration: "

killproc xinetd -USR2

RETVAL=$?

echo

return $RETVAL

}

restart(){

stop

start

}

condrestart(){

[ -e /var/lock/subsys/xinetd ] && restart

return 0

}

# See how we were called.

case "$1" in

start)
start
;;

stop)
stop
;;

status)
status xinetd
;;

restart)
restart
;;

reload)
reload
;;
condrestart)

condrestart
;;
*)

echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}"

RETVAL=1

esac

exit $RETVAL

然后加可执行权限,启动xinetd并设置开机启动(启动如果报错有可能是字符编码的问题,vim进入xinetd文件:set ff=unix  然后:wq即可)

chmod +x /etc/init.d/xinetd
/etc/init.d/xinetd start
systemctrl enable xinetd

三、安装NBU7.5到Redhat7

首先检测xinetd是否启动 

ps -ef|grep xinetd

 解压NBU客户端 

进入目录开始安装

 后面界面就下一步下一步即可添加授权的时候输入授权然后就n不继续添加

 

 

 

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/599753.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号