原文:http://www.cnblogs.com/dudu/p/aspnet_custom_error.html要在ASP.NET中处理好自定义错误(Custom Errors)首先要抛弃使用web.config\customErrors。 使用web.config\customErrors...
分类:
Web程序 时间:
2014-06-27 21:49:18
阅读次数:
223
需要测试OpenSuSE11 x64上mysql性能,发现很多东西与centos以及红帽有差别。其中最切身的就是sshd服务的开启。安装好OpenSuSE 11后,发现ssh连接不上去,可以ping通,telnet不行。查看服务后,发现ssh服务没有开启。开启步骤:1.修改sshd_config文件...
分类:
其他好文 时间:
2014-06-27 21:38:29
阅读次数:
319
DataSet ds = XmlHelper.GetDataSetByXml(AppDomain.CurrentDomain.BaseDirectory + "/Config/ConfigName.xml");//取得xml文件DataTable dt = ds.Tables["table_Name...
分类:
其他好文 时间:
2014-06-27 21:33:05
阅读次数:
239
转自:简述configure、pkg-config、pkg_config_path三者的关系 一、什么是configure 源码安装过程中大多会用到configure这个程序,一般的configure都是一个script,执行时可以传入必要参数告知配置项目。 configure程序它会根据传...
分类:
其他好文 时间:
2014-06-27 00:25:45
阅读次数:
310
方法一:web.config文件——设置:在web.config文件里添加关键字key是通过标记来实现的,但是appSettings标记通常放在.....标记外面。例:——读取:要在代码中引用这些数据库连接字符串,需要先添加对System.ConFiguration名字空间的引用,在这个名字空间中含...
分类:
Web程序 时间:
2014-06-26 23:48:51
阅读次数:
253
$attribute = Mage::getSingleton('eav/config')->getAttribute('catalog_product', 'color');if ($attribute->usesSource()) { $options = $attribute->getSour...
分类:
其他好文 时间:
2014-06-25 18:33:38
阅读次数:
228
配合lvs的ha模式,lvs的ha模式可以参考这里ssdb主机:192.168.1.104192.168.1.108修改ssdb.conf104主机# ssdb-server config# MUST indent by TAB!# relative to path of this file, di...
分类:
数据库 时间:
2014-06-25 16:21:01
阅读次数:
449
关闭SELINUXvi /etc/selinux/config#SELINUX=enforcing #注释掉#SELINUXTYPE=targeted #注释掉SELINUX=disabled #增加:wq! #保存退出setenforce 0 #使配置立即生效mysql 5.5.28安装安装路径:...
分类:
数据库 时间:
2014-06-25 12:32:30
阅读次数:
348
sudo update-alternatives --config java
然后就可以选择想要的jre版本啦...
分类:
系统相关 时间:
2014-06-25 10:39:08
阅读次数:
262
[root@localhost~]#system-config-kickstartXlib:extension"RANDR"missingondisplay"localhost:10.0"./usr/share/system-config-kickstart/kickstartGui.py:103:GtkWarning:GtkSpinButton:settinganadjustmentwithnon-zeropagesizeisdeprecatedxml=gtk.glade.XML("/usr/share/s..
分类:
其他好文 时间:
2014-06-24 16:36:29
阅读次数:
553