下面列出了服务器常用的操作系统的链接,通过网盘共享,如果链接失效,请留言。
所有的镜像来自于官方原版。

[scode type="blue"]2022年2月12日更新,添加nVidia-vgpu驱动、SQL Server。更新其他系统版本至最新、最全![/scode]

[scode type="blue"]2022年2月25日更新,添加VMware converter程序,更新其他系统版本至最新、最全![/scode]

[scode type="blue"]百度网盘提取码评论之后刷新可见,请勿留言无意义的评论![/scode]

1,Windows

点击下载 提取码

版本信息:

2008_R2_SP1_Lenovo_systemx.iso
cn_windows_server_2008_standard_enterprise_and_datacenter_with_sp2_x64_dvd_x15-41319.iso
cn_windows_server_2008_r2_standard_enterprise_datacenter_and_web_with_sp1_vl_build_x64_dvd_617396.iso
cn_windows_server_2012_r2_vl_x64_dvd_2979220.iso
cn_windows_server_2012_r2_vl_with_update_x64_dvd_6052729.iso
cn_windows_server_2016_vl_x64_dvd_11636695.iso
cn_windows_server_2016_updated_feb_2018_x64_dvd_11636703.iso
cn_windows_storage_server_2016_x64_dvd_9327778.iso
cn_microsoft_hyper-v_server_2016_x64_dvd_9347275.iso
cn_windows_server_2019_updated_march_2019_x64_dvd_c1ffb46c.iso
zh-cn_windows_server_2022_x64_dvd_6c73507d.iso
Rufus 制作 USB 启动盘简单教程.pdf

2,CentOS

点击下载

版本信息:

CentOS-6.0-x86_64-bin-DVD1.iso
CentOS-6.1-x86_64-bin-DVD1.iso
CentOS-6.2-x86_64-bin-DVD1.iso
CentOS-6.3-x86_64-bin-DVD1.iso
CentOS-6.4-x86_64-bin-DVD1.iso
CentOS-6.5-x86_64-bin-DVD1.iso
CentOS-6.6-x86_64-bin-DVD1.iso
CentOS-6.7-x86_64-bin-DVD1.iso
CentOS-6.8-x86_64-bin-DVD1.iso
CentOS-6.9-x86_64-bin-DVD1.iso
CentOS-6.10-x86_64-bin-DVD1.iso
CentOS-7.0-1406-x86_64-DVD.iso
CentOS-7.1-x86_64-DVD-1503-01.iso
CentOS-7.2-x86_64-DVD-1511.iso
CentOS-7.3-x86_64-DVD-1611.iso
CentOS-7.4-x86_64-DVD-1708.iso
CentOS-7.5-x86_64-DVD-1804.iso
CentOS-7.6-x86_64-DVD-1810.iso
CentOS-7.7-x86_64-DVD-1908.iso
CentOS-7.8-x86_64-DVD-2003.iso
CentOS-7.9-x86_64-DVD-2009.iso
CentOS-8.0-x86_64-1905-dvd1.iso
CentOS-8.1.1911-x86_64-dvd1.iso
CentOS-8.2.2004-x86_64-dvd1.iso
CentOS-8.3.2011-x86_64-dvd1.iso
CentOS-8.4.2105-x86_64-dvd1.iso
CentOS-8.5.2111-x86_64-dvd1.iso

3,RHEL

点击下载

版本信息:

rhel-server-6.0-x86_64-dvd.iso
rhel-server-6.1-x86_64-dvd.iso
rhel-server-6.2-x86_64-dvd.iso
rhel-server-6.3-x86_64-dvd.iso
rhel-server-6.4-x86_64-dvd.iso
rhel-server-6.5-x86_64-dvd.iso
rhel-server-6.6-x86_64-dvd.iso
rhel-server-6.7-x86_64-dvd.iso
rhel-server-6.8-x86_64-dvd.iso
rhel-server-6.9-x86_64-dvd.iso
rhel-server-6.10-x86_64-dvd.iso
rhel-server-7.0-x86_64-dvd.iso
rhel-server-7.1-x86_64-dvd.iso
rhel-server-7.2-x86_64-dvd.iso
rhel-server-7.3-x86_64-dvd.iso
rhel-server-7.4-x86_64-dvd.iso
rhel-server-7.5-x86_64-dvd.iso
rhel-server-7.6-x86_64-dvd.iso
rhel-server-7.7-x86_64-dvd.iso
rhel-server-7.8-x86_64-dvd.iso
rhel-server-7.9-x86_64-dvd.iso
rhel-server-8.0-x86_64-dvd.iso
rhel-server-8.1-x86_64-dvd.iso
rhel-server-8.2-x86_64-dvd.iso
rhel-server-8.3-x86_64-dvd.iso
rhel-server-8.4-x86_64-dvd.iso
rhel-server-8.5-x86_64-dvd.iso

4,vSphere

点击下载
版本信息:

ESXI

VMware-VMvisor-Installer-201912001-15160138.x86_64.iso
VMware-VMvisor-Installer-201908001-14320405.x86_64.iso
VMware-VMvisor-Installer-6.0.update03-5572656.x86_64.iso
VMware-VMvisor-Installer-6.5.0.update03-14320405.x86_64.iso
VMware-VMvisor-Installer-6.5.0.update03-13932383.x86_64.iso
VMware-VMvisor-Installer-6.5.0.update02-8294253.x86_64.iso
VMware-VMvisor-Installer-6.7.0.update03-14320388.x86_64.iso
VMware-VMvisor-Installer-6.7.0.update02-13006603.x86_64.iso
VMware-VMvisor-Installer-6.7.0.update01-10302608.x86_64.iso
VMware-VMvisor-Installer-6.7.0.update03-201912001-15160138.x86_64.iso
VMware-VMvisor-Installer-7.0.0-15843807.x86_64.iso
VMware-VMvisor-Installer-7.0U2-17630552.x86_64.iso
VMware-VMvisor-Installer-7.0U2a-17867351.x86_64.iso
VMware-VMvisor-Installer-7.0U3c-19193900.x86_64.iso

VCSA

VMware-VCSA-all-6.5.0-19261680.iso
VMware-VCSA-all-6.0.0-14518058.iso
VMware-VCSA-all-6.0.0-7977899.iso
VMware-VCSA-all-6.0.0-9451619.iso
VMware-VCSA-all-6.5.0-10964411.iso
VMware-VCSA-all-6.5.0-13638625.iso
VMware-VCSA-all-6.5.0-9451637.iso
VMware-VCSA-all-6.5.0-8307201.iso
VMware-VCSA-all-6.5.0-14836121.iso
VMware-VCSA-all-6.7.0-18831133.iso
VMware-VCSA-all-6.7.0-18010531.iso
VMware-VCSA-all-6.7.0-17138064.iso
VMware-VCSA-all-6.7.0-16708996.iso
VMware-VCSA-all-6.7.0-15976714.iso
VMware-VCSA-all-6.7.0-14367737.iso
VMware-VCSA-all-6.7.0-14836122.iso
VMware-VCSA-all-6.7.0-14070457.iso
VMware-VCSA-all-6.7.0-13643870.iso
VMware-VCSA-all-6.7.0-11726888.iso
VMware-VCSA-all-6.7.0-19300125.iso
VMware-VCSA-all-7.0.0-15952498.iso
VMware-VCSA-all-7.0.1-17327517.iso
VMware-VCSA-all-7.0.2-17958471.iso
VMware-VCSA-all-7.0.2-17694817.iso
VMware-VCSA-all-7.0.2-18455184.iso
VMware-VCSA-all-7.0.2-18356314.iso
VMware-VCSA-all-7.0.3-18778458.iso
VMware-VCSA-all-7.0.3-19234570.iso

PM系列阵列卡-ISO

ESXi-6.5.0-20190804001-standard-customized-pm8222.iso
ESXi-6.5.0-20190804001-standard-customized-pm8060.iso
ESXi-6.7.0-20191204001-standard-customized-pm8060.iso
ESXi-6.7.0-20191204001-standard-customized-pm8222.iso
ESXi-7.0U3c-19193900-standard-customized-pm8222.iso

OEM ISO (Lenovo、dell、inspur、cisco、hpe)

VMware-VMvisor-Installer-6.5.0.update03-18071574.x86_64-DellEMC_Customized-A08.iso
VMware_ESXi_6.5.0_Update3_13932383_Inspur_20200401.iso
VMware_ESXi_6.5.0_13932383_Custom_Cisco_6.5.3.1.iso
VMware-ESXi-6.7.0-Update3-18828794-HPE-Synergy-670.U3.10.8.6.1-Nov2021.iso
VMware-ESXi-6.5.0-Update3-18678235-HPE-Gen9plus-650.U3.10.8.0.36-Oct2021.iso
VMware-ESXi-6.5.0-Update3-18678235-HPE-Synergy-650.U3.10.8.5.11-Nov2021.iso
VMware-ESXi-6.5.0.update03-16576891-LNV-20200902.iso
VMware-ESXi-6.5.0-Update3-13932383-HPE-preGen9-650.U3.9.6.8.8-Jun2019.iso
VMware-VMvisor-Installer-7.0.0.update03-19193900.x86_64-DellEMC_Customized-A02.iso
VMware-ESXi-7.0.3-19193900-HPE-703.0.0.10.8.6.3-Jan2022-Synergy.iso
VMware-ESXi-7.0.3-19193900-HPE-703.0.0.10.8.1.3-Jan2022.iso
VMware_ESXi_7.0.2_17867351_LNV_20210717.iso
VMware-ESXi-7.0.3-Custom-Cisco-4.2.1-a.iso
Inspur_ESXI_7.0.2-2.iso
VMware-ESXi-6.7.0-Update3-18828794-HPE-Gen9plus-670.U3.10.8.1.2-Nov2021.iso
VMware-ESXi-6.7.0-17700523-Custom-Cisco-6.7.3.1.iso
VMware-VMvisor-Installer-6.7.0.update03-17700523.x86_64-DellEMC_Customized-A15.iso
VMware-ESXi-6.7.0.update03-17700523-LNV-20211116.iso
VMware_ESXi_6.7.0_8169922_Inspur_20200424.iso

神秘代码

VMware vSphere ESXi 7.0 Enterprise Plus
================================
JJ2WR-25L9P-H71A8-6J20P-C0K3F
HN2X0-0DH5M-M78Q1-780HH-CN214
JH09A-2YL84-M7EC8-FL0K2-3N2J2
VMware vCenter 7.0 Standard
============================
104HH-D4343-07879-MV08K-2D2H2
410NA-DW28H-H74K1-ZK882-948L4
406DK-FWHEH-075K8-XAC06-0JH08
VMware VSAN 7.0 Enterprise Plus
============================
HN0D8-AAJ1Q-07D00-6U924-CX224
50008-221DH-M7E99-A9CKM-A1030
HN0NH-62051-H75E9-P38RM-0H870
VMware vSphere 7 Enterprise Plus with Add-on for Kubernetes
============================================
J1608-4GJEQ-071L8-9VA0H-2MUK6
M10DH-8YL47-474L1-DV3U0-8H054
MM4MR-2G005-H7039-JVCAP-2RAL8
NSX企业版
UC3RA-D3XD4-H817Z-UEMNG-WC0WF
VSAN企业版    
NF4HH-F1K1Q-488R0-3L954-AF828

5,Horizon

点击下载

版本信息:

Horizon 6.1
Horizon 6.2
Horizon 7.0
Horizon 7.1
Horizon 7.2
Horizon 7.3
Horizon 7.4
Horizon 7.5
Horizon 7.6
Horizon 7.7
Horizon 7.8
Horizon 7.9
Horizon 7.10
Horizon 7.11
Horizon 7.12
Horizon 7.13
Horizon 7.13.2
Horizon 2006
Horizon 2103
Horizon 2106
Horizon 2111-ESB
备注:需要获取更多VMware信息,点击这里VMware常用连接

6,Ubuntu

点击下载

版本信息:

ubuntu-14.04.6-desktop-amd64.iso
ubuntu-14.04.6-server-amd64.iso
ubuntu-16.04.6-desktop-amd64.iso
ubuntu-16.04.6-server-amd64.iso
ubuntu-18.04-desktop-amd64.iso
ubuntu-18.04-server-amd64.iso
ubuntu-18.04.1-desktop-amd64.iso
ubuntu-18.04.1-server-amd64.iso
ubuntu-18.04.2-desktop-amd64.iso
ubuntu-18.04.2-server-amd64.iso
ubuntu-18.04.3-desktop-amd64.iso
ubuntu-18.04.3-server-amd64.iso
ubuntu-18.04.4-desktop-amd64.iso
ubuntu-18.04.4-server-amd64.iso
ubuntu-18.04.5-desktop-amd64.iso
ubuntu-18.04.5-server-arm64.iso
ubuntu-18.04.6-desktop-amd64.iso
ubuntu-18.10-desktop-amd64.iso
ubuntu-18.10-server-arm64.iso
ubuntu-19.04-desktop-amd64.iso
ubuntu-19.04-server-amd64.iso
ubuntu-19.10-desktop-amd64.iso
ubuntu-19.10-server-amd64.iso
ubuntu-20.04-desktop-amd64.iso
ubuntu-20.04.1-desktop-amd64.iso
ubuntu-20.04.1-live-server-amd64.iso
ubuntu-20.04.2-desktop-amd64.iso
ubuntu-20.04.2-live-server-amd64.iso
ubuntu-20.04.3-desktop-amd64.iso
ubuntu-20.10-desktop-amd64.iso
ubuntu-20.10-live-server-amd64.iso
ubuntu-21.04-desktop-amd64.iso
ubuntu-21.04-live-server-amd64.iso
ubuntu-21.10-desktop-amd64.iso
ubuntu-21.10-live-server-amd64.iso

7,Oracle Linux

点击下载

版本信息:

OracleLinux-Release6-Update0-x86_64-dvd.iso
OracleLinux-Release6-Update1-x86_64-dvd.iso
OracleLinux-Release6-Update2-x86_64-dvd.iso
OracleLinux-Release6-Update3-x86_64-dvd.iso
OracleLinux-Release6-Update4-x86_64-dvd.iso
OracleLinux-Release6-Update5-x86_64-dvd.iso
OracleLinux-Release6-Update6-x86_64-dvd.iso
OracleLinux-Release6-Update7-x86_64-dvd.iso
OracleLinux-Release6-Update8-x86_64-dvd.iso
OracleLinux-Release6-Update9-x86_64-dvd.iso
OracleLinux-Release6-Update10-x86_64-dvd.iso
OracleLinux-Release7-Update0-x86_64-dvd.iso
OracleLinux-Release7-Update1-x86_64-dvd.iso
OracleLinux-Release7-Update2-x86_64-dvd.iso
OracleLinux-Release7-Update3-x86_64-dvd.iso
OracleLinux-Release7-Update4-x86_64-dvd.iso
OracleLinux-Release7-Update5-x86_64-dvd.iso
OracleLinux-Release7-Update6-x86_64-dvd.iso
OracleLinux-Release7-Update7-x86_64-dvd.iso
OracleLinux-Release7-Update8-x86_64-dvd.iso
OracleLinux-Release7-Update9-x86_64-dvd.iso
OracleLinux-Release8-Update0-x86_64-dvd.iso
OracleLinux-Release8-Update0-x86_64-dvd.iso
OracleLinux-Release8-Update1-x86_64-dvd.iso
OracleLinux-Release8-Update2-x86_64-dvd.iso
OracleLinux-Release8-Update3-x86_64-dvd.iso
OracleLinux-Release8-Update4-x86_64-dvd.iso
OracleLinux-Release8-Update5-x86_64-dvd.iso

8,SUSE

点击下载

SLES-11-SP3-DVD-x86_64-GM-DVD1.iso
SLES-11-SP4-DVD-x86_64-GM-DVD1.iso
SLE-12-SP2-Server-DVD-x86_64-GM-DVD1.iso
SLE-12-SP3-Server-DVD-x86_64-GM-DVD1.iso
SLE-12-SP4-Server-DVD-x86_64-GM-DVD1.iso
SLE-15-Installer-DVD-x86_64-GM-DVD1.iso
SLE-15-Installer-DVD-x86_64-GM-DVD2.iso
SLE-15-Packages-x86_64-GM-DVD1.iso
SLE-12-SP5-SAP-DVD-x86_64-GM-DVD1.iso

9,nVidia-vGPU驱动-许可程序

点击下载

驱动

NVIDIA-GRID-vSphere-6.5-410.122-412.38.zip
NVIDIA-GRID-vSphere-6.7-410.122-412.38.zip
NVIDIA-GRID_vSphere-6.7-418.66-418.70-425.31.zip
NVIDIA-GRID-Windows-418.70-425.31.zip
NVIDIA-GRID-vSphere-6.5-418.66-418.70-425.31.zip
NVIDIA-GRID-vSphere-6.5-430.27-430.30-431.02.zip
NVIDIA-GRID-vSphere-6.7-430.27-430.30-431.02.zip
NVIDIA-GRID-Linux-KVM-430.46-431.79.zip
NVIDIA-GRID-Windows-430.46-431.79.zip
NVIDIA-GRID-vSphere-6.5_410.107-412.31.zip
NVIDIA-GRID-Windows_410.107-412.31.zip
NVIDIA-GRID-vSphere-6.7-390.113-390.115-392.37.zip
NVIDIA-GRID-vSphere-6.5-390.113-390.115-392.37.zip
NVIDIA-GRID-vSphere-6.7_410.107-412.31.zip
NVIDIA-GRID-vSphere-7.0-450.142-450.142.00-453.10.zip
NVIDIA-GRID-vSphere-7.0-470.82-470.82.01-472.39.zip
NVIDIA-GRID-Linux-KVM-450.80-450.80.02-452.39.zip
NVIDIA-GRID-Linux-KVM-470.82-470.82.01-472.39.zip
NVIDIA-GRID-RHEL-7.9-470.103.02-470.103.01-472.98.zip
NVIDIA-GRID-vSphere-6.7-450.55-450.51.05-451.48.zip
NVIDIA-GRID-vSphere-6.7-460.32.04-460.32.03-461.33.zip
NVIDIA-GRID-vSphere-6.5-450.102-450.102.04-452.77.zip

许可服务器

NVIDIA-ls-linux-2021.07-2021.07.0.30193485.zip
NVIDIA-ls-linux-2018.10.0.25098346.zip
NVIDIA-ls-windows-2018.10.0.25098346.zip
NVIDIA-ls-linux-2019.05.0.26416627.zip
NVIDIA-ls-windows-64-bit-2019.05.0.26416627.zip
NVIDIA-ls-linux-2020.05.0.28406365.zip
NVIDIA-gpumodeswitch-2016-04.zip

10,SQL Server

点此下载

cn_sql_server_2008_r2_enterprise_x86_x64_ia64_dvd_522233.iso
cn_sql_server_2012_enterprise_core_edition_with_sp1_x64_dvd_1234496.iso
cn_sql_server_2012_enterprise_edition_with_sp1_x86_dvd_1458050.iso
cn_sql_server_2014_enterprise_edition_with_service_pack_1_x64_dvd_6669544.iso
cn_sql_server_2014_enterprise_edition_with_service_pack_2_x64_dvd_8962407.iso
cn_sql_server_2016_enterprise_with_service_pack_1_x64_dvd_9538279.iso
cn_sql_server_2016_enterprise_x64_dvd_8699450.iso
cn_sql_server_2019_enterprise_x64_dvd_2bfe815a.iso
zh-hans_sql_server_2008_enterprise_x86_x64_ia64_dvd_x14-89199.iso

11,Debian

点此下载

debian-10.0.0-amd64-DVD-1.iso
debian-10.0.0-amd64-DVD-2.iso
debian-10.0.0-amd64-DVD-3.iso
debian-10.1.0-amd64-DVD-1.iso
debian-10.1.0-amd64-DVD-2.iso
debian-10.1.0-amd64-DVD-3.iso
debian-10.10.0-amd64-DVD-1.iso
debian-10.10.0-amd64-DVD-2.iso
debian-10.10.0-amd64-DVD-3.iso
debian-10.11.0-amd64-DVD-1.iso
debian-10.11.0-amd64-DVD-2.iso
debian-10.11.0-amd64-DVD-3.iso
debian-10.2.0-amd64-DVD-1.iso
debian-10.2.0-amd64-DVD-2.iso
debian-10.2.0-amd64-DVD-3.iso
debian-10.3.0-amd64-DVD-1.iso
debian-10.3.0-amd64-DVD-2.iso
debian-10.3.0-amd64-DVD-3.iso
debian-10.4.0-amd64-DVD-1.iso
debian-10.4.0-amd64-DVD-2.iso
debian-10.4.0-amd64-DVD-3.iso
debian-10.5.0-amd64-DVD-1.iso
debian-10.5.0-amd64-DVD-2.iso
debian-10.5.0-amd64-DVD-3.iso
debian-10.6.0-amd64-DVD-1.iso
debian-10.6.0-amd64-DVD-2.iso
debian-10.6.0-amd64-DVD-3.iso
debian-10.7.0-amd64-DVD-1.iso
debian-10.7.0-amd64-DVD-2.iso
debian-10.7.0-amd64-DVD-3.iso
debian-10.8.0-amd64-DVD-1.iso
debian-10.8.0-amd64-DVD-2.iso
debian-10.9.0-amd64-DVD-1.iso
debian-10.9.0-amd64-DVD-2.iso
debian-10.9.0-amd64-DVD-3.iso
debian-11.0.0-amd64-DVD-1.iso
debian-11.1.0-amd64-DVD-1.iso
debian-11.2.0-amd64-DVD-1.iso
debian-7.5.0-i386-DVD-1.iso
debian-7.5.0-i386-DVD-2.iso
debian-7.5.0-i386-DVD-3.iso
debian-7.8.0-amd64-DVD-1.iso
debian-7.8.0-amd64-DVD-2.iso
debian-7.8.0-amd64-DVD-3.iso
debian-7.8.0-i386-DVD-1.iso
debian-7.8.0-i386-DVD-2.iso
debian-7.8.0-i386-DVD-3.iso
debian-9.12.0-amd64-DVD-1.iso
debian-9.12.0-amd64-DVD-2.iso
debian-9.12.0-amd64-DVD-3.iso
debian-9.13.0-amd64-DVD-1.iso
debian-9.3.0-amd64-DVD-1.iso
debian-9.3.0-amd64-DVD-2.iso
debian-9.3.0-amd64-DVD-3.iso
debian-9.3.0-i386-DVD-1.iso
debian-9.3.0-i386-DVD-2.iso
debian-9.3.0-i386-DVD-3.iso
debian-9.4.0-amd64-DVD-1.iso
debian-9.4.0-amd64-DVD-2.iso
debian-9.4.0-amd64-DVD-3.iso
debian-9.5.0-amd64-DVD-1.iso
debian-9.5.0-amd64-DVD-2.iso
debian-9.5.0-amd64-DVD-3.iso

12,VMware converter

点击下载

VMware-converter-all-5.0.0-470252.exe
VMware-converter-all-5.0.1-875114.exe
VMware-converter-en-5.1.0-1087880.exe
VMware-converter-en-5.5.0-1362012.exe
VMware-converter-en-5.5.3-2183569.exe
VMware-converter-en-6.0.0-2716716.exe
VMware-converter-en-6.1.1-3533064.exe
VMware-converter-en-6.2.0-7348398.exe
VMware-converter-en-6.2.0-8466193.exe

由于centos 颓势,ubuntu装机量大幅增加,发现很多小伙伴对于Ubuntu的网络配置很是头疼,尤其是yaml格式让人抓狂,所以,特意写了配置IP和配置网口聚合的脚本,供大家免费使用。

注意事项:
[scode type="blue"]
1,仅适用于初次新环境配置。
2,脚本使用问题加微信联系
3,必须使用root用户执行
4,仅支持Ubuntu 20/22 Server/Desktop[/scode]

更多细节功能等你发现噢

大家对Ubuntu的 多路径脚本是否有需求呢?

截图1:

2023-11-11T03:46:46.png

截图2:

2023-11-11T03:49:59.png

截图3:

2023-11-11T03:50:48.png

截图4:

2023-11-11T03:51:51.png

截图5:

2023-11-11T03:52:53.png

截图6:

2023-11-11T03:53:11.png

脚本连接回复可见

[scode type="yellow"]
使用要求:
1,在操作主机的操作系统安装expect
2,新建host_ip文件,内容格式如下
[/scode]

host_ip文件格式

172.16.1.100  password
172.16.1.101  password
172.16.1.102  password
172.16.1.103  password
172.16.1.104  password
172.16.1.105  password
172.16.1.106  password
172.16.1.107  password
172.16.1.108  password
.....

脚本代码

#!/bin/bash
#定义批量IP和密码 for循环执行批量命令
for row in `cat host_ip | awk '{printf("%s:%s:%s\n"),$1,$2,$3}'`
  do
ip=`echo ${row} | awk -F ':' '{print $1}'`
password=`echo ${row} | awk -F ':' '{print $2}'`
#在列出的所有的主机上生成密钥对
/usr/bin/expect <<-EOF
spawn ssh root@$ip ssh-keygen -t rsa
expect {
        "yes/no" {send "yes\r";exp_continue}
        "password: " {send "$password\r";exp_continue}
    "/root/.ssh/id_rsa" {send "\r";exp_continue}
    "empty for no passphrase" {send "\r";exp_continue}
    "again" {send "\r";exp_continue}
             }
exit
EOF
#如果只是管理机无密登录,使用此步
#/usr/bin/expect <<-EOF
#spawn ssh-copy-id -i /root/.ssh/id_rsa.pub $ip
#expect {
#        "yes/no" {send "yes\r";exp_continue}
#        "password: " {send "$password\r";exp_continue}
#    }
#EOF

#把列出的所有的主机的公钥复制到本地
/usr/bin/expect <<-EOF
spawn scp root@$ip:/root/.ssh/id_rsa.pub /root/.ssh/id_rsa.pub_$ip
expect {
                "yes/no" {send "yes\r";exp_continue}
                "password: " {send "$password\r";exp_continue}
    }
EOF
done
#如果只是管理机无密登录,使用此步
#localip=`ip a s |grep inet|grep -v 127.0.0.1|grep -v inet6|awk '{print $2}'|tr -d "addr:"|grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+'`
#rm -rf ~/.ssh/id_rsa.pub_$localip
#把所有主机的公钥拷贝到密钥key
cat /root/.ssh/id_rsa.pub_* >> /root/.ssh/authorized_keys
for row in `cat host_ip | awk '{printf("%s:%s:%s\n"),$1,$2,$3}'`
  do
ip=`echo ${row} | awk -F ':' '{print $1}'`
password=`echo ${row} | awk -F ':' '{print $2}'`

#把含有所有主机公钥的密钥key复制到所有的主机
/usr/bin/expect <<-EOF
spawn scp /root/.ssh/authorized_keys root@$ip:/root/.ssh/
expect {
                "yes/no" { send "yes\r";exp_continue}
                "password: " {send "$password\r";exp_continue}
        }
EOF
#复制hosts文件到所有主机
/usr/bin/expect <<-EOF
spawn scp /etc/hosts root@$ip:/etc/
expect {
                "yes/no" { send "yes\r";exp_continue}
                "password: " {send "$password\r";exp_continue}
        }
EOF
done

脚本来源于网络

现在很多后台应用需要通知信息给用户,支持通知的方式有很多,server酱,丁丁,企业微信,bark,WxPusher,等等的五花八门,我最喜欢的则是企业微信,因为不需要安装其他应用,推送的消息也干净清爽,不夹杂其他内容。从2022年6月20日开始,企业微信新建应用发送消息的时候,必须要添加信任IP,这个IP就是发起请求端的源IP,很多家用宽带的公网IP都是动态的,重启就变,这对于使用企业微信则带来了不便。解决这个问题有两种方法,要求动手能力稍强,两种方法都需要有自己的vps。
1,利用nginx反代,把请求先发送到vps,然后由vps向腾讯发起请求,在企业微信的应用里,添加vps 的IP为信任IP即可。反代代码如下:

server {
    listen 443;
    server_name  xxx.xxx.xxx;
    add_header Strict-Transport-Security "max-age=15768000" always;
    access_log  /var/log/nginx/xxx.xxx.xxx.log  main;
    root   /data/www;
    index  index.php index.html index.htm;


   location / {
proxy_pass https://qyapi.weixin.qq.com/;
}
ssl_certificate /data/webkey/xxx.xxx.xxx.crt;
     ssl_certificate_key /data/webkey/xxx.xxx.xxx.key;
     ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3; 
     ssl_ciphers  TLS13-AES-256-GCM-SHA384:TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-128-CCM-8-SHA256:TLS13-AES-128-CCM-SHA256:EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+ECDSA+AES128:EECDH+aRSA+AES128:RSA+AES128:EECDH+ECDSA+AES256:EECDH+aRSA+AES256:RSA+AES256:EECDH+ECDSA+3DES:EECDH+aRSA+3DES:RSA+3DES:!MD5;     
     ssl_prefer_server_ciphers on;
     ssl_early_data on;
     ssl_stapling on;
     ssl_stapling_verify on;


    }

server {
    listen 80;
    server_name xxx.xxx.xxx;
    rewrite ^(.*)$ https://${server_name}$1 permanent; 
    if ($host != 'xxx.xxx.xxx'){
   return 403;
}

}

这样一来,在应用端,把请求链接中的https://qyapi.weixin.qq.com 替换成自己的地址https://xxx.xxx.xxx即可。

2022-08-19T06:24:32.png

2,对于一些支持自定义通知的应用,我们还可以使用基于企业通知的接口,搭建自己的API,因为使用企业微信的通知,需要经过获取token ,然后使用token发送消息,mpnews模板还需要上传素材获取media-id这几个阶段。而支持自定义应用的配置都只让填写一行url来完成推送,一条url无法完成上述多个请求动作,所以,我考虑到把请求都有vps 来完成,网上我找了好久,找到了如下代码。我是搞硬件基础架构的,对php代码来说,一窍不通,但是凭着我对这些东西的敏感性,还是搞清楚了代码的作用。下面附上代码。代码里有些php 是我自己写的,我都佩服自己,觉得该去学编程,但是头发不够了。哈哈哈~

<?php
//获取通过post或者get传递的值并赋值给变量
$title = $_POST['title'];
$content = $_POST['content'];
$msgtype = $_POST['msgtype'];
$url = $_POST['url'];
$picurl = $_POST['picurl'];
$title = $_GET['title'];
$content = $_GET['content'];
$msgtype = $_GET['msgtype'];
$url = $_GET['url'];
$picurl = $_GET['picurl'];

if (!$content){
echo '<h1>企业微信通知API</h1>';
        echo '<hr/>';
        echo '<h4>输入参数以继续,支持POST或者GET请求方式。</h4>';
        echo '<p><b>文本消息(text)</b>:以文字形式通知消息</p>';
        echo '<p><b>示例</b>:<a href="?content=这是一条测试信息&msgtype=text">https://xxx.xxx.xxx/?content=这是一条测试信息&msgtype=text</a></p>';
        echo '<hr/>';
        echo '<p><b>文本卡片消息(textcard)</b>:以卡片形式通知消息</p>';
        echo '<p><b>示例</b>:<a href="?title=通知测试&content=这是一条测试信息&url=https://www.mr-mao.cn&msgtype=textcard">https://xxx.xxx.xxx/?title=通知测试&content=这是一条测试信息&url=https://www.mr-mao.cn&msgtype=textcard</a></p>';
        echo '<hr/>';
        echo '<p><b>图文消息(news)</b>:以图文形式通知消息</p>';
        echo '<p><b>示例</b>:<a href="?title=通知测试&content=这是一条测试信息&picurl=https://www.mr-mao.cn/usr/logo.png&url=https://api.mr-mao.cn/60s/pic/&msgtype=news">https://xxx.xxx.xxx/?title=通知测试&content=这是一条测试信息&picurl=https://www.mr-mao.cn/usr/logo.png&url=https://api.mr-mao.cn/60s/pic/&msgtype=news</a></p>';
        echo '<hr/>';
        echo '<p><b>图文消息(mpnews)</b>:以富文本图文形式通知消息</p>';
        echo '<p><b>示例</b>:<a href="?title=通知测试&content=这是一条测试信息&msgtype=mpnews">https://xxx.xxx.xxx/?title=通
知测试&content=这是一条测试信息&msgtype=mpnews</a></p>';
        echo '<hr/>';

}else{

// 声明页面 header
header("Content-type:text/html;charset=utf-8");
// 获取 access_token
function getToken(){
 // 定义 id 和 secret
 $corpid='xxxxxx';//这里填写你的企业 ID
 $corpsecret='xxxxxxxxxxxxxxxx';//这里填写你刚创建的应用 secret
 // 读取 access_token
 include './access_token.php';
 // 判断是否过期
 if (time() > $access_token['expires']){
 // 如果已经过期就得重新获取并缓存
 $access_token = array();
 $access_token['access_token'] = getNewToken($corpid,$corpsecret);
 $access_token['expires']=time()+7000;
 // 将数组写入 php 文件
 $arr = '<?php'.PHP_EOL.'$access_token = '.var_export($access_token,true).';'.PHP_EOL.'?>';
 $arrfile = fopen("./access_token.php","w");
 fwrite($arrfile,$arr);
 fclose($arrfile);
 // 返回当前的 access_token
 return $access_token['access_token'];
 }else{
 // 如果没有过期就直接读取缓存文件
 return $access_token['access_token'];
 }
}
// 获取新的 access_token
function getNewToken($corpid,$corpsecret){
 $url = "https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid={$corpid}&corpsecret={$corpsecret}";
 $access_token_Arr = https_request($url);
 return $access_token_Arr['access_token'];
}
// curl 请求函数
function https_request ($url){
 $curl = curl_init();
 curl_setopt($curl, CURLOPT_URL, $url);
 curl_setopt($curl,CURLOPT_RETURNTRANSFER,1);
 curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
 $out = curl_exec($curl);
 curl_close($curl);
 return json_decode($out,true);
}
//获取mpnews消息所需的media_id

if ($msgtype == "mpnews"){
include './access_token.php';
$token = $access_token['access_token'];
$curl = curl_init();
curl_setopt_array($curl, array(
  CURLOPT_URL => "https://qyapi.weixin.qq.com/cgi-bin/media/upload?access_token=$token&type=image",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS => array('media'=> new CURLFILE('logo.png')),//需要在程序同级目录下放通知消息的头图文件
));

$response = curl_exec($curl);
curl_close($curl);
$data = json_decode($response,true);
$media_id = $data['media_id'];
}
// 发送应用消息函数
function send($data){
 $curl = curl_init();
 curl_setopt($curl, CURLOPT_URL, 'https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token='.getToken());
 curl_setopt($curl, CURLOPT_POST, true);
 curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
 curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0);
 curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2);
 curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
 return curl_exec($curl);
}
 // 文本卡片消息体
 $postdata = array(
 'touser' => '@all', //不需要写联系人,会发送给所有人
 'msgtype' => $msgtype,
 'agentid' => 'xxxxxxxxx',//这里填写你刚创建的应用 AgentId
 "$msgtype" => array(
 "content" => "$content",
 'title' => $title,
 'description' => $content,
 'url' => $url,
 'articles' => array(
 'title' => $title,
 "author" => "FatCat", //自定义作者
 "digest" => $content,
 "content" => $content,
 'thumb_media_id' => $media_id,
 'description' => $content,
 'picurl' => $picurl,
 'url' => $url,
),
 ),
 'enable_id_trans' => 0,
 'enable_duplicate_check' => 0,
 'duplicate_check_interval' => 1800
);
// 调用发送函数
 echo send(json_encode($postdata));
// echo "$title, $description"
}
?>

至此,支持三种消息模板的api搭建完成,enjoy it!访问自己的链接,则可出现简易的参数模板,具体参数点击下面的链接查询,此时,这个api则可以用在任何支持自定义通知的应用中。同时支持post或者get请求。

不同模板所需的请求参数参考腾讯企业的文档库

20220819144759.jpg

常用传输层测试工具

iperf/iperf3(开源)
netperf(开源)
Spirent TestCenter(商业)
IXIA(商业)
ipflow(深信服自研)
conn_test 工具(深信服自研)
其他工具
hping3(开源):TCP/IP 数据包组装/分析工具
sendip(开源):模拟各种协议发包测试工具

包含Intel E系列,可扩展处理器的第一、二、三代处理器参数,官网也可以导出查看,但是放在网站,可以随时随地更加方便,并且对某些不需要的参数做了精简,看起来更加清爽。

[button color="info" icon="" url="https://www.mr-mao.cn/intel/1" type="round"]点此全屏浏览可扩展处理器1代参数[/button]
[button color="info" icon="" url="https://www.mr-mao.cn/intel/2" type="round"]点此全屏浏览可扩展处理器2代参数[/button]
[button color="info" icon="" url="https://www.mr-mao.cn/intel/3" type="round"]点此全屏浏览可扩展处理器3代参数[/button]
[button color="info" icon="" url="https://www.mr-mao.cn/intel/e" type="round"]点此全屏浏览E系列处理器参数表[/button]

这是一份SCSP/PT2安全的模拟题库
题库总共有300多道题,仅供参考,仅限于掌握考试题型,不对题目及答案负责!

[scode type="share"]全屏查看,浏览效果更佳,回复评论下载附件[/scode]

所有的SAN网络都是由小至大,在SAN网络初期,必须对DomainID有一个统一的规划。
如果一台接入交换机设置了Insistent DoaminID 参数同时与现有网络内其他交换机相同的DomainID,当他接入时会发生将另一台未设置IDID参数的交换机的DomainID冲掉的情形,引起不必要的业务中断,因此建议将所有的交换机统一设置Insistent DomainID。

[scode type="share"]全屏查看,浏览效果更佳,回复评论下载附件[/scode]

下面是详细配置文档