popovnv

Untitled

Oct 9th, 2017
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 28.31 KB | None | 0 0
  1. [root@centos6g1 deploy]# cat /etc/system-release
  2. CentOS release 6.9 (Final)
  3.  
  4.  
  5. [root@centos6g1 deploy]# tar -xzvf centos-2017-10-09.tar.gz
  6. centos/
  7. centos/6/
  8. centos/6/os/
  9. centos/6/os/x86_64/
  10. centos/6/os/x86_64/rpms/
  11. centos/6/os/x86_64/rpms/postgrespro-enterprise96-docs-ru-9.6.5.1-1.el6.x86_64.rpm
  12. centos/6/os/x86_64/rpms/postgrespro-enterprise96-9.6.5.1-1.el6.x86_64.rpm
  13. centos/6/os/x86_64/rpms/postgrespro-enterprise96-contrib-9.6.5.1-1.el6.x86_64.rpm
  14. centos/6/os/x86_64/rpms/repodata/
  15. centos/6/os/x86_64/rpms/repodata/b14359972fe2161e656c148ba37038af41b1e3d62d85306bc755e74fbc7bb5bb-filelists.sqlite.bz2
  16. centos/6/os/x86_64/rpms/repodata/3a5b141eb527563ec9b26934e88dddd722bd080cecd787101db6cd8da92807c1-filelists.xml.gz
  17. centos/6/os/x86_64/rpms/repodata/28e783a5563f54800ca315133f6ebc772a7859c147e4e10a282ade1ce9e7fe42-other.sqlite.bz2
  18. centos/6/os/x86_64/rpms/repodata/1c725c1a132b0a570bacb53e226602bb3ad034b2897d54b44c931593c6281b94-primary.xml.gz
  19. centos/6/os/x86_64/rpms/repodata/26a6396e4870a4a5f1d2c964a21039dba0976119ec248f1b0dbc115ac0cee65e-primary.sqlite.bz2
  20. centos/6/os/x86_64/rpms/repodata/repomd.xml
  21. centos/6/os/x86_64/rpms/repodata/fc2a0715846d0ee4efe37a03039c37a50778a67768c32fdf0a2d35b80c567f69-other.xml.gz
  22. centos/6/os/x86_64/rpms/postgrespro-enterprise96-plperl-9.6.5.1-1.el6.x86_64.rpm
  23. centos/6/os/x86_64/rpms/mamonsu-2.2.9-1.el6.noarch.rpm
  24. centos/6/os/x86_64/rpms/postgrespro-enterprise96-plpython-9.6.5.1-1.el6.x86_64.rpm
  25. centos/6/os/x86_64/rpms/postgrespro-enterprise96-pg_probackup-9.6.5.1-1.el6.x86_64.rpm
  26. centos/6/os/x86_64/rpms/postgrespro-enterprise96-libs-9.6.5.1-1.el6.x86_64.rpm
  27. centos/6/os/x86_64/rpms/libzstd-1.1.0-1.el6.x86_64.rpm
  28. centos/6/os/x86_64/rpms/postgrespro-enterprise96-docs-9.6.5.1-1.el6.x86_64.rpm
  29. centos/6/os/x86_64/rpms/postgrespro-enterprise96-devel-9.6.5.1-1.el6.x86_64.rpm
  30. centos/6/os/x86_64/rpms/pg_repack96-1.3.4-1.el6.x86_64.rpm
  31. centos/6/os/x86_64/rpms/postgrespro-enterprise96-test-9.6.5.1-1.el6.x86_64.rpm
  32. centos/6/os/x86_64/rpms/postgrespro-enterprise96-pltcl-9.6.5.1-1.el6.x86_64.rpm
  33. centos/6/os/x86_64/rpms/postgrespro-enterprise96-server-9.6.5.1-1.el6.x86_64.rpm
  34. centos/7/
  35. centos/7/os/
  36. centos/7/os/x86_64/
  37. centos/7/os/x86_64/rpms/
  38. centos/7/os/x86_64/rpms/libzstd-1.1.0-1.el7.centos.x86_64.rpm
  39. centos/7/os/x86_64/rpms/repodata/
  40. centos/7/os/x86_64/rpms/repodata/c777c499861d26017a4a50737998b45ff79f25780d79d91a717070dba4782e15-other.sqlite.bz2
  41. centos/7/os/x86_64/rpms/repodata/e0e3211d7ef08f188ac9156d3841d06f3fae940b5ee35032cf76daa37435ea87-filelists.sqlite.bz2
  42. centos/7/os/x86_64/rpms/repodata/639febe1d9b345d5f5fbfcc28bd0474e4da568d7248df6f1ca994d385bac2fe4-primary.sqlite.bz2
  43. centos/7/os/x86_64/rpms/repodata/5d18db9751c32e09a0e5e6c0b66f88b128f58e4f003d8c0102d25812f5aa55d1-primary.xml.gz
  44. centos/7/os/x86_64/rpms/repodata/repomd.xml
  45. centos/7/os/x86_64/rpms/repodata/082930e161bdba80a6547d0bb4b7e9641c16c26bb1d7c9ad7dbcce2fb41431f3-filelists.xml.gz
  46. centos/7/os/x86_64/rpms/repodata/681be6b6cbf9afc1ad0b1b6bd1ae205eaf92e824e0891c4bb69aef71b7fc1998-other.xml.gz
  47. centos/7/os/x86_64/rpms/postgrespro-enterprise96-pg_probackup-9.6.5.1-1.el7.centos.x86_64.rpm
  48. centos/7/os/x86_64/rpms/mamonsu-2.2.9-1.el7.centos.noarch.rpm
  49. centos/7/os/x86_64/rpms/postgrespro-enterprise96-docs-9.6.5.1-1.el7.centos.x86_64.rpm
  50. centos/7/os/x86_64/rpms/postgrespro-enterprise96-pltcl-9.6.5.1-1.el7.centos.x86_64.rpm
  51. centos/7/os/x86_64/rpms/postgrespro-enterprise96-test-9.6.5.1-1.el7.centos.x86_64.rpm
  52. centos/7/os/x86_64/rpms/pg_repack96-1.3.4-1.el7.centos.x86_64.rpm
  53. centos/7/os/x86_64/rpms/postgrespro-enterprise96-docs-ru-9.6.5.1-1.el7.centos.x86_64.rpm
  54. centos/7/os/x86_64/rpms/postgrespro-enterprise96-devel-9.6.5.1-1.el7.centos.x86_64.rpm
  55. centos/7/os/x86_64/rpms/postgrespro-enterprise96-libs-9.6.5.1-1.el7.centos.x86_64.rpm
  56. centos/7/os/x86_64/rpms/postgrespro-enterprise96-server-9.6.5.1-1.el7.centos.x86_64.rpm
  57. centos/7/os/x86_64/rpms/postgrespro-enterprise96-9.6.5.1-1.el7.centos.x86_64.rpm
  58. centos/7/os/x86_64/rpms/postgrespro-enterprise96-contrib-9.6.5.1-1.el7.centos.x86_64.rpm
  59. centos/7/os/x86_64/rpms/postgrespro-enterprise96-plpython-9.6.5.1-1.el7.centos.x86_64.rpm
  60. centos/7/os/x86_64/rpms/postgrespro-enterprise96-plperl-9.6.5.1-1.el7.centos.x86_64.rpm
  61.  
  62.  
  63. [root@centos6g1 deploy]# yum -y install ./centos/6/os/x86_64/rpms/*.rpm
  64. # su -l postgres -c "/usr/pgproee-9.6/bin/initdb --pgdata=/var/lib/pgproee/9.6/data --data-checksums"
  65. The files belonging to this database system will be owned by user "postgres".
  66. This user must also own the server process.
  67.  
  68. The database cluster will be initialized with locale "en_US.UTF-8".
  69. The default database encoding has accordingly been set to "UTF8".
  70. The default text search configuration will be set to "english".
  71.  
  72. Data page checksums are enabled.
  73.  
  74. fixing permissions on existing directory /var/lib/pgproee/9.6/data ... ok
  75. creating subdirectories ... ok
  76. selecting default max_connections ... 100
  77. selecting default shared_buffers ... 128MB
  78. selecting dynamic shared memory implementation ... posix
  79. creating configuration files ... ok
  80. running bootstrap script ... ok
  81. performing post-bootstrap initialization ... ok
  82. syncing data to disk ... ok
  83.  
  84. WARNING: enabling "trust" authentication for local connections
  85. You can change this by editing pg_hba.conf or using the option -A, or
  86. --auth-local and --auth-host, the next time you run initdb.
  87.  
  88. Success. You can now start the database server using:
  89.  
  90.     /usr/pgproee-9.6/bin/pg_ctl -D /var/lib/pgproee/9.6/data -l logfile start
Advertisement
Add Comment
Please, Sign In to add comment