PostgreSQL初安装小记

在使用deepdive的时候采用了PostgreSQL作为数据库

安装可以从deepdive的github获取

bash <(curl -fsSL git.io/getdeepdive) postgres

也可以分步安装postgresql的server和client

sudo apt-get install postgresql
sudo apt-get install postgresql-client

安装完,像mysql一样需要做一些配置


就是先把系统切换到postgres这个用户名,接这个默认的用户名首次登陆postgresql

创建新用户名,创建新用户名下的数据库,给新用户赋权…



猜你喜欢

转载自blog.csdn.net/XiaoPANGXia/article/details/78506581
今日推荐