Archive for the '電腦遊記' Category

安裝Oracle於Debian Unstable

Saturday, December 31st, 2005

1. 於oracle上下載Oracle Database 10g Release 2,個File名叫做10201_database_linux32.zip
2. 要欺騙Oracle Installer我係RHEL 3
echo “Red Hat Enterprise Linux AS release 3 (Taroon)” > /etc/redhat-release
(more…)

Install Oracle 10g in Debian Sarge

Tuesday, November 8th, 2005

雖然係For Knoppix,但在Debian Sarge都可以行得通
http://www.knoppix.net/forum/viewtopic.php?p=87913

於Windows上安裝OpenSSH

Sunday, June 26th, 2005

想係Windows度整個SSH服務,用文字模式來控制部機?
係可以的:
從 http://sshwindows.sourceforge.net/ 下載OpenSSH for Windows
安完 後看 C:\Program Files\OpenSSH\docs\readme.txt

係C:\Program Files\OpenSSH\bin入面打
mkgroup -l >> ..\etc\group
mkpasswd -l -u >> ..\etc\passwd
再在控制台的服務開啟OpenSsh for Windows的服務
之後我用Putty來去localhost

[email protected]’s password:
Could not chdir to home directory /home/sky: No such file or directory
Microsoft Windows XP [版本 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Program Files\OpenSSH>

咁就去到想去的Dos Prompt了,有乜用?
你可以打shutdown來關機,net來map drive……

又亂買野了

Sunday, June 19th, 2005

買多了一個15″ LCD,看來可以producitivity++。
(more…)

Debian Jigdo 使用筆記

Wednesday, June 8th, 2005

使用jigdo本身有不少的誤導成份,有一個Program也叫做jigdo,但同debian上的jigdo係無關的
1. apt-get install jigdo-file
2. 上網去 http://cdimage.debian.org/debian-cd/3.1_r0/i386/jigdo-dvd/
3. d/l debian-31r0-i386-binary-1.jigdo
4. d/l jigdotemplates/debian-31r0-i386-binary-1.template
5. jigdo-lite debian-31r0-i386-binary-1.jigdo

又幫人砌機啦

Wednesday, June 8th, 2005

今次個規格係咁
AMD Sempron 2600+ [Socket 754]
Samsung DDR 400 512 MB Ram[Original]
ABit KV-80 VIA K8M800 Chipset Based AMD Athlon 64 Main board FSB 800, AGP8X
Lite-On 16X DVD +/- RW 4X DVD+R DL
Excelstor 80G SATA HardDisk
SPI 270 W Mini Power Supply
MATX Case [3x3.5" and 1x 5.25"]
NEC 1.44M Floppy

不過估不到主板係Gigabit Ethernet,用VIA Velocity Chipset,買的時候也沒有留意。

製作OpenBSD ISO

Friday, May 20th, 2005

OpenBSD剛剛推出了3.7版,但一直以來OpenBSD係無官方ISO的,
這裏就有方法去整一個Unofficial ISO
1. mkdir -p OpenBSD/3.7/i386
2. 把ftp://ftp.openbsd.org/pub/OpenBSD/3.7/i386/內的所有檔案下載,或者從入何一個Mirror下載相應的檔案,放係OpenBSD/3.7/i386/這個目錄上。
3. mkisofs -v -r -l -L -T -J -V “OpenBSD-3.7″ -A “OpenBSD v3.7-Release, Custom ISO 05-20-2005.” -b 3.7/i386/cdrom37.fs -c boot.catalog -o openbsd-i386-3.7.iso -x openbsd-i386-3.7.iso openbsd/ [注意openbsd就係剛剛的目錄]

OpenBSD主頁

SNMP Tips

Friday, March 18th, 2005

一直都不會如何Set SNMP Server,一直不能拿到想要的資料,今天無意中碰到點用,重點係要個Server給番個權限出來

大約係咁
係/etc/snmp/snmpd.conf入面找一下類似一句咁的

view system included .iso.org.dod.internet.mgmt.mib-2.system

之後加上以下一句

view system included .iso

在Console度打下下個command就可以看到晒所以的野

snmpwalk -v 1 -c public localhost .iso

幫表弟裝機

Monday, February 21st, 2005

在新年時,我替我表弟裝了一部新機,因為係一套新的,我以前未接觸過的系統,所以極之有興趣。
以下係他的所裝的電腦組合

* 天揚VNF4 Ultra主板
* AMD64 3000+ Socket 939
* Kingston CL3 Ram * 2 (唔買CL2.5係因為貴,這次買回來只係為了穩定)
* Inno3D 6600 PCI-E
* 牛魔王350W火牛

幫人砌機的責任好大,我也不太願意同人砌的。中間我第一次見到Socket 939的CPU呢,不過我會等多一會才自己砌番一部給自己。

Uptime

Monday, February 21st, 2005

以下就是我部屋企部Gateway的Uptime

Last login: Mon Feb 21 09:28:48 2005 from octopus.school.n
NetBSD 2.0 (GENERIC) #0: Wed Dec 1 10:58:25 UTC 2004

Welcome to NetBSD!

Terminal type is xterm.
-bash-3.00$ uptime
9:29AM up 35 days, 21:52, 3 users, load averages: 0.11, 0.10, 0.08
-bash-3.00$

果然NetBSD都好穩定