亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

PostgreSql源碼方式安裝

發布時間:2020-02-24 07:08:16 來源:網絡 閱讀:258 作者:豆豆163 欄目:數據庫

一 、源碼安裝

1. Redhat7 修改主機名:

?

[root@localhost?~]#?hostnamectl?set-hostname?ygg

檢查:

?

[root@localhost?~]#?hostnamectl
???Static?hostname:?ygg
?????????Icon?name:?computer-vm
???????????Chassis:?vm
????????Machine?ID:?19e8c6b6164b453b8816e1a002badeec
???????????Boot?ID:?b9793f1a2e8c4dbcbf99f9f011563fe6
????Virtualization:?vmware
??Operating?System:?Red?Hat?Enterprise?Linux?Server?7.2?(Maipo)
???????CPE?OS?Name:?cpe:/o:redhat:enterprise_linux:7.2:GA:server
????????????Kernel:?Linux?3.10.0-327.el7.x86_64
??????Architecture:?x86-64
[root@localhost?~]#



2. 安裝依賴包:

?

yum?install?gcc*?gcc-c++*?zlib-devel*?readline-devel*?perl-ExtUtils-Embed*?pam-devel*?libxml2-devel*?libxslt-devel*?openldap-devel*?python-devel*?openssl-devel*?cmake*?readline*?flex*?bison*?tcl*?-y


?

3. Linux系統內核調整:
vi?/etc/sysctl.conf
#add
kernel.shmmax?=?68719476736??????????????????#最大共享內存段大小(默認)
kernel.shmall?=?4294967296???????????????????????#可以使用的共享內存的總量(默認)
kernel.shmmni?=?4096?????????????????????????????#整個系統共享內存段的最大數目
kernel.sem?=?50100?64128000?50100?1280???????????#每個信號對象集的最大信號對象數;系統范圍內
?????????????????????????????????????????????????#最大信號對象數;每個信號對象支持的最大操作數;
?????????????????????????????????????????????????#系統范圍內最大信號對象集數
fs.file-max?=?7672460????????????????????????????#文件句柄的最大數量,文件句柄設置表示在linux系統中可以打開的文件數量
net.ipv4.ip_local_port_range?=?9000?65000????????#應用程序可使用的IPv4端口范圍
net.core.rmem_default?=?1048576??????????????????#套接字接收緩沖區大小的缺省值
net.core.wmem_default?=?262144???????????????????#套接字發送緩沖區大小的缺省值
net.core.wmem_max?=?1048576??????????????????????#套接字發送緩沖區大小的最大值


內核參數生效:

sysctl?-p
4. 關閉防火墻及selinux
5. 創建用戶:
[root@ygg?soft]#?useradd?postgresql
[root@ygg?soft]#?passwd?postgresql



6. 解壓并安裝:
(1)解壓文件:
[root@ygg?soft]#?su?-?postgresql
[postgresql@ygg?~]$?cd?/soft/
postgresql-10.3.tar.gz??rlwrap-0.43rlwrap-0.43.tar.gz
[postgresql@ygg?soft]$?gunzip?postgresql-10.3.tar.gz
[postgresql@ygg?soft]$?tar?-xf?postgresql-10.3.tar
[postgresql@ygg?soft]$?cd?postgresql-10.3/
[postgresql@ygg?postgresql-10.3]$?ll
total?672
-rw-r--r--.1?postgresql?postgresql????457?Feb?27??2018?aclocal.m4
drwxrwxr-x.2?postgresql?postgresql???4096?Feb?27??2018?config???源碼安裝的配置腳本
-rwxr-xr-x.1?postgresql?postgresql?498962?Feb?272018?configure
-rw-r--r--.1?postgresql?postgresql??76915?Feb?27??2018?configure.in
drwxrwxr-x.?55?postgresql?postgresql???4096?Feb?27??2018?contrib???已打包到PG源碼中的第三方貢獻的插件源碼
-rw-r--r--.1?postgresql?postgresql???1192?Feb?27??2018?COPYRIGHT
drwxrwxr-x.3?postgresql?postgresql????101?Feb?27??2018?doc???????文檔
-rw-r--r--.1?postgresql?postgresql???3638?Feb?27??2018?GNUmakefile.in
-rw-r--r--.1?postgresql?postgresql????284?Feb?27??2018?HISTORY?????版本變更的歷史記錄
-rw-r--r--.1?postgresql?postgresql??71584?Feb?27??2018?INSTALL?????安裝說明
-rw-r--r--.1?postgresql?postgresql???1682?Feb?27??2018?Makefile
-rw-r--r--.1?postgresql?postgresql???1212?Feb?27??2018?README
drwxrwxr-x.?16?postgresql?postgresql???4096?Feb?272018?src???????源代碼
(2)配置編譯安裝:配置幫助:

?

[postgresql@ygg?postgresql-10.3]$?./configure?--help
`configure'?configures?PostgreSQL?10.3?to?adapt?to?many?kinds?of?systems.
 
Usage:?./configure?[OPTION]...?[VAR=VALUE]...
 
To?assign?environment?variables?(e.g.,?CC,?CFLAGS...),?specify?them?as
VAR=VALUE.??See?below?for?descriptions?of?some?of?the?useful?variables.
 
Defaults?for?the?options?are?specified?in?brackets.
 
Configuration:
??-h,?--help??????????????display?this?help?and?exit
??????--help=short????????display?options?specific?to?this?package
??????--help=recursive????display?the?short?help?of?all?the?included?packages
??-V,?--version???????????display?version?information?and?exit
??-q,?--quiet,?--silent???do?not?print?`checking?...'?messages
??????--cache-file=FILE???cache?test?results?in?FILE?[disabled]
??-C,?--config-cache??????alias?for?`--cache-file=config.cache'
??-n,?--no-create?????????do?not?create?output?files
??????--srcdir=DIR????????find?the?sources?in?DIR?[configure?dir?or?`..']
 
Installation?directories:
??--prefix=PREFIX?????????install?architecture-independent?files?in?PREFIX
??????????????????????????[/usr/local/pgsql]
??--exec-prefix=EPREFIX???install?architecture-dependent?files?in?EPREFIX
??????????????????????????[PREFIX]
 
By?default,?`make?install'?will?install?all?the?files?in
`/usr/local/pgsql/bin',?`/usr/local/pgsql/lib'?etc.??You?can?specify
an?installation?prefix?other?than?`/usr/local/pgsql'?using?`--prefix',
for?instance?`--prefix=$HOME'.
 
For?better?control,?use?the?options?below.
 
Fine?tuning?of?the?installation?directories:
??--bindir=DIR????????????user?executables?[EPREFIX/bin]
??--sbindir=DIR???????????system?admin?executables?[EPREFIX/sbin]
??--libexecdir=DIR????????program?executables?[EPREFIX/libexec]
??--sysconfdir=DIR????????read-only?single-machine?data?[PREFIX/etc]
??--sharedstatedir=DIR????modifiable?architecture-independent?data?[PREFIX/com]
??--localstatedir=DIR?????modifiable?single-machine?data?[PREFIX/var]
??--libdir=DIR????????????object?code?libraries?[EPREFIX/lib]
??--includedir=DIR????????C?header?files?[PREFIX/include]
??--oldincludedir=DIR?????C?header?files?for?non-gcc?[/usr/include]
??--datarootdir=DIR???????read-only?arch.-independent?data?root?[PREFIX/share]
??--datadir=DIR???????????read-only?architecture-independent?data?[DATAROOTDIR]
??--infodir=DIR???????????info?documentation?[DATAROOTDIR/info]
??--localedir=DIR?????????locale-dependent?data?[DATAROOTDIR/locale]
??--mandir=DIR????????????man?documentation?[DATAROOTDIR/man]
??--docdir=DIR????????????documentation?root?[DATAROOTDIR/doc/postgresql]
??--htmldir=DIR???????????html?documentation?[DOCDIR]
??--dvidir=DIR????????????dvi?documentation?[DOCDIR]
??--pdfdir=DIR????????????pdf?documentation?[DOCDIR]
??--psdir=DIR?????????????ps?documentation?[DOCDIR]
 
System?types:
??--build=BUILD?????configure?for?building?on?BUILD?[guessed]
??--host=HOST???????cross-compile?to?build?programs?to?run?on?HOST?[BUILD]
 
Optional?Features:
??--disable-option-checking??ignore?unrecognized?--enable/--with?options
??--disable-FEATURE???????do?not?include?FEATURE?(same?as?--enable-FEATURE=no)
??--enable-FEATURE[=ARG]??include?FEATURE?[ARG=yes]
??--disable-integer-datetimes
??????????????????????????obsolete?option,?no?longer?supported
??--enable-nls[=LANGUAGES]
??????????????????????????enable?Native?Language?Support
??--disable-rpath?????????do?not?embed?shared?library?search?path?in
??????????????????????????executables
??--disable-spinlocks?????do?not?use?spinlocks
??--disable-atomics???????do?not?use?atomic?operations
??--disable-strong-random?do?not?use?a?strong?random?number?source
??--enable-debug??????????build?with?debugging?symbols?(-g)
??--enable-profiling??????build?with?profiling?enabled
??--enable-coverage???????build?with?coverage?testing?instrumentation
??--enable-dtrace?????????build?with?DTrace?support
??--enable-tap-tests??????enable?TAP?tests?(requires?Perl?and?IPC::Run)
??--enable-depend?????????turn?on?automatic?dependency?tracking
??--enable-cassert????????enable?assertion?checks?(for?debugging)
??--disable-thread-safety?disable?thread-safety?in?client?libraries
??--disable-largefile?????omit?support?for?large?files
??--disable-float4-byval??disable?float4?passed?by?value
??--disable-float8-byval??disable?float8?passed?by?value
 
Optional?Packages:
??--with-PACKAGE[=ARG]????use?PACKAGE?[ARG=yes]
??--without-PACKAGE???????do?not?use?PACKAGE?(same?as?--with-PACKAGE=no)
??--with-extra-version=STRING
??????????????????????????append?STRING?to?version
??--with-template=NAME????override?operating?system?template
??--with-includes=DIRS????look?for?additional?header?files?in?DIRS
??--with-libraries=DIRS???look?for?additional?libraries?in?DIRS
??--with-libs=DIRS????????alternative?spelling?of?--with-libraries
??--with-pgport=PORTNUM???set?default?port?number?[5432]
??--with-blocksize=BLOCKSIZE
??????????????????????????set?table?block?size?in?kB?[8]
??--with-segsize=SEGSIZE??set?table?segment?size?in?GB?[1]
??--with-wal-blocksize=BLOCKSIZE
??????????????????????????set?WAL?block?size?in?kB?[8]
??--with-wal-segsize=SEGSIZE
??????????????????????????set?WAL?segment?size?in?MB?[16]
??--with-CC=CMD???????????set?compiler?(deprecated)
??--with-icu??????????????build?with?ICU?support
??--with-tcl??????????????build?Tcl?modules?(PL/Tcl)
??--with-tclconfig=DIR????tclConfig.sh?is?in?DIR
??--with-perl?????????????build?Perl?modules?(PL/Perl)
??--with-python???????????build?Python?modules?(PL/Python)
??--with-gssapi???????????build?with?GSSAPI?support
??--with-krb-srvnam=NAME??default?service?principal?name?in?Kerberos?(GSSAPI)
??????????????????????????[postgres]
??--with-pam??????????????build?with?PAM?support
??--with-bsd-auth?????????build?with?BSD?Authentication?support
??--with-ldap?????????????build?with?LDAP?support
??--with-bonjour??????????build?with?Bonjour?support
??--with-openssl??????????build?with?OpenSSL?support
??--with-selinux??????????build?with?SELinux?support
??--with-systemd??????????build?with?systemd?support
??--without-readline??????do?not?use?GNU?Readline?nor?BSD?Libedit?for?editing
??--with-libedit-preferred
??????????????????????????prefer?BSD?Libedit?over?GNU?Readline
??--with-uuid=LIB?????????build?contrib/uuid-ossp?using?LIB?(bsd,e2fs,ossp)
??--with-ossp-uuid????????obsolete?spelling?of?--with-uuid=ossp
??--with-libxml???????????build?with?XML?support
??--with-libxslt??????????use?XSLT?support?when?building?contrib/xml2
??--with-system-tzdata=DIR
??????????????????????????use?system?time?zone?data?in?DIR
??--without-zlib??????????do?not?use?Zlib
??--with-gnu-ld???????????assume?the?C?compiler?uses?GNU?ld?[default=no]
 
Some?influential?environment?variables:
??CCC?compiler?command
??CFLAGSC?compiler?flags
??LDFLAGSlinker?flags,?e.g.?-L<lib?dir>?if?you?have?libraries?in?a
??????????????nonstandard?directory?<lib?dir>
??LIBSlibraries?to?pass?to?the?linker,?e.g.?-l<library>
??CPPFLAGS(Objective)?C/C++?preprocessor?flags,?e.g.?-I<include?dir>?if
??????????????you?have?headers?in?a?nonstandard?directory?<include?dir>
??CPPC?preprocessor
??PKG_CONFIGpath?to?pkg-config?utility
??PKG_CONFIG_PATH
??????????????directories?to?add?to?pkg-config's?search?path
??PKG_CONFIG_LIBDIR
??????????????path?overriding?pkg-config's?built-in?search?path
??ICU_CFLAGSC?compiler?flags?for?ICU,?overriding?pkg-config
??ICU_LIBSlinker?flags?for?ICU,?overriding?pkg-config
??LDFLAGS_EXextra?linker?flags?for?linking?executables?only
??LDFLAGS_SLextra?linker?flags?for?linking?shared?libraries?only
 
Use?these?variables?to?override?the?choices?made?by?`configure'?or?to?help
it?to?find?libraries?and?programs?with?nonstandard?names/locations.
 
Report?bugs?to?<pgsql-bugs@postgresql.org>.


?配置參數注釋:
[postgresql?@?ygg?postgresql-10.3]?$?./configure?--help
`configure'配置PostgreSQL?10.3以適應多種系統。

用法:./?configure?[OPTION]?...?[VAR?=?VALUE]?...

要分配環境變量(例如CC,CFLAGS?...),請將它們指定為
VAR?=?VALUE。有關某些有用變量的說明,請參見下文。

選項的默認值在方括號中指定。

組態:
??-h,--help顯示此幫助并退出
??????--help?=簡短顯示此軟件包的選項
??????--help?=?recursive顯示所有包含的軟件包的簡短幫助
??-V,--version顯示版本信息并退出
??-q,-quiet,-silent不打印“檢查中...”消息
??????--cache-file?=?FILE緩存測試結果在FILE中[已禁用]
??-C,“-cache-file?=?config.cache”的--config-cache別名
??-n,--no-create不創建輸出文件
??????--srcdir?=?DIR在DIR中找到源[configure?dir或`..']

安裝目錄:
??--prefix?=?PREFIX在PREFIX中安裝與體系結構無關的文件
??????????????????????????[/?usr?/?local?/?pgsql]
??--exec-prefix?=?EPREFIX在EPREFIX中安裝與體系結構相關的文件
??????????????????????????[字首]

默認情況下,“?make?install”將安裝所有文件
/?usr?/?local?/?pgsql?/?bin,/?usr?/?local?/?pgsql?/?lib等。您可以指定
使用`--prefix'的`/?usr?/?local?/?pgsql'以外的安裝前綴,
例如`--prefix?=?$?HOME'。

為了更好地控制,請使用以下選項。

微調安裝目錄:
??--bindir?=?DIR????????????????用戶可執行文件[EPREFIX?/?bin]
??--sbindir?=?DIR???????????????系統管理員可執行文件[EPREFIX?/?sbin]
??--libexecdir?=?DIR????????????程序可執行文件[EPREFIX?/?libexec]
??--sysconfdir?=?DIR????????????只讀單機數據[PREFIX?/?etc]
??--sharedstatedir?=?DIR????????可修改的體系結構獨立數據[PREFIX?/?com]
??--localstatedir?=?DIR?????????可修改的單機數據[PREFIX?/?var]
??--libdir?=?DIR????????????????目標代碼庫[EPREFIX?/?lib]
??--includedir?=?DIR????????????C頭文件[PREFIX?/?include]
??--oldincludedir?=非gcc的DIR???C頭文件[/?usr?/?include]
??--datarootdir?=?DIR???????????只讀的獨立于拱的數據根[PREFIX?/?share]
??--datadir?=?DIR???????????????與架構無關的只讀數據[DATAROOTDIR]
??--infodir?=?DIR???????????????信息文檔[DATAROOTDIR?/?info]
??--localedir?=?DIR?????????????依賴于語言環境的數據[DATAROOTDIR?/?locale]
??--mandir?=?DIR????????????????手冊文件[DATAROOTDIR?/?man]
??--docdir?=?DIR????????????????文檔根[DATAROOTDIR?/?doc?/?postgresql]
??--htmldir?=?DIR???????????????html文檔[DOCDIR]
??--dvidir?=?DIR????????????????dvi文檔[DOCDIR]
??--pdfdir?=?DIR????????????????pdf文檔[DOCDIR]
??--psdir?=?DIR?????????????????ps文檔[DOCDIR]

系統類型:
??--build?=?BUILD???????????????配置為在BUILD上構建[猜測]
??--host?=?HOST?????????????????交叉編譯以構建要在HOST上運行的程序[BUILD]

可選功能:
??--disable-option-checking?????忽略無法識別的--enable?/-with?options
??--disable-FEATURE?????????????不包含FEATURE(與--enable-FEATURE?=?no相同)
??--enable-FEATURE?[=?ARG]??????包括功能[ARG?=?yes]
??--disable-integer-datetimes???過時的選項,不再受支持
??--enable-nls?[=?LANGUAGES]????啟用母語支持
??--disable-rpath???????????????不將共享庫搜索路徑嵌入到可執行文件
??--disable-spinlocks???????????不使用自旋鎖
??--disable-atomics?????????????不使用原子操作
??--disable-strong-random???????不使用強隨機數源
??--enable-debug????????????????帶有調試符號的構建(-g)
??--enable-profiling????????????構建并啟用了性能分析使用覆蓋率測試工具啟用覆蓋范圍構建
??--enable-dtrace???????????????帶有DTrace支持的構建
??--enable-tap-tests????????????啟用TAP測試(需要Perl和IPC?::?Run)
??--enable-depend???????????????打開自動依賴性跟蹤
??--enable-cassert??????????????啟用斷言檢查(用于調試)
??--disable-thread-safety???????禁用客戶端庫中的線程安全
??--disable-largefile???????????省略對大文件的支持
??--disable-float4-byval????????禁用按值傳遞的float4
??--disable-float8-byval????????禁用由值傳遞的float8

可選軟件包:
??--with-PACKAGE?[=?ARG]????????使用包[ARG?=?yes]
??--without-PACKAGE?????????????不要使用PACKAGE(與--with-PACKAGE?=?no相同)
??--with-extra-version?=?STRING?將STRING附加到版本
??--with-template?=?NAME????????覆蓋操作系統模板
??--with-includes?=?DIRS????????在DIRS中查找其他頭文件
??--with-libraries?=?DIRS???????在DIRS中尋找其他庫
??--with-libs?=?DIRS????????????--with-libraries的替代拼寫
??--with-pgport?=?PORTNUM???????設置默認端口號[5432]
??--with-blocksize?=?blocksize??將表塊大小設置為kB?[8]
??--with-segsize?=?SEGSIZE??????以GB為單位設置表段的大小[1]
??--with-wal-blocksize=blocksize???在kB中設置WAL塊大小[8]
??--with-wal-segsize?=?SEGSIZE??以MB為單位設置WAL段大小[16]
??--with-CC?=?CMD???????????????設置編譯器(不建議使用)
??--with-icu????????????????????在ICU支持下進行構建
??--with-tcl????????????????????構建Tcl模塊(PL?/?Tcl)
??--with-tclconfig?=?DIR????????tclConfig.sh在DIR中
??--with-perl???????????????????構建Perl模塊(PL?/?Perl)
??--with-python?????????????????構建Python模塊(PL?/?Python)
??--with-gssapi?????????????????構建具有GSSAPI支持
??--with-krb-srvnam?=?NAME??????Kerberos(GSSAPI)中的默認服務主體名稱[postgres]
??--with-pam????????????????????建立并支持PAM
??--with-bsd-auth???????????????構建具有BSD身份驗證支持
??--with-ldap???????????????????建立LDAP支持
??--with-bonjour????????????????在Bonjour支持下進行構建
??--with-openssl????????????????建立具有OpenSSL支持
??--with-selinux????????????????構建帶有SELinux支持
??--with-systemd????????????????構建并具有systemd支持
??--without-readline????????????不要使用GNU?Readline或BSD?Libedit進行編輯
??--with-libedit-preferred??????比GNU?Readline更喜歡BSD?Libedit
??--with-uuid?=?LIB?????????????使用LIB(bsd,e2fs,ossp)構建contrib?/?uuid-ossp
??--with-ossp-uuid??????????????--with-uuid?=?ossp的過時拼寫
??--with-libxml?????????????????建立XML支持
??--with-libxslt????????????????在構建contrib?/?xml2時使用XSLT支持
??--with-system-tzdata?=?DIR????在DIR中使用系統時區數據
??--without-zlib????????????????不要使用Zlib
??--with-gnu-ld?????????????????假定C編譯器使用GNU?ld?[default?=?no]

一些有影響力的環境變量:
??CC????????????????????????????C編譯器命令
??CFLAGS????????????????????????C編譯器標志
??LDFLAGS???????????????????????鏈接器標志,例如-L?<lib?dir>(如果您在非標準目錄<lib?dir>LIBS庫傳遞給鏈接器,例如-l?<library>
??CPPFLAGS?????????????????????(客觀)C?/?C?++預處理器標志,例如,如果-I?<include?dir>您在非標準目錄<include?dir>中具有標題
??CPP???????????????????????????C預處理器
??PKG_CONFIG????????????????????到pkg-config實用程序的路徑
??PKG_CONFIG_PATH???????????????要添加到pkg-config的搜索路徑的目錄
??PKG_CONFIG_LIBDIR?????????????覆蓋pkg-config的內置搜索路徑的路徑
??ICU_CFLAGS????????????????????ICU的C編譯器標志,覆蓋pkg-config
??ICU的ICU_LIBS?????????????????鏈接器標志,覆蓋pkg-config
??LDFLAGS_EX????????????????????額外的鏈接器標志,僅用于鏈接可執行文件
??LDFLAGS_SL????????????????????額外的鏈接器標志,僅用于鏈接共享庫

使用這些變量來覆蓋`configure'所做的選擇或提供幫助
查找具有非標準名稱/位置的庫和程序。

向<pgsql-bugs@postgresql.org>報告錯誤。



當前配置如下:
./configure?--prefix=/home/postgresql/postgresql10/prefix?--exec-prefix=/home/postgresql/postgresql10/execprefix?--htmldir=/home/postgresql/postgresql10/html?--with-pgport=1922??--with-openssl?--with-perl?--with-tcl?--with-python?--with-pam?--without-ldap?--with-libxml?--with-libxslt?--enable-thread-safety?--with-wal-blocksize=16?--with-blocksize=8?--enable-dtrace?--enable-debug


?

完成不報錯如下:

PostgreSql源碼方式安裝


如果報錯缺少依賴包,根據提示yum相關包,重新配置

編譯:
gmake?world??????????????--包括第三方插件全部編譯


?結果如下:

PostgreSql源碼方式安裝

?

gmake?check-world????--這個需要使用普通用戶執行,可選,耗時較長


?結果如下:

PostgreSql源碼方式安裝

?安裝:
gmake?install-world????--?包括第三方插件全部安裝

PostgreSql源碼方式安裝

7. 配置環境變量:

PostgreSql源碼方式安裝


根據當前配置安裝完成后,相關目錄結構如下:

?

[postgresql@ygg?~]$?tree?-d
.
`--?postgresql10
????|--?data
????|--?execprefix
????|???|--?bin
????|???`--?lib
????|???????|--?pgxs
????|???????|???|--?config
????|???????|???`--?src
????|???????|???????|--?makefiles
????|???????|???????`--?test
????|???????|???????????`--?regress
????|???????`--?pkgconfig
????|--?html
????|???`--?html
????`--?prefix
????????|--?include
????????|???|--?informix
????????|???|???`--?esql
????????|???|--?internal
????????|???|???`--?libpq
????????|???|--?libpq
????????|???`--?server
????????|???????|--?access
????????|???????|--?bootstrap
????????|???????|--?catalog
????????|???????|--?commands
????????|???????|--?common
????????|???????|--?datatype
????????|???????|--?executor
????????|???????|--?fe_utils
????????|???????|--?foreign
????????|???????|--?lib
????????|???????|--?libpq
????????|???????|--?mb
????????|???????|--?nodes
????????|???????|--?optimizer
????????|???????|--?parser
????????|???????|--?port
????????|???????|???|--?atomics
????????|???????|???|--?win32
????????|???????|???|???|--?arpa
????????|???????|???|???|--?netinet
????????|???????|???|???`--?sys
????????|???????|???`--?win32_msvc
????????|???????|???????`--?sys
????????|???????|--?portability
????????|???????|--?postmaster
????????|???????|--?regex
????????|???????|--?replication
????????|???????|--?rewrite
????????|???????|--?snowball
????????|???????|???`--?libstemmer
????????|???????|--?statistics
????????|???????|--?storage
????????|???????|--?tcop
????????|???????|--?tsearch
????????|???????|???`--?dicts
????????|???????`--?utils
????????`--?share
????????????|--?doc
????????????|???`--?extension
????????????|--?extension
????????????|--?man
????????????|???|--?man1
????????????|???|--?man3
????????????|???`--?man7
????????????|--?timezone
????????????|???|--?Africa
????????????|???|--?America
????????????|???|???|--?Argentina
????????????|???|???|--?Indiana
????????????|???|???|--?Kentucky
????????????|???|???`--?North_Dakota
????????????|???|--?Antarctica
????????????|???|--?Arctic
????????????|???|--?Asia
????????????|???|--?Atlantic
????????????|???|--?Australia
????????????|???|--?Brazil
????????????|???|--?Canada
????????????|???|--?Chile
????????????|???|--?Etc
????????????|???|--?Europe
????????????|???|--?Indian
????????????|???|--?Mexico
????????????|???|--?Pacific
????????????|???`--?US
????????????|--?timezonesets
????????????`--?tsearch_data

二、卸載:

編譯安裝后如何卸載

?一般的,清除安裝目錄,再次安裝可以嘗試重新指定路徑(安裝時指定安裝目錄)?在安裝的時候加 prefix ,不然的話雖然用find命令可以找出一些相關文件,但是對于修改了配置,比如加入啟動項之類的操作就不好根除?通常只能用find去手動清除。所以軟件通常都會提供uninstall的程序來執行卸載操作。

三、僅僅安裝客戶端

如果只想安裝客戶端應用程序和接口庫,則可以使用以下命令

?
make?-C?src/bin?install
make?-C?src/include?install
make?-C?src/interfaces?install
make?-C?doc?install


向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

班戈县| 贡嘎县| 耿马| 金寨县| 贵港市| 阳山县| 扶绥县| 遂川县| 武平县| 惠安县| 高青县| 湟源县| 东城区| 碌曲县| 新邵县| 卢氏县| 兴安盟| 嘉禾县| 钦州市| 望江县| 大悟县| 沾益县| 罗平县| 泸州市| 新宾| 科技| 秭归县| 东乡县| 依安县| 通化县| 木兰县| 临西县| 广西| 彭州市| 张家川| 和政县| 阜宁县| 镇宁| 班戈县| 江津市| 江山市|