Linux操作系統06網絡36097_第1頁
Linux操作系統06網絡36097_第2頁
Linux操作系統06網絡36097_第3頁
Linux操作系統06網絡36097_第4頁
Linux操作系統06網絡36097_第5頁
已閱讀5頁,還剩9頁未讀, 繼續免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

1、acegene it co. ltd.1linux操作系統操作系統網絡管理網絡管理acegene it co. ltd.2內容簡介內容簡介 1 網絡管理 2 vnc使用 3 遠程操作 telnet ssh rsh 使用acegene it co. ltd.31 網絡管理網絡管理 1.1 網卡配置 1.2 ip轉發 1.3 網絡設置acegene it co. ltd.41.1 網卡配置網卡配置 配置文件(redhat) /etc/sysconfig/network-scripts/* : 網卡 /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/res

2、olv.conf: dns配置 命令行 ifconfig eth0 # ifconfig eth0 0 netmask broadcast 55 ifup eth0 啟動網卡 ifdown eth0 禁用網卡 圖形界面 netconfigacegene it co. ltd.51.2 ip轉發轉發 /proc/sys/net/ipv4/ip_forward為1 /etc/sysconfig/networkforward_ipv4=yesacegene it co. ltd.61.3 網絡設置網絡設置 主機名設置配置文件 :

3、 /etc/sysconfig/network命令行: #hostname host /etc/hosts 配置ip long_name short_name alias localhost.localdomain localhost localhostacegene it co. ltd.72 vnc使用和管理使用和管理 遠程圖形終端remote x terminal 跨平臺linuxunixwindows 軟件部分vncserver vncvieweracegene it co. ltd.82 vnc服務器端管理服務器端管理 install vnc server for

4、linux rpm uvh vnc-3.3.7-1.i386.rpm start vnc server and stop vnc server. the user must be the current user to run x application. otherwise, will occure a authentication error. vncserver :2 (localhost:2) vncserver kill :2 set password vncpasswd set display display=host:display.0, export displayacegen

5、e it co. ltd.92 vnc客戶端使用客戶端使用 run x applicationvncviewer hostname:display 如 vncviewer localhost:2 web 訪問http:/hostname:580 xx為display端口acegene it co. ltd.103 遠程操作遠程操作 telnet telnet服務管理chkconfig telnet onservice telnet restart或: /etc/init.d/xinit restart telnet 遠程交互telnet hostnameacegene it co. ltd.1

6、13 遠程操作遠程操作 rsh 配置 chkconfig rsh on chkconfig rlogin on chkconfig rexec on 啟動服務 service xinetd reload /etc/init.d/xinetd reload /etc/init.d/xinetd restart 操作命令 rlogin 遠程登錄 rlogin hostname rsh 遠程shell rsh hostname rcp 遠程文件復制 rcp file hostname:/diracegene it co. ltd.123 遠程操作遠程操作 ssh 配置文件/etc/ssh/ssh_config 操作命令ssh 遠程shell ssh hostnamescp 遠程文件復制 scp file hostname:/diraq&acegene it co. ltd.14練習練習 配置網卡的地址 通過配置文件修改虛擬機上的bridge網卡 保證這個地址從局域網可以訪問 配置網絡 修改主機名 hostname 設置 /etc/hosts 實現遠程主機基于主機名訪問 使用vnc 啟動vnc服務器在 :3 通

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
  • 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論