zoukankan      html  css  js  c++  java
  • centos 6.5 openfire安装

    1、下载:http://igniterealtime.org/downloads/download-landing.jsp?file=openfire/openfire-3.9.3-1.i386.rpm

    2、rpm -ivh openfire-3.9.3-1.i386.rpm

    3、安装过程如下

    Preparing... ########################################### [100%]
    1:openfire ########################################### [100%]
    默认安装在 /opt/openfire

    4、开启端口

    /sbin/iptables -I INPUT -p tcp --dport 9090 -j ACCEPT #为指定端口9090
    /etc/rc.d/init.d/iptables save #将更改进行保存
    /etc/init.d/iptables restart #重启防火墙以便改动生效

    5、chkconfig --level 235 openfire on

    [root@deathstar log]# cd /opt/openfire/logs/
    [root@deathstar logs]# ls
    nohup.out
    [root@deathstar logs]# cat nohup.out
    nohup: failed to run command `/opt/openfire/jre/bin/java': No such file or directory
    [root@deathstar logs]# /opt/openfire/jre/bin/java
    bash: /opt/openfire/jre/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
    [root@deathstar logs]# cd ../jre/bin/
    [root@deathstar bin]# ls
    ControlPanel  java  java_vm  jcontrol  keytool  orbd  pack200  policytool  rmid  rmiregistry  servertool  tnameserv  unpack200

    alter table ofUser drop primary key;
    alter table ofUser add id int auto_increment primary key;

    yum install libldb.i686

  • 相关阅读:
    RJ-45与RJ-48的区别
    PCB设计铜铂厚度、线宽和电流关系
    PCB设计铜铂厚度、线宽和电流关系
    WiFi天线对PCB布局布线和结构的要求详解
    WiFi模块选型参考
    掩码是什么意思?
    计算机音频基础-PCM简介
    使用CSS2对页面中的文字添加彩色边框
    SQL Plus
    A Famous Music Composer
  • 原文地址:https://www.cnblogs.com/ytjjyy/p/4109791.html
Copyright © 2011-2022 走看看