Postgresql在深度Linux中安装后不能自动启动
Tofloor
poster avatar
baoding-fenshuajiang_Odoo
deepin
2017-06-21 19:43
Author
在深度Linux中,我用 apt-get 命令安装了 postgresql ,但安装后不能自动随系统启动,而是需要 执行 sudo service postgresql start 才能启动。
请问如何才能让Postgresql自动随系统启动呢?
Reply Favorite View the author
All Replies
avatar
Feng Yu
deepin
2017-06-21 19:47
#1
我这边postgresql安装之后是自动启动的,不知道你调了啥
Reply View the author
avatar
baoding-fenshuajiang_Odoo
deepin
2017-06-21 19:53
#2
没调啥,就是用sudo apt-get install postgresql 安装的。
Reply View the author
avatar
baoding-fenshuajiang_Odoo
deepin
2017-06-21 20:09
#3
我的工作环境主要是使用一款国外开源的ERP系统Odoo,需要配套使用Postgresql数据库。
安装好后,Odoo能自动启动,Postgresql 不能,但能通过 sudo service Postgresql  start 手动启动。
Reply View the author
avatar
134******40
deepin
2017-06-21 23:40
#4
sudo systemctl enable postgresql启动开机启动。
Reply View the author
avatar
baoding-fenshuajiang_Odoo
deepin
2017-06-22 02:52
#5
https://bbs.deepin.org/post/141387
sudo systemctl enable postgresql启动开机启动。

太感谢了。
Reply View the author