摘自《Asp.Net 本质论》作者:郝冠军/*
为了简化基于TCP协议的监听程序,.NET在System.Net.Sockets命名空间中提供了TcpListerer类,使用它,在构造函数中传递一组网络端点信息就可以准备好监听参数,而不再需要设置使用的网络协议等细节,调用Start方法之后,...
分类:
Web程序 时间:
2014-07-22 23:16:34
阅读次数:
456
方法1,使用tengcy的方法,永远启动到字符终端模式要修改"/etc/init/gdm.conf"将第13行:"stop on runlevel
[016]"修改为:"stop on runlevel [0126]"这样就永远启动到字符终端模式,如果想用Xwindow,则在登录后,使用startx...
分类:
其他好文 时间:
2014-07-22 23:16:34
阅读次数:
656
Several ports (8005, 8080, 8009) required by Tomcat
v7.0 Server at localhost are already in use. The server may already be running
in another process,...
分类:
其他好文 时间:
2014-07-22 23:13:56
阅读次数:
299
echo 命令rem 命令pause 命令call 命令start 命令goto 命令set
命令编辑本段批处理符号简介回显屏蔽 重定向1 与重定向2 管道符号 转义符
逻辑命令符编辑本段常用DOS命令释义文件夹管理文件管理网络命令系统管理编辑本段语句结构释义if语句选择结构for语句循环结构编辑本...
分类:
其他好文 时间:
2014-07-22 23:11:55
阅读次数:
519
一.环境软件:apache-tomcat-7.0.53.tar.gzsolr-4.7.1.tgzzookeeper-3.4.6.tar.gz规划:三个节点IP:192.168.50.9192.168.50.227192.168.20.32请配置每台机器上hosts文件,使每个节点都能通过机器名访问
...
分类:
其他好文 时间:
2014-07-22 23:06:15
阅读次数:
494
1 background: -webkit-gradient(linear,left
bottom,left top,color-stop(0,white),color-stop(0.5,#eee));2 background:
-webkit-linear-gradient(center bott...
分类:
其他好文 时间:
2014-07-22 23:06:13
阅读次数:
364
批处理命令启动和关闭tomcat,其实只要把tomcat自己的脚本呼叫起来就好了呢关闭tomcatif
exist "C:\Tomcat-7.0.39\bin\shutdown.bat" call
"C:\Tomcat-7.0.39\bin\shutdown.bat"启动tomcatif exist...
分类:
其他好文 时间:
2014-05-01 15:18:52
阅读次数:
321
问题描述:今天一早,所有淡定下来后准备启动本地Tomcat,突然出现一堆错误:严重:
StandardServer.await: create[8005]: java.net.BindException: Cannot assign
requested address: JVM_Bind at...
分类:
编程语言 时间:
2014-05-01 15:18:07
阅读次数:
413
Problem description:given a string, find the
longest palindrome string in itSolution:1.brute force O(n^3)just enumerate start
and end of the substring...
分类:
其他好文 时间:
2014-04-29 17:22:46
阅读次数:
308