主要有两个问题: 1.未打开密码登录方式 输入 vi /etc/ssh/sshd_config 找到 PasswordAuthentication 设置为 yes。 记得重启ssh:输入 systemctl restart sshd 2. 没有创建对应的用户 腾讯云默认的用户是lighthouse, ...
分类:
系统相关 时间:
2021-05-24 08:11:48
阅读次数:
0
环境:Linux centos7.6 +Python 2.7.5+DM8 必须安装dmPython。 安装包可以在1139926252QQ群里的文件中下载,下载好后上传到linux服务器中。 一、安装dmPython Python 有现成的mysql,oracle 等数据库包,可以直接import ...
分类:
数据库 时间:
2021-05-24 08:02:14
阅读次数:
0
当传入发送邮箱正确的用户名和密码时,总是收到到:邮箱不可用. has no permission 这样的错误,英文错误为:Mailbox unavailable. The server response was: User has no permission。 其实我们用.Net发送邮件时相当于自定 ...
分类:
Web程序 时间:
2021-05-24 07:57:44
阅读次数:
0
论坛常用表 forum_post 帖子表 forum_thread 主题表 forum_attachment 帖子图片 根据tableid 查询图片表下标 forum_attachment_(tableid) 图片表 common_member 用户表 common_usergroup 用户组 ...
分类:
数据库 时间:
2021-05-24 07:51:55
阅读次数:
0
常用命令vncserver 在当前用户下开启一个vnc连接端口,系统会从端口5901开始查看,每次加1,直到有闲置端口。(第一次执行时会要求设置登陆密码)vncserver :1 指定端口号(这里1代表5901)为当前用户开启vnc服务。vncserver --help 查看帮助vncserver ...
分类:
其他好文 时间:
2021-05-24 07:48:03
阅读次数:
0
数据库基本命令行 mysql -uroot -p123456 -- 连接数据库 update mysql .user set authentication_string=password('123456')where user='root' and Host = 'localhost'; -- 修改 ...
分类:
数据库 时间:
2021-05-24 07:46:41
阅读次数:
0
1.查看源码 from flask import Flask,redirect , render_template app = Flask( __name__) @app.route( '/ hello/<path:user> ' ) def hello_name(user) : message = ...
分类:
其他好文 时间:
2021-05-24 07:37:22
阅读次数:
0
1.停止服务 net stop mysql; 2.控制台输入 mysqld --console --shared-memory --skip-grant-tables 3.重新打开一个窗口,进入bin目录下,执行mysql,回车 4.密码置空 update user set authenticati ...
分类:
数据库 时间:
2021-05-24 07:35:02
阅读次数:
0
import urllib.request # 获取目标网址 url = 'https://www.baidu.com/' # 添加请求头 headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/ ...
分类:
Web程序 时间:
2021-05-24 07:26:13
阅读次数:
0
1 参考《GMT 0009-2012 SM2密码算法使用规范》第6节“数据转换” 在utils.h和utils.c中完成位串与8位字节串的转换功能(10'): int Bitstr2ByteArr(unsigned char * bs, unsigned char * ba); int ByteAr ...
分类:
编程语言 时间:
2021-05-24 07:25:40
阅读次数:
0