Wednesday, April 11, 2007

Dev : Installing Oracle 9i on Solaris 8

Whew... It's really a mess to install oracle in Unix machine. Lucky for me, I've found some steps online where it has reduce many white hair growing on my head.

It make me sweat when asking me to change the Solaris Kernel Parameters. After some troublesome findings, I finally manage to change the kernel parameters at /etc/system and manage to get the oracle 9i installed and database created. If not, you will always get oracle error complaining "Out Of Memory". Remember, it is the kernel parameters' fault. Not your RAM, not your SWAP (because I have increase my RAM from 512Mb to 1Gb and SWAP from 500Mb to 1.5 Gb :D ).

After installing and created a database, you need to create at least a user.
To create a user :
  1. Login SQL*Plus with sqlplus "/ as sysdba".
  2. In SQL*Plus, type sql > create user user_name identified by user_password;.
  3. Grant some access for the user.
    sql > grant connect to user_name;
    sql > grant resource to user_name;
    sql > grant create any snapshot to user_name;

After that, to access oracle from other workstation, you should start the oracle process first.

  1. In console, type cd /oracle/home/bin/.
  2. To start the oracle process, in console, type ./lsnrctl start.
  3. To start the database, in console, type ./dbstart.

And there you go! The very basic of oracle. :)

7-1 Once-in-a-lifetime night

I wake up exactly 2.45am at 11/04/2007 to watch MU versus AS Roma in the battling for champion league semifinal place. Although i still need to work on 9am but i don't feel tired to wake up and my spirit is high to watch the Manchester united games. I felt so sad with the result produced by MU in the first round last weeks after Paul Scholes is being sending out at the early pitches. MU lost 2-1.

After surviving a couple of early scares, United hit Roma like a whirlwind. The football they produced simply took my breath away. Carrick set United on their way in nerveless fashion, collecting Ronaldo's square pass, then advancing on the Roma goal. I watch the games with my housemates through channel 8. Its a joyful moments. Alan Smith added second goal after recovered from rehabilitation for almost 6 months.

On one of those once-in-a-lifetime nights when everything goes right, the Red Devils were unbelievably four up at half-time. By the end they had a truly magnificent seven, with Michael Carrick and Cristiano Ronaldo getting two each, Alan Smith, Wayne Rooney and Patrice Evra just the one. In the end, Manchester United produced one of the most stunning European performances of all time at Old Trafford to overwhelm Roma 7-1 and book a Champions League semi-final meeting with AC Milan or Bayern Munich. This is most excited moments for me as i support manchester united team since 1992.

I feel lucky to have watch the full match between Manchester United and Italian Killer Team AS Roma. I am so long didn't feel so excited to watch MU Team play It was more than enough to take Ferguson's men into the last four for the first time since 2002, a win all the more remarkable because they were missing at least four automatic members of the Scot's first-choice line-up I am glad to see my favorite football club has been qualified for the semifinal champion league place.

I went back to sleep after watch the game..But i truly overjoyed with the remarkable win at old trafford. I support you to lift the champion league once more times this
year. yeah...

MANCHESTER UNITED ALIVE!!!!!!

愛一個人!

如果你也正在為愛迷惘,或許下面這段話可以給你一些啟示: 愛一個人!要了解,也要開解;要道歉,也要道謝;要認錯,也要改錯;要體貼,也要體諒; 是接受,而不是忍受;是寬容,而不是縱容;是支持,而不是支配;是慰問,而不是質問; 是傾訴,而不是控訴;是難忘,而不是遺忘;是彼此交流,而不是凡事交代; 是為對方默默祈求,而不是向對方諸多要求; 可以浪漫,但不要浪費;可以隨時牽手,但不要隨便分手 如果你都做到了,即使你不再愛一個人,也只有懷念,而不會懷恨。
當有個人愛上你,而你也覺得他不錯。那並不代表你會選擇他。 你說:你要找一個你很愛很愛的人,你才會談戀愛。 但是當對方問你:怎樣才算是很愛很愛的時候,你卻無法回答他,因為你自己也不知道。 沒錯,我們總是以為,我們會找到一個自己很愛很愛的人。 可是後來,當我們猛然回首,我們才會發覺自己曾經多麼天真。 假如從來沒有開始,你怎麼知道自己會不會很愛很愛那個人呢? 其實,很愛很愛的感情是要在一起經歷了許多事情之後才會發現的。 或許每個人都希望能夠找到自己心目中百分之百的伴侶, 但是你有沒有想過:在你身邊會不會早已經有人默默對你付出很久了,只是你沒發覺而已呢? 你懂得如何去愛了嗎?試試看吧!

破解Windows Vista对并发连接的限制

许多朋友在看了提高Vista中多线程下载速度后 询问为什么自己在Windows Vista中禁用了“Auto Tuning”后BT下载速度仍然十分缓慢,性能并无明显改善。事实上,对这个问题要客观地认识,在影响BT、eMule等多线程下载性能的因素中, Auto Tuning只是其中一个可能因素,除此之外,还有其他很多因素在起作用,其中,Windows系统对外出并发连接的限制所起的作用更为重要。因此,要想 真正提高BT等软件的下载速度,还必须要破解Windows Vista对并发连接的限制。

我们都知道,为了防范蠕虫病毒的传播和攻击,微软在Windows XP SP2中即对最大的外出并发线程数设置了限定(不超过10并发连接/秒),系统实时监控并发线程数量,一旦它发现某进程的线程数超过10个,即触发 4226错误,并自动屏蔽掉部分线程,这对于大部分需要大量连接进程才能保证性能的P2P应用来说影响是致命的,包括BT(BitTorrent)、 BitComet、eMule以及很多P2PTV软件如PPLive、PPStream等。要想保证这些软件应用的速度与性能,必须首先破解 Tcpip.sys对并必连接的限制,相信很多朋友对此并不陌生。(注:对Windows XP sp2而言可参考破解XP SP2对并发线程的限制中的介绍)

在Windows Vista中,tcpip.sys同样存在类似对外出并发连接线程的限制,而且,相对于Windows XP sp2不同版本均采用不超过10个并发线程/秒的设置,Windows Vista 则依版本不同数值有所区别,比如说Windows Vista Ultimate 可允许不超过25个并发连接/秒,而Windows Vista Home Basic则仅允许2个并发连接/秒——估计这也是许多朋友反映Windows Vista中BT下载速度难以忍受的主要原因,毕竟目前随PC预装的Windows Vista大多为Home Basic。

要破解Windows Vista对并发连接的限制,思路基本与之前Windows XP sp2中类似,即使用修改后的tcpip.sys替换系统中已存在的同名文件,从而绕过Windows Vista对并发连接进程的监测。具体修改步骤稍比Windows XP SP2下复杂些,下面我们详细介绍。

说明

1、替换Tcpip.sys前请备份系统,或至少将tcpip.sys备份,以防万一。虽然下面提供的修改后的Tcpip.sys理论上可用于各个Windows Vista版本,不过,我们仅在Windows Vista Ultimate RTM中进行了实际测试,Vista天地对在其他版本Windows Vista中是否一定有效不作保证。

2、转载网站请将下载文件拷贝到自己的服务器上,不要盗链,算我们求您了! :oops:

修改Tcpip.sys以破解Windows Vista对并发连接的限制

  1. 下载破解后的Tcpip.sys:
    tcpip.sys (Windows Vista X86)
    tcpip.sys (Windows Vista X64)
    下载文件为rar格式,下载后解压即为相应版本的tcpip.sys。
  2. 要替换系统文件,需首先取得该文件的所有权及控制权,以管理员身份打开命令行窗口,运行如下命令:

    takeown /f c:\windows\system32\drivers\tcpip.sys
    cacls c:\windows\system32\drivers\tcpip.sys /G HighDiy:F

    cacls命令中的“/G HighDiy:F”意指赋予用户“HighDiy”对该文件的完全控制权限,实际使用时应根据自己的用户名进行修改。

  3. 禁用 TCP/IP 的Auto-Tuning功能,如同提高Vista中多线程下载速度中介绍的那样,在命令行中输入:

    netsh int tcp set global autotuninglevel=disable

  4. 对64-bit Windows Vista (x64)而言,在替换文件前还必须禁用Windows Vista的系统完整性检查,不然,系统重启后修改后的Tcpip.sys会自动被原始文件再次覆盖。具体方法是,在命令行中输入:

    bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS

  5. 完成了上述操作后,即可使用下载的tcpip.sys覆盖Windows Vista中的原始文件了,将其直接拷贝到“C:\windows\system32\drivers”下即可。
    注:如果拷贝失败的话,可重启系统,进入安全模式重新尝试。
  6. 最后,修改注册表设置最大外出并发连接数量,打开注册表编辑器,找到如下注册表分支:

    HKEY_LOCALL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ Tcpip\ Parameters

    在其下新建一个名为 “TcpNumConnections”的DWORD键,输入您希望的数值。
    理论上讲,在这里输入的值可为任何数字,不过,将此值设置过大没有太多的实际意义,毕竟网络的整体带宽与PC自身的性能均有一定限制。一般而言,设为150 - 500便已足够。

  7. 对注册表操作不熟悉的用户也可直接下载我们提供的注册表文件,注意,该文件中设置的并发链接数量为4096,您可根据自己的网络情况与应用需求修改为合适的数字:
    下载:最大外出并发连接数量注册表修改
  8. 重启Windows Vista。

如此,即完成了对Windows Vista并发连接限制的破解,试一试您的BT,是不是速度快多了?



haha...

Man Utd's next generation of wonderkids

Manchester United have set off on their pre-season United States tour with a number of young stars involved, but some other talents have lef...