zoukankan      html  css  js  c++  java
  • linux 绿色版 bes 6.6服务安装

    linux 绿色版 bes 6.6服务安装

    先上传bes.tar到目标服务器的 /usr/local目录(以root用户来安装)

    #cd /usr/local

    #grep bes /etc/passwd || (useradd bes && echo '!QAZ4esz' | passwd --stdin bes)

    #tar -xzf bes.tgz

    #chown -R bes:bes bes

    #cat <<EOF >> /etc/profile

    #PATH=\$PATH:/usr/local/bes/bin

    #export PATH

    #EOF

    #source /etc/profile

    #echo "$(ifconfig eth0 | awk -F : '/inet addr/{print $2}'|awk '{print $1}')   $(hostname)" >> /etc/hosts

     

    修改agent name

    #sed -i "s/agent.name=.*$/gent.name=$HOSTNAME/g"  /usr/local/bes/var/domains/base/adm/properties/agent.properties 

    #sed -i "s/AGENT.name=.*$/AGENT.name=$HOSTNAME/g" /usr/local/bes/var/domains/base/adm/properties/agent.properties

     

     查看端口

    /usr/local/bes/var/domains/base/adm/properties/management_vbroker.properties中的iiop端口(默认为8000,通常不用修改,如果不是请修改)

    vbroker.se.iiop_tp.scm.iiop_tp.listener.port=8000

    #grep iiop_tp /usr/local/bes/var/domains/base/adm/properties/management_vbroker.properties

     license文件注册

    #rm /usr/local/bes/var/{.bky-ckh-smz41,.rqnmvd3,borland.*,.yxutck3} -rf

     

     bes Server文件夹中的bes文件拷贝到服务器/etc/rc.d/init.d目录中

    #cp bes /etc/rc.d/init.d

    #chmod 755 bes

    #chkconfig --add bes

    #chkconfig bes on

     

    启动bes服务

    service bes start

    使bes自启动

    #vi /etc/rc.d/rc.local

    #添加如下:

    #bes command

    service bes start

  • 相关阅读:
    Passion回来了
    VS.NET Addin在Design time获取控件值
    [过时的消息]VS2005 Shipped!
    为asp.net程序添加自定义配置区域
    Visual Studio .NET 2002 Service Pack 1 出来了
    Winform下通过控件名称来获取控件
    new blog, new life
    我的hotmail信箱容量变成2G了!
    first day in microsoft
    在client端通过java script调用Web Service
  • 原文地址:https://www.cnblogs.com/zhuhongbao/p/3117892.html
Copyright © 2011-2022 走看看