开启rewrite模块 ls?-l?/etc/apache2/mods-available/rewrite.load??
sudo?a2enmod?rewrite???
ls?-l?/etc/apache2/mods-enabled/rewrite.load?
sudo?vi?/etc/apache2/sites-available/default
su...
分类:
系统相关 时间:
2014-08-15 21:16:49
阅读次数:
306
You should first runupdate, thenupgrade. Neither of them automatically runs the other.apt-get updateupdates the list of available packages and their v...
分类:
其他好文 时间:
2014-08-15 21:05:19
阅读次数:
229
When designing your application to support a wide range of screen sizes, you can reuse your fragments in different layout configurations to optimize the user experience based on the available screen space.
For example, on a handset device it might be appr...
分类:
移动开发 时间:
2014-08-15 01:33:26
阅读次数:
344
SystemCenter2012R2POC部署之Orchestrator设计监控DHCP服务状态流程本文介绍如何设计流程以监控DHCP服务状态,当服务停止时触发流程自动启动DHCP服务。打开RunbookDesigner,右键Runbook---新建---文件夹输入文件夹名称Monitor右键Monitor---新建----Runbook输入Runbook名称Mon..
分类:
其他好文 时间:
2014-08-14 21:03:00
阅读次数:
771
Say you have an array for which the ith element is the price of a given stock on day i.If you were only permitted to complete at most one transaction ...
分类:
其他好文 时间:
2014-08-14 20:30:19
阅读次数:
197
本文转载自:http://blog.csdn.net/youbl/article/details/11067369这段时间处理Socket通讯,比如文件传输,通常代码如下:string filename = @"c:\abc.txt";// 发送文件名字符串长度(测试代码,实际请传输字符串字节长度)...
分类:
其他好文 时间:
2014-08-14 19:50:59
阅读次数:
140
Sunny and Johnny together have M dollars which they intend to use at the ice cream parlour. Among N flavors available, they have to choose two distinc...
分类:
其他好文 时间:
2014-08-14 16:38:58
阅读次数:
317
1 /*-----------------------------------------------------------------------*/ 2 /* Forward data to the stream directly (available on only tiny cfg) .....
分类:
其他好文 时间:
2014-08-14 13:21:58
阅读次数:
743
[root@ipaserver~]#yuminstallipa-serverTransactionCheckError:file/usr/share/man/man3/XML::SAX::Base.3pm.gzconflictsbetweenattemptedinstallsofperl-XML-SAX-0.96-7.el6.noarchandperl-XML-SAX-Base-1.04-1.el6.rf.noarchfile/usr/share/man/man3/XML::SAX::Exception.3p..
分类:
其他好文 时间:
2014-08-14 04:05:58
阅读次数:
482
先来看一个概念: 数据库事务(Database Transaction) ,是指作为单个逻辑工作单元执行的一系列操作,要么完整地执行,要么完全地不执行。那么在存储过程里添加事务,则可以保证该事务里的所有sql代码要么完全执行要么完全不执行。 举个简单的带事务的存储过程: Begin ...
分类:
数据库 时间:
2014-08-13 21:35:37
阅读次数:
224