2017年11月6日
摘要: 方法一: String path = this.getClass().getProtectionDomain().getCodeSource().getLocation().getPath();path = path.substring(0,path.indexOf("/WEB-INF"));Str 阅读全文
posted @ 2017-11-06 14:21 Godfrey富高贵 阅读(4721) 评论(0) 推荐(1) 编辑
  2016年12月18日
摘要: java调用shell http://www.cnblogs.com/Seamanm/archive/2010/10/04/1842059.html java程序中调用linux命令 http://wangbaoaiboy.blog.163.com/blog/static/5211191020111 阅读全文
posted @ 2016-12-18 18:15 Godfrey富高贵 阅读(245) 评论(0) 推荐(0) 编辑
  2016年7月15日
摘要: It says it needs the DISPLAY variable set - what do I need to set it to? Instead of saying: say: Alternatively, you could get the tarball installer in 阅读全文
posted @ 2016-07-15 09:33 Godfrey富高贵 阅读(307) 评论(0) 推荐(0) 编辑
  2016年2月1日
摘要: 导出(exp) & 导入(imp) 利用Export可将数据从数据库中提取出来,就是将select的结果存到一个FS二进制文件上 利用Import则可将提取出来的数据送回到Oracle数据库中去。 要读写数据文件内数据,所以数据库必须open 不能备份活跃频繁数据 exp满足select的所有特性 阅读全文
posted @ 2016-02-01 11:32 Godfrey富高贵 阅读(3684) 评论(0) 推荐(0) 编辑
  2015年5月18日
摘要: http://www.chhua.com/web-note3755 阅读全文
posted @ 2015-05-18 12:30 Godfrey富高贵 阅读(114) 评论(0) 推荐(0) 编辑
  2014年11月13日
摘要: 学习资料 阅读全文
posted @ 2014-11-13 20:27 Godfrey富高贵 阅读(224) 评论(0) 推荐(0) 编辑
  2014年11月12日
摘要: ethtool -i eth0dmidecode -i eth3more /var/log/meclogmore /etc/issue 阅读全文
posted @ 2014-11-12 11:20 Godfrey富高贵 阅读(134) 评论(0) 推荐(0) 编辑
  2014年11月11日
摘要: ◆Oracle查询用户表空间:select * from user_all_tables ◆Oracle查询所有函数和储存过程:select * from user_source ◆Oracle查询所有用户:select * from all_users.select * from db... 阅读全文
posted @ 2014-11-11 09:28 Godfrey富高贵 阅读(253) 评论(0) 推荐(0) 编辑
  2014年9月28日
摘要: 我的Linux是Fedora 13,安装方法如下:1、打开终端,执行# yum install -y tigervnc tigervnc-server2、编辑/etc/sysconfi/vncservers# vi /etc/sysconfig/vncservers在最后加入:VNCSERVERS=... 阅读全文
posted @ 2014-09-28 11:18 Godfrey富高贵 阅读(298) 评论(0) 推荐(0) 编辑
  2014年9月17日
摘要: Oracle删除当前用户下所有的表的方法1、如果有删除用户的权限,则可以:drop user user_name cascade;加了cascade就可以把用户连带的数据全部删掉。删除后再创建该用户。 --创建管理员用户 create user 用户名 identified by 密码 defaul... 阅读全文
posted @ 2014-09-17 19:59 Godfrey富高贵 阅读(205) 评论(0) 推荐(0) 编辑