Poatgres怎么配置安装pgagent
这篇文章主要介绍“Poatgres怎么配置安装pgagent”,在日常操作中,相信很多人在Poatgres怎么配置安装pgagent问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”Poatgres怎么配置安装pgagent”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!
安装cmake
#cd/home#wgethttps://cmake.org/files/v3.16/cmake-3.16.0.tar.gz#tar-zxvfcmake-3.16.0.tar.gz#cd/home/cmake-3.16.0/#sudoapt-getinstall-yg++#sudoapt-getinstall-ylibssl-dev#./bootstrap#make#makeinstall
安装wxgtk
#sudoapt-getinstall-ypython-wxgtk4.0#sudoapt-getinstall-yboost*#wget#mkdir-p/home/wxWidgets-3.1.3#cd/home/wxWidgets-3.1.3#vi~/.profilePATH=$PATH:$HOME/bin:/usr/local/wxWidgets-3.1.3/binexportLD_LIBRARY_PATH=/usr/local/wxWidgets-3.1.3/lib:$LD_LIBRARY_PATH#source~/.profile#sudoapt-getinstall-ygtk*#./configure--enable-shared=no--enable-unicode=yes--prefix=/usr/local/wxWidgets-3.1.3/#make&&makeinstall
安装pgagent
下载地址:https://git.postgresql.org/gitweb/
#cd/home#rz#tar-zxvfpgagent-8b7ec04.tar.gz#cd/home/pgagent-8b7ec04#source/home/postgres/.profile#cmake./#make#makeinstallpostgres=#createextensionpgagent;CREATEEXTENSION
$ pgagent hostaddr=127.0.0.1 dbname=postgres user=postgres password=postgres
到此,关于“Poatgres怎么配置安装pgagent”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注亿速云网站,小编会继续努力为大家带来更多实用的文章!
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。