思想
考試題難點(diǎn)
復(fù)習(xí)
1.常規(guī)分區(qū)
/boot? 1024M
swap? 內(nèi)存1.5倍? 大于8G給8G
/ 所有
================================
/home
/var
/usr
2.存儲(chǔ) 數(shù)據(jù)庫(kù) 備份
/boot? 1024M
swap? 內(nèi)存1.5倍? 大于8G給8G
/ 100-200G
/data 所有 放數(shù)據(jù)
3.門戶
/boot? 1024M
swap? 內(nèi)存1.5倍? 大于8G給8G
/ 100-200G
剩下保留皆警。
xshell,secureCRT,putty,ssh
SSH默認(rèn)22端口
0.VM虛擬網(wǎng)絡(luò)編輯器設(shè)置
1结借、服務(wù)端運(yùn)行总处。
[root@oldboyedu /opt]# netstat -lntup|grep ssh
tcp? ? ? ? 0? ? ? 0 0.0.0.0:22? ? ? ? ? ? ? 0.0.0.0:*? ? ? ? ? ? ? LISTEN? ? ? 6899/sshd? ? ?
tcp6? ? ? 0? ? ? 0 :::22? ? ? ? ? ? ? ? ? :::*? ? ? ? ? ? ? ? ? ? LISTEN? ? ? 6899/ssh
[root@oldboyedu /opt]# systemctl status sshd
● sshd.service - OpenSSH server daemon
? Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: enabled)
? Active: active (running) since Wed 2020-10-28 21:09:17 CST; 1 years 6 months left
? ? Docs: man:sshd(8)
2.客戶端ping
ping 10.0.0.201
3.客戶端檢查服務(wù)
[c:\~]$ telnet 10.0.0.201 22
Connecting to 10.0.0.201:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
SSH-2.0-OpenSSH_7.4
IP端口別錯(cuò),就是防火墻問題。
4.xshell連接
c6:/etc/init.d/sshd restart
? service sshd restart
c7:systemctl restart sshd
概念:
ifconfig 別名IP
[root@oldboyedu /opt]# ifconfig? eth0:0 10.0.0.202/24 up
增加網(wǎng)卡文件/etc/sysconfig/network-scripts/ifcfg-eth0:0
ip? ? ? 輔助IP
ip addr add 10.0.0.203/24 dev eth0 label eth0:1
7. 如何測(cè)試服務(wù)器能否連上互聯(lián)網(wǎng)?
ping www.oldboyedu.com
ping 203.81.19.1 通的 但是ping www.oldboyedu.com不通躬翁。
如果網(wǎng)站沒問題就是DNS問題
[root@oldboyedu /opt]# cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 223.5.5.5
ping 10.0.0.254
* * *
3? * * *
4? * * *
5? * * *
6? * * *
7? * * *
8? * * *
9? * * *
10? * * *
11? * * *
女生富養(yǎng)椎例,男生窮養(yǎng)。
磁盤體系:
1.磁盤維護(hù)
2.掛載
3.文件系統(tǒng)
4.分區(qū)
5.raid知識(shí)體系
6.內(nèi)外部結(jié)構(gòu)敦锌、讀寫原理
命令使用:
#/opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -Lall -aALL 查raid級(jí)別
#/opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -aALL 查raid卡信息
#/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aALL 查看硬盤信息
#/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -aAll 查看電池信息
#/opt/MegaRAID/MegaCli/MegaCli64 -FwTermLog -Dsply -aALL 查看raid卡日志
#/opt/MegaRAID/MegaCli/MegaCli64 -adpCount 【顯示適配器個(gè)數(shù)】
#/opt/MegaRAID/MegaCli/MegaCli64 -AdpGetTime –aALL 【顯示適配器時(shí)間】
#/opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -aAll 【顯示所有適配器信息】
#/opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -LALL -aAll 【顯示所有邏輯磁盤組信息】
#/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aAll 【顯示所有的物理信息】
#/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuStatus -aALL |grep ‘Charger Status’ 【查看充電狀態(tài)】
#/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuStatus -aALL【顯示BBU狀態(tài)信息】
#/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuCapacityInfo -aALL【顯示BBU容量信息】
#/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuDesignInfo -aALL 【顯示BBU設(shè)計(jì)參數(shù)】
#/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuProperties -aALL 【顯示當(dāng)前BBU屬性】
#/opt/MegaRAID/MegaCli/MegaCli64 -cfgdsply -aALL 【顯示Raid卡型號(hào),Raid設(shè)置佳簸,Disk相關(guān)信息】
3.磁帶狀態(tài)的變化乙墙,從拔盤,到插盤的過程中生均。
Device |Normal|Damage|Rebuild|Normal
Virtual Drive |Optimal|Degraded|Degraded|Optimal
Physical Drive |Online|Failed –> Unconfigured|Rebuild|Online
4.查看磁盤緩存策略
#/opt/MegaRAID/MegaCli/MegaCli64 -LDGetProp -Cache -L0 -a0
https://www.cnblogs.com/lianzhilei/p/6472038.html
網(wǎng)絡(luò)部分:
1听想、tcp三次握手四次揮手。
2马胧、11種狀態(tài)
3汉买、tcpdump/wireshark/route
4、不能上網(wǎng)如何排查佩脊。
手把手帶你快速做【最專業(yè)】的項(xiàng)目文檔實(shí)戰(zhàn)
http://edu.51cto.com/course/course_id-4992.html
手把手帶你快速畫【最專業(yè)】的邏輯架構(gòu)圖實(shí)戰(zhàn)
http://edu.51cto.com/course/course_id-4991.html