Ubuntu16安裝PostgreSQL

1.查看 ubuntu16 提供的 postgresql 版本:apt-cache show postgresql 2.安裝命令:sudo apt-get install postgresql 3.查看版本信息:psql --version 4.安裝postgrep數據庫會默認創建一個用戶 postgres 作爲數據庫的管理員,需要操作數據庫需要切換到此用戶:sudo su postgres 5.
相關文章
相關標籤/搜索