码迷,mamicode.com
首页 >  
搜索关键字:give root password for maintenance    ( 61936个结果
使用firefox打开网页报错——Error: no display specified
想在linux环境下打开一个网页,环境描述:在窗口模式下,打Terminal,然后从本地服务器ssh到了另一个服务器,想执行firefox命令打开一个网页,如下 [root@pc207 ~]# firefox http://www.a.com Error: no display specified ...
分类:Web程序   时间:2021-06-07 20:34:32    阅读次数:0
数据结构(树):树结构基础理论
概述 树是一种重要的非线性数据结构,直观地看,它是数据元素(在树中称为结点)按分支关系组织起来的结构,很象自然界中的树那样。 一棵树(tree)是由n(n>0)个元素组成的有限集合,其中: 每个元素称为结点(node); 有一个特定的结点,称为根结点或根(root); 除根结点外,其余结点被分成m( ...
分类:其他好文   时间:2021-06-07 20:26:17    阅读次数:0
pymysql功能封装
import pymysql# username : adil# password : helloyyjclass DataBaseHandle(object): ''' 定义一个 MySQL 操作类''' def __init__(self, host, username, password, d ...
分类:数据库   时间:2021-06-07 20:23:52    阅读次数:0
pymysql使用模板
db = pymysql.connect(host="localhost", port=3306, user="root", passwd="xxx", db="stu_info")cursor = db.cursor(cursor=pymysql.cursors.DictCursor)cursor ...
分类:数据库   时间:2021-06-07 20:09:12    阅读次数:0
Pymysql连接
PyMysql连接数据库 防止sql注入 import pymysql ? ? def insertsql(): # 建立连接 connection_sql = pymysql.connect( host='localhost', port=3306, user='root', password=' ...
分类:数据库   时间:2021-06-07 20:05:01    阅读次数:0
Gerrit+replication 同步Gitlab
配置环境:gerrit 192.168.1.100gitlab 192.168.1.1011.创建秘钥 [root@gerrit ~]# ssh-keygen -m PEM -t rsa 2.添加hosts 解析 [root@gerrit ~]#echo "192.168.1.101 gitlab" ...
分类:其他好文   时间:2021-06-06 19:34:13    阅读次数:0
Python_redis
import redisr = redis.Redis(host = "118.xx.x.xx",password="xxxxxx*",port=xxxx,db=4)r = redis.Redis(host = "118.xx.x.xx",password="xxxxxx*",port=xxxx,d ...
分类:编程语言   时间:2021-06-06 19:33:19    阅读次数:0
Python_发送邮件
import yamailusername = "xxxxxx@qq.com"password = "xxxxxx"host = "smtp.qq.com"# host = "smtp.163.com" #163# host = "smtp.126.com" #qq# smtp.send(to="a ...
分类:编程语言   时间:2021-06-06 19:32:03    阅读次数:0
部署服务器(nginx+mysql+javaJdk)
部署服务器(nginx+mysql+javaJdk) 使用密钥登陆服务器 先生成密匙并存储到本地。 找到您下载的私钥所在目录,如:/root/xxx.pem。 说明 xxx.pem即为您的私钥文件,下同。 使用以下命令修改私钥文件的属性:chmod 400 xxx.pem。 使用SSH命令连接至实例 ...
分类:数据库   时间:2021-06-06 18:59:40    阅读次数:0
OOP summary
Preliminaries Linux Basics Change Password: passwd shutdown: sudo shutdown -h 3 (broadcast to all users in 3 mins) reboot: sudo reboot -r now create a ...
分类:其他好文   时间:2021-06-06 18:53:34    阅读次数:0
61936条   上一页 1 ... 15 16 17 18 19 ... 6194 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!