摘要: 设置开机自启: rc-local.server [Unit] Description=/etc/rc.local Compatibility ConditionPathExists=/etc/rc.local After=network.target After=postgresql.service 阅读全文
posted @ 2021-12-10 18:49 一只小羊 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 系统:ubuntu18.04 / Centos 7自带Python3.61、安装pip3 apt-get install -y python3-pip pip3 install --upgrade pip 安装psycopg2报错 解决:sudo apt-get install libpq-dev 阅读全文
posted @ 2021-12-10 18:20 一只小羊 阅读(894) 评论(0) 推荐(0) 编辑
摘要: 1、准备ubuntu16镜像2、安装:https://zhuanlan.zhihu.com/p/1447048653、安装ubuntu后,sudo passwd root这个命令建立root用户的密码4、更新apt-get:apt-get -y update5、设置静态ip: 5.1、ifconfi 阅读全文
posted @ 2021-12-10 18:16 一只小羊 阅读(875) 评论(0) 推荐(0) 编辑