?
/opt/openfire/bin/openfirectl
开启setup
mysql ?创建openfire
浏览器访问x.x.x.x:9090
标准数据库连接
jdbc:mysql://127.0.0.1:3306/openfire
关闭setup
?
?
1.7JDK
rpm -ivh jdk-7u45-linux-x64.rpm
JAVA_HOME=/usr/java/jdk1.7.0_45; export JAVA_HOME
CLASSPATH=.:$JAVA_HOME/lib/tools.jar export CLASSPATH
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin export PATH
?
?
unzip apache-tomcat-8.0.0-RC5.zip
mv apache-tomcat-8.0.0-RC5 /usr/Tomcat8
chmod 755 -R Tomcat
cd bin
./startup.sh
test --->http://x.x.x.x:8080?
?
?
修改数据库远程登录权限:
?grant all privileges on *.* to 'root'@'%' identified by 'ddj2013' with grant option;
?