`
bluepeer
  • 浏览: 72347 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论
文章列表
引用 :http://www.ibm.com/developerworks/cn/java/l-niosvr/
在NIO中,在bind地址和端口的时候,或许你会用: Selector selector = Selector.open(); ServerSocketChannel ssc = ServerSocketChannel.open(); System.out.println("localhost:" + InetAddress.getLocalHost().toString()); InetSocketAddress address = new InetSocketAddress(InetAddress.getLocalHost(), 9494); ssc.socket().b ...
控制面板--->>程序和功能--->>打开或关闭windows功能 勾选telnet客户端,telnet服务端 测试一下:telnet 127.0.0.1 90000
除了关掉防火墙,还可以开放指定的端口。 iptables -I INPUT -p tcp --dport 25 -j ACCEPT 开放25端口。
最近做postfix本地测试。突然发现不会修改本机本地域名。查了查资料分享一下: [root@localhost ~]# cat /etc/sysconfig/network NETWORKING=yes NETWORKING_IPV6=no HOSTNAME=localhost.localdomain HOSTNAME就是这个了,把他修改了。 [root@localhost ~]# cat /etc/sysconfig/network NETWORKING=yes NETWORKING_IPV6=no HOSTNAME=localhost.localdomain [root@localh ...
JAVA性能白皮书: http://java.sun.com/performance/reference/whitepapers/tuning.html#section4.2.4
引用:http://www.cjsdn.net/post/print?bid=62&id=198084 1.JVM参数调优,无停滞实践 Posted by: liuaike Posted on: 2009-06-27 00:36 JVM参数调优是个很头痛的问题,设置的不好,JVM不断执行Full GC,导致整个系统变得很慢,网站停滞时间能达10秒以上 ...
引用:http://techhouse.blog.sohu.com/112937162.html subverion就不多介绍啦,下面是安装和配置详细 安装环境和软件: 1) RedHat AdvanceServer 4 Update 4 2) subversion-1.6.0 3)apache-2.2.11 4) apache apr-1.3.3 5) apache apr-util-1.3.4 6)sqlite-amalgamation-3.6.11 7) ...

postfix用到死机

如果你在发邮件的时候,一次性发太大量了。有可能内存占用过多,死机了。如果无法启动。解决办法: 1.单模式进入系统(single linux) 2.把/etc/postfix/mail.cf移开,重启后再移回来。 3.启动postfix 大功告成。
[root@localhost software]# tar -zxvf resin-3.1.8.tar.gz [root@localhost software]# cd resin-3.1.8 [root@localhost resin-3.1.8]# ./configure [root@localhost resin-3.1.8]# make [root@localhost resin-3.1.8]# make install [root@localhost resin-3.1.8]# source /etc/profile [root@localhost resin-3.1.8]# j ...
下载下来: -rw-r--r-- 1 root root  7635229 Jul 30 07:38 MySQL-client-community-5.1.49-1.rhel5.i386.rpm -rw-r--r-- 1 root root 21277185 Jul 30 07:38 MySQL-server-community-5.1.49-1.rhel5.i386.rpm 动工了: [root@localhost software]# rpm -ivh MySQL-server-community-5.1.49-1.rhel5.i386.rpm [root@localhost softw ...
执行./configure 然后就出现以下提示 : checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking whether make sets $(MAKE)... yes checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found ...
Global site tag (gtag.js) - Google Analytics