Poatgres怎么配置安装pgagent-创新互联
这篇文章主要介绍“Poatgres怎么配置安装pgagent”,在日常操作中,相信很多人在Poatgres怎么配置安装pgagent问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”Poatgres怎么配置安装pgagent”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!
安装cmake
# cd /home # wget /tupian/20230521/cmake-3.16.0.tar.gz # tar -zxvf cmake-3.16.0.tar.gz # cd /home/cmake-3.16.0/ # sudo apt-get install -y g++ # sudo apt-get install -y libssl-dev # ./bootstrap # make # make install
安装wxgtk
# sudo apt-get install -y python-wxgtk4.0 # sudo apt-get install -y boost* # wget # mkdir -p /home/wxWidgets-3.1.3 # cd /home/wxWidgets-3.1.3 # vi ~/.profile PATH=$PATH:$HOME/bin:/usr/local/wxWidgets-3.1.3/bin export LD_LIBRARY_PATH=/usr/local/wxWidgets-3.1.3/lib:$LD_LIBRARY_PATH # source ~/.profile # sudo apt-get install -y gtk* # ./configure --enable-shared=no --enable-unicode=yes --prefix=/usr/local/wxWidgets-3.1.3/ # make && make install
安装pgagent
下载地址:/tupian/20230521/ppre # rz # tar -zxvf pgagent-8b7ec04.tar.gz # cd /home/pgagent-8b7ec04 # source /home/postgres/.profile # cmake ./ # make # make install postgres=# create extension pgagent ; CREATE EXTENSION
$ pgagent hostaddr=127.0.0.1 dbname=postgres user=postgres password=postgres
到此,关于“Poatgres怎么配置安装pgagent”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注创新互联-成都网站建设公司网站,小编会继续努力为大家带来更多实用的文章!
网页名称:Poatgres怎么配置安装pgagent-创新互联
转载注明:http://ybzwz.com/article/pigoc.html