# vi /etc/slim.conf
default_user username
auto_login yes
http://www.linuxplanet.com/linuxplanet/reports/7153/1
早期有些舊電腦的 BIOS 不支援從 USB 開機,
Plop 可以實現了!
下載 Plop 之後,
將 ISO 檔燒進光碟,
再將這片光碟放到主機光碟中,
主機會從光碟開機,
進入光碟開機之後,
就會有 USB 開機的選項了。
PS:另有 plpcfgbtGUI.exe 可以編輯 .bin 檔,修改開機選項設定。修改完記得用 UltraISO 之類的軟體,將 .bin 檔燒回 .ISO 檔內喔!
proxy 伺服器 ( squid ) 除了用 IP 當連線範圍之外,
如果在範圍 IP 之外,
仍想要用該 proxy 的話,
可以加掛認證模組進來,
只要輸入正確的 帳號/密碼 ,
就算在範圍IP之外,
依然可以通過 proxy 。
我的工作環境:CentOS Server 3.9、squid-2.5.STABLE3-9.3E。
squid 認證方式採用 ncsa_auth 。
net use "\\IP" password /user:userid
libedit0-3.0-1.20090722cvs.el4.i386.rpm
php-common-5.3.6-1.el4.remi.i386.rpm
php-5.3.6-1.el4.remi.i386.rpm
php-mbstring-5.3.6-1.el4.remi.i386.rpm
php-cli-5.3.6-1.el4.remi.i386.rpm
php-xml-5.3.6-1.el4.remi.i386.rpm
# rpm -Uvh *.rpm
[root@centos ~]# rpm -qa|grep php
php-xml-5.3.6-1.el4.remi
php-common-5.3.6-1.el4.remi
php-mbstring-5.3.6-1.el4.remi
php-5.3.6-1.el4.remi
php-cli-5.3.6-1.el4.remi
[root@sambar rpm]#
[root@centos ~]# rpm -qa|grep httpd
httpd-suexec-2.0.52-47.ent.centos4
httpd-2.0.52-47.ent.centos4
[root@centos ~]#
CentOS 4.x Server CD 安裝 Raid 1 ,
重新開機之後,
出現
error: unknow filsystem
解決法:
以 CentOS 4.4 Server CD 開機後,
輸入: linux rescue
進入救援模式。
( grub 不支援 md,所以重建過程會產生 /dev/md0 does not have any corresponding BIOS drive. 的錯誤)
進入 rescue 模式之後,
輸入:
1) grub # 進入interpreter 模式
2) root (hd0,0) # 定出根目錄
3) setup (hd0) # 將 grub 安裝在 MBR
重新開機之後,
grub 就正常了。
本篇不是講 Tomato 的中文韌體,
是講 Tomato firmware 的 samba 中文檔(許功蓋)的解決問題。
下載點 http://www.mediafire.com/tomatousb
請下載 samba_extra_codepages.tar.gz 。
解壓縮之後就有一個 readme.txt 跟著做就可以了。
做法大約如下:
1.啟動 ssh ,以便登入及傳檔。
2.開通 root 登入。
3.起用/jffs 資料夾。
4.將剛剛解壓縮的 950 資料夾都上傳上去,並放置到 /jffs/ 資料夾底下。
5.寫到開機程序內:
ln -s /jffs/cp950/codepage.950 /usr/share/codepage.950
ln -s /jffs/cp950/unicode_map.950 /usr/share/unicode_map.950
insmod /jffs/cp950/nls_cp950.o
insmod /jffs/cp950/nls_big5.o
6.將上面四行寫到 自動掛載 USB 裝置後的執行指令,
並加上一行: service samba restart 。
7.將 samba 編碼設為不預設,手動為 client code page =950 。
8.搞定啦!許功蓋已經回家了!
# sudo vi /etc/network/interfaces
auto eth0
iface eth0
address 123.123.123.123
netmask 255.255.255.0
gateway 168.95.1.1
# sudo /etc/init.d/networking restart
CentOS 5 官方 yum update 只能升到 5.1.6 ,
透過下列方式,
升級到 PHP 5.2.x 。
http://www.atomicorp.com/wiki/index.php/PHP
wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh
記得備份一下 /etc/php.ini 吧!
Currently USB Installable Live Linux Distributions
http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/
在 Microsoft Windows 底下,
最好用的部落格撰寫軟體,
個人覺得就非 Windows Live Writer 莫數了。
而在 Linux 底下,
今天嘗試在 Gnome 的環境,
用 Poster Blog Entry 來寫。
心得:
介面太陽春,也找不到上傳圖片的方式。
(也沒有 tag 的功能...分類也沒有...一整個不好用...)
今天看到 Ubuntu 介紹的另一款將 iso 檔存到 USB 隨身碟,
(除了這套,還有Unetbootin、LiveUSB-Creator)
http://pignet.wordpress.com/2010/04/10/usblinux/
再開機、使用、安裝,的一套軟體。
Universal USB Installer is a Live Linux USB Creator that allows you to choose from a selection of Linux Distributions to put on your USB Flash Drive.