一、实验环境 System OS: CentOS Linux release 7.6.1810 Mysql version:mysql-5.7.20-linux-glibc2.12-x86_64.tar.gz master: 3307 slave: 3308 ip:192.168.32.201 主从 ...
分类:
数据库 时间:
2020-12-07 12:43:21
阅读次数:
12
两个都可以执行系统命令,但是如果想要获取到命令的输出内容就要用到os.popen com=os.popen('ls') print(com.readlines()) ...
分类:
编程语言 时间:
2020-12-07 12:35:05
阅读次数:
6
import os, base64,reli=os.listdir(r'C:\Users\lenovo\Desktop\allsvg')os.chdir(r'C:\Users\lenovo\Desktop\allsvg')print(li)for i in li: with open(i,mode= ...
分类:
其他好文 时间:
2020-12-04 11:38:25
阅读次数:
7
#install OS centos 7.5#install lsb net-tools package yum install -y redhat-lsb net-tools 1. Configure hostnames Configure each host in the cluster as ...
分类:
其他好文 时间:
2020-12-04 11:25:24
阅读次数:
4
本文介绍了如何下载鸿蒙系统源码,如何一次性配置可以编译三个目标平台(Hi3516,Hi3518和Hi3861)的编译环境,以及如何将源码编译为三个目标平台的二进制文件。坑点总结:下载源码基本上没有太多坑,可以很顺利的进行编译源码主要的一个大坑是,默认版本的scons依赖python3.7+,鸿蒙基础编译代码依赖python3,需要安装python3.7+,并和当前系统上的python2.7/pyt
分类:
其他好文 时间:
2020-12-03 11:57:55
阅读次数:
5
Test Vehicle Model: Ford Ranger 2020 Programming: All Key Lost, Add a New Smart Key Tool Required: Autel IM508 and XP200 Ford Ranger 2020 Add Smart Ke ...
分类:
其他好文 时间:
2020-12-01 12:36:12
阅读次数:
8
package com.example.test3; import android.app.AliasActivity; import android.app.ProgressDialog; import android.os.Bundle; import android.view.View; im ...
分类:
移动开发 时间:
2020-11-30 16:11:54
阅读次数:
19
import configparser base_path = os.getcwd() sys.path.append(base_path) file_path = base_path+" /Config/server.ini" cf = configparser.ConfigParser() cf ...
分类:
其他好文 时间:
2020-11-30 15:29:14
阅读次数:
4
MS14-068域提权漏洞复现 一、漏洞说明 改漏洞可能允许攻击者将未经授权的域用户账户的权限,提权到域管理员的权限。 微软官方解释: https://docs.microsoft.com/zh-cn/security-updates/Securitybulletins/2014/ms14-068 ...
分类:
其他好文 时间:
2020-11-27 11:14:40
阅读次数:
6
概述 linux 输入输出流 入门 背景 尝试理解 linux 的 输入输出流 困扰了我很久, 但是一直没有做 总结 今天把这个坑填上 环境 OS centos7 1. shell 输入输出流 概述 shell 输入输出流 场景: 日常使用 shell 概述 日常 shell 场景 日常使用 she ...
分类:
系统相关 时间:
2020-11-27 10:54:04
阅读次数:
12