将错误重定向到文件remove-item none 2> d:\ee.txt将错误追加到已有文件remove-item none 2>> d:\ee.txt将错误发送到成功输出流。如果报错后,代码依然继续执行,则Exception不会被捕获到$myerror = Remove-Item "NoS.....
分类:
其他好文 时间:
2014-07-01 21:23:28
阅读次数:
169
通过yum安装Nagios2012年04月05日?Nagios?暂无评论QQ空间新浪微博腾讯微博人人网更多3前提先自行安装好Apache+php测试环境主监控机:CentOS 6.0被监控机:CentOS 6.2主监控机设置:1、安装epel# cat /etc/issueCentOS releas...
分类:
移动开发 时间:
2014-07-01 21:12:01
阅读次数:
351
题目:Remove Nth Node From End of ListGiven a linked list, remove thenthnode from the end of list and return its head.For example, Given linked list: 1.....
分类:
其他好文 时间:
2014-07-01 20:34:50
阅读次数:
232
系统环境:Centos6.5 x64虚拟机:vmware10网络连接:桥接,选好之后在选择网卡(本机实际上网走的网卡)设置网络: setup (网络这设置工具)service network restarts(重启网络)桥接用的是自己网卡的网络,想要虚拟机上网,必要要四个条件:ip地址,子网掩码,....
分类:
其他好文 时间:
2014-07-01 19:23:45
阅读次数:
326
创建元素document.createElement("li");添加节点oUl.appendChild(oLi);在某个元素之前插入一个节点oUl.insertBefore(oLi,oUl.firstChild);删除节点aA[i].onclick = function(){ Ul.remove....
分类:
其他好文 时间:
2014-07-01 13:24:53
阅读次数:
243
本文档来学习实验环境,内容实验结果全部在机房校验,全部正确无误。系统环境:RHEL6 x86_64 selinux and iptables disabled软件下载:http :// poptop . sourceforge . net / yum / stable / rhel 6/ftp://...
分类:
数据库 时间:
2014-07-01 12:22:09
阅读次数:
280
Note: It may need root user permissions to execute following commands.
(1) Install needed packages
yum install mod_dav_svn subversionIn my PC, packages that were installed are
Note: if you are goi...
分类:
其他好文 时间:
2014-07-01 06:38:19
阅读次数:
397
yum -y install subversion 建立版本库目录 mkdir /opt/svn/repo 修改配置文件(3个文件authz passwd svnserve.conf) cd /opt/svn/repo/conf vi svnserve.conf ...
分类:
Web程序 时间:
2014-07-01 00:55:07
阅读次数:
278
【推荐】在RedHat Server 5.4上安装YUM【利用网易免费yum源,配置和更新yum】今天碰上要给一台装有Linux的机器做维护,于是就以为按照以往经验就能解决问题,但是神奇的发现机器上一堆的软件包都没有安装,最要命的是连软件包管理器也都没有安装,本以为是FreeBSD,查了一下才发现是...
分类:
其他好文 时间:
2014-07-01 00:34:49
阅读次数:
315
环境: REDHAT 5
1. 检查是否安装了VNC:
rpm -qa vnc-server
没安装的话,安装一下:
yum install vnc-server
2. 配置vncserver登录密码:
[root@Redhat ~]# vncserver
You will require a password to access your deskt...
分类:
系统相关 时间:
2014-06-30 19:20:13
阅读次数:
392