摘要:
一、确保Windows防火墙关闭。在我的电脑上右键=》管理,在左边窗口找到“服务和应用程序”,展开,单击“服务”,在右边窗口中找到“Windows Firewall/Internet Connection Sharing (ICS)”,单击“停止”,并把它禁用即可。二、配置VPN服务 1) 开始菜... 阅读全文
摘要:
一、安装PostgreSQL源 CentOS 6.x 32bit CentOS 6.x 64bit CentOS 7 64bit 注意:PostgreSQL9.4 版本有更新 目前变为9.4.2 将rpm 中后面的地址9.4.1 变为9.4.2即可 二、执行安装命令 yum install post 阅读全文
摘要:
一、检查iptables服务状态 #首先在清除前要将policy INPUT改成ACCEPT,表示接受一切请求。#这个一定要先做,不然清空后可能会悲剧iptables -P INPUT ACCEPT #清空默认所有规则iptables -F #清空自定义的所有规则iptables -X #计数器置0 阅读全文
摘要:
#rm ***.***.swp#rm: remove regular file `.Test.java.swp'? y#OK,完成。再用VI打开就可以了。 阅读全文
摘要:
1 public static string FilterHTML(string HTMLStr)2 {3 if (!string.IsNullOrEmpty(HTMLStr))4 return System.Text.Regu... 阅读全文
摘要:
1 private string GetByteString(string center, int maxlen, string endStr) 2 { 3 string temp = center.Substring(0, (center.Length ... 阅读全文
摘要:
一、重启服务器。(将现有的连接都释放)二、修改组策略 运行--gpedit.msc--计算机配置--管理模板--Windows组件--终端服务---右边“限制连接数量” 设定“已启用” --- 并填入最大的连接数1-99999三、修改本地安全策略 控制面板--管理工具--本地安全策略-... 阅读全文
摘要:
1 using System; 2 using System.Collections.Generic; 3 using System.Runtime.CompilerServices; 4 using System.Linq.Expressions; 5 6 namespace Sy... 阅读全文