Linux基礎(chǔ)知識培訓(xùn)-ppt課件_第1頁
Linux基礎(chǔ)知識培訓(xùn)-ppt課件_第2頁
Linux基礎(chǔ)知識培訓(xùn)-ppt課件_第3頁
Linux基礎(chǔ)知識培訓(xùn)-ppt課件_第4頁
Linux基礎(chǔ)知識培訓(xùn)-ppt課件_第5頁
已閱讀5頁,還剩45頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

1、ppt課件,1,Linux基礎(chǔ)知識培訓(xùn),周建輝2017.09.22,本文檔的目的,通過本次培訓(xùn),對Linux操作系統(tǒng)有一個初步的了解,掌握Linux操作系統(tǒng)的相關(guān)基礎(chǔ)知識及一些常用的命令,并對系統(tǒng)進行日常的維護,2,ppt課件,課程目標,Linux系統(tǒng)介紹 Linux主要系統(tǒng)分區(qū) 文件系統(tǒng)管理 文件類型 文件結(jié)構(gòu) 文件目錄權(quán)限 常用的Linux命令 VI編輯器的使用 用戶和組的管理 網(wǎng)絡(luò)管理 登錄Linux系統(tǒng)的常用工具 Linux系統(tǒng)性能監(jiān)控工具介紹,3,ppt課件,Linux系統(tǒng)介紹,Linux是一套免費使用和自由傳播的類Unix操作系統(tǒng),是一個多用戶、多任務(wù)、多線程、多CPU的操作系統(tǒng),

2、它能運行主要的UNIX工具軟件、應(yīng)用程序和網(wǎng)絡(luò)協(xié)議,它支持32位和64位硬件。Linux繼承了Unix以網(wǎng)絡(luò)為核心的設(shè)計思想,是一個性能穩(wěn)定的多用戶網(wǎng)絡(luò)操作系統(tǒng)。 Linux操作系統(tǒng)誕生于1991 年10 月5 日(這是第一次正式向外公布時間)。Linux可安裝在各種計算機硬件設(shè)備中,比如手機、平板電腦、路由器、視頻游戲控制臺、臺式計算機、大型機和超級計算機。 Linux存在著許多不同的Linux版本,但它們都使用了Linux內(nèi)核,4,ppt課件,Linux系統(tǒng)介紹,Linux存在著許多不同的Linux版本,但它們都使用了Linux內(nèi)核,系統(tǒng)操作命令基本一樣,內(nèi)部模塊稍有不同,如ORACLE

3、Linux,內(nèi)部就增加對ORACLE數(shù)據(jù)庫的支持,很多操作系統(tǒng)層面的參數(shù)已按常規(guī)做了預(yù)先配置。 常用的Linux版本如下,5,ppt課件,Linux系統(tǒng)介紹,登錄Linux Linux是一個真正的多用戶操作系統(tǒng),允許多個用戶同時登錄 root是linux權(quán)限最大的用戶,可以執(zhí)行一切操作,6,ppt課件,Linux主要系統(tǒng)分區(qū),7,ppt課件,Linux主要系統(tǒng)分區(qū),根目錄 所有的目錄、文件、設(shè)備都在/之下,/就是Linux文件系統(tǒng)的組織者,也是最上級的領(lǐng)導(dǎo)者。 /boot 引導(dǎo)分區(qū) 該目錄放置系統(tǒng)內(nèi)核及驅(qū)動模塊引導(dǎo)程序,需要獨立分區(qū) /SWAP 交換分區(qū) 類似于Windows的虛擬內(nèi)存,就是當

4、內(nèi)存不足的時候,把一部分硬盤空間虛擬成內(nèi)存使用,操作系 統(tǒng)先把內(nèi)存中暫時不用的數(shù)據(jù),存到硬盤的交換空間,騰出內(nèi)存來讓別的程序運行,從而解決內(nèi)存容量不足的情況。 SWAP SPACE比內(nèi)存要慢 在安裝時,系統(tǒng)會嘗試將交換分區(qū)安裝到磁盤外端 當有多個磁盤控制器時,在每個磁盤上都建立交換分區(qū) 盡量將交換分區(qū)安裝在訪問最頻繁的數(shù)據(jù)區(qū)附近,8,ppt課件,Linux主要系統(tǒng)分區(qū),rootOEL64 # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 19G 12G 5.3G 70% / -根分區(qū) tmpfs 758M 88K 757M

5、 1% /dev/shm /dev/sda1 97M 68M 25M 74% /boot -引導(dǎo)分區(qū) rootOEL64 # free -m total used free shared buffers cached Mem: 1514 339 1174 0 101 124 -/+ buffers/cache: 113 1400 Swap: 1535 0 1535 -交換分區(qū),9,ppt課件,文件類型,在linux中,所有東西都被當成文件 文件權(quán)限前的第一個字母用來標識文件類型: -:一般文件 d:目錄文件 b:塊設(shè)備文件 c:字符設(shè)備文件 l:連接文件 s:socket文件,10,ppt課件

6、,文件類型,oracleOEL64 dev$ ls -al -rw-r-r-. 1 root root 883 Apr 30 2012 zshrc drwxr-xr-x. 3 root root 60 Sep 22 11:16 bus brw-rw-. 1 root floppy 2, 0 Sep 22 11:16 fd0 crw-rw-. 1 root video 10, 175 Sep 22 11:16 agpgart lrwxrwxrwx. 1 root root 3 Sep 22 11:16 cdrom - sr0 srw-rw-rw-. 1 root root 0 Sep 22 11

7、:16 log,11,ppt課件,文件特點,Linux將每個文件系統(tǒng)mount在系統(tǒng)目錄樹中使用。 文件區(qū)分大小寫。 文件以”.”開頭的文件為隱含文件 文件名稱最多255個字符(所有字符有效,正斜杠除外) oracleOEL64 $ ls -al total 152 drwx-. 26 oracle oinstall 4096 Sep 19 15:59 . drwxr-xr-x. 6 root root 4096 Jun 27 2013 . -rw-r-r-. 1 oracle oinstall 685 Sep 18 17:35 .bash_profile,12,ppt課件,文件結(jié)構(gòu),根目錄

8、/root root用戶主目錄 /bin 存放最常用的操作命令 /boot 存放Linux啟動的核心文件 /etc 存放各種配置文件 /usr 用戶程序 /opt 應(yīng)用軟件安裝目錄,如數(shù)據(jù)庫等 /home 用戶主目錄 /mnt 設(shè)備/文件系統(tǒng)掛載點 /tmp 臨時目錄,存放臨時文件 /var 可變信息存放區(qū) /proc 虛擬文件系統(tǒng),包含進程信息 /sbin 系統(tǒng)管理員命令存放目錄 /dev 設(shè)備文件 /lib 最基本的動態(tài)鏈接共享庫,13,ppt課件,文件目錄權(quán)限,文件或目錄的權(quán)限位由10位構(gòu)成,如-rwxr-xr-x。 第一位代表文件/目錄類型:d代表目錄、-代表文件、l代表鏈接; 剩下的

9、9位分成3組,每組3位;2-4位描述文件所有者的權(quán)限,5-7位描述與文件所有者同一用戶組的權(quán)限,8-10位則是其它用戶的權(quán)限。 rwx:每組的3位分別是:讀權(quán)限、寫權(quán)限、執(zhí)行權(quán)限,對應(yīng)的數(shù)字分別為4,2,1;如果是-就代表沒有這個權(quán)限。 例如: -rwxr-xr-x表示這是個普通文件,文件的所有者可以讀、寫、執(zhí)行這個文件 ,與文件所有者同組的用戶以及其他用戶都可以讀、執(zhí)行這個文件,但沒有寫的權(quán)限,14,ppt課件,文件目錄權(quán)限,常用文件介紹 /etc/inittab 系統(tǒng)初始化配置文件,init進程需要讀取的文件,init進程是所有進程的起點。 /etc/crontab 定時任務(wù)配置文件 /e

10、tc/shadow 、/etc/passwd 用戶配置文件、用戶密碼配置文件 /etc/group 用戶組配置文件 /etc/sysconfig/network-scripts/ifcfg-eth0 網(wǎng)絡(luò)配置文件 /var/log/messages 系統(tǒng)錯誤信息 /etc/services 服務(wù)與端口信息,15,ppt課件,常用的Linux命令,絕對路徑、相對路徑 絕對路徑 以/開頭的完整的路徑 oracleOEL64 oracle$ cd /u01/app/oracle oracleOEL64 oracle$ pwd /u01/app/oracle 相對路徑 不以/開頭 只相對于當前工作目錄

11、 oracleOEL64 oracle$ cd /u01/app oracleOEL64 app$ cd ./oracle oracleOEL64 oracle$ pwd /u01/app/oracle,16,ppt課件,常用的Linux命令,表示當前目錄的上一級目錄,即父目錄 rootOEL64 tmp# cd /u01/app/oracle rootOEL64 oracle# pwd /u01/app/oracle rootOEL64 oracle# cd . rootOEL64 app# pwd /u01/app . 表示當前目錄 rootOEL64 app# pwd /u01/app

12、rootOEL64 app# cd ./oracle rootOEL64 oracle# pwd /u01/app/oracle,17,ppt課件,常用的Linux命令,pwd 顯示當前路徑 oracleOEL64 oracle$ cd /u01/app/oracle oracleOEL64 oracle$ pwd /u01/app/oracle cd 改變當前目錄 oracleOEL64 oracle$ pwd /u01/app/oracle oracleOEL64 oracle$ cd /etc oracleOEL64 app$ pwd /etc,18,ppt課件,常用的Linux命令,l

13、s 查看文件或目錄 rootOEL64 u01# ls -al total 28 drwxrwxr-x. 4 oracle oinstall 4096 Sep 19 10:44 . dr-xr-xr-x. 25 root root 4096 Sep 22 11:16 . drwxrwxr-x. 4 oracle oinstall 4096 Sep 19 10:45 app drwxrwxr-x. 2 oracle oinstall 16384 Sep 19 09:33 lost+found cp 復(fù)制文件 rootOEL64 oracle# cp /home/oracle/a.txt /tmp

14、/. rootOEL64 oracle# cd /tmp rootOEL64 tmp# ls -al a.txt -rw-r-r-. 1 root root 0 Sep 22 16:27 a.txt,19,ppt課件,常用的Linux命令,mv 移動或重命名文件 rootOEL64 tmp# mv /tmp/b.txt /home/oracle/. rootOEL64 tmp# cd /home/oracle rootOEL64 oracle# ls -al b.txt -rw-r-r-. 1 root root 0 Sep 22 16:30 b.txt touch 創(chuàng)建空文件 rootOEL

15、64 hanxi# cd /tmp rootOEL64 tmp# touch c.txt rootOEL64 tmp# ls -al c.txt -rw-r-r-. 1 root root 0 Sep 22 16:36 c.txt file 檢查文件類型 rootOEL64 tmp# file c.txt c.txt: ASCII text,20,ppt課件,常用的Linux命令,rm 刪除文件和目錄 rootOEL64 bin# cd /tmp rootOEL64 tmp# rm c.txt rm: remove regular file c.txt? Y 注意:此操作慎重使用,特別對于rm

16、 rf,文件和目錄一并刪除的操作! mkdir 創(chuàng)建新目錄 rootOEL64 tmp# mkdir test rootOEL64 tmp# ls -al total 108 drwxrwxrwt. 26 root root 4096 Sep 22 16:45 . dr-xr-xr-x. 25 root root 4096 Sep 22 11:16 . drwxr-xr-x. 2 root root 4096 Sep 22 16:45 test rmdir 刪除空目錄 rootOEL64 tmp# cd /tmp rootOEL64 tmp# rmdir test rootOEL64 tmp#

17、 ls -al test ls: cannot access test: No such file or directory,21,ppt課件,常用的Linux命令,cat 顯示文件內(nèi)容 rootOEL64 tmp# cat /tmp/alert.log more 逐屏顯示文件內(nèi)容 rootOEL64 tmp# more /tmp/alert.log less 逐行顯示文件內(nèi)容 rootOEL64 tmp# less /tmp/alert.log,22,ppt課件,常用的Linux命令,date 顯示當前時間 rootOEL64 tmp# date Fri Sep 22 17:03:47 CS

18、T 2017 cal 顯示當前日歷 rootOEL64 tmp# cal September 2017 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30,23,ppt課件,常用的Linux命令,head 顯示文件開頭部分內(nèi)容 rootOEL64 tmp# head -5 alert.log Tue Sep 19 13:04:31 2017 Starting ORACLE instance (normal) LICENSE_MAX_SESSIO

19、N = 0 LICENSE_SESSIONS_WARNING = 0 Shared memory segment for instance monitoring created tail 顯示文件結(jié)尾部分內(nèi)容 rootOEL64 tmp# tail -5 alert.log Completed: ALTER DATABASE OPEN Fri Sep 22 16:55:43 2017 Starting background process CJQ0 Fri Sep 22 16:55:43 2017 CJQ0 started with pid=22, OS id=5644,24,ppt課件,常用

20、的Linux命令,find 查找文件 rootOEL64 /# find /tmp -name alert.log /tmp/alert.log wc 作統(tǒng)計 rootOEL64 /# cd /tmp rootOEL64 tmp# ls -al *.txt -rw-r-r-. 1 root root 0 Sep 22 16:27 a.txt rootOEL64 tmp# ls -al *.txt|wc -l 1,25,ppt課件,常用的Linux命令,chmod 文件或目錄權(quán)限修改 rootOEL64 tmp# ls -l a1.txt -rw-r-r-. 1 root root 0 Sep

21、28 16:45 a1.txt rootOEL64 tmp# chmod +x a1.txt rootOEL64 tmp# ls -l a1.txt -rwxr-xr-x. 1 root root 0 Sep 28 16:45 a1.txt clear 清屏 rootOEL64 tmp# clear chown 改變文件或目錄的所有者和組 rootOEL64 tmp# ls -l a.txt -rw-r-r-. 1 root root 0 Sep 22 16:27 a.txt rootOEL64 tmp# chown oracle:oinstall a.txt rootOEL64 tmp# l

22、s -l a.txt -rw-r-r-. 1 oracle oinstall 0 Sep 22 16:27 a.txt,26,ppt課件,常用的Linux命令,diff 比較文件內(nèi)容 rootOEL64 hanxi# diff a.txt b.txt 2d1 bbbbbbbbbbbbbbbbbbbbbbbbbbbbb grep 過濾文件關(guān)鍵字 rootOEL64 hanxi# ps -ef |grep ora oracle 5543 1 0 16:55 ? 00:00:00 ora_dbrm_orcl oracle 5545 1 0 16:55 ? 00:00:00 ora_dia0_orcl

23、 oracle 5547 1 0 16:55 ? 00:00:04 ora_mman_orcl oracle 5549 1 0 16:55 ? 00:00:01 ora_dbw0_orcl,27,ppt課件,常用的Linux命令,mount 加載一個硬件設(shè)備 rootOEL64 dev# mount /dev/cdrom rootOEL64 dev# cd /mnt/cdrom su 在不退出登陸的情況下,切換到另外用戶 rootOEL64 dev# su - oracle oracleOEL64 $ echo $ORACLE_HOME /u01/app/oracle/product/11.2

24、.0/db_1,28,ppt課件,常用的Linux命令,whoami 顯示你自己登陸的用戶名 rootOEL64 tmp# whoami root whereis/which 查詢命令所在目錄以及幫助文檔所在目錄 rootOEL64 dev# whereis gzip gzip: /bin/gzip /usr/bin/gzip /usr/share/man/man1/gzip.1.gz rootOEL64 dev# which gzip /bin/gzip id 顯示用戶的UID和GID rootOEL64 dev# su - oracle oracleOEL64 $ id uid=54321

25、(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba,29,ppt課件,常用的Linux命令,kill 可以殺死某個正在運行的進程 rootOEL64 dev# kill -9 30247 passwd 設(shè)置口令 rootOEL64 dev# passwd oracle Changing password for user oracle. New password: Retype new password: passwd: all authentication tokens updated successfully. his

26、tory 查詢用戶的歷史命令 rootOEL64 dev# history 50 cd /mnt 51 ls 52 tar -zxvf VMwareTools-9.2.3-1031360.tar.gz ! 重復(fù)執(zhí)行最近一次的命令,30,ppt課件,常用的Linux命令,gzip/gunzip linux標準的壓縮/解壓縮工具 rootOEL64 tmp# gzip alert.log rootOEL64 tmp# ls -ltr total 76 -rw-r-. 1 root root 5997 Sep 22 16:57 alert.log.gz rootOEL64 tmp# gunzip a

27、lert.log.gz rootOEL64 tmp# ls -al total 144 drwxrwxrwt. 25 root root 4096 Sep 22 17:44 . dr-xr-xr-x. 25 root root 4096 Sep 22 11:16 . -rw-r-. 1 root root 37568 Sep 22 16:57 alert.log,31,ppt課件,常用的Linux命令,bzip2/bunzip2 更新的標準壓縮/解壓縮工具,壓縮比更高 rootOEL64 tmp# bzip2 alert.log rootOEL64 tmp# ls -al total 112

28、drwxrwxrwt. 25 root root 4096 Sep 22 17:45 . dr-xr-xr-x. 25 root root 4096 Sep 22 11:16 . -rw-r-. 1 root root 6594 Sep 22 16:57 alert.log.bz2 rootOEL64 tmp# bunzip2 alert.log.bz2 rootOEL64 tmp# ls -al total 144 drwxrwxrwt. 25 root root 4096 Sep 22 17:46 . dr-xr-xr-x. 25 root root 4096 Sep 22 11:16 .

29、 -rw-r-. 1 root root 37568 Sep 22 16:57 alert.log,32,ppt課件,常用的Linux命令,通配符 將與零個或多個字符匹配 rootOEL64 tmp# pwd /tmp rootOEL64 tmp# ls -al *log* -rw-r-. 1 root root 37568 Sep 22 16:57 alert.log -rw-r-r-. 1 root root 40960 Sep 28 16:09 alert.log.tar ?通配符 將與任何單個字符匹配 rootOEL64 tmp# pwd /tmp rootOEL64 tmp# ls

30、a.t?t a.txt 通配符 將與中任一字符匹配,類似? rootOEL64 tmp# ls -l a1-2.txt -rw-r-r-. 1 root root 0 Sep 28 16:45 a1.txt -rw-r-r-. 1 root root 0 Sep 28 16:45 a2.txt rootOEL64 tmp# ls -l a1,2.txt -rw-r-r-. 1 root root 0 Sep 28 16:45 a1.txt -rw-r-r-. 1 root root 0 Sep 28 16:45 a2.txt,33,ppt課件,常用的Linux命令,exit 退出當前shell

31、 rootOEL64 log# su - oracle oracleOEL64 $ exit logout rootOEL64 log# export 設(shè)置、修改和刪除環(huán)境變量 oracleOEL64 $ export ORACLE_BASE=/u01/app/oracle oracleOEL64 $ echo $ORACLE_BASE /u01/app/oracle,34,ppt課件,常用的Linux命令,ps 顯示當前系統(tǒng)運行進程的狀態(tài) rootOEL64 log# ps -ef |grep ora oracle 5343 1 0 14:36 ? 00:00:00 ora_pmon_orc

32、l oracle 5345 1 0 14:36 ? 00:00:00 ora_psp0_orcl oracle 5348 1 3 14:36 ? 00:00:01 ora_vktm_orcl oracle 5352 1 0 14:36 ? 00:00:00 ora_gen0_orcl oracle 5354 1 0 14:36 ? 00:00:00 ora_diag_orcl rpm 查看、安裝或刪除軟件包 rootOEL64 log# rpm -qa|grep mysql mysql-server-5.1.66-2.el6_3.i686 mysql-connector-odbc-5.1.5r

33、1144-7.el6.i686 qt-mysql-4.6.2-26.el6_4.i686 mysql-connector-java-5.1.17-6.el6.noarch,35,ppt課件,常用的Linux命令,fdisk 硬盤分區(qū)命令 rootOEL64 log# fdisk -l Disk /dev/sda: 32.2 GB, 32212254720 bytes 255 heads, 63 sectors/track, 3916 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/p

34、hysical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0 x0000786a Device Boot Start End Blocks Id System /dev/sda1 * 1 13 102400 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 13 209 1572864 82 Linux swap / Solaris Partition 2 does not

35、end on cylinder boundary. /dev/sda3 209 2611 19295232 83 Linux /dev/sda4 2611 3916 10483750 83 Linux,36,ppt課件,常用的Linux命令,top 實時顯示當前系統(tǒng)運行狀態(tài) top - 14:42:55 up 3:56, 1 user, load average: 0.58, 0.60, 0.36 Tasks: 144 total, 1 running, 142 sleeping, 1 stopped, 0 zombie Cpu0 : 0.3%us, 0.7%sy, 0.0%ni, 99.0%

36、id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 1550364k total, 1119620k used, 430744k free, 78572k buffers Swap: 1572860k total, 0k used, 1572860k free, 821616k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 5348 oracle -2 0 774m 13m 11m S 1.0 0.9 0:04.66 oracle 5485 root 20 0 0 0 0 S 0.3 0.0

37、 0:00.07 kworker/0:1 5516 root 20 0 2752 1040 780 R 0.3 0.1 0:00.08 top 1 root 20 0 2948 1440 1224 S 0.0 0.1 0:01.20 init,37,ppt課件,常用的Linux命令,shutdown 關(guān)機命令 shutdown -r now 關(guān)機重啟 shutdown -h now 關(guān)機并關(guān)閉電源 init Linux下的進程初始化工具 init 0 關(guān)機 init 1 重啟,38,ppt課件,常用的Linux命令,man 在線幫助命令 rootOEL64 tmp# man ls -help

38、在線幫助命令 rootOEL64 tmp# ls -help Usage: ls OPTION. FILE. 。 Info 在線幫助命令 rootOEL64 tmp# info ls File: , Node: ls invocation, Next: dir invocation, Up: Directo ry listing,39,ppt課件,Vi編輯器的使用,作為一個編輯器,vi被廣泛地運用在各種Unix操作系統(tǒng)上 Vi是Linux中的標準文本編輯器 在Red Hat Linux上,一般采用的是vim(vi improved,40,ppt課件,Vi編輯器的使用

39、,Vi提供三種模式 命令模式 瀏覽、刪除、剪貼、查找等 可以用各種命令進入插入模式 插入模式 輸入新文檔 用退出插入模式回命令模式 EX模式,41,ppt課件,Vi編輯器的使用,在命令模式下: :w 保存當前文件 :q 如果未對文件做改動則退出 :wq 保存當前文件并退出 :q! 不保存強制退出 :e 文件名 打開另一文件并開始編輯,42,ppt課件,用戶和組的管理,groupadd 增加用戶組 groupadd g 540 dba groupdel 刪除用戶組 groupdel dba useradd 增加用戶 useradd -u 541 -g dba -s /bin/bash oracl

40、e 默認創(chuàng)建的用戶將會在/home下為該用戶創(chuàng)建一個目錄,為用戶的home目錄 userdel 刪除用戶 userdel oracle,43,ppt課件,網(wǎng)絡(luò)管理,ifconfig 查看網(wǎng)絡(luò)配置 rootOEL64 log# ifconfig a eth4 Link encap:Ethernet HWaddr 00:0C:29:5B:AC:23 inet addr:1 Bcast:55 Mask: inet6 addr: fe80:20c:29ff:fe5b:ac23/64 Scope:Link UP BROADCAST

41、 RUNNING MULTICAST MTU:1500 Metric:1 RX packets:19405 errors:0 dropped:211 overruns:0 frame:0 TX packets:3435 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4387356 (4.1 MiB) TX bytes:1095534 (1.0 MiB) Interrupt:19 Base address:0 x2024 lo Link encap:Local Loopback inet

42、 addr: Mask: inet6 addr: :1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:452 (452.0 b) TX bytes:452 (452.0 b,44,ppt課件,網(wǎng)絡(luò)管理,查看網(wǎng)卡配置文件 rootOEL64 log# cat /etc/sysconfig/network-scripts/ifcfg-eth4 DEVICE=eth4 IPADDR=1 NETMASK= GATEWAY= ONBOOT=yes NAME=eth4 HWADDR=00:0C:29:5B:AC:23,45,ppt課件,網(wǎng)絡(luò)管理,netstat 查看系統(tǒng)中的服務(wù)與對應(yīng)的端口 rootOEL64 log# netstat antp Act

溫馨提示

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

評論

0/150

提交評論