中兴R5300G4服务器查看服务器、主板序列号及硬盘RAID信息

2024-02-08 11:28

本文主要是介绍中兴R5300G4服务器查看服务器、主板序列号及硬盘RAID信息,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

本文在操作系统带内通过指令操作查看中兴R5300G4服务器、主板序列号及硬盘RAID信息。

一、中兴R5300G4服务器查看服务器、主板序列号

在Linux服务器上,可以使用dmidecode命令来查看服务器的硬件相关信息,由于命令要读取系统的硬件信息,因此需要切换到root用户来执行或使用sudo来提供足够的权限。

1、查看服务器序列号及信息

如下命令会返回服务器的序列号,该序列号会以字符串形式显示::

[root@localhost ~]# dmidecode -s system-serial-number
219306478018

如下命令显示系统的完整信息,包括制造商、型号、序列号、BIOS信息等:

[root@localhost ~]# dmidecode -t system
# dmidecode 3.4
Getting SMBIOS data from sysfs.
SMBIOS 3.2.1 present.Handle 0x0001, DMI type 1, 27 bytes
System InformationManufacturer: ZTEProduct Name: R5300 G4Version: 1.0.0Serial Number: 219306478018UUID: 613cc86c-0000-1000-0000-bc1695199c23Wake-up Type: Power SwitchSKU Number: N/AFamily: ServerHandle 0x001D, DMI type 32, 20 bytes
System Boot InformationStatus: No errors detected
2、查看主板序列号及信息

如下命令会返回主板的序列号,该序列号会以字符串形式显示:

[root@localhost ~]#  dmidecode -s baseboard-serial-number
739554000276

如果想查看主板的完整信息,包括制造商、型号、版本、序列号等,可以使用以下命令:

[root@localhost ~]# sudo dmidecode -t baseboard
# dmidecode 3.4
Getting SMBIOS data from sysfs.
SMBIOS 3.2.1 present.Handle 0x0002, DMI type 2, 15 bytes
Base Board InformationManufacturer: ZTEProduct Name: R5300G4Version: 16030200Serial Number: 739554000276Asset Tag: N/AFeatures:Board is a hosting boardBoard is replaceableLocation In Chassis: INSIDEChassis Handle: 0x0003Type: MotherboardContained Object Handles: 0Handle 0x001C, DMI type 10, 10 bytes
On Board Device 1 InformationType: VideoStatus: EnabledDescription: Video AST2500 x1
On Board Device 2 InformationType: EthernetStatus: EnabledDescription: Ethernet 4*X722 x16
On Board Device 3 InformationType: SAS ControllerStatus: EnabledDescription: SAS Controller x8Handle 0x001E, DMI type 41, 11 bytes
Onboard DeviceReference Designation:  Video AST2500 x1Type: VideoStatus: EnabledType Instance: 1Bus Address: 0000:03:00.0Handle 0x001F, DMI type 41, 11 bytes
Onboard DeviceReference Designation:  Ethernet X722 1Type: EthernetStatus: EnabledType Instance: 1Bus Address: 0000:1a:00.0Handle 0x0020, DMI type 41, 11 bytes
Onboard DeviceReference Designation:  Ethernet X722 2Type: EthernetStatus: EnabledType Instance: 2Bus Address: 0000:1a:00.1Handle 0x0021, DMI type 41, 11 bytes
Onboard DeviceReference Designation:  Ethernet X722 3Type: EthernetStatus: EnabledType Instance: 3Bus Address: 0000:1a:00.2Handle 0x0022, DMI type 41, 11 bytes
Onboard DeviceReference Designation:  Ethernet X722 4Type: EthernetStatus: EnabledType Instance: 4Bus Address: 0000:1a:00.3Handle 0x0023, DMI type 41, 11 bytes
Onboard DeviceReference Designation:  SAS Controller x8Type: SAS ControllerStatus: EnabledType Instance: 1Bus Address: 0000:3c:00.0

二、查看硬盘RAID信息

  本服务器使用了Adaptec RAID 控制器。arcconf 是一个用于管理 Adaptec RAID 控制器的命令行工具。它允许用户查询和控制 RAID 控制器及其相关设备的状态。以下是一些 arcconf 的常用指令

  1. arcconf setstate <Controller_Number> device <Device_Number> <State>
    这个命令用于设置设备的状态。<Controller_Number> 是控制器的编号,<Device_Number> 是设备的编号,而 <State> 是要设置的状态。例如,将设备设置为热备状态可以使用 arcconf setstate 1 device 0 3 hsp,其中 1 是控制器编号,0 是设备编号,3 表示设置操作,hsp 表示热备状态。

  2. arcconf getconfig <Controller_Number> all
    这个命令用于获取控制器的配置信息。<Controller_Number> 是控制器的编号。使用 all 参数可以获取所有设备的配置信息。例如,arcconf getconfig 1 all 将显示控制器 1 的所有设备配置信息。

  3. arcconf identify <Controller_Number> device <Device_Number>
    这个命令用于启动设备的识别灯,通常用于物理定位设备。<Controller_Number> 是控制器的编号,<Device_Number> 是设备的编号。例如,./arcconf-linux identify 1 device 0 将启动控制器 1 的设备 0 的识别灯。

1、查看RAID卡控制器信息
[root@localhost ~]# ./arcconf-linux  list
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------Controller ID             : Status, Slot, Mode, Name, SerialNumber, WWN
----------------------------------------------------------------------Controller 1:             : Optimal, Slot 0, RAID (Hide RAW), ZTE SmartROC3100 SDPSx V2.54, 739186000138, 50015EBE047A1C3FCommand completed successfully.
2、查看 RAID组逻辑卷相关信息

 执行以下命令,查看RAID组信息,包含逻辑卷下的硬盘信息:

[root@localhost ~]# ./arcconf-linux getconfig 1 ld
Controllers found: 1
--------------------------------------------------------
Logical device information
--------------------------------------------------------
Logical Device number 0Logical Device name                        : Logical Drive 1Disk Name                                  : /dev/sdaBlock Size of member drives                : 512 BytesArray                                      : 0RAID level                                 : 1Status of Logical Device                   : OptimalSize                                       : 457830 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : /boot/efi 600 MB  Partition Number 1 /boot 1024 MB  Partition Number 2 LD Acceleration Method                     : SSD IO BypassLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001CABF2A33CB293CD714BC8
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 12                                  : Present (457862MB, SATA, SSD, Connector:3, Device:12) BTYF12230019480BGNDevice 13                                  : Present (457862MB, SATA, SSD, Connector:3, Device:13) BTYF1223003J480BGNLogical Device number 1Logical Device name                        : 1Disk Name                                  : /dev/sdbBlock Size of member drives                : 512 BytesArray                                      : 1RAID level                                 : 1Status of Logical Device                   : OptimalSize                                       : 1831388 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : Not MountedLD Acceleration Method                     : SSD IO BypassLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001CF9B0CA75E5D539AA91EE
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 0                                   : Present (1831420MB, SATA, SSD, Connector:0, Device:0) S455NC0R904981Device 1                                   : Present (1831420MB, SATA, SSD, Connector:0, Device:1) S455NC0R909489Logical Device number 2Logical Device name                        : 0-2Disk Name                                  : /dev/sdcBlock Size of member drives                : 512 BytesArray                                      : 2RAID level                                 : 0Status of Logical Device                   : OptimalSize                                       : 1831388 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : Not MountedLD Acceleration Method                     : NoneLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001CC9F6AF6AC352A9F73939
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 2                                   : Present (1831420MB, SATA, SSD, Connector:0, Device:2) S455NC0R915516Logical Device number 3Logical Device name                        : 0-3Disk Name                                  : /dev/sddBlock Size of member drives                : 512 BytesArray                                      : 3RAID level                                 : 0Status of Logical Device                   : OptimalSize                                       : 1831388 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : Not MountedLD Acceleration Method                     : NoneLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001C08F6CFB967225F000998
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 3                                   : Present (1831420MB, SATA, SSD, Connector:0, Device:3) S455NC0R915568Logical Device number 4Logical Device name                        : 0-4Disk Name                                  : /dev/sdeBlock Size of member drives                : 512 BytesArray                                      : 4RAID level                                 : 0Status of Logical Device                   : OptimalSize                                       : 1831388 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : Not MountedLD Acceleration Method                     : NoneLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001C3D7DA083E19C9526DE7C
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 4                                   : Present (1831420MB, SATA, SSD, Connector:1, Device:4) S455NC0R904969Logical Device number 5Logical Device name                        : 0-5Disk Name                                  : /dev/sdfBlock Size of member drives                : 512 BytesArray                                      : 5RAID level                                 : 0Status of Logical Device                   : OptimalSize                                       : 1831388 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : Not MountedLD Acceleration Method                     : NoneLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001CFCABEC062F31AD360408
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 5                                   : Present (1831420MB, SATA, SSD, Connector:1, Device:5) S455NC0R904979Logical Device number 6Logical Device name                        : 0-6Disk Name                                  : /dev/sdgBlock Size of member drives                : 512 BytesArray                                      : 6RAID level                                 : 0Status of Logical Device                   : OptimalSize                                       : 1831388 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : Not MountedLD Acceleration Method                     : NoneLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001C1117753A950D01FF5394
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 6                                   : Present (1831420MB, SATA, SSD, Connector:1, Device:6) S455NC0R904964Logical Device number 7Logical Device name                        : 0-7Disk Name                                  : /dev/sdhBlock Size of member drives                : 512 BytesArray                                      : 7RAID level                                 : 0Status of Logical Device                   : OptimalSize                                       : 1831388 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : Not MountedLD Acceleration Method                     : NoneLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001CBDE6C3E430DF7E4E5D81
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 7                                   : Present (1831420MB, SATA, SSD, Connector:1, Device:7) S455NC0R904962Logical Device number 8Logical Device name                        : 0-8Disk Name                                  : /dev/sdiBlock Size of member drives                : 512 BytesArray                                      : 8RAID level                                 : 0Status of Logical Device                   : OptimalSize                                       : 1831388 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : Not MountedLD Acceleration Method                     : NoneLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001C0604E97D1A8BBC845A91
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 8                                   : Present (1831420MB, SATA, SSD, Connector:2, Device:8) S455NC0R903477Logical Device number 9Logical Device name                        : 0-9Disk Name                                  : /dev/sdjBlock Size of member drives                : 512 BytesArray                                      : 9RAID level                                 : 0Status of Logical Device                   : OptimalSize                                       : 1831388 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : Not MountedLD Acceleration Method                     : NoneLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001C3600C13E0FB9A9600321
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 9                                   : Present (1831420MB, SATA, SSD, Connector:2, Device:9) S455NC0R904756Logical Device number 10Logical Device name                        : 0-10Disk Name                                  : /dev/sdkBlock Size of member drives                : 512 BytesArray                                      : 10RAID level                                 : 0Status of Logical Device                   : OptimalSize                                       : 1831388 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : Not MountedLD Acceleration Method                     : NoneLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001C9D7DD9C57A71CFD32FFB
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 10                                  : Present (1831420MB, SATA, SSD, Connector:2, Device:10) S455NC0R904971Logical Device number 11Logical Device name                        : 0-11Disk Name                                  : /dev/sdlBlock Size of member drives                : 512 BytesArray                                      : 11RAID level                                 : 0Status of Logical Device                   : OptimalSize                                       : 1831388 MBStripe-unit size                           : 256 KBFull Stripe Size                           : 256 KBInterface Type                             : SATA SSDDevice Type                                : DataBoot Type                                  : NoneHeads                                      : 255Sectors Per Track                          : 32Cylinders                                  : 65535Caching                                    : DisabledMount Points                               : Not MountedLD Acceleration Method                     : NoneLogical Device On Boot Connector           : NoVolume Unique Identifier                   : 600508B1001C8E742D672959B26B4E98
--------------------------------------------------------Array Physical Device Information
--------------------------------------------------------Device ID                                  : Availability (SizeMB, Protocol, Type, Connector ID, Location) Serial Number
--------------------------------------------------------Device 11                                  : Present (1831420MB, SATA, SSD, Connector:2, Device:11) S455NC0R904968Command completed successfully.
3、结合lsscsi -s查看逻辑卷情况
[root@localhost ~]# lsscsi -s
[12:0:0:0]   cd/dvd  AMI      Virtual CDROM0   1.00  /dev/sr0   1.07GB
[15:0:0:0]   enclosu ZTE      Smart Adapter    3.22  -               -
[15:1:0:0]   disk    ZTE      LOGICAL VOLUME   3.22  /dev/sda    480GB
[15:1:0:1]   disk    ZTE      LOGICAL VOLUME   3.22  /dev/sdb   1.92TB
[15:1:0:2]   disk    ZTE      LOGICAL VOLUME   3.22  /dev/sdd   1.92TB
[15:1:0:3]   disk    ZTE      LOGICAL VOLUME   3.22  /dev/sdc   1.92TB
[15:1:0:4]   disk    ZTE      LOGICAL VOLUME   3.22  /dev/sde   1.92TB
[15:1:0:5]   disk    ZTE      LOGICAL VOLUME   3.22  /dev/sdf   1.92TB
[15:1:0:6]   disk    ZTE      LOGICAL VOLUME   3.22  /dev/sdg   1.92TB
[15:1:0:7]   disk    ZTE      LOGICAL VOLUME   3.22  /dev/sdh   1.92TB
[15:1:0:8]   disk    ZTE      LOGICAL VOLUME   3.22  /dev/sdi   1.92TB
[15:1:0:9]   disk    ZTE      LOGICAL VOLUME   3.22  /dev/sdj   1.92TB
[15:1:0:10]  disk    ZTE      LOGICAL VOLUME   3.22  /dev/sdk   1.92TB
[15:1:0:11]  disk    ZTE      LOGICAL VOLUME   3.22  /dev/sdl   1.92TB
[15:2:0:0]   storage ZTE      SDPSx V2.54      3.22  -               -
4、综合以上指令,确认本服务器磁盘RAID逻辑组情况

结合以上两条指令,将信息进行综合汇总,可以确认本服务器磁盘RAID逻辑组情况如下:

逻辑盘逻辑盘名物理盘逻辑盘大小RAID方式
0/dev/sda12480GBRAID1
13
1/dev/sdb01.92TBRAID1
1
2/dev/sdc21.92TBRAID0
3/dev/sdd31.92TBRAID0
4/dev/sde41.92TBRAID0
5/dev/sdf51.92TBRAID0
6/dev/sdg61.92TBRAID0
7/dev/sdh71.92TBRAID0
8/dev/sdi81.92TBRAID0
9/dev/sdj91.92TBRAID0
10/dev/sdk101.92TBRAID0
11/dev/sdl111.92TBRAID0

这篇关于中兴R5300G4服务器查看服务器、主板序列号及硬盘RAID信息的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/690878

相关文章

Linux云服务器手动配置DNS的方法步骤

《Linux云服务器手动配置DNS的方法步骤》在Linux云服务器上手动配置DNS(域名系统)是确保服务器能够正常解析域名的重要步骤,以下是详细的配置方法,包括系统文件的修改和常见问题的解决方案,需要... 目录1. 为什么需要手动配置 DNS?2. 手动配置 DNS 的方法方法 1:修改 /etc/res

Linux中查看操作系统及其版本信息的多种方法

《Linux中查看操作系统及其版本信息的多种方法》在服务器运维或者部署系统中,经常需要确认服务器的系统版本、cpu信息等,在Linux系统中,有多种方法可以查看操作系统及其版本信息,以下是一些常用的方... 目录1. lsb_pythonrelease 命令2. /etc/os-release 文件3. h

linux查找java项目日志查找报错信息方式

《linux查找java项目日志查找报错信息方式》日志查找定位步骤:进入项目,用tail-f实时跟踪日志,tail-n1000查看末尾1000行,grep搜索关键词或时间,vim内精准查找并高亮定位,... 目录日志查找定位在当前文件里找到报错消息总结日志查找定位1.cd 进入项目2.正常日志 和错误日

Nginx屏蔽服务器名称与版本信息方式(源码级修改)

《Nginx屏蔽服务器名称与版本信息方式(源码级修改)》本文详解如何通过源码修改Nginx1.25.4,移除Server响应头中的服务类型和版本信息,以增强安全性,需重新配置、编译、安装,升级时需重复... 目录一、背景与目的二、适用版本三、操作步骤修改源码文件四、后续操作提示五、注意事项六、总结一、背景与

在Android中使用WebView在线查看PDF文件的方法示例

《在Android中使用WebView在线查看PDF文件的方法示例》在Android应用开发中,有时我们需要在客户端展示PDF文件,以便用户可以阅读或交互,:本文主要介绍在Android中使用We... 目录简介:1. WebView组件介绍2. 在androidManifest.XML中添加Interne

Web服务器-Nginx-高并发问题

《Web服务器-Nginx-高并发问题》Nginx通过事件驱动、I/O多路复用和异步非阻塞技术高效处理高并发,结合动静分离和限流策略,提升性能与稳定性... 目录前言一、架构1. 原生多进程架构2. 事件驱动模型3. IO多路复用4. 异步非阻塞 I/O5. Nginx高并发配置实战二、动静分离1. 职责2

Linux搭建ftp服务器的步骤

《Linux搭建ftp服务器的步骤》本文给大家分享Linux搭建ftp服务器的步骤,本文通过图文并茂的形式给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友参考下吧... 目录ftp搭建1:下载vsftpd工具2:下载客户端工具3:进入配置文件目录vsftpd.conf配置文件4:

Linux实现查看某一端口是否开放

《Linux实现查看某一端口是否开放》文章介绍了三种检查端口6379是否开放的方法:通过lsof查看进程占用,用netstat区分TCP/UDP监听状态,以及用telnet测试远程连接可达性... 目录1、使用lsof 命令来查看端口是否开放2、使用netstat 命令来查看端口是否开放3、使用telnet

Linux查询服务器 IP 地址的命令详解

《Linux查询服务器IP地址的命令详解》在服务器管理和网络运维中,快速准确地获取服务器的IP地址是一项基本但至关重要的技能,下面我们来看看Linux中查询服务器IP的相关命令使用吧... 目录一、hostname 命令:简单高效的 IP 查询工具命令详解实际应用技巧注意事项二、ip 命令:新一代网络配置全

Python开发简易网络服务器的示例详解(新手入门)

《Python开发简易网络服务器的示例详解(新手入门)》网络服务器是互联网基础设施的核心组件,它本质上是一个持续运行的程序,负责监听特定端口,本文将使用Python开发一个简单的网络服务器,感兴趣的小... 目录网络服务器基础概念python内置服务器模块1. HTTP服务器模块2. Socket服务器模块