/etc/sysconfig/network-scripts/ifcfg-eth0IPADDR=x.x.x.xGATEWAY=y.y.y.yNETMASK=x.x.x.xyum
-y install openssh-server openssh-clientschkconfig sshd onser...
分类:
其他好文 时间:
2014-05-09 04:25:47
阅读次数:
287
//
获取程序的基目录。System.AppDomain.CurrentDomain.BaseDirectory//
获取模块的完整路径。System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName//
获取和设置当前目录(该进...
分类:
移动开发 时间:
2014-05-08 23:49:48
阅读次数:
364
1、首先比较简单的我们知道有类似的方法如下
System.Diagnostics.Process.Start("http://www.baidu.com");2、比较灵活一点,可以定义窗口大小,我们要实现网页中脚本打开页面的方法,即window.open
那么,我们必然会想,如何调用页面的脚本呢?其...
用 oracle net manager
将监听改为IP地址,将服务命名也改为IP地址,然后数据库连接改为IP地址方式不要用localhost
分类:
Web程序 时间:
2014-05-08 18:35:45
阅读次数:
255
C#获取当前路径的方法如下:1.
System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName-获取模块的完整路径。2.
System.Environment.CurrentDirectory-获取和设置当前目录(该进程从中启动...
分类:
其他好文 时间:
2014-05-08 11:52:05
阅读次数:
240
先查看一下ssh服务状态:# svcs或# svcs | grep sshonline
Aug_07 svc:/network/ssh:default 如需要关闭ssh服务(关闭完可以 svcs | grep ssh 查看一下状态):#
svcadm disable svc:/n...
分类:
其他好文 时间:
2014-05-08 11:30:53
阅读次数:
443
1、IP错误:
在设置URL时错误,例如:jdbc:oracle:thin:@192.168.1.80:1521:orcl 数据库服务器是否正确:ping
服务器IP是否通畅。ping不通则将URL更改正确。 端口号是否正确。 进行一下操作:在DOS上键入sqlplus,检查oracle是否开启 一...
分类:
Web程序 时间:
2014-05-08 09:07:17
阅读次数:
514
先上源码: 1 using System; 2 using
System.Diagnostics; 3 using System.IO; 4 using System.IO.Compression; 5 using
System.Text; 6 7 namespace TestCompress 8....
分类:
其他好文 时间:
2014-05-08 07:04:16
阅读次数:
360
Ubuntu中/etc/resolv.conf重启后nameserver会被清空解决方法一sudovim/etc/resolvconf/resolv.conf.d/basenameserver8.8.8.8nameserver8.8.4.4解决方法二sudovim/etc/network/interfacesdns-nameservers8.8.8.88.8.4.4
分类:
其他好文 时间:
2014-05-08 02:16:03
阅读次数:
539
Network Working Group S. BradnerRequest for
Comments: 2119 Harvard UniversityBCP: 1...
分类:
其他好文 时间:
2014-05-07 21:26:24
阅读次数:
379