内射老阿姨1区2区3区4区_久久精品人人做人人爽电影蜜月_久久国产精品亚洲77777_99精品又大又爽又粗少妇毛片

PostgreSQLforLinux安裝方式-創(chuàng)新互聯(lián)

1、環(huán)境規(guī)劃

在蘆淞等地區(qū),都構(gòu)建了全面的區(qū)域性戰(zhàn)略布局,加強發(fā)展的系統(tǒng)性、市場前瞻性、產(chǎn)品創(chuàng)新能力,以專注、極致的服務(wù)理念,為客戶提供網(wǎng)站制作、成都網(wǎng)站建設(shè) 網(wǎng)站設(shè)計制作按需網(wǎng)站建設(shè),公司網(wǎng)站建設(shè),企業(yè)網(wǎng)站建設(shè),成都品牌網(wǎng)站建設(shè),營銷型網(wǎng)站建設(shè),外貿(mào)營銷網(wǎng)站建設(shè),蘆淞網(wǎng)站建設(shè)費用合理。
目錄名稱 存放位置
Postgres 用戶家目錄/home/postgres
軟件存放目錄/home/soft
安裝目錄/usr/local
數(shù)據(jù)目錄/home/postgres/data/

2、安裝流程
2.1 解壓安裝
在操作系統(tǒng)安裝完成后,按照表格規(guī)劃目錄。
1)安裝部署參考文檔
下載頁:https://www.enterprisedb.com/download-postgresql-binaries
軟件包:postgresql-10.7-2-linux-x64-binaries.tar.gz
2)創(chuàng)建 postgre 安裝用戶

useradd postgres
passwd postgres

3)創(chuàng)建 postgre 安裝目錄及數(shù)據(jù)目錄

mkdir -p /home/postgres/data/
chown -R postgres:postgres  /home/postgres/data/
chmod -R 775 /home/postgres/data/

4)解壓安裝

tar -xvf postgresql-10.8-4-linux-x64-binaries.tar -C /home/postgres/
[root@leo postgres]# chmod -R 777 pgsql
[root@leo postgres]# ll
total 12
drwxrwxrwx 9 root root 4096 Apr 10 03:24 pgsql 
drwx------ 19 postgres postgres 4096 Apr 15 11:33 pgsql_data

5)初始化數(shù)據(jù)庫

[postgres@leo bin]$cd /home/postgres/pgsql/bin
[postgres@leo bin]$ ./initdb -D /home/postgres/data/
The files belonging to this database system will be owned by user "postgres". This user must also own the server process.
The database cluster will be initialized with locale "en_US.UTF-8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory /home/postgres/data ... ok creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting dynamic shared memory implementation ... posix creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
Success. You can now start the database server using: ./pg_ctl -D /home/postgres/data/ -l logfile start

6)啟動數(shù)據(jù)庫

[postgres@leo bin]$ ./pg_ctl -D /home/postgres/data/ -l logfile start 
waiting for server to start.... done
server started

7)停止數(shù)據(jù)庫

./pg_ctl -D /home/postgres/data/ stop

另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國服務(wù)器、虛擬主機、免備案服務(wù)器”等云主機租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務(wù)可用性高、性價比高”等特點與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場景需求。

文章題目:PostgreSQLforLinux安裝方式-創(chuàng)新互聯(lián)
文章URL:http://www.rwnh.cn/article18/jopgp.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供品牌網(wǎng)站建設(shè)關(guān)鍵詞優(yōu)化、搜索引擎優(yōu)化微信公眾號、網(wǎng)站設(shè)計、App設(shè)計

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

成都app開發(fā)公司
泰安市| 灵石县| 怀化市| 四平市| 多伦县| 布尔津县| 木兰县| 沽源县| 杂多县| 嘉祥县| 浦东新区| 长阳| 湖南省| 娱乐| 扎鲁特旗| 潜江市| 邳州市| 郁南县| 安丘市| 宜兰县| 太保市| 盐池县| 揭西县| 澄城县| 怀化市| 滦南县| 舒城县| 确山县| 都江堰市| 资中县| 若尔盖县| 福贡县| 永康市| 绵阳市| 金平| 富平县| 徐闻县| 波密县| 双江| 苏尼特右旗| 武宣县|