Linux與其餘操做系統相比 ,具備開放源碼、沒有版權、技術社區用戶多等特色 ,開放源碼使得用戶能夠自由裁剪,靈活性高,功能強大,成本低。尤爲系統中內嵌網絡協議棧 ,通過適當的配置就可實現路由器的功能。這些特色使得Linux成爲開發路由交換設備的理想開發平臺。 初識Linux系統
Linux系統構成內容:
Linux內核
各類外圍程序:桌面 網絡。外圍程序用C++寫
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
內核:很是小200MB左右,主要對外部指令進行轉譯,轉譯成硬件可以操做的命令。內核就是系統層面的翻譯官
內核由C語言寫 面向過程語言
附:Python 面向對象也面向過程的語言vim
接下來咱們就開始安裝CentOS 7的鏡像文件:
CentOS的軟件能夠在官網上下載:https://www.centos.org/centos
下面的實驗咱們將經過虛擬機安裝系統後,使得它可以上網。
下面咱們就用虛擬機VMare安裝。瀏覽器
首先打開Vmare
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
這裏內存配置高的同窗能夠選擇4GB
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
這裏磁盤空間設置爲40GB,或更高,由於安裝文件大,也爲了後期使用的方便。
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
此時用方向鍵控制,選擇第一個,回車
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
點擊開始安裝
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
此時咱們先註銷,進入root帳戶這樣們就可使用管理員權限了。
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
打開瀏覽器後咱們發現是沒法上網的,此時咱們開始配置。使它能上網。
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
輸入命令 vim /etc/sysconfig/network-scripts/ifcfg-ens33
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
進入界面後,依然是用方向鍵控制,在最後找到onboot,此時點擊鍵盤的i鍵,進入編輯模式,把no改爲yes
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
輸入完成後,按esc鍵退出編輯模式,進入命令模式
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
此時輸入:而後輸入wq!再按回車出去。
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
此時打開網絡查看是否連通
![Linux理論+系統的安裝](http://static.javashuo.com/static/loading.gif)
實驗成功!