为了做好运维面试路上的助攻手,特整理了上百道 【运维技术栈面试题集锦】 ,让你面试不慌心不跳,高薪offer怀里抱!
这次整理的面试题,小到shell、MySQL,大到K8s等云原生技术栈,不仅适合运维新人入行面试需要,还适用于想提升进阶跳槽加薪的运维朋友。
本份面试集锦涵盖了
- 174 道运维工程师面试题
- 128道k8s面试题
- 108道shell脚本面试题
- 200道Linux面试题
- 51道docker面试题
- 35道Jenkis面试题
- 78道MongoDB面试题
- 17道ansible面试题
- 60道dubbo面试题
- 53道kafka面试
- 18道mysql面试题
- 40道nginx面试题
- 77道redis面试题
- 28道zookeeper
总计 1000+ 道面试题, 内容 又全含金量又高
- 174道运维工程师面试题
1、什么是运维?
2、在工作中,运维人员经常需要跟运营人员打交道,请问运营人员是做什么工作的?
3、现在给你三百台服务器,你怎么对他们进行管理?
4、简述raid0 raid1raid5二种工作模式的工作原理及特点
5、LVS、Nginx、HAproxy有什么区别?工作中你怎么选择?
6、Squid、Varinsh和Nginx有什么区别,工作中你怎么选择?
7、Tomcat和Resin有什么区别,工作中你怎么选择?
8、什么是中间件?什么是jdk?
9、讲述一下Tomcat8005、8009、8080三个端口的含义?
10、什么叫CDN?
11、什么叫网站灰度发布?
12、简述DNS进行域名解析的过程?
13、RabbitMQ是什么东西?
14、讲一下Keepalived的工作原理?
15、讲述一下LVS三种模式的工作过程?
16、mysql的innodb如何定位锁问题,mysql如何减少主从复制延迟?
17、如何重置mysql root密码?
网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。
一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!
color: rgba(0, 0, 0, 0.75);
font: ;
}
虚拟串口对
libmodbus
主机win7系统
modbus slave
虚拟机
linux系统
2.1 建立虚拟串口对
主机利用VSPD添加了两组串口COM7-COM8,COM11-COM12。
设备管理器显示
2.2 虚拟机串口设置
右键点击要设置的虚拟机,点击“设置”。
在硬件栏选择添加两个串行端口2和3
然后在linux系统输入
ll /dev/
显示linux系统下的硬件,串口为ttyS0、ttyS1、ttyS2等等。
虚拟机上串口设置的串行端口是从2开始的,但是linux系统上的是从0开始的(ttyS0),那是如何对应的呢?经过摸索,实际上的对应关系为:
#mermaid-svg-IyyqY2uqSHK92HYx .label{font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);fill:#333;color:#333}#mermaid-svg-IyyqY2uqSHK92HYx .label text{fill:#333}#mermaid-svg-IyyqY2uqSHK92HYx .node rect,#mermaid-svg-IyyqY2uqSHK92HYx .node circle,#mermaid-svg-IyyqY2uqSHK92HYx .node ellipse,#mermaid-svg-IyyqY2uqSHK92HYx .node polygon,#mermaid-svg-IyyqY2uqSHK92HYx .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-IyyqY2uqSHK92HYx .node .label{text-align:center;fill:#333}#mermaid-svg-IyyqY2uqSHK92HYx .node.clickable{cursor:pointer}#mermaid-svg-IyyqY2uqSHK92HYx .arrowheadPath{fill:#333}#mermaid-svg-IyyqY2uqSHK92HYx .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-IyyqY2uqSHK92HYx .flowchart-link{stroke:#333;fill:none}#mermaid-svg-IyyqY2uqSHK92HYx .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-IyyqY2uqSHK92HYx .edgeLabel rect{opacity:0.9}#mermaid-svg-IyyqY2uqSHK92HYx .edgeLabel span{color:#333}#mermaid-svg-IyyqY2uqSHK92HYx .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-IyyqY2uqSHK92HYx .cluster text{fill:#333}#mermaid-svg-IyyqY2uqSHK92HYx div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}#mermaid-svg-IyyqY2uqSHK92HYx .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-IyyqY2uqSHK92HYx text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-IyyqY2uqSHK92HYx .actor-line{stroke:grey}#mermaid-svg-IyyqY2uqSHK92HYx .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-IyyqY2uqSHK92HYx .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-IyyqY2uqSHK92HYx #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-IyyqY2uqSHK92HYx .sequenceNumber{fill:#fff}#mermaid-svg-IyyqY2uqSHK92HYx #sequencenumber{fill:#333}#mermaid-svg-IyyqY2uqSHK92HYx #crosshead path{fill:#333;stroke:#333}#mermaid-svg-IyyqY2uqSHK92HYx .messageText{fill:#333;stroke:#333}#mermaid-svg-IyyqY2uqSHK92HYx .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-IyyqY2uqSHK92HYx .labelText,#mermaid-svg-IyyqY2uqSHK92HYx .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-IyyqY2uqSHK92HYx .loopText,#mermaid-svg-IyyqY2uqSHK92HYx .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-IyyqY2uqSHK92HYx .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-IyyqY2uqSHK92HYx .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-IyyqY2uqSHK92HYx .noteText,#mermaid-svg-IyyqY2uqSHK92HYx .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-IyyqY2uqSHK92HYx .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-IyyqY2uqSHK92HYx .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-IyyqY2uqSHK92HYx .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-IyyqY2uqSHK92HYx .mermaid-main-font{font-family:“trebuchet ms”, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-IyyqY2uqSHK92HYx .section{stroke:none;opacity:0.2}#mermaid-svg-IyyqY2uqSHK92HYx .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-IyyqY2uqSHK92HYx .section2{fill:#fff400}#mermaid-svg-IyyqY2uqSHK92HYx .section1,#mermaid-svg-IyyqY2uqSHK92HYx .section3{fill:#fff;opacity:0.2}#mermaid-svg-IyyqY2uqSHK92HYx .sectionTitle0{fill:#333}#mermaid-svg-IyyqY2uqSHK92HYx .sectionTitle1{fill:#333}#mermaid-svg-IyyqY2uqSHK92HYx .sectionTitle2{fill:#333}#mermaid-svg-IyyqY2uqSHK92HYx .sectionTitle3{fill:#333}#mermaid-svg-IyyqY2uqSHK92HYx .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-IyyqY2uqSHK92HYx .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-IyyqY2uqSHK92HYx .grid .tick text{font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-IyyqY2uqSHK92HYx .grid path{stroke-width:0}#mermaid-svg-IyyqY2uqSHK92HYx .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-IyyqY2uqSHK92HYx .task{stroke-width:2}#mermaid-svg-IyyqY2uqSHK92HYx .taskText{text-anchor:middle;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-IyyqY2uqSHK92HYx .taskText:not([font-size]){font-size:11px}#mermaid-svg-IyyqY2uqSHK92HYx .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-IyyqY2uqSHK92HYx .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-IyyqY2uqSHK92HYx .task.clickable{cursor:pointer}#mermaid-svg-IyyqY2uqSHK92HYx .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-IyyqY2uqSHK92HYx .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-IyyqY2uqSHK92HYx .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-IyyqY2uqSHK92HYx .taskText0,#mermaid-svg-IyyqY2uqSHK92HYx .taskText1,#mermaid-svg-IyyqY2uqSHK92HYx .taskText2,#mermaid-svg-IyyqY2uqSHK92HYx .taskText3{fill:#fff}#mermaid-svg-IyyqY2uqSHK92HYx .task0,#mermaid-svg-IyyqY2uqSHK92HYx .task1,#mermaid-svg-IyyqY2uqSHK92HYx .task2,#mermaid-svg-IyyqY2uqSHK92HYx .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-IyyqY2uqSHK92HYx .taskTextOutside0,#mermaid-svg-IyyqY2uqSHK92HYx .taskTextOutside2{fill:#000}#mermaid-svg-IyyqY2uqSHK92HYx .taskTextOutside1,#mermaid-svg-IyyqY2uqSHK92HYx .taskTextOutside3{fill:#000}#mermaid-svg-IyyqY2uqSHK92HYx .active0,#mermaid-svg-IyyqY2uqSHK92HYx .active1,#mermaid-svg-IyyqY2uqSHK92HYx .active2,#mermaid-svg-IyyqY2uqSHK92HYx .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-IyyqY2uqSHK92HYx .activeText0,#mermaid-svg-IyyqY2uqSHK92HYx .activeText1,#mermaid-svg-IyyqY2uqSHK92HYx .activeText2,#mermaid-svg-IyyqY2uqSHK92HYx .activeText3{fill:#000 !important}#mermaid-svg-IyyqY2uqSHK92HYx .done0,#mermaid-svg-IyyqY2uqSHK92HYx .done1,#mermaid-svg-IyyqY2uqSHK92HYx .done2,#mermaid-svg-IyyqY2uqSHK92HYx .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-IyyqY2uqSHK92HYx .doneText0,#mermaid-svg-IyyqY2uqSHK92HYx .doneText1,#mermaid-svg-IyyqY2uqSHK92HYx .doneText2,#mermaid-svg-IyyqY2uqSHK92HYx .doneText3{fill:#000 !important}#mermaid-svg-IyyqY2uqSHK92HYx .crit0,#mermaid-svg-IyyqY2uqSHK92HYx .crit1,#mermaid-svg-IyyqY2uqSHK92HYx .crit2,#mermaid-svg-IyyqY2uqSHK92HYx .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-IyyqY2uqSHK92HYx .activeCrit0,#mermaid-svg-IyyqY2uqSHK92HYx .activeCrit1,#mermaid-svg-IyyqY2uqSHK92HYx .activeCrit2,#mermaid-svg-IyyqY2uqSHK92HYx .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-IyyqY2uqSHK92HYx .doneCrit0,#mermaid-svg-IyyqY2uqSHK92HYx .doneCrit1,#mermaid-svg-IyyqY2uqSHK92HYx .doneCrit2,#mermaid-svg-IyyqY2uqSHK92HYx .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-IyyqY2uqSHK92HYx .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-IyyqY2uqSHK92HYx .milestoneText{font-style:italic}#mermaid-svg-IyyqY2uqSHK92HYx .doneCritText0,#mermaid-svg-IyyqY2uqSHK92HYx .doneCritText1,#mermaid-svg-IyyqY2uqSHK92HYx .doneCritText2,#mermaid-svg-IyyqY2uqSHK92HYx .doneCritText3{fill:#000 !important}#mermaid-svg-IyyqY2uqSHK92HYx .activeCritText0,#mermaid-svg-IyyqY2uqSHK92HYx .activeCritText1,#mermaid-svg-IyyqY2uqSHK92HYx .activeCritText2,#mermaid-svg-IyyqY2uqSHK92HYx .activeCritText3{fill:#000 !important}#mermaid-svg-IyyqY2uqSHK92HYx .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-IyyqY2uqSHK92HYx g.classGroup text{fill:#9370db;stroke:none;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);font-size:10px}#mermaid-svg-IyyqY2uqSHK92HYx g.classGroup text .title{font-weight:bolder}#mermaid-svg-IyyqY2uqSHK92HYx g.clickable{cursor:pointer}#mermaid-svg-IyyqY2uqSHK92HYx g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-IyyqY2uqSHK92HYx g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-IyyqY2uqSHK92HYx .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-IyyqY2uqSHK92HYx .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-IyyqY2uqSHK92HYx .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-IyyqY2uqSHK92HYx .dashed-line{stroke-dasharray:3}#mermaid-svg-IyyqY2uqSHK92HYx #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-IyyqY2uqSHK92HYx #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-IyyqY2uqSHK92HYx #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-IyyqY2uqSHK92HYx #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-IyyqY2uqSHK92HYx #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-IyyqY2uqSHK92HYx #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-IyyqY2uqSHK92HYx #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-IyyqY2uqSHK92HYx #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-IyyqY2uqSHK92HYx .commit-id,#mermaid-svg-IyyqY2uqSHK92HYx .commit-msg,#mermaid-svg-IyyqY2uqSHK92HYx .branch-label{fill:lightgrey;color:lightgrey;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-IyyqY2uqSHK92HYx .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-IyyqY2uqSHK92HYx .slice{font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-IyyqY2uqSHK92HYx g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-IyyqY2uqSHK92HYx g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-IyyqY2uqSHK92HYx g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-IyyqY2uqSHK92HYx g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-IyyqY2uqSHK92HYx g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-IyyqY2uqSHK92HYx g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-IyyqY2uqSHK92HYx .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-IyyqY2uqSHK92HYx .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-IyyqY2uqSHK92HYx .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-IyyqY2uqSHK92HYx .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-IyyqY2uqSHK92HYx .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-IyyqY2uqSHK92HYx .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-IyyqY2uqSHK92HYx .edgeLabel text{fill:#333}#mermaid-svg-IyyqY2uqSHK92HYx .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:‘trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-IyyqY2uqSHK92HYx .node circle.state-start{fill:black;stroke:black}#mermaid-svg-IyyqY2uqSHK92HYx .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-IyyqY2uqSHK92HYx #statediagram-barbEnd{fill:#9370db}#mermaid-svg-IyyqY2uqSHK92HYx .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-IyyqY2uqSHK92HYx .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-IyyqY2uqSHK92HYx .statediagram-state .divider{stroke:#9370db}#mermaid-svg-IyyqY2uqSHK92HYx .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-IyyqY2uqSHK92HYx .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-IyyqY2uqSHK92HYx .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-IyyqY2uqSHK92HYx .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-IyyqY2uqSHK92HYx .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-IyyqY2uqSHK92HYx .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-IyyqY2uqSHK92HYx .note-edge{stroke-dasharray:5}#mermaid-svg-IyyqY2uqSHK92HYx .statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{–mermaid-font-family: ‘“trebuchet ms”, verdana, arial’;–mermaid-font-family: “Comic Sans MS”, “Comic Sans”, cursive}#mermaid-svg-IyyqY2uqSHK92HYx .error-icon{fill:#522}#mermaid-svg-IyyqY2uqSHK92HYx .error-text{fill:#522;stroke:#522}#mermaid-svg-IyyqY2uqSHK92HYx .edge-thickness-normal{stroke-width:2px}#mermaid-svg-IyyqY2uqSHK92HYx .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-IyyqY2uqSHK92HYx .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-IyyqY2uqSHK92HYx .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-IyyqY2uqSHK92HYx .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-IyyqY2uqSHK92HYx .marker{fill:#333}#mermaid-svg-IyyqY2uqSHK92HYx .marker.cross{stroke:#333}
:root { --mermaid-font-family: “trebuchet ms”, verdana, arial;}
#mermaid-svg-IyyqY2uqSHK92HYx {
color: rgba(0, 0, 0, 0.75);
font: ;
}
网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。
一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!
网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。
一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!