Solution for slitaz tazpkg upgrade

After the new release of slitaz cooking, version 20110531, it added new software packages, such as cherokee and nginx, etc. As the latest version of a testing release, testing environment is the best place for its living. However, I got 2 errors when doing tazpkg upgrade, the error messages are same as below:

can’t open [...]

解決 Slitaz 出現 Failed to execute login command

近日小棗試用 Slitaz 時發現仍未解決 Failed to execute login command 問題. 上網找資料後得知原因與 USB partition 的格式有關. 要最直接解決問題當然是將手上既 USB 格式由 FAT32 轉至 ext3. 步驟好似複雜但實際簡單, 今次小棗會示範怎樣在文字指令模式將 slitaz cooking 放在 2GB USB 手指內.

首先到 Slitaz 官方網頁下載 iso 檔, 今次小棗以 slitaz cooking 做例子 將 iso 轉為 CD, 並利用 CD 啟動電腦 在 slitaz boot 機畫面, 鍵入 slitaz screen=text 以 root 登入, 密碼請參考 slitaz [...]

Slitaz wifi 設定篇 – iwl3945

近日小棗再次重拾對 Slitaz 的興趣, 開始慢慢研究怎樣令 slitaz 支援 wifi. 今次小棗利用 Dell D430 講解 slitaz cooking 怎樣支援 Intel(R) PRO/Wireless 3945ABG/BG Network Connection. 本文假設各位對安裝 slitaz 非常熟悉, 所以沒有提及基本安裝步驟.

注意: 暫時 slitaz stable 還未支援 Intel 3945 chipset. 小棗亦未知這個 firmware 檔案可否在 slitaz stable 上使用.

1. 先到 slitaz.org 下載 3945 chipset 既檔案或直接在 slitaz 執行下列指令

tazpkg get-install firmware-iwlwifi-3945

2. 安裝成功後 iwlwifi-3945-ucode-2.ucode 檔案儲存在 /lib/firmware 3. [...]

Install Cherokee in Slitaz

Nowadays there is a new comer on web server market – cherokee, they said they won the benchmark and security measurement, plus a graphic admin interface for easy maintenance. It is a good choice with Slitaz to hold a web server, because both are small, young and growing.

N.B. : This article helps people build [...]

Perl CPAN in Slitaz

After my previous article about compiling snort in Slitaz, I want go further on CPAN modules of Perl in Slitaz. The CPAN shell is bundled in perl package when installation is done. To launch the CPAN shell, I prefer the traditional way:

perl -MCPAN -e shell

The first thing to do should be upgrade the CPAN [...]

Slitaz 自己手動安裝 snort

有留意本欄既讀者都知道, Slitaz 是筆者喜愛既 distro 之一, 原因好簡單 — 硬件要求低.

作為一般家用伺服器, Slitaz 提供了與其他 distro 無異既軟件, php, apache, mysql, samba 等. 但它只需要 1GB 空間與最少 64mb RAM 甚至更少, 曾經網上討論過差不多 16mb RAM 仍可運作. 當 1GB RAM 已是標準配置既時代, 要運行暢順當然無問題. 其實作為伺服器, 主要就是為其他機器或人提供服務,對 RAM 及硬碟要求低正可將多出既資源回饋給所運行既服務提高負載率。

講返正題,因為 Slitaz 本身既 snort 並不支援 mysql,所以需要自行下載安裝程式。

先下載所需程式: (可在 Google 尋找) Snort 主程式及 Snort rules – http://www.snort.org jpgraph Adodb [...]

Compiling snort in Slitaz

I always like to use Slitaz running server, because of the benefit from it’s tiny size and low hardware requirement. More resources can be reserved for server service in compare with other distro.

With less than 1GB after installed in hard drive, it provides common server packages, including apache, php, mysql, samba, sure it contains [...]

Slitaz 時區資料 (Timezone file for Slitaz)

近日發現 Slitaz 內缺少了大部份地方既時區資料 (當然包括香港在內), 時區不同最主要既影響就是系統紀錄內既時間出現時差. 解決方法非常簡單, 只要從其他 linux distro 內將適當既時區資料檔從 /usr/share/zoneinfo 抄回 slitaz 相同既地方. 修改 /etc/TZ, 更新為新的時區檔案位置. 最後執行 hwclock -s -l 便可. 小弟已從 Ubuntu 9.10 內抄出全部時區資料, 有興趣既朋友可到下列網址下載:

It’s a hard time when system date is not same as local time, normally when you read system log. Slitaz is lack of timezone data file because of [...]