/etc/rsyncd.conf文件 bash-2.03# cat /etc/rsyncd.conf uid = nobody gid = nobody use chroot = no # 不使用chroot max connections = 4 # 最大连接数为4 pid file = /var/run/rsyncd.pid lock file = /var/run...
分类:
其他好文 时间:
2015-08-25 19:50:02
阅读次数:
160
1、将这三个包上传到liunx上,之后写一个run.sh 的脚本文件,然后在lib包中上传包《sunjce-provider.jar》包。2、启动run.sh( ./run.sh start)3、tail -fn 100 out.txt 查看输出(类似于控制台)4、如果想要改动代码 需要先停止sto...
分类:
编程语言 时间:
2015-08-25 18:58:53
阅读次数:
149
在service中弹出toast,需要使用handler,1 handler.post(new Runnable() {2 @Override3 public void run() {4 Toast.makeText(this, "重启服务", 1).show...
分类:
移动开发 时间:
2015-08-25 18:40:24
阅读次数:
139
错误:java.lang.NullPointerException11-15 09:04:21.023: E/AndroidRuntime(4057): at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:59...
分类:
移动开发 时间:
2015-08-25 16:18:02
阅读次数:
166
saltstack文件下发与拉取salt的文件下发,使用cp.get_file函数,空文件是不生效的root@hadmbase]#salt‘*‘cmd.run‘ls/root/‘
hadm.com:
anaconda-ks.cfg
install.log
install.log.syslog
had6.com:
abc
anaconda-ks.cfg
dump.rdb
install.log
install.log.syslog
put1
puth1
tes..
分类:
其他好文 时间:
2015-08-25 14:26:11
阅读次数:
204
下载相应系统的Qt版本。http://www.qt.io/download-open-source/#section-2安装的是32位的ubuntu,就下载x86的。就是这个qt-opensource-linux-x86-5.5.0.run。下完之后,cd到下载的那个目录,更改文件权限chmod700qt-opensource-linux-x86-5.5.0.run然后执行./qt-opensource-li..
分类:
系统相关 时间:
2015-08-25 12:23:45
阅读次数:
731
1.首先来说说创建线程的两种方式一种方式是继承Thread类,并重写run()方法 1 public class MyThread extends Thread{ 2 @Override 3 public void run() { 4 // TODO Auto-gen...
分类:
编程语言 时间:
2015-08-25 11:59:14
阅读次数:
208
使用service tomcat-web1 start命令报下面的错误
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined. At least one of these environment variable is needed to run this program...
分类:
数据库 时间:
2015-08-21 19:36:23
阅读次数:
234
运行时类型识别(RTTI, Run-Time Type Identification)是Java中非常有用的机制,在Java运行时,RTTI维护类的相关信息。多态(polymorphism)是基于RTTI实现的。RTTI的功能主要是由Class类实现的。Class类Class类是"类的类"(clas...
分类:
编程语言 时间:
2015-08-21 19:16:18
阅读次数:
169
配置mainClass: org.apache.maven.plugins maven-jar-plugin 2.5 true cn.edu.hfut.dmic.webcollector.example.TutorialCrawler2 run as->cleanrun as->in...
分类:
编程语言 时间:
2015-08-21 18:58:42
阅读次数:
180