博客首页
注册
建议与交流
排行榜
加入友情链接
推荐
投诉
搜索:
帮助
zhangzhu1984的博客
欢迎光临!
zhangzhu1984.cublog.cn
管理博客
发表文章
留言
收藏夹
· CU好友
博客圈
音乐
相册
文章
· hadoop
· oracle学习
· 技术-Linux
· 技术-Windows
· 技术-系统管理
}
· 技术-备份
· 技术-网络管理
· 技术-安全管理
· 生活
}
· 生活-娱乐
· 情感
首页
关于作者
||
<<
>>
||
我的分类
最新文章
·
How to store Hive's met..
·
rhel4.6 + oracle9i +手工..
·
oracle 9i_10g编程艺术
·
批处理获取命令结果,赋值
·
using Vmware Server Ins..
最新留言
·
yuhuohu
邀请加入红太阳博客圈http..
最新评论
·
谢谢
·
在 ubuntu 8.04 下,vsft..
·
引号位置不同啦……
效..
·
CentOS5.2下面双击rpm安装..
·
f6下rpm -ivh一次搞定,兄..
最新收藏
·
MATRIX GROUP
·
将来的某一天
·
yum经典软件收集及加速yu..
·
在 Linux 上构建网络路由..
·
guozheng2003
统计信息
·
总访问量:78875
·
文章个数:76
·
评论条数:11
·
留言条数:1
·
网友推荐:
How to store Hive's metadata in Oracle 10g
<P>How to store Hive's metadata in Oracle</P><P>hive by default uses an embedded derby database. In real-world scenarios which multiple hive queries are executed using multiple session, a database server like MySQL or <FONT color="#ff0000">Oracle </FONT>or derby server is required. For my example, i will use Oracle. Before doing that, make sure cluster is down.</P><P><BR></P><P>1)create oracle user<BR></P> <TABLE border="1" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#999999" width="95%" bgcolor="#F1F1F1"><TBODY><TR><TD><P style="line-height: 150%; margin: 5px"><CODE><SPAN style="color:#000000;">sql> create user hive identified by hive identified by hive </SPAN></CODE></P><P style="line-height: 150%; margin: 5px"><CODE><SPAN style="color:#000000;">     default </SPAN></CODE><CODE><SPAN style="color:#000000;">tablespace hive;</SPAN></CODE></P><P style="line-height: 150%; margin: 5px"><SPAN style="color:#000000;">s……
查看全文
发表于:2010-01-16 ┆
阅读(71)
┆
评论(0)
rhel4.6 + oracle9i +手工建库
rhel4.6 + oracle9i +手工建库 <DIV> </DIV> <DIV>安装手册是copy老外的</DIV> <DIV>建库是参考官方文档的。</DIV> <DIV>做个记号。a96521.pdf</DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV> <DIV> <TABLE style="BORDER-COLLAPSE: collapse" border=1 cellSpacing=0 borderColor=#dddddd cellPadding=0 width=360 align=center> <TBODY> <TR height=60> <TD width=60 align=middle><IMG border=0 alt="" src="http://control.cublog.cn/fileicon/zip.gif"></TD> <TD> <TABLE style="BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width="100%"> <TBODY> <TR height=20> <TD width=40 align=middle>文件:</TD> <TD>001.zip</TD></TR> <TR height=20> <TD width=40 align=middle>大小:</TD> <TD>314KB</TD></TR> <TR height=20> <TD width=40 align=middle>下载:</TD> <TD><A href="http://blogimg.chinaunix.net/blog/upfile2/091019114922.zip">下载</A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV>
查看全文
发表于:2009-10-19 ┆
阅读(213)
┆
评论(0)
oracle 9i_10g编程艺术
<DIV>oracle 9i_10g编程艺术.pdf</DIV> <DIV> <TABLE style="BORDER-COLLAPSE: collapse" borderColor=#dddddd cellSpacing=0 cellPadding=0 width=360 align=center border=1> <TBODY> <TR height=60> <TD align=middle width=60><IMG alt="" src="http://control.cublog.cn/fileicon/pdf.gif" border=0></TD> <TD> <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR height=20> <TD align=middle width=40>文件:</TD> <TD>oracle 9i_10g编程艺术.pdf</TD></TR> <TR height=20> <TD align=middle width=40>大小:</TD> <TD>4383KB</TD></TR> <TR height=20> <TD align=middle width=40>下载:</TD> <TD><A href="http://blogimg.chinaunix.net/blog/upfile2/091009165054.pdf">下载</A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV> <DIV> </DIV> <DIV>来自:互联网</DIV>
查看全文
发表于:2009-10-09 ┆
阅读(157)
┆
评论(0)
批处理获取命令结果,赋值
<DIV> @echo off<BR>setlocal enabledelayedexpansion<BR>ipconfig |grep 172.10.1|cut -d: -f2 > 2<BR>for /f %%a in ('cat 2') do (<BR> set haha=%%a<BR> echo !haha!<BR> route add 172.17.0.0 mask 255.255.0.0 !haha!<BR> route add 10.1.0.0 mask 255.255.0.0 !haha!<BR>)</DIV> <DIV> </DIV> <DIV>del 2</DIV>
查看全文
发表于:2009-09-10 ┆
阅读(157)
┆
评论(0)
using Vmware Server Install 10g RAC on Solaris
<P> <TABLE style="BORDER-COLLAPSE: collapse" borderColor=#dddddd cellSpacing=0 cellPadding=0 width=360 align=center border=1> <TBODY> <TR height=60> <TD align=middle width=60><IMG alt="" src="http://control.cublog.cn/fileicon/zip.gif" border=0></TD> <TD> <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR height=20> <TD align=middle width=40>文件:</TD> <TD>RAC.zip</TD></TR> <TR height=20> <TD align=middle width=40>大小:</TD> <TD>410KB</TD></TR> <TR height=20> <TD align=middle width=40>下载:</TD> <TD><A href="http://blogimg.chinaunix.net/blog/upfile2/090907225213.zip">下载</A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>Build Your Own Oracle10g RAC Cluster on Solaris 10 and ASM Raw</P> <P class=MsoNormal style="MARGIN: 0cm -71.9pt 0pt 0cm; TEXT-ALIGN: left; mso-para-margin-right: -6.85gd; mso-layout-grid-align: none" align=left><B><SPAN lang=EN-US style="FONT-SIZE: 13pt; COLOR: fuchsia; FONT-FAMILY: Tahoma; mso-……
查看全文
发表于:2009-09-07 ┆
阅读(307)
┆
评论(0)
Linux services列表
<DIV>这个网站基本把所有的服务都列了出来,还解析了他们做什么用的,并是否建议开启还是关闭,很不错,推荐!<IMG src="http://www.cublog.cn/images/face/003.gif"></DIV> <DIV> </DIV> <DIV><A href="http://www.hscripts.com/tutorials/linux-services/list.php">http://www.hscripts.com/tutorials/linux-services/list.php</A></DIV> <DIV> </DIV> <DIV>当然你使用<A href="http://www.hscripts.com/tutorials">http://www.hscripts.com/tutorials</A>进去还可以发现另外一些手册,都很不错哟。。</DIV> <DIV>其实我是想把这个网站给download下来,嘿嘿!</DIV>
查看全文
发表于:2009-06-25 ┆
阅读(224)
┆
评论(0)
RHEL4 RAC 10.2.0.1 crs 不能正常启动。
<DIV>系统:rhel 4.6 32位</DIV> <DIV>内存4G</DIV> <DIV>裸设备+asm</DIV> <DIV> </DIV> <DIV>问题是:</DIV> <DIV>2个节点重启系统后 crs 服务不能自动重启,crs_stat -t显示status除了VIP外都是unknown。,只能手工启动相应服务。然后可启动实例</DIV> <DIV> 1) 配置 ntp 后,2节点时间一致,问题依旧;</DIV> <DIV> 2)检查crs状态,checks the viability of the CRS stack</DIV> <DIV> </DIV> <DIV><A href="http://oracle.chinaitlab.com/install/772885.html"><FONT color=#ff0000></FONT></A></DIV> <DIV></DIV> <TABLE style="BORDER-COLLAPSE: collapse" borderColor=#999999 cellSpacing=0 cellPadding=0 width="95%" bgColor=#f1f1f1 border=1> <TBODY> <TR> <TD> <P style="MARGIN: 5px; LINE-HEIGHT: 150%"><CODE><SPAN style="COLOR: #000000"><SPAN style="COLOR: #0000cc">[</SPAN>oracle@oracle02 ~<SPAN style="COLOR: #0000cc">]</SPAN><SPAN style="COLOR: #0000cc">$</SPAN> crsctl check crs<BR>CSS appears healthy<BR>CRS appears healthy<BR>EVM appears healthy<BR><SPAN style="COLOR: #0000cc">[</SPAN>……
查看全文
发表于:2009-04-01 ┆
阅读(238)
┆
评论(0)
开始学oracle!
<DIV>改学习了。在这留一笔</DIV> <DIV>2月--3月底 看《oracle 10g 数据库管理艺术》 + 《Oracle Database 10g-Administration Workshop I》 2本一起看。一章一章的搞定。勿急,淡定!<IMG src="http://www.cublog.cn/images/face/001.gif"></DIV>
查看全文
发表于:2009-02-18 ┆
阅读(260)
┆
评论(0)
everest disk benchmark ST9320320AS
<DIV> <DIV align=center><IMG src="http://blogimg.chinaunix.net/blog/upfile2/081226142732.jpg" onload="javascript:if(this.width>500)this.width=500;" border=0></DIV>新买的320G希捷的5400.5笔记本硬盘,下面是everest磁盘测试数据的图片@</DIV>
查看全文
发表于:2008-12-26 ┆
阅读(339)
┆
评论(0)
solaris网卡关闭dhcp
<DIV>参考:</DIV> <DIV><A href="http://docs.sun.com/app/docs/doc/819-7058/dhcp-overview-33a?l=zh&a=view">http://docs.sun.com/app/docs/doc/819-7058/dhcp-overview-33a?l=zh&a=view</A></DIV> <DIV><A href="http://www.rite-group.com/rich/solaris_dhcp.html">http://www.rite-group.com/rich/solaris_dhcp.html</A></DIV> <DIV> </DIV> <DIV> </DIV> <DIV>solaris 10 dhcp优先静态ip????</DIV> <DIV>请查看/etc/下面是否有/dhcp.netcardname文件 <FONT face=隶书 color=#ff0000 size=6>(若你需要配置静态ip,请删除此文件)</FONT></DIV> <DIV>例如:</DIV> <DIV>/etc/dhcp.pcn0</DIV> <DIV>我之前一直设置静态ip不成功,还以为虚拟机的问题呢。。solaris不熟悉。。。汗一个~</DIV> <DIV>今天看文章<A href="http://qzone.qq.com/blog/56148083-1215182060">http://qzone.qq.com/blog/56148083-1215182060</A> </DIV> <DIV>才发现。。。。</DIV> <DIV>做个记号给需要的兄弟! </DIV> <DIV> </DIV> <DIV><FONT color=#0080ff size=6>配置静态ip</FONT></DIV> <DIV> </DIV> <TABLE style="……
查看全文
发表于:2008-12-17 ┆
阅读(806)
┆
评论(0)
rpm site
<DIV><A href="http://rpm.pbone.net/">http://rpm.pbone.net/</A></DIV> <DIV><U><FONT color=#3300ff><A href="http://rpmfind.net/">http://rpmfind.net/</FONT></U></A> <A href="http://rpmfind.net/linux/RPM/">http://rpmfind.net/linux/RPM/</A> </DIV> <DIV><A href="http://dag.wieers.com/rpm/">http://dag.wieers.com/rpm/</A></DIV> <DIV><U><FONT color=#3300ff>http://www.rpmseek.com/</FONT></U></DIV> <DIV><A href="http://www.filesearching.com/">http://www.filesearching.com/</A> <A href="http://dag.wieers.com/rpm/FAQ.php#B">http://dag.wieers.com/rpm/FAQ.php#B</A></DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV>
查看全文
发表于:2008-12-12 ┆
阅读(407)
┆
评论(0)
一个系统iso网站
<DIV><A href="http://iso.linuxquestions.org/search.php?architectures%5B%5D=4">http://iso.linuxquestions.org/search.php?architectures%5B%5D=4</A></DIV> <DIV><A href="http://iso.linuxquestions.org/">http://iso.linuxquestions.org/</A></DIV>
查看全文
发表于:2008-11-20 ┆
阅读(406)
┆
评论(0)
只有root可以su
<DIV>搞不懂,今天才发现。。。。。。</DIV> <DIV> </DIV> <DIV>google到一篇,解决问题;</DIV> <DIV><STRONG>su: cannot set groups: Operation not permitted </STRONG></DIV> <DIV><STRONG></STRONG> </DIV> <DIV><FONT color=#ff0000 size=5>这个错误是因为/bin/su文档被取消了s位,所以解决方法是 chmod a+s /bin/su</FONT><BR></DIV>
查看全文
发表于:2008-10-06 ┆
阅读(409)
┆
评论(0)
[备份]debian 的/etc/fstab文件
<table style="border-collapse: collapse;" bgcolor="#f1f1f1" border="1" bordercolor="#999999" cellpadding="0" cellspacing="0" width="95%"><tbody><tr><td><p style="margin: 5px; line-height: 150%;"><code><span style="color: rgb(0, 0, 0);">oracle@debian<span style="color: rgb(0, 0, 204);">:</span><span style="color: rgb(0, 0, 204);">~</span><span style="color: rgb(0, 0, 204);">$</span> cat <span style="color: rgb(0, 0, 204);">/</span>etc<span style="color: rgb(0, 0, 204);">/</span>fstab<br> <span style="color: rgb(0, 0, 204);">#</span> <span style="color: rgb(0, 0, 204);">/</span>etc<span style="color: rgb(0, 0, 204);">/</span>fstab<span style="color: rgb(0, 0, 204);">:</span> <span style="color: rgb(0, 0, 255);">static</span> <span style="color: rgb(255, 0, 0);">file</span> <span style="color: rgb(255, 0, 0);">system</span> information<span style="color: rgb(0, 0, 204);">.</span><br> <span style="color: rgb(0, 0, 204);">#</span><br> <span style="color: rgb(0, 0, 204);">#<……
查看全文
发表于:2008-09-18 ┆
阅读(395)
┆
评论(0)
页面自动刷新
<DIV> <P><FONT color=#0000ff>在 <body> 与 </body> 之间加入:</FONT></P> <P><FONT color=#0000ff size=5><STRONG><META http-equiv=refresh content="10;url=../index.htm"></STRONG></FONT> </P> <P> </P> <P> </P> <P> </P> <P><FONT color=#0000ff size=5><STRONG><META http-equiv=refresh content=10";url=../index.htm"></STRONG></FONT></P> <P> </P> <P><STRONG><FONT color=#0000ff size=5>害我花一小时。。。。看看2个有什么差别!</FONT></STRONG> </P></DIV> <DIV></DIV>
查看全文
发表于:2008-08-25 ┆
阅读(1130)
┆
评论(1)
python cgi .python-eggs
<DIV>[Mon Aug 25 13:39:00 2008] [error] [client 25.30.1.65] The Python egg cache directory is currently set to:<BR>[Mon Aug 25 13:39:00 2008] [error] [client 25.30.1.65] <BR>[Mon Aug 25 13:39:00 2008] [error] [client 25.30.1.65] /sbin/.python-eggs<BR>[Mon Aug 25 13:39:00 2008] [error] [client 25.30.1.65] <BR>[Mon Aug 25 13:39:00 2008] [error] [client 25.30.1.65] Perhaps your account does not have write access to this directory? You can<BR>[Mon Aug 25 13:39:00 2008] [error] [client 25.30.1.65] change the cache directory by setting the PYTHON_EGG_CACHE environment<BR>[Mon Aug 25 13:39:00 2008] [error] [client 25.30.1.65] variable to point to an accessible directory.<BR>[Mon Aug 25 13:39:00 2008] [error] [client 25.30.1.65] <BR>[Mon Aug 25 13:39:00 2008] [error] [client 25.30.1.65] Premature end of script headers: alarm.py<BR>[Mon Aug 25 13:39:27 2008] [error] [client 25.30.1.19] File does not exist: /var/www/web/tianwang/table.css, referer: <A href="http://25.30.2.250/w……
查看全文
发表于:2008-08-25 ┆
阅读(720)
┆
评论(0)
Smolt and Func
<table style="border-collapse: collapse;" bgcolor="#f1f1f1" border="1" bordercolor="#999999" cellpadding="0" cellspacing="0" width="95%"><tbody><tr><td><p style="margin: 5px; line-height: 150%; font-family: 宋体;"><font size="4"> Smolt and <br></font></p><h1 id="Func:FedoraUnifiedNetworkController"><font style="font-weight: normal; font-family: 宋体;" size="4">Func: Fedora Unified Network Controller</font><a title="Link to this section" class="anchor" href="https://fedorahosted.org/func/wiki#Func:FedoraUnifiedNetworkController"><br></a></h1><br></td></tr></tbody></table> Smolt是一款常用硬件剖析工具, 现在已经收集超过7万9000个硬件配置信息. 所有数据都可以在Smolt网站看到. 这些配置信息将用于促进厂商合作, 改进用户的硬件使用体验, 评测系统和更好的报告工具, 并为常用硬件提高开发和质量检测优先级<br><br> 当前状态: <a href="http://smolt.fedoraproject.org/" target="_blank">http://smolt.fedoraproject.org/</a><br> 项目主页: <a href="https://hosted.fedoraproject.org/projects/smolt/" tar……
查看全文
发表于:2008-08-11 ┆
阅读(709)
┆
评论(0)
安装MySQLdb-python 报错。
<DIV align=left>~<BR>"/etc/ld.so.conf" 3L, 80C written</DIV> <DIV align=left> File "MySQLdb/__init__.py", line 19, in ?<BR> import _mysql<BR> File "build/bdist.linux-i686/egg/_mysql.py", line 7, in ?<BR> File "build/bdist.linux-i686/egg/_mysql.py", line 6, in __bootstrap__<BR>ImportError: libmysqlclient.so.15: cannot open shared object file: No such file or directory</DIV> <DIV align=left> </DIV> <DIV align=left> </DIV> <DIV align=left>很是奇怪,另外一个RHEL4.6 安装上了就没事。。。</DIV> <DIV align=left> </DIV> <DIV align=left>搞了1小时,突然觉悟,libmysqlclient.so.15没找到。</DIV> <DIV align=left>#updatedb</DIV> <DIV align=left>#locate libmysqlclient.so.15</DIV> <DIV align=left>发现在</DIV> <DIV align=left>/usr/local/mysql/lib/mysql.bak/libmysqlclient.so.15.0.0<BR>/usr/local/mysql/lib/mysql.bak/libmysqlclient.so.15<BR>/usr/local/mysql/lib/mysql/libmysqlclient.so.15.0.0<BR>/usr/local/mysql/lib/mysql/libmysqlclient.so.15</DIV>……
查看全文
发表于:2008-08-08 ┆
阅读(577)
┆
评论(0)
[转]用ndiswrapper驱动无线网卡
查看全文
发表于:2008-08-04 ┆
阅读(606)
┆
评论(0)
标签:使用DenyHosts阻止SSH暴力破解
<DIV>最好的阻止SSH暴力破解的方法(DenyHosts)</DIV> <DIV><A href="http://linux.ccidnet.com/art/302/20080630/1492079_1.html">http://linux.ccidnet.com/art/302/20080630/1492079_1.html</A></DIV> <DIV> </DIV> <DIV> </DIV> <DIV>防御暴力破解SSH攻击 </DIV> <DIV><A href="http://coolerfeng.blog.51cto.com/133059/50947">http://coolerfeng.blog.51cto.com/133059/50947</A></DIV> <DIV> </DIV> <DIV> </DIV>
查看全文
发表于:2008-07-24 ┆
阅读(521)
┆
评论(0)