会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
杨是杨柳的柳
博客园
首页
新随笔
联系
订阅
管理
2023年3月15日
ssh免密连接
摘要: 1.本地生成密钥对 在本地计算机上打开终端并输入 ssh-keygen 2.将公钥复制到要访问的远程服务器 方法1:ssh-copy-id ssh-copy-id username@remote_host 方法2:如果没有ssh-copy-id命令,就使用以下命令 cat ~/.ssh/id_rsa
阅读全文
posted @ 2023-03-15 12:09 杨是杨柳的柳
阅读(146)
评论(0)
推荐(0)
2021年10月15日
python3 安装 demjson 报错
摘要: python3 安装 demjson 2.2.4 出现以下报错 error in demjson setup command: use_2to3 is invalid 由于 demjson 2.2.4 兼容python2和python3,当安装环境为python3时,有一部分代码需要转换 Setup
阅读全文
posted @ 2021-10-15 14:56 杨是杨柳的柳
阅读(4856)
评论(0)
推荐(1)
2021年5月3日
记录psycopg2安装报错(centos7)
摘要: Downloading/unpacking psycopg2 Downloading psycopg2-2.5.4.tar.gz (682kB): 682kB downloaded Running setup.py (path:/home/ql/.pyenv/versions/py2/build/p
阅读全文
posted @ 2021-05-03 17:13 杨是杨柳的柳
阅读(537)
评论(0)
推荐(0)
2021年4月11日
peewee的使用
摘要: 官方文档地址:http://docs.peewee-orm.com/en/latest/ 1.创建模型 import peewee as pw # 这里用的是postgresql db = pw.PostgresqlDatabase(database='test', user='yang', hos
阅读全文
posted @ 2021-04-11 17:07 杨是杨柳的柳
阅读(2071)
评论(0)
推荐(0)
2021年4月2日
vmware centos7 添加双网卡
摘要: 1.编辑vmware虚拟网络 第一张网卡使用桥接模式,设置全为默认就行了,下面是添加第二张网卡 2.添加网卡 3.进入虚拟机配置 # 查看所有网卡 ifconfig -a # 为新网卡生成uuid uuidgen ens37 d9fed53f-7959-465c-9872-1fcc62480b20
阅读全文
posted @ 2021-04-02 22:29 杨是杨柳的柳
阅读(1189)
评论(0)
推荐(1)
2021年2月18日
postgresql安装及配置
摘要: 1.安装 官网下载地址 1.1 选择对应系统版本和数据库版本 这里选择的是centos7 postgresql-11版本 # Install the repository RPM: sudo yum install -y https://download.postgresql.org/pub/rep
阅读全文
posted @ 2021-02-18 13:49 杨是杨柳的柳
阅读(1411)
评论(0)
推荐(0)
公告