-
10 年前
ESXi 5.5 强制识别 ssd 硬盘
esxi ssd
步骤如下 查看ESXi 5.x识别到的设备列表 esxcli storage nmp device list 将之配置为SSD盘的设备上,执行如下命令 esxcli storage nmp satp rule add -s VMW_SATP_XXXX -d naa.xxxxxxxxxx -o enable_ssd 接着回收一下设备,执行如下命令: esxcli storage core c…
-
10 年前
Windows 局域网访问Linux samba 共享慢的原因和解决办法
访问samba慢
问题表现 Windows 下访问Linux共享地址第一次打开时特别1-2分钟左右 连接成功后打开很快 原因 Linux主机名和/etc/hosts配置不一样 #hostname xxx-xxx-xxx #cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4…
-
10 年前
Python requests 模块快速上手
Shell/Python requests
参考文档 模块安装 pip install request 快速上手,首先要 import requests 发送无参数的get请求 s_ipv4_api = 'http://myops.imdst.com/api/public_ipv4' r = requests.get(s_ipv4_api) print r.text 发送带参数的get请求 test_url = "http://…
Linux运维笔记|自动化运维攻城狮

