mysql服务器
sudo apt-get install mysql-server
进入
mysql -u root -p
密码
远程访问不了http://blog.csdn.net/d87420572/article/details/8700902
授权
mysql>
GRANT
ALL
PRIVILEGES
ON
*.*
TO
'senRsl'
@
'%'
IDENTIFIED
BY
'0123'
WITH
GRANT
OPTION
;
使修改生效FLUSH
PRIVILEGES;
登陆
关闭防火墙
- senrsl@senrsl-ubuntu:~/test$ mysql -u root -p
- Enter password:
- Welcome to the MySQL monitor. Commands end with ; or \g.
- Your MySQL connection id is 38
- Server version: 5.5.35-1ubuntu1 (Ubuntu)
- Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
- Oracle is a registered trademark of Oracle Corporation and/or its
- affiliates. Other names may be trademarks of their respective
- owners.
- Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
- mysql> use mysql;
- Reading table information for completion of table and column names
- You can turn off this feature to get a quicker startup with -A
- Database changed
- mysql> select host.user from user;
- ERROR 1054 (42S22): Unknown column 'host.user' in 'field list'
- mysql> select host,user from user;
- +---------------+------------------+
- | host | user |
- +---------------+------------------+
- | % | root |
- | % | senRsl |
- | 127.0.0.1 | root |
- | ::1 | root |
- | localhost | debian-sys-maint |
- | localhost | root |
- | senrsl-ubuntu | root |
- +---------------+------------------+
- 7 rows in set (0.00 sec)
- mysql>
sudo ufw status
查看端口是否开启
netstat -an | grep tcp
修改绑定地址
senrsl@senrsl-ubuntu:~/test$ sudo gedit /etc/mysql/my.cnf
重启mysql
部署openfire,到
jdbc:mysql://localhost:3306/test_openfire?useUnicode=true&characterEncoding=UTF-8&characterSetResults=UTF-8
增加用户,用户后面@之后要填后来配的,比方说sd@192.168.9.9,当初配的是senrsl- ubuntu,所以,实际应该填 sd@senrsl-ubuntu,不然找不到用户。。。。
视频通话
Could not establish connection ICE failed
jvb.sh --secret=xxxxx --domain='example.com' --port=5275 sudo ./jvb.sh --secret=xxxxx --domain='192.168.9.9' --port=5275从一个内斗严重的阵地跳出来,跳到另一个内斗纷繁的环境中去。。。。
服务器 win server 2008配置openfire
jdbc:mysql://localhost:3306/openfire?useUnicode=true&characterEncoding=UTF-8&characterSetResults=UTF-8
jdbc:mysql://127.0.0.1:3306/openfire?useUnicode=true&characterEncoding=UTF-8&characterSetResults=UTF-8
jvb.bat --secret=dc --domain='192.168.4.225' --port=5275
无语,openfire只有x32的win版,放到x64一堆错,调好了结果插件又一堆错。。。。
服务器有四个网卡。。。。
128G内存。。。。
豪华配置。。。。
2014年10月22日21:35:55
闪人。
给架了个linux服务器,我去,除了ssh能不能图形化连接一下。。。。
[root@localhost ~]# lsb_release -a图形化VNC。。。。
LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.2 (Final)
Release: 6.2
Codename: Final
好吧,带ftp的ssh比图形化啊好用
jdbc:mysql://192.168.4.225:3306/openfire?useUnicode=true&characterEncoding=UTF-8&characterSetResults=UTF-8
使用自带的openjdk1.6,结果插件跑不起来。。。。
然后,卸载以前的,安新的。
查看以前的
[root@localhost bin]# rpm -qa | grep javarpm -e --nodeps java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64
openoffice.org-javafilter-3.2.1-19.6.el6_0.5.x86_64
tzdata-java-2011l-4.el6.noarch
java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64
java-1.6.0-openjdk-1.6.0.0-1.41.1.10.4.el6.x86_64
java_cup-0.10k-5.el6.x86_64
[root@localhost bin]#
rpm -e --nodeps java-1.6.0-openjdk-1.6.0.0-1.41.1.10.4.el6.x86_64
然后安装新的
然后跑openfire
- [root@localhost openfire]# ll
- 总用量 133456
- -rw-r--r-- 1 root root 126679286 10月 23 21:28 jdk-7u71-linux-x64.rpm
- drwxr-xr-x 10 root root 4096 5月 7 02:59 openfire
- -rw-r--r-- 1 root root 9969978 10月 23 21:29 openfire_3_9_3.tar.gz
- [root@localhost openfire]# rpm -ivh jdk-7u71-linux-x64.rpm
- Preparing... ########################################### [100%]
- 1:jdk ########################################### [100%]
- Unpacking JAR files...
- rt.jar...
- jsse.jar...
- charsets.jar...
- tools.jar...
- localedata.jar...
- jfxrt.jar...
- [root@localhost openfire]# java -version
- java version "1.7.0_71"
- Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
- Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)
- [root@localhost openfire]#
然后插件被读出来了
./jvb.sh --secret=dc --domain='10.1.11.201' --port=5275
下载jitsi源码,然后导入eclipse,编译,或者直接ant build run
详细教程https://jitsi.org/Documentation/ConfigureEclipseNew
jitsi跑android项目http://blog.csdn.net/t273453051/article/details/23924693
1,解压,导入源码,导入eclipse;
2,在jitsi目录下创建local.properties
内容
3,终端senrsl@senrsl-ubuntu:~/test/jisti/jitsi-android-master$ ant setup-libs
- # This file is automatically generated by Android Tools.
- # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
- #
- # This file must *NOT* be checked into Version Control Systems,
- # as it contains information specific to your local configuration.
- # location of the SDK. This is only used by Ant
- # For customization when using a Version Control System, please read the
- # header note.
- sdk.dir=/home/senrsl/android/adt-bundle-linux-x86_64-20140702/sdk
- # This file is automatically generated by Android Tools.
- # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
- #
- # This file must be checked in Version Control Systems.
- #
- # To customize properties used by the Ant build system use,
- # "ant.properties", and override values to adapt the script to your
- # project structure.
- #proguard.config=proguard.cfg
- # Project target.
- target=android-19
4,编译成功,刷新项目,此时项目不报错,Run As,然后手机正常运行。
- senrsl@senrsl-ubuntu:~$ cd test/jisti/jitsi-android-master/
- senrsl@senrsl-ubuntu:~/test/jisti/jitsi-android-master$ ant setup-libs
- Buildfile: /home/senrsl/test/jisti/jitsi-android-master/build.xml
- define-jarjar:
- create-asset-dex:
- [getbuildtools] Using latest Build Tools: 20.0.0
- [copy] Copying 20 files to /home/senrsl/test/jisti/jitsi-android-master/bin/asset-libs
- [jarjar] Building jar: /home/senrsl/test/jisti/jitsi-android-master/bin/asset-libs/protocol-sip.jar
- [jarjar] Building jar: /home/senrsl/test/jisti/jitsi-android-master/bin/asset-libs/smacklib.jar
- [jarjar] Building jar: /home/senrsl/test/jisti/jitsi-android-master/bin/asset-libs/protocol-jabber.jar
- [mkdir] Created dir: /home/senrsl/test/jisti/jitsi-android-master/bin/jitsi_bundles_dex_dir
- [dex] input: /home/senrsl/test/jisti/jitsi-android-master/bin/asset-libs
- [dex] Converting compiled files and external libraries into /home/senrsl/test/jisti/jitsi-android-master/bin/jitsi_bundles_dex_dir/classes.dex...
- [jar] Building jar: /home/senrsl/test/jisti/jitsi-android-master/assets/jitsi-bundles-dex.jar
- [delete] Deleting directory /home/senrsl/test/jisti/jitsi-android-master/bin/asset-libs
- setup-libs:
- [mkdir] Created dir: /home/senrsl/test/jisti/jitsi-android-master/libs
- [jarjar] Building jar: /home/senrsl/test/jisti/jitsi-android-master/libs/ui-service.jar
- [jarjar] Building jar: /home/senrsl/test/jisti/jitsi-android-master/libs/protocol.jar
- [jarjar] Building jar: /home/senrsl/test/jisti/jitsi-android-master/libs/libjitsi.jar
- [jarjar] Building jar: /home/senrsl/test/jisti/jitsi-android-master/libs/bouncycastle.jar
- [jarjar] Building jar: /home/senrsl/test/jisti/jitsi-android-master/libs/bccontrib.jar
- [jarjar] Building jar: /home/senrsl/test/jisti/jitsi-android-master/libs/certificate.jar
- [jarjar] Building jar: /home/senrsl/test/jisti/jitsi-android-master/libs/zrtp4j.jar
- [jarjar] Building jar: /home/senrsl/test/jisti/jitsi-android-master/libs/otr.jar
- [jarjar] Building jar: /home/senrsl/test/jisti/jitsi-android-master/libs/commons-codec.jar
- [jarjar] Building jar: /home/senrsl/test/jisti/jitsi-android-master/libs/sdes4j.jar
- [jarjar] Building jar: /home/senrsl/test/jisti/jitsi-android-master/libs/httpcore.jar
- [jarjar] Building jar: /home/senrsl/test/jisti/jitsi-android-master/libs/httpclient.jar
- [jarjar] Building jar: /home/senrsl/test/jisti/jitsi-android-master/libs/httputil.jar
- [jarjar] Building jar: /home/senrsl/test/jisti/jitsi-android-master/libs/java-stubs.jar
- [jarjar] Building jar: /home/senrsl/test/jisti/jitsi-android-master/libs/resourcemanager.jar
- [copy] Copying 32 files to /home/senrsl/test/jisti/jitsi-android-master/libs
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/bundles/browserlauncher.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/browserlauncher.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/bundles/callhistory.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/callhistory.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/bundles/contactlist.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/contactlist.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/bundles/contactsource.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/contactsource.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/bundles/credentialsstorage.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/credentialsstorage.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/bundles/defaultresources.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/defaultresources.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/bundles/dnsservice.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/dnsservice.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/bundles/filehistory.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/filehistory.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/bundles/globaldisplaydetails.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/globaldisplaydetails.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/bundles/history.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/history.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/bundles/metahistory.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/metahistory.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/bundles/msghistory.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/msghistory.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/bundles/muc.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/muc.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/bundles/netaddr.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/netaddr.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/bundles/notification-service.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/notification-service.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/bundles/notification-wiring.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/notification-wiring.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/bundles/plugin-loggingutils.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/plugin-loggingutils.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/bundles/replacement.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/replacement.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/bundles/sysactivitynotifications.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/sysactivitynotifications.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/bundles/systray-service.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/systray-service.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/bundles/updateservice.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/updateservice.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/bundles/util.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/util.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/native/armeabi/libjnawtrenderer.so to /home/senrsl/test/jisti/jitsi-android-master/libs/armeabi/libjnawtrenderer.so
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/native/armeabi/libjnffmpeg.so to /home/senrsl/test/jisti/jitsi-android-master/libs/armeabi/libjnffmpeg.so
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/native/armeabi/libjng722.so to /home/senrsl/test/jisti/jitsi-android-master/libs/armeabi/libjng722.so
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/native/armeabi/libjnopensles.so to /home/senrsl/test/jisti/jitsi-android-master/libs/armeabi/libjnopensles.so
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/native/armeabi/libjnopus.so to /home/senrsl/test/jisti/jitsi-android-master/libs/armeabi/libjnopus.so
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/native/armeabi/libjnspeex.so to /home/senrsl/test/jisti/jitsi-android-master/libs/armeabi/libjnspeex.so
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/android-support-v4.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/android-support-v4.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/log4j-1.2.8.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/log4j-1.2.8.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/osgi.core.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/osgi.core.jar
- [copy] Copying /home/senrsl/test/jisti/jitsi-android-master/lib/smack-sasl.jar to /home/senrsl/test/jisti/jitsi-android-master/libs/smack-sasl.jar
- BUILD SUCCESSFUL
- Total time: 14 seconds
- senrsl@senrsl-ubuntu:~/test/jisti/jitsi-android-master$
然后折腾PC客户端
https://jitsi.org/Documentation/ConfigureEclipseNew
http://blog.csdn.net/kl222/article/details/7489833
1,导入项目
2,配置ant,
eclipse,windows-show views-ant,打开ant视图,
右键 Add Buildfiles,选择项目下的build.xml
3,双击make执行编译,双击run执行运行。
4,配置debug
项目右键,debug as,debug configuration,
java application,New,依次填入。
切换选项卡到Arguments,
VM arg:
Apply,Debug.
- -Dfelix.config.properties=file:lib/felix.client.run.properties
- -Djava.util.logging.config.file=lib/logging.properties
- -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=test/jisti/dev-debug
一开始PC端用最新版2.5,结果没声音,视频超级不稳定,然后改下2.4最后一个版本,good.
明天开始改源码。
没有评论 :
发表评论