摘要:        
根据ip获取网卡名称 #!/bin/bash function getNetCardNameByIp(){ ipaddr=$1 ipa_info=$(ip a) line=$(echo "${ipa_info}" | sed -n -e "/\<$ipaddr\>/=") card_name=`ec    阅读全文
posted @ 2021-10-22 11:38
苍山落暮
阅读(281)
评论(0)
推荐(0)
        
            
        
        
摘要:        
vSphere Client安装 (1.)下载地址 https://developer.aliyun.com/article/636965 (2.)安装 点击下一步,下一步    阅读全文
posted @ 2021-10-22 11:37
苍山落暮
阅读(119)
评论(0)
推荐(0)
        
            
        
        
摘要:        
python远程ssh 1. python远程执行命令 #!/usr/bin/python # -*- coding: utf-8 -*- import paramiko # from cryptography.hazmat.backends import default_backend impor    阅读全文
posted @ 2021-10-22 11:32
苍山落暮
阅读(1017)
评论(0)
推荐(0)
        
            
        
        
摘要:        
golang Xorm操作 1.下载xorm包 go get github.com/go-xorm/xorm go get github.com/go-xorm/cmd 2.安装驱动 go get github.com/go-sql-driver/mysql //Mysql go get githu    阅读全文
posted @ 2021-10-22 11:31
苍山落暮
阅读(1418)
评论(0)
推荐(0)
        
            
        
        
摘要:        
httpd服务安装 1.安装httpd yum install httpd -y 2.启动服务 #启动服务 systemctl start httpd systemctl status httpd #设置自动启动 systemctl enable httpd 3.防火墙设置 # 永久打开80端口 f    阅读全文
posted @ 2021-10-22 11:29
苍山落暮
阅读(573)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号