2007年5月17日 星期四

在ubuntu 7.4的環境下來進行網頁編輯

我想大家都知道,在windows下要進行網頁編輯,
一定會聯想到M$的Front-Page,
或是現在很火紅的Dreamwave。
Front-Page和ASP、ASP.net搭配,而Dreamwave和PHP整合得不錯。
都是在Windows作業系統環境下很好用的軟體!
但是在LINUX下,要做網頁的話,那要用什麼呢?
我找了好久,終於在ubuntu成功安裝了兩套軟體,
一個是bluefish,另一個叫做Quanta Plus。
在此附上參考的網頁文件連結:
Linux中三款工具制作網頁

我的作業系統是ubuntu 7.4,
Quanta Plus安裝的指令及過程如下:

root@bullock-desktop:~# apt-get install quanta
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
cvs gettext kfilereplace klinkstatus kommander libcvsservice0 libtidy-0.99-0
quanta-data tidy
Suggested packages:
gettext-doc kommander-dev gubed kimagemapeditor php-doc tidy-doc
Recommended packages:
cervisia kompare kxsldbg wdg-html-reference docbook-defguide
The following NEW packages will be installed:
cvs gettext kfilereplace klinkstatus kommander libcvsservice0 libtidy-0.99-0
quanta quanta-data tidy
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 9365kB of archives.
After unpacking 30.6MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://tw.archive.ubuntu.com feisty/main cvs 1:1.12.13-5build1 [1658kB]
Get:2 http://tw.archive.ubuntu.com feisty/main gettext 0.16.1-1ubuntu2 [1551kB]
Get:3 http://tw.archive.ubuntu.com feisty/main kfilereplace 4:3.5.6-0ubuntu1 [641kB]
Get:4 http://tw.archive.ubuntu.com feisty/main klinkstatus 4:3.5.6-0ubuntu1 [320kB]
Get:5 http://tw.archive.ubuntu.com feisty/main kommander 4:3.5.6-0ubuntu1 [1531kB]
Get:6 http://tw.archive.ubuntu.com feisty/main libcvsservice0 4:3.5.6-0ubuntu2 [107kB]
Get:7 http://tw.archive.ubuntu.com feisty/main libtidy-0.99-0 20051018-1 [122kB]
Get:8 http://tw.archive.ubuntu.com feisty/main quanta-data 4:3.5.6-0ubuntu1 [973kB]
Get:9 http://tw.archive.ubuntu.com feisty/main tidy 20051018-1 [21.7kB]
Get:10 http://tw.archive.ubuntu.com feisty/main quanta 4:3.5.6-0ubuntu1 [2439kB]
Fetched 9365kB in 51s (182kB/s)
Preconfiguring packages ...
Selecting previously deselected package cvs.
(Reading database ... 128285 files and directories currently installed.)
Unpacking cvs (from .../cvs_1%3a1.12.13-5build1_i386.deb) ...
Selecting previously deselected package gettext.
Unpacking gettext (from .../gettext_0.16.1-1ubuntu2_i386.deb) ...
Selecting previously deselected package kfilereplace.
Unpacking kfilereplace (from .../kfilereplace_4%3a3.5.6-0ubuntu1_i386.deb) ...
Selecting previously deselected package klinkstatus.
Unpacking klinkstatus (from .../klinkstatus_4%3a3.5.6-0ubuntu1_i386.deb) ...
Selecting previously deselected package kommander.
Unpacking kommander (from .../kommander_4%3a3.5.6-0ubuntu1_i386.deb) ...
Selecting previously deselected package libcvsservice0.
Unpacking libcvsservice0 (from .../libcvsservice0_4%3a3.5.6-0ubuntu2_i386.deb) ...
Selecting previously deselected package libtidy-0.99-0.
Unpacking libtidy-0.99-0 (from .../libtidy-0.99-0_20051018-1_i386.deb) ...
Selecting previously deselected package quanta-data.
Unpacking quanta-data (from .../quanta-data_4%3a3.5.6-0ubuntu1_all.deb) ...
Selecting previously deselected package tidy.
Unpacking tidy (from .../tidy_20051018-1_i386.deb) ...
Selecting previously deselected package quanta.
Unpacking quanta (from .../quanta_4%3a3.5.6-0ubuntu1_i386.deb) ...
Setting up cvs (1.12.13-5build1) ...

Setting up gettext (0.16.1-1ubuntu2) ...

Setting up kfilereplace (3.5.6-0ubuntu1) ...

Setting up klinkstatus (3.5.6-0ubuntu1) ...

Setting up kommander (3.5.6-0ubuntu1) ...

Setting up libcvsservice0 (3.5.6-0ubuntu2) ...

Setting up libtidy-0.99-0 (20051018-1) ...

Setting up quanta-data (3.5.6-0ubuntu1) ...
Setting up tidy (20051018-1) ...
Setting up quanta (3.5.6-0ubuntu1) ...

root@bullock-desktop:~#

至於BlueFish安裝的過程,我執行時忘了抓,
指令如下:
root@bullock-desktop:~# apt-get install bluefish

好啦!相信你也想裝來玩玩看,是吧。
參考網頁中還有介紹一套Front-screen,
不過我想就以上我成功安裝的這兩套,先嘗試看看再說。
忘了補充一點,我用的DM是Xfce,就是xbuntu啦!
因為它簡潔,對電腦主機的資源很節省。
如果你同時要跑很多應用程式的話,Xfce應該是你的首選。
OK!開始來寫我的網頁吧。
下回再來寫一下使用的心得。

在HPdc7600裝ubuntu 7.4

唉!玩LINUX的人就是手賤。
我又把電腦改裝成ubuntu了,也許會再試一次Open SUSE···
M$都渴望大家用裝新電腦來用vista,
但是LINUX這個作業系,卻是鼓勵大家用舊電腦來安裝使用!
最近愈來愈能體會舊電腦的好處。


root@bullock-desktop:~# dmesg
[ 0.000000] Linux version 2.6.20-15-generic (root@palmer) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Sun Apr 15 07:36:31 UTC 2007 (Ubuntu 2.6.20-15.27-generic)
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] sanitize start
[ 0.000000] sanitize end
[ 0.000000] copy_e820_map() start: 0000000000000000 size: 000000000009fc00 end: 000000000009fc00 type: 1
[ 0.000000] copy_e820_map() type is E820_RAM
[ 0.000000] copy_e820_map() start: 000000000009fc00 size: 0000000000000400 end: 00000000000a0000 type: 2
[ 0.000000] copy_e820_map() start: 00000000000e8000 size: 0000000000018000 end: 0000000000100000 type: 2
[ 0.000000] copy_e820_map() start: 0000000000100000 size: 000000003f6cf300 end: 000000003f7cf300 type: 1
[ 0.000000] copy_e820_map() type is E820_RAM
[ 0.000000] copy_e820_map() start: 000000003f7cf300 size: 0000000000830d00 end: 0000000040000000 type: 2
[ 0.000000] copy_e820_map() start: 00000000f0000000 size: 0000000004000000 end: 00000000f4000000 type: 2
[ 0.000000] copy_e820_map() start: 00000000fec00000 size: 0000000001400000 end: 0000000100000000 type: 2
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000e8000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000003f7cf300 (usable)
[ 0.000000] BIOS-e820: 000000003f7cf300 - 0000000040000000 (reserved)
[ 0.000000] BIOS-e820: 00000000f0000000 - 00000000f4000000 (reserved)
[ 0.000000] BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
[ 0.000000] 119MB HIGHMEM available.
[ 0.000000] 896MB LOWMEM available.
[ 0.000000] found SMP MP-table at 000fe700
[ 0.000000] Entering add_active_range(0, 0, 260047) 0 entries of 256 used
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 4096
[ 0.000000] Normal 4096 -> 229376
[ 0.000000] HighMem 229376 -> 260047
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0 -> 260047
[ 0.000000] On node 0 totalpages: 260047
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 4064 pages, LIFO batch:0
[ 0.000000] Normal zone: 1760 pages used for memmap
[ 0.000000] Normal zone: 223520 pages, LIFO batch:31
[ 0.000000] HighMem zone: 239 pages used for memmap
[ 0.000000] HighMem zone: 30432 pages, LIFO batch:7
[ 0.000000] DMI 2.4 present.
[ 0.000000] ACPI: RSDP (v000 COMPAQ ) @ 0x000e8c10
[ 0.000000] ACPI: RSDT (v001 COMPAQ CPQ0968 0x20050518 0x00000000) @ 0x3f7df340
[ 0.000000] ACPI: FADT (v001 COMPAQ LAKEPORT 0x00000001 0x00000000) @ 0x3f7df3ec
[ 0.000000] ACPI: MADT (v001 COMPAQ LAKEPORT 0x00000001 0x00000000) @ 0x3f7df460
[ 0.000000] ACPI: ASF! (v032 COMPAQ LAKEPORT 0x00000001 0x00000000) @ 0x3f7df4e4
[ 0.000000] ACPI: MCFG (v001 COMPAQ LAKEPORT 0x00000001 0x00000000) @ 0x3f7df547
[ 0.000000] ACPI: DSDT (v001 COMPAQ DSDT 0x00000001 MSFT 0x0100000e) @ 0x00000000
[ 0.000000] ACPI: PM-Timer IO Port: 0xf808
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[ 0.000000] Processor #0 15:4 APIC version 20
[ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
[ 0.000000] Processor #1 15:4 APIC version 20
[ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x06] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x07] disabled)
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1])
[ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] Enabling APIC mode: Flat. Using 1 I/O APICs
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] Allocating PCI resources starting at 50000000 (gap: 40000000:b0000000)
[ 0.000000] Detected 2992.675 MHz processor.
[ 30.460039] Built 1 zonelists. Total pages: 258016
[ 30.460043] Kernel command line: root=UUID=5835969b-1295-4d5f-89f8-d1adc4d8118f ro quiet splash locale=zh_TW
[ 30.460205] mapped APIC to ffffd000 (fee00000)
[ 30.460207] mapped IOAPIC to ffffc000 (fec00000)
[ 30.460210] Enabling fast FPU save and restore... done.
[ 30.460213] Enabling unmasked SIMD FPU exception support... done.
[ 30.460223] Initializing CPU#0
[ 30.460280] PID hash table entries: 4096 (order: 12, 16384 bytes)
[ 30.461527] Console: colour VGA+ 80x25
[ 30.461833] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 30.462175] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 30.481662] Memory: 1019744k/1040188k available (1992k kernel code, 19648k reserved, 893k data, 328k init, 122684k highmem)
[ 30.481673] virtual kernel memory layout:
[ 30.481674] fixmap : 0xfff4e000 - 0xfffff000 ( 708 kB)
[ 30.481675] pkmap : 0xff800000 - 0xffc00000 (4096 kB)
[ 30.481676] vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB)
[ 30.481677] lowmem : 0xc0000000 - 0xf8000000 ( 896 MB)
[ 30.481678] .init : 0xc03d7000 - 0xc0429000 ( 328 kB)
[ 30.481680] .data : 0xc02f2264 - 0xc03d16d4 ( 893 kB)
[ 30.481681] .text : 0xc0100000 - 0xc02f2264 (1992 kB)
[ 30.481684] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[ 30.560237] Calibrating delay using timer specific routine.. 5990.64 BogoMIPS (lpj=11981292)
[ 30.560277] Security Framework v1.0.0 initialized
[ 30.560282] SELinux: Disabled at boot.
[ 30.560299] Mount-cache hash table entries: 512
[ 30.560426] CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000649d 00000000 00000000
[ 30.560434] monitor/mwait feature present.
[ 30.560436] using mwait in idle threads.
[ 30.560443] CPU: Trace cache: 12K uops, L1 D cache: 16K
[ 30.560446] CPU: L2 cache: 2048K
[ 30.560448] CPU: Physical Processor ID: 0
[ 30.560450] CPU: After all inits, caps: bfebfbff 20100000 00000000 00003180 0000649d 00000000 00000000
[ 30.560462] Compat vDSO mapped to ffffe000.
[ 30.560465] Remapping vsyscall page to ffffe000
[ 30.560479] Checking 'hlt' instruction... OK.
[ 30.576322] SMP alternatives: switching to UP code
[ 30.576651] Early unpacking initramfs... done
[ 30.858112] ACPI: Core revision 20060707
[ 30.858247] ACPI: Looking for DSDT in initramfs... file /DSDT.aml not found, using machine DSDT.
[ 30.861239] CPU0: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 03
[ 30.861260] SMP alternatives: switching to SMP code
[ 30.861353] Booting processor 1/1 eip 3000
[ 30.871836] Initializing CPU#1
[ 30.952042] Calibrating delay using timer specific routine.. 5985.56 BogoMIPS (lpj=11971122)
[ 30.952052] CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000649d 00000000 00000000
[ 30.952059] monitor/mwait feature present.
[ 30.952065] CPU: Trace cache: 12K uops, L1 D cache: 16K
[ 30.952068] CPU: L2 cache: 2048K
[ 30.952071] CPU: Physical Processor ID: 0
[ 30.952073] CPU: After all inits, caps: bfebfbff 20100000 00000000 00003180 0000649d 00000000 00000000
[ 30.952533] CPU1: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 03
[ 30.952575] Total of 2 processors activated (11976.20 BogoMIPS).
[ 30.952725] ENABLING IO-APIC IRQs
[ 30.952906] ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 31.099976] checking TSC synchronization across 2 CPUs: passed.
[ 0.003999] Brought up 2 CPUs
[ 0.249836] migration_cost=153
[ 0.250138] HP Compaq Laptop series board detected. Selecting BIOS-method for reboots.
[ 0.250141] Booting paravirtualized kernel on bare hardware
[ 0.250220] Time: 12:18:20 Date: 04/17/107
[ 0.250253] NET: Registered protocol family 16
[ 0.250349] EISA bus registered
[ 0.250354] ACPI: bus type pci registered
[ 0.251187] PCI: PCI BIOS revision 2.20 entry at 0xec51b, last bus=63
[ 0.251189] PCI: Using configuration type 1
[ 0.251191] Setting up standard PCI resources
[ 0.254663] ACPI: Interpreter enabled
[ 0.254666] ACPI: Using IOAPIC for interrupt routing
[ 0.255132] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 0.255140] PCI: Probing PCI hardware (bus 00)
[ 0.255162] ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
[ 0.255620] Boot video device is 0000:00:02.0
[ 0.256103] PCI quirk: region f800-f87f claimed by ICH6 ACPI/GPIO/TCO
[ 0.256107] PCI quirk: region fa00-fa3f claimed by ICH6 GPIO
[ 0.256608] PCI: Transparent bridge - 0000:00:1e.0
[ 0.256659] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 0.271234] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCX1._PRT]
[ 0.271593] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCX2._PRT]
[ 0.272308] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB_._PRT]
[ 0.276430] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *10 11 14 15)
[ 0.276692] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 14 15)
[ 0.276945] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 *11 14 15)
[ 0.277198] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 *5 6 7 10 11 14 15)
[ 0.277454] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 *5 6 7 10 11 14 15)
[ 0.277707] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 *11 14 15)
[ 0.277959] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 *11 14 15)
[ 0.278211] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 11 14 15) *0, disabled.
[ 0.278495] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 0.278508] pnp: PnP ACPI init
[ 0.282120] pnp: PnP ACPI: found 14 devices
[ 0.282126] PnPBIOS: Disabled by ACPI PNP
[ 0.282182] PCI: Using ACPI for IRQ routing
[ 0.282185] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
[ 0.774800] NET: Registered protocol family 8
[ 0.774804] NET: Registered protocol family 20
[ 0.775472] pnp: 00:0b: ioport range 0x4d0-0x4d1 has been reserved
[ 0.775480] pnp: 00:0c: ioport range 0x400-0x41f has been reserved
[ 0.775483] pnp: 00:0c: ioport range 0x420-0x43f has been reserved
[ 0.775485] pnp: 00:0c: ioport range 0x440-0x45f has been reserved
[ 0.775488] pnp: 00:0c: ioport range 0x460-0x47f could not be reserved
[ 0.775490] pnp: 00:0c: ioport range 0x480-0x48f has been reserved
[ 0.775493] pnp: 00:0c: ioport range 0xcb0-0xcbf has been reserved
[ 0.775496] pnp: 00:0c: ioport range 0xf800-0xf81f could not be reserved
[ 0.775499] pnp: 00:0c: ioport range 0xf820-0xf83f could not be reserved
[ 0.775848] PCI: Ignore bogus resource 6 [0:0] of 0000:00:02.0
[ 0.775854] PCI: Bridge: 0000:00:1c.0
[ 0.775856] IO window: disabled.
[ 0.775861] MEM window: disabled.
[ 0.775865] PREFETCH window: disabled.
[ 0.775870] PCI: Bridge: 0000:00:1c.1
[ 0.775871] IO window: disabled.
[ 0.775876] MEM window: e0500000-e07fffff
[ 0.775880] PREFETCH window: disabled.
[ 0.775886] PCI: Bridge: 0000:00:1e.0
[ 0.775889] IO window: 1000-1fff
[ 0.775894] MEM window: e0800000-e0afffff
[ 0.775898] PREFETCH window: 50000000-500fffff
[ 0.775923] PCI: Setting latency timer of device 0000:00:1c.0 to 64
[ 0.775944] ACPI: PCI Interrupt 0000:00:1c.1[B] -> GSI 17 (level, low) -> IRQ 16
[ 0.775950] PCI: Setting latency timer of device 0000:00:1c.1 to 64
[ 0.775962] PCI: Setting latency timer of device 0000:00:1e.0 to 64
[ 0.775989] NET: Registered protocol family 2
[ 0.819676] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.819798] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.820381] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.820633] TCP: Hash tables configured (established 131072 bind 65536)
[ 0.820636] TCP reno registered
[ 0.831766] checking if image is initramfs... it is
[ 1.384928] Freeing initrd memory: 6997k freed
[ 1.385531] audit: initializing netlink socket (disabled)
[ 1.385544] audit(1179404300.716:1): initialized
[ 1.385646] highmem bounce pool size: 64 pages
[ 1.385738] VFS: Disk quotas dquot_6.5.1
[ 1.385761] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.385812] io scheduler noop registered
[ 1.385815] io scheduler anticipatory registered
[ 1.385818] io scheduler deadline registered
[ 1.385831] io scheduler cfq registered (default)
[ 1.386046] PCI: Setting latency timer of device 0000:00:1c.0 to 64
[ 1.386092] assign_interrupt_mode Found MSI capability
[ 1.386095] Allocate Port Service[0000:00:1c.0:pcie00]
[ 1.386133] Allocate Port Service[0000:00:1c.0:pcie02]
[ 1.386243] PCI: Setting latency timer of device 0000:00:1c.1 to 64
[ 1.386289] assign_interrupt_mode Found MSI capability
[ 1.386292] Allocate Port Service[0000:00:1c.1:pcie00]
[ 1.386329] Allocate Port Service[0000:00:1c.1:pcie02]
[ 1.386516] isapnp: Scanning for PnP cards...
[ 1.738056] isapnp: No Plug & Play device found
[ 1.765744] Real Time Clock Driver v1.12ac
[ 1.765801] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[ 1.765935] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 1.766624] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 1.766845] mice: PS/2 mouse device common for all mice
[ 1.767612] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[ 1.767773] input: Macintosh mouse button emulation as /class/input/input0
[ 1.767815] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[ 1.767820] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[ 1.768027] PNP: PS/2 Controller [PNP0303:KBD,PNP0f0e:PS2M] at 0x60,0x64 irq 1,12
[ 1.770277] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 1.770283] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 1.770398] EISA: Probing bus 0 at eisa.0
[ 1.770405] Cannot allocate resource for EISA slot 1
[ 1.770408] Cannot allocate resource for EISA slot 2
[ 1.770430] EISA: Detected 0 cards.
[ 1.800501] TCP cubic registered
[ 1.800509] NET: Registered protocol family 1
[ 1.800534] Starting balanced_irq
[ 1.800541] Using IPI No-Shortcut mode
[ 1.800624] ACPI: (supports S0 S1 S3 S4 S5)
[ 1.800669] Magic number: 7:812:329
[ 1.800762] hash matches device tty50
[ 1.800947] Freeing unused kernel memory: 328k freed
[ 1.803103] Time: tsc clocksource has been installed.
[ 1.815536] input: AT Translated Set 2 keyboard as /class/input/input1
[ 3.013610] Capability LSM initialized
[ 3.053808] ACPI (exconfig-0455): Dynamic SSDT Load - OemId [COMPAQ] OemTableId [ CPU_TM2] [20060707]
[ 3.053876] ACPI: Processor [CPU0] (supports 8 throttling states)
[ 3.054063] ACPI: Processor [CPU1] (supports 8 throttling states)
[ 3.500276] SCSI subsystem initialized
[ 3.524630] libata version 2.20 loaded.
[ 3.552757] ata_piix 0000:00:1f.1: version 2.10ac1
[ 3.552777] ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 17 (level, low) -> IRQ 16
[ 3.552803] PCI: Setting latency timer of device 0000:00:1f.1 to 64
[ 3.552876] ata1: PATA max UDMA/133 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x000120a0 irq 14
[ 3.552919] ata2: PATA max UDMA/133 cmd 0x00010170 ctl 0x00010376 bmdma 0x000120a8 irq 15
[ 3.552944] scsi0 : ata_piix
[ 3.572614] usbcore: registered new interface driver usbfs
[ 3.572644] usbcore: registered new interface driver hub
[ 3.572676] usbcore: registered new device driver usb
[ 3.639469] USB Universal Host Controller Interface driver v3.0
[ 3.664989] via-rhine.c:v1.10-LK1.4.2 Sept-11-2006 Written by Donald Becker
[ 3.681356] Floppy drive(s): fd0 is 1.44M
[ 3.696297] FDC 0 is a post-1991 82077
[ 3.870613] ata1.00: ATAPI, max UDMA/66
[ 4.034528] ata1.00: configured for UDMA/66
[ 4.034541] scsi1 : ata_piix
[ 4.200310] ATA: abnormal status 0x7F on port 0x00010177
[ 4.206447] scsi 0:0:0:0: CD-ROM PIONEER DVD-RW DVR-111D 1.23 PQ: 0 ANSI: 5
[ 4.207242] ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
[ 4.362125] ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 17
[ 4.362146] PCI: Setting latency timer of device 0000:00:1f.2 to 64
[ 4.362183] ata3: SATA max UDMA/133 cmd 0x000120d8 ctl 0x000120f2 bmdma 0x000120b0 irq 17
[ 4.362223] ata4: SATA max UDMA/133 cmd 0x000120e0 ctl 0x000120f6 bmdma 0x000120b8 irq 17
[ 4.362236] scsi2 : ata_piix
[ 4.526248] ata3.00: ATA-7: ST3808110AS, 3.AHH, max UDMA/100
[ 4.526252] ata3.00: 156301488 sectors, multi 16: LBA48
[ 4.534256] ata3.00: configured for UDMA/100
[ 4.534265] scsi3 : ata_piix
[ 4.698209] ata4.00: ATA-7: SAMSUNG HD080HJ, WT100-33, max UDMA/100
[ 4.698213] ata4.00: 156301488 sectors, multi 16: LBA48
[ 4.706212] ata4.00: configured for UDMA/100
[ 4.706307] scsi 2:0:0:0: Direct-Access ATA ST3808110AS 3.AH PQ: 0 ANSI: 5
[ 4.706862] scsi 3:0:0:0: Direct-Access ATA SAMSUNG HD080HJ WT10 PQ: 0 ANSI: 5
[ 4.707345] ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 20 (level, low) -> IRQ 18
[ 4.707359] PCI: Setting latency timer of device 0000:00:1d.0 to 64
[ 4.707364] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[ 4.707645] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
[ 4.707676] uhci_hcd 0000:00:1d.0: irq 18, io base 0x00002000
[ 4.710080] usb usb1: configuration #1 chosen from 1 choice
[ 4.710128] hub 1-0:1.0: USB hub found
[ 4.710139] hub 1-0:1.0: 2 ports detected
[ 4.814100] ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 18 (level, low) -> IRQ 19
[ 4.814113] PCI: Setting latency timer of device 0000:00:1d.1 to 64
[ 4.814118] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[ 4.814149] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
[ 4.814179] uhci_hcd 0000:00:1d.1: irq 19, io base 0x00002020
[ 4.814312] usb usb2: configuration #1 chosen from 1 choice
[ 4.814355] hub 2-0:1.0: USB hub found
[ 4.814365] hub 2-0:1.0: 2 ports detected
[ 4.918062] ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 21 (level, low) -> IRQ 20
[ 4.918075] PCI: Setting latency timer of device 0000:00:1d.2 to 64
[ 4.918080] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[ 4.918111] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
[ 4.918140] uhci_hcd 0000:00:1d.2: irq 20, io base 0x00002040
[ 4.918264] usb usb3: configuration #1 chosen from 1 choice
[ 4.918308] hub 3-0:1.0: USB hub found
[ 4.918318] hub 3-0:1.0: 2 ports detected
[ 5.022037] ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 22 (level, low) -> IRQ 21
[ 5.022049] PCI: Setting latency timer of device 0000:00:1d.3 to 64
[ 5.022054] uhci_hcd 0000:00:1d.3: UHCI Host Controller
[ 5.022085] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 4
[ 5.022117] uhci_hcd 0000:00:1d.3: irq 21, io base 0x00002060
[ 5.022242] usb usb4: configuration #1 chosen from 1 choice
[ 5.022285] hub 4-0:1.0: USB hub found
[ 5.022296] hub 4-0:1.0: 2 ports detected
[ 5.126104] tg3.c:v3.72 (January 8, 2007)
[ 5.126129] ACPI: PCI Interrupt 0000:3f:00.0[A] -> GSI 17 (level, low) -> IRQ 16
[ 5.126141] PCI: Setting latency timer of device 0000:3f:00.0 to 64
[ 5.146189] eth0: Tigon3 [partno(BCM95752) rev 6001 PHY(5752)] (PCI Express) 10/100/1000Base-T Ethernet 00:15:60:9d:9d:da
[ 5.146201] eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[1]
[ 5.146206] eth0: dma_rwctrl[76180000] dma_mask[64-bit]
[ 5.146256] ACPI: PCI Interrupt 0000:05:09.0[A] -> GSI 18 (level, low) -> IRQ 19
[ 5.150256] ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 20 (level, low) -> IRQ 18
[ 5.150269] PCI: Setting latency timer of device 0000:00:1d.7 to 64
[ 5.150274] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[ 5.150296] eth1: VIA Rhine II at 0x11000, 00:05:5d:e6:d4:8c, IRQ 19.
[ 5.150323] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 5
[ 5.150386] ehci_hcd 0000:00:1d.7: debug port 1
[ 5.150403] PCI: cache line size of 128 is not supported by device 0000:00:1d.7
[ 5.150417] ehci_hcd 0000:00:1d.7: irq 18, io mem 0xe04c4000
[ 5.151037] eth1: MII PHY found at address 8, status 0x7809 advertising 01e1 Link 0000.
[ 5.154311] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 5.154438] usb usb5: configuration #1 chosen from 1 choice
[ 5.154485] hub 5-0:1.0: USB hub found
[ 5.154494] hub 5-0:1.0: 8 ports detected
[ 5.281242] SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
[ 5.281269] sda: Write Protect is off
[ 5.281274] sda: Mode Sense: 00 3a 00 00
[ 5.281304] SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 5.281394] SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
[ 5.281416] sda: Write Protect is off
[ 5.281420] sda: Mode Sense: 00 3a 00 00
[ 5.281454] SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 5.281460] sda:sr0: scsi3-mmc drive: 62x/62x writer cd/rw xa/form2 cdda tray
[ 5.291235] Uniform CD-ROM driver Revision: 3.20
[ 5.291291] sr 0:0:0:0: Attached scsi CD-ROM sr0
[ 5.296503] sda1 sda2
[ 5.296841] sd 2:0:0:0: Attached scsi disk sda
[ 5.296922] SCSI device sdb: 156301488 512-byte hdwr sectors (80026 MB)
[ 5.296939] sdb: Write Protect is off
[ 5.296942] sdb: Mode Sense: 00 3a 00 00
[ 5.296970] SCSI device sdb: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 5.297027] SCSI device sdb: 156301488 512-byte hdwr sectors (80026 MB)
[ 5.297043] sdb: Write Protect is off
[ 5.297047] sdb: Mode Sense: 00 3a 00 00
[ 5.297072] SCSI device sdb: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 5.297076] sdb: sdb1 sdb2 <>
[ 5.330717] sd 3:0:0:0: Attached scsi disk sdb
[ 5.339432] sr 0:0:0:0: Attached scsi generic sg0 type 5
[ 5.339467] sd 2:0:0:0: Attached scsi generic sg1 type 0
[ 5.339496] sd 3:0:0:0: Attached scsi generic sg2 type 0
[ 5.556494] Attempting manual resume
[ 5.556498] swsusp: Resume From Partition 8:1
[ 5.556500] PM: Checking swsusp image.
[ 5.556784] PM: Resume from disk failed.
[ 5.568222] ReiserFS: sda2: found reiserfs format "3.6" with standard journal
[ 5.568230] ReiserFS: sda2: using ordered data mode
[ 5.570236] ReiserFS: sda2: journal params: device sda2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
[ 5.570601] ReiserFS: sda2: checking transaction log (sda2)
[ 5.598805] ReiserFS: sda2: Using r5 hash to sort names
[ 5.766167] usb 3-1: new full speed USB device using uhci_hcd and address 3
[ 5.939701] usb 3-1: configuration #1 chosen from 1 choice
[ 5.942646] hub 3-1:1.0: USB hub found
[ 5.945616] hub 3-1:1.0: 4 ports detected
[ 11.597159] eth0: link down
[ 11.923412] NET: Registered protocol family 10
[ 11.923545] lo: Disabled Privacy Extensions
[ 11.923611] ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 11.923614] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 12.692563] NET: Registered protocol family 17
[ 12.803771] Linux agpgart interface v0.102 (c) Dave Jones
[ 12.806106] agpgart: Detected an Intel 945G Chipset.
[ 12.806806] agpgart: Detected 7932K stolen memory.
[ 12.823941] agpgart: AGP aperture is 256M @ 0xd0000000
[ 12.900922] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 12.903192] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 13.313225] parport: PnPBIOS parport detected.
[ 13.313287] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
[ 13.352250] input: PC Speaker as /class/input/input2
[ 13.370957] intel_rng: Firmware space is locked read-only. If you can't or
[ 13.370961] intel_rng: don't want to disable this in firmware setup, and if
[ 13.370964] intel_rng: you are certain that your system has a functional
[ 13.370966] intel_rng: RNG, try using the 'no_fwh_detect' option.
[ 13.410532] iTCO_vendor_support: vendor-support=0
[ 13.411838] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.01 (11-Nov-2006)
[ 13.493959] tg3: eth1: Link is up at 100 Mbps, full duplex.
[ 13.493964] tg3: eth1: Flow control is on for TX and on for RX.
[ 13.496823] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 13.840217] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 21 (level, low) -> IRQ 20
[ 13.840239] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[ 14.143617] input: ImPS/2 Logitech Wheel Mouse as /class/input/input3
[ 14.147252] iTCO_wdt: Found a ICH7 or ICH7R TCO device (Version=2, TCOBASE=0x7860)
[ 14.147268] iTCO_wdt: heartbeat value must be 2<39 heartbeat="30" nowayout="0)" device="c19c6400"> GSI 16 (level, low) -> IRQ 22
[ 34.618531] [drm] Initialized i915 1.6.0 20060119 on minor 0
[ 35.294220] ppdev: user-space parallel port driver
[ 35.750436] apm: BIOS not found.
[ 35.967325] Bluetooth: Core ver 2.11
[ 35.967398] NET: Registered protocol family 31
[ 35.967402] Bluetooth: HCI device and connection manager initialized
[ 35.967407] Bluetooth: HCI socket layer initialized
[ 36.003220] Bluetooth: L2CAP ver 2.8
[ 36.003227] Bluetooth: L2CAP socket layer initialized
[ 36.218399] Bluetooth: RFCOMM socket layer initialized
[ 36.218413] Bluetooth: RFCOMM TTY layer initialized
[ 36.218417] Bluetooth: RFCOMM ver 1.8
[ 4700.667550] ISO 9660 Extensions: Microsoft Joliet Level 3
[ 4703.035413] ISOFS: changing to secondary root

2007年5月14日 星期一

ubuntu的昇級 edgy到feisty

耶?有看過以前文章的人或許會質疑,啊你不是說要玩Fedora Core 6嗎?
怎麼現在要昇級ubuntu??
Well~我簡單說明一下,玩LINUX的人,大部是手「賤」居多···
常常這個版本摸一下,那個版本也碰一點。
不奇怪啊!哈~
不多廢話,辦正事要緊。

這次要運用一些BASH指令的精髓,
首先把一些關鍵字,代換掉。
sed -i.edgy 's/edgy/feisty/g' /ect/apt/sources.list
哈哈!簡簡單單把edgy給換成feisty,接著就要來進行更新了。

嘿!且慢‧‧‧
最原版的sources.list抓的更新站台,都是外國的,
記得台灣就有更新的mirro站台了,讓我查查先!



有了,把us.archive.ubuntu.com再代換成tw.archive.ubuntu.com應該就可以了!
這次用vi吧!
#vi /etc/apt/sources.list
然後,以ex模式進行代換,OK!
:1,$s/us.archive.ubuntu.com/tw.archive.ubuntu.com/g
其實可以直接把us換成tw就好的,但怕置換字元給太少,會換到不該換的字元。
所以還是給全比較好!

接下來,就是重頭戱了,嗯!確認網路正常先。
#apt-get update
給它跑下去,耶?cdrom的部份不能更新?
啊!豬頭,難道我還得去燒一片Feisty的片子嗎?
當然不是!重新編輯sources.list把cdrom的部份註解掉。
再來一次!嗯,好像可以了。
如果你也有同樣類例的狀況,可能就是之前你為了安裝一些特殊套件,
加入了奇怪的LINK,更新時卻抓不到了。
就把它註解掉吧!不然你是無法順利升上去的。
再來一次!
#apt-get upgrade
正式來囉!

我在網路上爬文,看到有人是用另一個指令。
#aptitude update
好像也是可以的,但man了一下兩個指令的內容,
覺得還是用apt-get比較原汁原味一點。

最後別了再做一次相依套件的更新哦!
#apt-get dist-upgrade

成功後,開始享用這棒到不行的作業系統吧!
以上!

2007年5月8日 星期二

安裝 oracle XE

我的工作除了把網路管好之外,
還有一項任務,就是把公司的資料庫的運作,看管好!
若是它發生異常,寫資料庫程式的PROGRAMER不會修,
我就得趕緊找資料庫廠商的工程師來維護了。
也算是讓自己有多點專長,
我打算研究ORACLE資料庫的架構,
也許以後TROUBLE SHOOTTING可以
派上用場!
我現在的電腦OS是用FEDORA6,
ORACLE是不能裝上去的,但ORACLE為了與MYSQL比美,
釋出了ORACLE XE的版本,
太好了,不是嗎?
趕緊來試試···

以下是安裝的過程,
有點小麻煩,但問題不大,安裝過程算是非常順利。
先把過程記錄下來,日後再來註解,OK!

[root@fc6 bullock]# cd oracleXE/

[root@fc6 oracleXE]# ls
adodb-9-2-6-1.php PLSQL練習950806.txt XE10-5-4-1.php XE6_6_4.SQL
adodb-9-2-7-1.php PLSQL練習950816.txt XE10-6-1-1.PHP XE6_6_5.SQL
adodb-9-2-7-2.php windows XE10-6-2-1.php XE6_7_1.SQL
adodb-9-2-7-3.php XE10-2-2-1.php XE10-6-2-2.php XE6_7_2.SQL
adodb-9-2-7-4.php XE10-5-1-1.php XE10-6-2-3.php XE6_9_3A.SQL
adodb-9-2-7-5.php XE10-5-1-2.php XE10-6-3-1.php XE6_9_3.sql
adodb-9-2-7-6.php XE10-5-1-3.php XE10-6-3-2.php XE8_5_2.SQL
adodb-9-2-7-8.php XE10-5-1-4.php XE10-6-3-3.php XE8_5_2.txt
adodb-9-2-8-1.php XE10-5-1-5.php XE10-6-4-1.php XESample.sql
adodb-9-2-9-1.php XE10-5-1-6.php XE10-6-5-1.php XE第五章950828.txt
CLOB.txt XE10-5-1-7.php XE10-6-5-2.php XE第六章950814.txt
ec.html XE10-5-1-8.php XE10-6-6-1.php XE第四章950829.txt
Linux XE10-5-2-1.php XE10-6-7-1.php
load_sample.sql XE10-5-3-1.php XE4_7.SQL
[root@fc6 oracleXE]# cd Linux/
[root@fc6 Linux]# ls
oracle-xe-client-10.2.0.1-1.0.i386.rpm oracle-xe-univ-10.2.0.1-1.0.i386.rpm
[root@fc6 Linux]# rpm -ivh oracle-xe-univ-10.2.0.1-1.0.i386.rpm
error: Failed dependencies:
libaio >= 0.3.96 is needed by oracle-xe-univ-10.2.0.1-1.0.i386
[root@fc6 Linux]# yum install libaio
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
http://rpm.livna.org/fedora/6/i386/repodata/repomd.xml: [Errno 12] Timeout:
Trying other mirror.
livna 100% |=========================| 1.1 kB 00:00
gst-0.10-apps 100% |=========================| 951 B 00:00
updates 100% |=========================| 1.2 kB 00:00
core 100% |=========================| 1.1 kB 00:00
freshrpms 100% |=========================| 1.1 kB 00:00
gst-0.10-deps 100% |=========================| 951 B 00:00
extras 1.1 kB 00:00
gst-0.10-gst 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz 1.8 MB 00:11
extras : ################################################## 5718/5718
Excluding Packages from Livna for Fedora Core 6 - i386 - Base
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for libaio to pack into transaction set.
libaio-0.3.106-3.2.i386.r 100% |=========================| 7.7 kB 00:00
---> Package libaio.i386 0:0.3.106-3.2 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
libaio i386 0.3.106-3.2 core 19 k

Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 19 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): libaio-0.3.106-3.2 100% |=========================| 19 kB 00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: libaio ######################### [1/1]

Installed: libaio.i386 0:0.3.106-3.2
Complete!
[root@fc6 Linux]# rpm -ivh oracle-xe-univ-10.2.0.1-1.0.i386.rpm
Preparing... ########################################### [100%]
1:oracle-xe-univ ########################################### [100%]
Executing Post-install steps...
You must run '/etc/init.d/oracle-xe configure' as the root user to
configure the database.

[root@fc6 Linux]# /etc/init.d/oracle-xe configure

Oracle Database 10g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 10g Express
Edition. The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts. Press to accept the defaults.
Ctrl-C will abort.

Specify the HTTP port that will be used for Oracle Application Express [8080]:

Specify a port that will be used for the database listener [1521]:

Specify a password to be used for database accounts. Note that the same
password will be used for SYS and SYSTEM. Oracle recommends the use of
different passwords for each database account. This can be done after
initial configuration:
Confirm the password:

Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:

Starting Oracle Net Listener...Done
Configuring Database...Done
Starting Oracle Database 10g Express Edition Instance...Done
Installation Completed Successfully.
To access the Database Home Page go to "http://127.0.0.1:8080/apex"
[root@fc6 Linux]#

2007年5月3日 星期四

SERVER的安全性!不容小覷!

我們現在要操控一部SERVER,難免要登入它,取得一個SHELL執行環境。
現在應該不會有人還在用TELNET了吧,要用「比較」安全的SSH,才是正道哦!
請注意,我用「比較」安全,是因為單純的使用SSH,還是會有它的漏洞在!
所以我們要進一步的給它設限,好讓SERVER受到「多一些」的保護。

凡是學用LINUX的入門者,都會去鳥哥的網站及STUDY AREA、酷學園···等網站朝聖取經吧,
我就不把全文轉貼到這裡來了,畢竟NETMAN寫文章雖然是要鼓吹愛用LINUX,
但老是貼轉他們的文章,未免也太不尊重他們的著作權了。
有興趣的人請點下面那行超鏈結!

使用SSH的HACK


我先強調幾個基本重點:
1.禁止 root 登錄
2.限制 ssh 使用者名單
3.限制 su / sudo 名單

我強調的重點,應該算是基本要做的,
在NETMAN的HACK裡,有提到不少的進階設定,
有空的話,我再來把它解讀註解一番!

2007年5月1日 星期二

不怕没資源,只怕不肯學

我以前一直認為,如果要架站,
除了想辦法自己學架站,不然就是要花錢找人幫你架!
而自己學架站的方式就是從SERVER架好然後把網頁寫好放上去,
這裡頭的工程浩大,要涉獵的技術層面既高且深。
不過我也聽過,不用花錢,技術只要一點點,
就可以架好一個網站!

但看了那麼多的書,參考了那麼多的網站,
我的感想是,那全都是騙人的,
或許真的不用花什麼錢,
但技術只要懂一點點,就想架站,
有抱著這種夢想的人,我要勸他早點看破這樣的謊言,
還是扎扎實實的學些網際網路的相關技術吧!

想不花一毛錢架站的人,我給個案例網址,

尹記御膳泡菜

架這個站的人,我要稱讚他有創意,
也很鼓勵用這樣的模式來推「電子商務」!
畢竟,小企業要推電子商務,失敗還是居多數啦!
而且基於成本的考量,會投入在電子商務裡的金錢,我想一定不會太大。
而我提供的這個案例網址,他幾乎不用什麼金錢成本,
就能架好一個簡單的網站,實在太夢幻了。
上面那個鏈結,文中有提到他用到的資源,
想免費架站的人,可以試看看。
不過我說要做到像他那樣的內容,
絕對還是要在技術層面下點功夫的!不信你去問架站的作者!

搜尋此網誌

本站大事記

這個部落格(網站)內容以分享LINUX和延伸出的技術文章為主!
特別是為了工作和進修需要,搜集了不少網站連結。
希望對來這裡觀文的朋友們,有提供一些有用的資訊或文章。
但這裡的文章中,也包含個人的心情扎記和隨興言談……
若是當中沒有對上你的口味,請多包涵!

原「琳娜絲與希斯寇的邂逅」,改名為「愛上琳娜絲」!

原「琳娜絲與希斯寇的邂逅」,改名為「愛上琳娜絲」!
--原序文--
就是當LINUX遇上CISCO啦!他們的結合還能作什麼事…不就是讓這個世界的網路,串…串起來啊…不然你們那能上這網站看部落格!