打开网址:https://dev.mysql.com/downloads/repo/yum/,选择对应li 安装mysql源 yum -y localinstall mysql80-community-release-el7-3.noarch.rpm 三、在线安装Mys yum -y install ...
分类:
数据库 时间:
2021-04-07 11:34:01
阅读次数:
0
学习大概就是不断迭代、重构的过程,不复习的学习是不负责任的,亦是无用的。 本系列博客主要作为个人记录,主要是贴图和代码,不做详细解释,以后有时间可能会重写;从下一篇开始上代码,代码可以运行是对自己的最低标准。 参考: 1.书籍1:《程序员的自我修养——链接、装载与库》 2.视频:https://ww ...
分类:
编程语言 时间:
2021-04-07 11:33:41
阅读次数:
0
一、iptables防火墙 1、基本操作 # 查看防火墙状态 service iptables status # 停止防火墙 service iptables stop # 启动防火墙 service iptables start # 重启防火墙 service iptables restart # ...
分类:
系统相关 时间:
2021-04-07 11:31:55
阅读次数:
0
匿名函数lambda: # def foo(x,y):# return x+y## foo(12,4)#python的匿名函数: lambda 参数:函数体# print((lambda x,y:x+y)(12,4))a = [1,2,3,4,5,6]# def foo(x):# return x ...
分类:
编程语言 时间:
2021-04-07 11:31:34
阅读次数:
0
操作方法 with open('文件名',mode='读写追加',encoding='编码方式') f.close=没有用with就要写他关闭 可搂s 只读 r 读写 r+ bs类型 rb=不用写编码方式 r+b=要在写的后面加 f.write(写的内容.encode('编码方式')) f.read ...
分类:
编程语言 时间:
2021-04-07 11:29:29
阅读次数:
0
参考:https://blog.csdn.net/weixin_41710606/article/details/86747877 1. CONDA切换成32位set CONDA_FORCE_32BIT=1 2. 安装32位的python3.6conda create -n python32 pyt ...
分类:
编程语言 时间:
2021-04-07 11:23:01
阅读次数:
0
主要内容来自《Linux达人养成计划I》 也推荐一下《鸟哥的Linux私房菜》 命令基本格式 命令提示符格式 [role@host directory]sign [角色@主机名 当前所在目录]提示符 role: root为管理员(超级用户),可以自己创建用户,比如我为xwk host: 主机名,随意 ...
分类:
系统相关 时间:
2021-04-07 11:22:21
阅读次数:
0
查找 find . -type f -size +10M -print0 | xargs -0 du -h | sort -nr 删除,指定名字的所有文件 find ./xx -name "xx" -type f -print -exec rm -rf {} \; 计数 ls -l|grep "^- ...
分类:
系统相关 时间:
2021-04-07 11:19:58
阅读次数:
0
题目链接: https://www.nowcoder.com/practice/3245215fffb84b7b81285493eae92ff0?tpId=37&tqId=21226&rp=1&ru=%2Fta%2Fhuawei&qru=%2Fta%2Fhuawei%2Fquestion-ranki ...
分类:
编程语言 时间:
2021-04-07 11:06:20
阅读次数:
0
RCE root权限执行命令,无法读取密码的情况下 1:在受害者机子上执行如下命令,开启认证 # echo RSAAuthentication yes >> /etc/ssh/sshd_config # echo PubkeyAuthentication yes >> /etc/ssh/sshd_c ...
分类:
系统相关 时间:
2021-04-07 11:05:28
阅读次数:
0