• 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

  • 相关阅读:
    Python3之json文件操作
    Python3之MySQL操作
    使用requests模块的网络编程
    Python 判断小数的函数
    python之函数
    CPUID
    .inc
    probe,victim,
    coolcode
    Linux vim 常用方法
  • 原文地址:https://www.cnblogs.com/ytjjyy/p/4109791.html
Copyright © 2020-2023  润新知