(这是个人在部署实施Citrix虚拟桌面和应用过程中的一些小结,供大家参考,有不当的地方欢迎指正,我的虚拟化技术交流QQ群:108239387)一、物理服务器xenserver6.1及之前版本系统安装:1、安装时修改参数:(1)按F2进入高级安装模式:(2)在boot后面输入shell命令:(3)编辑..
分类:
其他好文 时间:
2014-06-10 23:01:58
阅读次数:
710
1、日志切割Nginx的日志切割有两种方式:第一种是编写shell脚本,思路是:先把需要切割的日志重命名,然后使用kill-USR1`catPID`命令生成新的日志文件。第二种是使用系统自带的logrotate工具来实现。在/etc/logrotate.d/下新建一个配置文件,内容如下:/tol/app/nginx/logs/*.lo..
分类:
其他好文 时间:
2014-06-10 22:47:43
阅读次数:
405
1059: 判别该年份是否闰年Time Limit:1 SecMemory Limit:128
MBSubmit:222Solved:139[Submit][Status][Web
Board]Description给年份year,定义一个宏,以判别该年份是否闰年。提示:宏名可以定义为LEAP_YE...
分类:
其他好文 时间:
2014-06-10 20:34:26
阅读次数:
288
less工具也是对文件或其它输出进行分页显示的工具,应该说是linux正统查看文件内容的工具,功能极其强大。less的用法比起more更加的有弹性。在more的时候,我们并没有办法向前面翻,只能往后面看,但若使用了less时,就可以使用[pageup][pagedown]等按键的功能来往前往后翻看文...
分类:
系统相关 时间:
2014-06-10 20:21:51
阅读次数:
334
Unlike other promotional products, custom,
these bags are? U? A useful tool for advertising because the ads joke Wielen
fill the chest. If you want yo...
分类:
其他好文 时间:
2014-06-10 20:12:34
阅读次数:
298
1,普通函数定义及使用 func
myFunction(message:String="message",repeat:Int = 1){//可以设置函数默认参数值(very nice)
println("text is \(message) time is :\(repeat)") }...
分类:
其他好文 时间:
2014-06-10 19:32:10
阅读次数:
202
题目
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).
The robot can only move either down or right at any point in time. The robot is trying t...
分类:
其他好文 时间:
2014-06-10 18:43:37
阅读次数:
254
数塔
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 20786 Accepted Submission(s): 12486
Problem Description
在讲述DP算法的时候,一个经典的例子就是数...
分类:
其他好文 时间:
2014-06-10 18:03:42
阅读次数:
272
免费馅饼
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 24440 Accepted Submission(s): 8264
Problem Description
都说天上不会掉馅饼,但有一天gamebo...
分类:
其他好文 时间:
2014-06-10 18:03:05
阅读次数:
184
The most strait forward approach is calculating
all the possible areas and keep the max one as the result. This approach needs
O(n*n) time complexity,...
分类:
其他好文 时间:
2014-06-10 16:11:31
阅读次数:
184