搭建一個只在光碟片或隨身碟上跑的小型LINUX系統

來源:互聯網
上載者:User

SLAX linux,是本文的主角,因為他不需要安裝在硬碟,只需要燒錄在光碟片和隨身碟上就可以跑。
SLAX LINUX的ISO檔案只有差不多200MB的大小,但是,麻雀雖小但五髒俱全,這個ISO檔案裡已經安裝了記事本、幾款小遊戲等。

首先,介紹一下如何安裝SLAX LINUX,其實過程超級簡單:

1.在迅雷搜尋SLAX LINUX,下載一個名為Slax ChineseOptimized.iso這個檔案,因為這個ISO已經整合中文環境(簡體漢字以及中文IME)以及常用工具(如PDF閱讀器以及OFFICE工具等),當然,你可以下載一個沒安裝任何軟體的SLAX LINUX來使用。
2.啟動ISO方式,有兩個:一。用VMware虛擬機器讀取ISO檔案;二。用Nero等工具燒錄到CD中,建議使用第一種方式使用這個SLAX LINUX,因為可以用WINISO等工具修改ISO檔案,而燒錄後的光碟片可就不能隨便添加刪除了。

以下,介紹如何往這個小型的LINUX中安裝軟體:
1.首先要下載一個WINISO,這個軟體用於添加、刪除ISO中的軟體包(.mo格式的檔案)。
2.到http://www.slax.org/modules.php,下載你想要安裝的軟體包(.mo格式的檔案)
例如,我選擇Development module這個開發包,Development module的簡介如下:
Official development module for SLAX 5.1.4. This module contains gcc compiler, make, and all the missing header files from SLAX (which are deleted because of size). Included programs are (for example):

- gcc 3.4.6
- python 2.4.3
- autoconf
- automake
- bin86
- binutils
- glibc
- libtool
- make
- x11-devel
- and many more

Moreover this module contains kernel headers from 2.4 kernels, this is correct as glibc was compiled with 2.4 kernel headers too. If you need to compile kernel modules for 2.6.x kernels, just download kernel source from kernel.org, or use SLAX kernel source module.

This module doesn't contain ncurses so you'll need to download ncurses separately if you need to do "make menuconfig".

3.接下來就是添加Official Development module.mo到ISO。
4.添加mo軟體包到SLAX LINUX後,就要重新安裝SLAX LINUX(前面提到的安裝方法),不然就不能裝載新安裝的軟體包。 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.