CentOS

ESXi GPU 直通

限于喜欢 提交于 2021-01-20 10:01:37
​ 最近在协助客户进行ESXi GPU 直通配置,因为没有相关文档指导,跳了不少坑,今天把配置过程整理下,留作纪念。 物理机及虚拟机配置 ​ 参考vmware及NVIDIA官网介绍,进行ESXi GPU直通配置时,为了避免一系列的报错,请按照以下要求完成配置。 简单点来说就是: 物理机与虚拟机建议全部使用EFI引导。 ESXi软件建议使用6.7及以上版本,操作系统安装64-bit的。 物理机配置 物理机使用 EFI 引导模式; 若GPU 需要 16 GB 或更多的内存映射(BAR1 Memory),需要在物理机bios中启用GPU直通,设置项名称通常为Above 4G decoding、Memory mapped I/O above 4GB 或 PCI 64-bit resource handing above 4G; BIOS 中启用虚拟化功能: Intel Virtualization Technology for Directed I/O (VT-d) 或 AMD I/O Virtualization Technology (IOMMU); ESXi虚拟机设置 建议虚拟机系统为64-bit操作系统; If the total BAR1 memory exceeds 256 Mbytes, EFI boot must be enabled for the VM. Note:

How to fix “ssl module in Python is not available” in CentOs

巧了我就是萌 提交于 2021-01-20 06:31:34
问题 New Python 3.7.1 installation on GoDaddy VPS CentOs 7. Attempt pip3 install virtualenv or python 3 -m pip install virtualenv and get: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. openssl-devel installed and up to date This question has been asked and answered many times, but the solutions I've found have not solved my problem. Thank you all! I tried the CentOs and Linux-based solutions in the following: "SSL module in Python is not

How to fix “ssl module in Python is not available” in CentOs

给你一囗甜甜゛ 提交于 2021-01-20 06:31:31
问题 New Python 3.7.1 installation on GoDaddy VPS CentOs 7. Attempt pip3 install virtualenv or python 3 -m pip install virtualenv and get: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. openssl-devel installed and up to date This question has been asked and answered many times, but the solutions I've found have not solved my problem. Thank you all! I tried the CentOs and Linux-based solutions in the following: "SSL module in Python is not

How to fix “ssl module in Python is not available” in CentOs

﹥>﹥吖頭↗ 提交于 2021-01-20 06:30:24
问题 New Python 3.7.1 installation on GoDaddy VPS CentOs 7. Attempt pip3 install virtualenv or python 3 -m pip install virtualenv and get: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. openssl-devel installed and up to date This question has been asked and answered many times, but the solutions I've found have not solved my problem. Thank you all! I tried the CentOs and Linux-based solutions in the following: "SSL module in Python is not

How to fix “ssl module in Python is not available” in CentOs

江枫思渺然 提交于 2021-01-20 06:30:17
问题 New Python 3.7.1 installation on GoDaddy VPS CentOs 7. Attempt pip3 install virtualenv or python 3 -m pip install virtualenv and get: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. openssl-devel installed and up to date This question has been asked and answered many times, but the solutions I've found have not solved my problem. Thank you all! I tried the CentOs and Linux-based solutions in the following: "SSL module in Python is not

任务:搭建基于开源组件的PKI证书分发系统

*爱你&永不变心* 提交于 2021-01-20 05:00:39
任务:搭建基于开源组件的PKI证书分发系统 软硬件环境及要求: 1. 统一使用的操作系统:CentOS(Linux)。 2. 用VMWare虚拟机来构建多个Linux系统。 3. 多个Linux系统之间进行证书分发、更新和删除等证书操作。 4. 实现两个普通终端间通过公钥机制传输加密密钥,再用加密密钥对数据做加密并进行传输。 5. 每人独立完成。 验收要求: 1. 带上计算机,现场演示证书分发过程。 2. 提供搭建过程的技术文档(包含架构图)和证书分发系统的使用文档(包含使用案例)。 3. 提供搭建过程中从网络搜集到的技术资料。 过程: 1。没有找到操作系统,原因是虚拟光驱没有连接。 2。yum无法使用,配置网络文件(https://blog.csdn.net/qq1355541448/article/details/78189670) 3。centos7镜像文件里啥工具都没带,安装了Development Tools 和ifconfig。(https://www.cnblogs.com/litifeng/p/6939584.html) 4。网络设置 https://blog.csdn.net/u013252047/article/details/77947594?locationNum=3&fps=1 5.https://www.cnblogs.com/along21/p

linux查看系统版本命令

女生的网名这么多〃 提交于 2021-01-20 02:15:50
**一、查看Linux系统发行版本 ** 命令1: lsb_release -a 该命令适用于所有Linux系统,会显示出完整的版本信息,包括Linux系统的名称,如Debian、Ubuntu、CentOS等,和对应的版本号,以及该版本的代号,例如在Debian 8中将会显示代号jessie。 $ lsb_release -a``No LSB modules are available. ``Distributor ID: Debian ``Description: Debian GNU``/Linux` `8.0 (jessie) ``Release: 8.0 ``Codename: jessie 命令2: cat /etc/issue 该命令适用于所有Linux系统,显示的版本信息较为简略,只有系统名称和对应版本号。 $ ``cat` `/etc/issue``Debian GNU``/Linux` `8 \n \1 命令3: cat /etc/redhat-release 该命令仅适用于Redhat系列的Linux系统,显示的版本信息也较为简略。 $ ``cat` `/etc/redhat-release``CentOS release 6.0 (Final) **二、查看Linux内核版本 ** 命令1: uname -a $ ``uname` `-a``Linux

Centos 安装git

前提是你 提交于 2021-01-19 22:09:54
1. 需要给 CentOS 下载安装编译工具。 $ sudo yum groupinstall “Development Tools” 2. 安装一些 git 构建或执行时需要的其他依赖。 $ sudo yum install zlib-devel perl-ExtUtils-MakeMaker asciidoc xmlto openssl-devel 3. 下载 git 最新版本的源代码 $ cd ~ $ wget -O git.zip https://github.com/git/git/archive/master.zip 4. 解压源文件 $ unzip git.zip $ cd git-master $ autoconf $ ./configure $ make && make install $ ln -s /usr/local/bin/git /usr/bin/ 如果系统中已经安装过旧的版本,步骤6可能会报文件已存在的错误,这个时候需要把旧的 link 删掉再重新 link。 7. 检查 git 版本 $ git --version 来源: oschina 链接: https://my.oschina.net/u/2624116/blog/3008930

centos6 yum 源失效问题解决办法,头疼的老机器

前提是你 提交于 2021-01-19 17:57:53
一、centos6,git1.7.1 最近上手一个老项目,登录机器一看 centos6,vim编辑器没设置 安装配置一下vim吧 git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle 发现git还没发用,1.71版本 yum -y update yum源也没法使用 这真是头疼,这么老的项目还拿出来维护干嘛,重构不得了! 二、从头开始 1.不用墨迹的了 阿里的yun源mirrors.cloud.aliyuncs.com/centos/6 清华的yum源 mirrors.tuna.tsinghua.edu.cn/centos/6 当然还有163,都无法使用了,里面只有一个readme文件,里面告诉你,centos的yum已经彻底不再维护 这不傻眼了呀 2.幸亏有个能用的 https://vault.centos.org/6.9/ 进入yum源的配置文件夹:cd /etc/yum.repos.d/ 把CentOS-* 全部删掉 ( 防止有问题可以备份下 ) 新建文件 CentOS-Base.repo 里面加入内容 [base] name=CentOS-6 failovermethod=priority baseurl=https://vault.centos.org/6.9/os/x86_64/

centos 基本命令1

泄露秘密 提交于 2021-01-19 15:58:27
more /proc/meminfo 查看系统内存信息 iptables -F 关闭防火墙 /etc/init.d/network restart 重启网卡 #cd /etc/sysconfig/network-scripts 进入网卡配置目录 #cat /proc/cpuinfo 查看CPU信息 #cat /proc/cpuinfo |grep "physical id" | sort | uniq | wc -l (查看cpu核心数) chkconfig httpd on (设置http服务开机自启) #chkconfig httpd off(设置http服务开机不自启) chkconfig --list httpd (查看http服务在各个运行级别的状态) chkconfig --level 35 httpd on (设置http服务在 3 5运行级别下开机自启) shutdown -h now (马上关机) #shutdown -r now (马上重启系统) 来源: oschina 链接: https://my.oschina.net/u/4329429/blog/4913362