菜鸟小欧 菜鸟小欧
2年前
爬取软件工程师相关信息
爬取有关软件工作的信息importreimportrequestsfrompymysqlimportconnectfrombs4importBeautifulSoup定义数据库的连接函数connconnect(user"root",password"root",host"localhost",database"python",
风花雪月 风花雪月
2年前
目录遍历使用的是Treeview的树形结构(show=’tree’)。使用了递归的方法遍历指定的目录。
importosimporttkinterastkfromtkinterimportttkroottk.Tk()root.geometry('320x240')ftk.Frame(root)tvttk.Treeview(f,show'tree')ybartk.Scrollbar(f,ori
Wesley13 Wesley13
2年前
RHSA
root@localhost~cat/etc/redhatreleaseCentOSLinuxrelease7.2.1511(Core)修复命令:   使用root账号登陆Shell,键入以下代码回车:      Centos/RedHat:yumupdatey 
Wesley13 Wesley13
2年前
Ubuntu 及Ubuntu server版如何启用root用户登录
默认安装Ubuntu都是不允许以root用户进行登录的,想要以root用户进行登录需要进行一些操作,主要是以下几个步骤:第一步以普通用户登录系统,创建root用户的密码,然后输入你要设置的密码,这样就完成了设置root用户密码的步骤第二步修改文件
Stella981 Stella981
2年前
Docker应用部署
1.MySQL部署拉取MySQL镜像:dockerpull镜像名创建容器:dockerrunidname容器名p3306:33306eMYSQL\_ROOT\_PASSWORD123456 镜像名\e代表添加环境变量,MYSQL\_ROOT\_PASSWORD是用户root的登陆密码  进入MySQL容
Stella981 Stella981
2年前
Graylog 安装
环境操作系统:Centos7.6.1810(Core)IP:10.17.0.3root@localhost~cat/etc/redhatreleaseCentOSLinuxrelease7.6.1810(Core)修改时区root@localhost~
Stella981 Stella981
2年前
Linux云计算学习笔记day14
1、查看系统版本信息查看系统版本root@handsomeman~查看系统版本信息root@handsomeman~cat/etc/redhatreleaseCentOSLinuxrelease7.6.1810(Core)roo
Wesley13 Wesley13
2年前
2018年5月18日——用户与组管理
1、/etc/passwd文件此文件内容格式如下:root:x:0:0:root:/root:/bin/bashbin:x:1:1:bin:/bin:/sbin/nologindaemon:x:2:2:daemon:/sbin:/sbin/nologin此文件内容由7个字段组成,字段之间用:分隔。第1段
Stella981 Stella981
2年前
Linux单向免密登录最简配置
前置:两台linux,A和B需求:A免密登录B步骤:root用户登录A输入命令:sshkeygen之后一路按回车完成后进行公钥分发命令:sshcopyidi/root/.ssh/id\_rsa.pubB的IP示例:sshcopyidi/root/.ssh/id\_rsa.pub192.168.1
Wesley13 Wesley13
2年前
MySQL管理工具 mysqladmin
数据库版本信息root@db02~mysqlversionmysqlVer14.14Distrib5.6.36,forLinux(x86_64)usingEditLinewrapper选项 root@db0