2015年3月24日
摘要:
系统结构---------------------------------------------------------------------------------------------------------NFS服务器端:主机名(IP):Server01 (192.168.11.11)系...
阅读全文
posted @ 2015-03-24 16:16
BoneKing
阅读(477)
推荐(0)
2015年3月16日
摘要:
A Secure Shell (SSH) library for .NET觉得有用,就记录下来了http://www.tamirgal.com/blog/page/SharpSSH.aspxhttp://sourceforge.net/projects/sharpssh/?source=typ_re...
阅读全文
posted @ 2015-03-16 13:46
BoneKing
阅读(8861)
推荐(0)
2015年2月20日
摘要:
简单的两个方法,个人比较喜欢第一个①ALTER SEQUENCE seq RESTART WITH 1;②SELECT setval('sequence_name', 0);参考自http://stackoverflow.com/questions/4678110/how-to-reset-sequ...
阅读全文
posted @ 2015-02-20 13:43
BoneKing
阅读(4244)
推荐(0)
2015年1月30日
摘要:
1.下载并安装Eclipse IDE for C/C++ Developershttps://eclipse.org/downloads/packages/eclipse-ide-cc-developers/lunasr12.下载并安装Cygwinhttps://www.cygwin.com/安装选...
阅读全文
posted @ 2015-01-30 14:50
BoneKing
阅读(1889)
推荐(0)
2015年1月20日
摘要:
PATH确认方法$ echo $PATH根据优先级先后顺序用:分割,因此可以复数指定PATH设定方法(临时)$ export PATH=$PATH:/usr/local/scala/binPATH设定方法(永久)单个用户上记临时方法的命令行,追加到home目录下的.bash_profile文件的最后...
阅读全文
posted @ 2015-01-20 10:52
BoneKing
阅读(13809)
推荐(0)
2015年1月18日
摘要:
在CentOS环境下编译CPP时报出undefined reference to `__gxx_personality_v0' collect2: ld以上错误,调查了一下,加上参数[-lstdc++]就可解决例:gcc -lstdc++ a.cpp参考自http://mlq.blog78.fc2....
阅读全文
posted @ 2015-01-18 17:18
BoneKing
阅读(711)
推荐(0)
2014年12月5日
摘要:
IP设定查看Command# ifconfig -a# netstat -nr给eth0设定值# vi /etc/sysconfig/network-scripts/ifcfg-eth0DEVICE=eth0 #设备名ONBOOT=yes ...
阅读全文
posted @ 2014-12-05 15:37
BoneKing
阅读(659)
推荐(0)
2014年2月28日
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Configuration;using System.DirectoryServices.AccountManagement;using System.Collections;namespace UserTrans{ public static class Commons { static Configuration config; static AppSetting...
阅读全文
posted @ 2014-02-28 09:24
BoneKing
阅读(4092)
推荐(1)
2014年2月27日
摘要:
ExeConfigurationFileMap map = new ExeConfigurationFileMap(); map.ExeConfigFilename = @"C:\App.config"; ; Configuration config = ConfigurationManager.OpenMappedExeConfiguration(map, ConfigurationUserLevel.None); string connstr = config.ConnectionStrings.ConnectionStri...
阅读全文
posted @ 2014-02-27 08:15
BoneKing
阅读(2779)
推荐(0)
2014年1月7日
摘要:
使用.Net编写好了WindowsService以后,不安装到系统里就没有任何作用。[添加Installer]在服务的设计器画面,属性页面里,选择[Add Installer]链接。如此便会生成两个新的组件,ServiceProcessInstaller和ServiceInstaller。ServiceProcessInstaller组件用来保持服务运行时的账户类型和凭证信息(LocalSystem,LocalUser,User等)。ServiceInstaller组件用来保持注册表(HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services)中服
阅读全文
posted @ 2014-01-07 14:32
BoneKing
阅读(637)
推荐(0)