Presentation is loading. Please wait.

Presentation is loading. Please wait.

Unix 安裝過程 使用2個磁片 到http://ftp.nsysu.edu.tw先抓取檔案 rawwrite bootnet.img drvnet.img 利用rawwrite 將image檔寫入磁片.

Similar presentations


Presentation on theme: "Unix 安裝過程 使用2個磁片 到http://ftp.nsysu.edu.tw先抓取檔案 rawwrite bootnet.img drvnet.img 利用rawwrite 將image檔寫入磁片."— Presentation transcript:

1 Unix 安裝過程 使用2個磁片 到http://ftp.nsysu.edu.tw先抓取檔案
rawwrite bootnet.img drvnet.img 利用rawwrite 將image檔寫入磁片

2 裝上硬碟 開始安裝Unix系統 先放入bootnet.img 再選擇驅動網路卡處 按F2 再放入drvnet.img
設定網路卡 IP ,DNS ,gateway…等

3 網路安裝 使用FTP協定 網路安裝 ip:140.115.65.23 ncu/ncu 分割硬碟 為 / 和 swap
註:/就像windows的C:\ 但linux是先分割硬碟 swap=windows虛擬記憶體 套件設定用every thing比較方便 新增一位使用者 遠端使用

4 進入Trustix 系統資訊先跳過 以介紹指令為主 先把sshd架起來 開始使用遠端 變身為root
在vi /etc/rc.local 中加入 /usr/sbin/sshd 基礎介紹 cd進入, exit離開系統 , man線上手冊(manual ), shutdown(防止停電) ,ls列表 (接下來可以講檔案屬性)

5 #chmod u=rwx ,o=rx , FILENAME
chgrp :改變檔案所屬群組 chown :改變檔案所屬人 #chown [ -R ] 帳號名稱:群組名稱 檔案或目錄 chmod :改變檔案的屬性 #chmod u=rwx ,o=rx , FILENAME

6 cd ,pwd 更動檔案或目錄:mkdir ,rmdir(only empty) rm ,mv 顯示檔案內容:more ,less ,cat ,head ,tail 環境變數 PATH: echo $PATH

7 搜尋檔案或目錄: which, whereis, locate, find,
which:藉由 PATH 這個環境變數尋找執行檔 whereis :locate the binary, source, and manual page locate :利用資料庫來找尋檔案 #slocate –u 以更新資料庫 find:#find /etc -name ‘*字串*’ 讀硬碟找資料

8 安裝新軟體LINKS wget 抓取檔案 Tar –zxvf filename 看INSTALL 將指令加入環境變數
PATH=$PATH: 執行檔所在目錄


Download ppt "Unix 安裝過程 使用2個磁片 到http://ftp.nsysu.edu.tw先抓取檔案 rawwrite bootnet.img drvnet.img 利用rawwrite 將image檔寫入磁片."

Similar presentations


Ads by Google