使用 liveusb-creator。
USB 隨身碟容量建議 8GB 以上。
Use existing Live CD → Fedora.iso → Target Device 選好 USB →
persistent Storage 選好剩下可用的 FAT 格式容量 → Create Live USB。
flyfox 發表在 痞客邦 留言(0) 人氣(525)
secure copy。
傳輸一個本機檔案到遠端機器
scp localfile username@destination:/newfilename
scp kernel.tar.bz2 flyfox@192.168.1.1:/home/flyfox
flyfox 發表在 痞客邦 留言(0) 人氣(16)
分為 x-window 和指令兩種方式。
位置 → 連接到伺服器 → 服務類型 → Windows 分享 → 輸入伺服器 IP:192.168.1.1 →
分享:D$ → 使用者名稱:flyfox → 連線 → 輸入密碼 abc123
mkdir /mnt/smb
mount //192.168.1.1/D$ /mnt/smb/ -o username=flyfox,password=abc123
umount /mnt/smb
flyfox 發表在 痞客邦 留言(0) 人氣(255)
ddf1 wrong of devices in raid set。
當安裝時 BIOS 找得到 SATA 硬碟,但安裝過程中卻找不到 SATA 硬碟,
且有出現以上訊息,那就是 RAID 的部分有問題,此時在開機時加上 nodmraid 參數即可。
如果還是出現 bug,那麼可能需要更換 IDE 硬碟。
flyfox 發表在 痞客邦 留言(0) 人氣(61)
安裝於舊 PC。
1. 安裝時多選軟體開發
2. 設定好網路
3. yum install mkinitrd
4. 下載 NCTUns-allinone-linux-2.6.31.6-f12.20100113.tar.gz
5. 以 root tar zxvf NCTUns-allinone-linux-2.6.31.6-f12.20100113.tar.gz
6. cd NCTUns-6.0/RPMS
7. rpm -ivh tcl-8.5.7-4.fc12.i686.rpm
8. rpm -ivh xinetd-2.3.14-28.fc12.i686.rpm
9. rpm -ivh rsh-server-0.17-58.fc12.i686.rpm
10. cd ..
11. ./install.sh
12. yes*4
13. vi /boot/grub/grub.conf
14. 更改預設的 Kernel 為 NCTUns Kernel
15. su -
16. dispatcher
17. su -
18. coordinator
19. su -
20. service iptables stop
21. nctunsclient
flyfox 發表在 痞客邦 留言(4) 人氣(587)
相關的一些步驟。
使用 yum 更新核心
yum update kernel
查詢核心更新的檔案
rpm –ql kernel
flyfox 發表在 痞客邦 留言(0) 人氣(390)
unbridge mode shell script。#!/bin/sh
BR=192.168.3.223
GW=192.168.1.1
brctl delif br0 eth0
brctl delif br0 eth1
ifconfig br0 down
brctl delbr br0
ifconfig eth0 down
ifconfig eth1 down
ifconfig eth0 0.0.0.0 -promisc
ifconfig eth1 0.0.0.0 -promisc
ifconfig eth1 $BR netmask 255.255.0.0 up
route add default gw $GW dev eth1
flyfox 發表在 痞客邦 留言(0) 人氣(10)
Bridge mode shell script。
#!/bin/sh
BR=192.168.3.223
GW=192.168.1.1
flyfox 發表在 痞客邦 留言(0) 人氣(8)
使用 mkinitrd 產生 img 開機檔。
#rpm -ivh kernel-2.6.32.14-flyfox-Bridgemode-testing.i386.rpm
#yum install mkinitrd
#mkinitrd initrd-2.6.32.14-flyfox_Bridgemode.img 2.6.32.14-flyfox_Bridgemode
flyfox 發表在 痞客邦 留言(0) 人氣(159)
於 Fedora 12 設定 bridge mode。
安裝 bridge-utils
ifconfig eth0 0.0.0.0 promisc
ifconfig eth1 0.0.0.0 promisc
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 eth1
ifconfig br0 192.168.3.223/16
route add default gw 192.168.1.1 dev br0
ifconfig br0 up
flyfox 發表在 痞客邦 留言(0) 人氣(82)