今天读 桓谭新论。 启窹篇。
昔颜渊有高妙次圣之才,闻一知十。
颜渊所有命短,慕孔子所以殇其年也。
东鄙语云: 人闻长安乐,则出门西向而笑;知肉味美,则对屠门而大嚼。
然后写下来。
其实没多少人读,如果这几天不小心谁来看过,也就看过了。
Fri Oct 25 21:39:52 CST 2013
这段日志记下来,是在服务器搬家后。 这以后 这些日志也许就能正常访问了。
两个域名都已经被墙,然后什么也做不了,就藏着吧。
-s
Beyond The Data
今天读 桓谭新论。 启窹篇。
昔颜渊有高妙次圣之才,闻一知十。
颜渊所有命短,慕孔子所以殇其年也。
东鄙语云: 人闻长安乐,则出门西向而笑;知肉味美,则对屠门而大嚼。
然后写下来。
其实没多少人读,如果这几天不小心谁来看过,也就看过了。
Fri Oct 25 21:39:52 CST 2013
这段日志记下来,是在服务器搬家后。 这以后 这些日志也许就能正常访问了。
两个域名都已经被墙,然后什么也做不了,就藏着吧。
-s
今读《恒谭新论》求辅篇。
有一惑:
1 |
以贤代贤谓之顺, 以不肖代不肖谓之乱 |
于另本如下
1 |
以贤伐贤谓之烦, 以不肖谓之乱 |
其直”代”、“伐” 分别
代、伐 两字 字义同乎,是依代讳伐之谓? 徜是如此,是战国“以攻伐为贤”,是而贤者伐暴乱而代之为贤。贤代贤又如何谓之顺?何则贤而暴乱更替不断?“烦”其妙不可言。
又,何谓之“乱”。其 治乱不分, 而或不辨不肖之徒所征伐代替者,乱矣。或言,以不肖犯贤者,谓之乱。以不肖代不肖,亦如是。
-s
following is not a guide to install RDBMS, but a quick environment preparation before that.
this text works on both Linux/Windows host.
0. to setup Oracle RDBMS 12c on EL6.3 vbox. for testing purpose.
1. prepare virtualbox.
setup a new linux machine, with harddisk 40G, network using NAT.
2. attach image on CD. boot
OracleLinux-R6-U3-Server-x86_64-dvd.iso
3. install option.
a) using the full disk, using default dynamic lv settings(means you can adjust disk sizes whenever you want)
b) install option: Desktop (or you may have to using vnc or inst other Xwindow options if you choose “Database Server”).
c) reboot after installation. using account: oracle/oracle
4. we need to manually install vboxtools (for a better display and operation experience enhancement)
before that we need to :
5. keep the sys image mount. manually install kernel-uek-devel, the # should be the same to your currently running version.
1 2 |
# cd $IMAGE_RT/Server/Packages # rpm -ivh kernel-uek-devel-2.6.39-200.24.1.el6uek.x86_64.rpm |
6. check your yum repo setting. (you need uln repo, or simple public-yum is ok)
or you have to manually install dependency in the package folder.
# yum install gcc
7. detach the sys-image. choose “Install Guest Additions”
run as prompt, or in cmd.
1 2 3 |
[root@suse VBOXADDITIONS_4.1.6_74727]# pwd /media/VBOXADDITIONS_4.1.6_74727 [root@suse VBOXADDITIONS_4.1.6_74727]# ./VBoxLinuxAdditions.run |
8. ignore following warning, as the package already re-named to kernel-uek-devel
1 2 3 4 |
The headers for the current running kernel were not found. If the following module compilation fails then this could be the reason. The missing package can be probably installed with yum install kernel-devel-2.6.39-200.24.1.el6uek.x86_64 |
9. about the necessary packages you can use following cmd:
1 |
# yum install oracle-rdbms-server-11gR2-preinstall |
10. choosing “System”->”Preference”->”Startup Applications”
remove item “PackageKit Update Applet” , so that you should update your pkgs whenever you want and need.
remove any other items you dont like.
11. disable SELinux and firewall.
edit /etc/selinux/config to –>”disabled”
system-config-firewall –> “Disable”
12. let eth0 connect automatically.
either 1) using desktop network-manager, edit connection–>eth0–> connect automatically.
or 2) edit /etc/sysconfig/network-scripts/ifcfg-eth0
add following like: “ONBOOT=yes”
reboot the node.
F. setups already done. you can now following guide to complete the installation
Oracle Database 11g Release 2 (11.2) Installation On Oracle Linux 6
http://www.oracle-base.com/articles/11g/oracle-db-11gr2-installation-on-oracle-linux-6.php
######
the steps are simple but, wish it saves time you read this post before the installation.
-s
recently oracle adds support on ASMlib+RHEL6 kernel.
will seems some policies already being changed.
if someone interested, refer to
http://www.oracle.com/technetwork/server-storage/linux/asmlib/rhel6-1940776.html
To enable ASMlib supports, please download following file from oracle web-site
and get supports ‘kmod-oracleasm’ from RedHat RHN or related support.
good luck.
这是一段中文。希望能帮上那些被可怜的http代理折磨的人们。
在我的FreeBSD盒子里,portsnap fetch一直失败,分析了一下代码,就是代理的问题。
因为某公司在这边办公室访问公网需要通过http_proxy,上面又加了很多过滤的东西,导致下载文件会被无故终止。
命令断在这里
1 2 |
fetch -r http://portsnap.FreeBSD.org/s/ 3f1313e6477b7cd2d83bffb8572d710f89bd8d1f68b9c3b5bb8fcf3d314e1514.tgz |
下载到9%的时候出错,估计是代理端的防火墙无法扫描文件内容就停掉了。Damn McAfee.
把fetch换成wget/axel均无用, 下载是否成功 取决于他们是否能读懂文件内容。
无奈,送给那些同样辛苦的人们,
系统
1 2 3 |
FreeBSD D630-BSD 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:42:37 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 |
代理
http://server:80/
绕过办法,
找一个不需要此代理的机器,或者能直接访问公网的地方,下载上述fetch文件。tgz
再scp到bsd节点的/tmp/下面。
修改 /usr/sbin/portsnap文件, 把原来的fetch行改掉,改成 复制命令。(是否要备份原脚本,取决于心情)
1 2 3 |
635 # fetch -r http://${SERVERNAME}/s/${SNAPSHOTHASH}.tgz || return 1 636 cp /tmp/3f1313e6477b7cd2d83bffb8572d710f89bd8d1f68b9c3b5bb8fcf3d 314e1514.tgz /var/db/portsnap/ |
一路畅通。远离那些讨厌的事情。