随笔分类 - linux
摘要:1.本地生成密钥对 在本地计算机上打开终端并输入 ssh-keygen 2.将公钥复制到要访问的远程服务器 方法1:ssh-copy-id ssh-copy-id username@remote_host 方法2:如果没有ssh-copy-id命令,就使用以下命令 cat ~/.ssh/id_rsa
阅读全文
摘要:Downloading/unpacking psycopg2 Downloading psycopg2-2.5.4.tar.gz (682kB): 682kB downloaded Running setup.py (path:/home/ql/.pyenv/versions/py2/build/p
阅读全文
摘要:1.编辑vmware虚拟网络 第一张网卡使用桥接模式,设置全为默认就行了,下面是添加第二张网卡 2.添加网卡 3.进入虚拟机配置 # 查看所有网卡 ifconfig -a # 为新网卡生成uuid uuidgen ens37 d9fed53f-7959-465c-9872-1fcc62480b20
阅读全文
摘要:1.安装 官网下载地址 1.1 选择对应系统版本和数据库版本 这里选择的是centos7 postgresql-11版本 # Install the repository RPM: sudo yum install -y https://download.postgresql.org/pub/rep
阅读全文

浙公网安备 33010602011771号