centos postgres 安装、远程连接

远程连接需要在postgresql中建立用户,即spideruser用户,postgres是作为服务器登陆的用户来使用,同时需要设置postgresql.conf pg_hba.conf开通权限以及5432端口

# ----------

centos crontab功能注意事项:

运行python命令需要指定路径 如 * * * * * /usr/bin/python /data/try.py 如果.py文件内有./这样的路径写法,会被crontab默认定向到centos系统的根目录,而非当前py文件所在目录

原文地址:https://www.cnblogs.com/hejianlong/p/10275511.html