Poatgres怎么配置安装pgagent

开发技术 作者:chen 2024-03-29 18:40:01
这篇文章主要介绍“Poatgres怎么配置安装pgagent”,在日常操作中,相信很多人在Poatgres怎么配置安装pgagent问题上存在疑惑,小编查阅了各式资料,整理出简单好...

这篇文章主要介绍“Poatgres怎么配置安装pgagent”,在日常操作中,相信很多人在Poatgres怎么配置安装pgagent问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”Poatgres怎么配置安装pgagent”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!

安装cmake

# cd /home
# wget https://cmake.org/files/v3.16/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

下载地址:https://git.postgresql.org/gitweb/

# cd /home
# 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”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注捷杰建站网站,小编会继续努力为大家带来更多实用的文章!

原创声明
本站部分文章基于互联网的整理,我们会把真正“有用/优质”的文章整理提供给各位开发者。本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
本文链接:http://www.jiecseo.com/news/show_2126.html
Poatgres pgagent

猜你喜欢