Advertisement
NLinker

Ctus 10 installation

Mar 19th, 2024
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.01 KB | Software | 0 0
  1. nick@K42J:~$ curl https://install.citusdata.com/community/deb.sh | sudo bash
  2. nick@K42J:~$ sudo apt install postgresql-12-citus-10.2
  3. Reading package lists... Done
  4. Building dependency tree
  5. Reading state information... Done
  6. The following additional packages will be installed:
  7. libcommon-sense-perl libjson-perl libjson-xs-perl libllvm10 libpq5 libtypes-serialiser-perl postgresql-12 postgresql-client-12
  8. postgresql-client-common postgresql-common sysstat
  9. Suggested packages:
  10. postgresql-doc-12 isag
  11. The following NEW packages will be installed:
  12. libcommon-sense-perl libjson-perl libjson-xs-perl libllvm10 libpq5 libtypes-serialiser-perl postgresql-12 postgresql-12-citus-10.2
  13. postgresql-client-12 postgresql-client-common postgresql-common sysstat
  14. 0 upgraded, 12 newly installed, 0 to remove and 261 not upgraded.
  15. Need to get 35,1 MB of archives.
  16. After this operation, 140 MB of additional disk space will be used.
  17. Do you want to continue? [Y/n] Y
  18. Get:1 http://ru.archive.ubuntu.com/ubuntu focal/main amd64 libjson-perl all 4.02000-2 [80,9 kB]
  19. Get:2 http://apt.postgresql.org/pub/repos/apt focal-pgdg/main amd64 postgresql-client-common all 257.pgdg20.04+1 [94,3 kB]
  20. Get:3 http://ru.archive.ubuntu.com/ubuntu focal/main amd64 libcommon-sense-perl amd64 3.74-2build6 [20,1 kB]
  21. Get:4 http://ru.archive.ubuntu.com/ubuntu focal/main amd64 libtypes-serialiser-perl all 1.0-1 [12,1 kB]
  22. Get:5 http://ru.archive.ubuntu.com/ubuntu focal/main amd64 libjson-xs-perl amd64 4.020-1build1 [83,7 kB]
  23. Get:6 http://ru.archive.ubuntu.com/ubuntu focal/main amd64 libllvm10 amd64 1:10.0.0-4ubuntu1 [15,3 MB]
  24. Get:7 http://apt.postgresql.org/pub/repos/apt focal-pgdg/main amd64 postgresql-common all 257.pgdg20.04+1 [239 kB]
  25. Get:8 http://apt.postgresql.org/pub/repos/apt focal-pgdg/main amd64 libpq5 amd64 16.2-1.pgdg20.04+1 [214 kB]
  26. Get:10 http://apt.postgresql.org/pub/repos/apt focal-pgdg/main amd64 postgresql-client-12 amd64 12.18-1.pgdg20.04+1 [1 431 kB]
  27. Get:9 https://repos.citusdata.com/community/ubuntu focal/main amd64 postgresql-12-citus-10.2 amd64 10.2.9.citus-1 [2 286 kB]
  28. Get:11 http://apt.postgresql.org/pub/repos/apt focal-pgdg/main amd64 postgresql-12 amd64 12.18-1.pgdg20.04+1 [14,9 MB]
  29. Get:12 http://ru.archive.ubuntu.com/ubuntu focal-updates/main amd64 sysstat amd64 12.2.0-2ubuntu0.3 [448 kB]
  30. Fetched 35,1 MB in 16s (2 211 kB/s)
  31. Preconfiguring packages ...
  32. Selecting previously unselected package libjson-perl.
  33. (Reading database ... 123801 files and directories currently installed.)
  34. Preparing to unpack .../00-libjson-perl_4.02000-2_all.deb ...
  35. Unpacking libjson-perl (4.02000-2) ...
  36. Selecting previously unselected package postgresql-client-common.
  37. Preparing to unpack .../01-postgresql-client-common_257.pgdg20.04+1_all.deb ...
  38. Unpacking postgresql-client-common (257.pgdg20.04+1) ...
  39. Selecting previously unselected package postgresql-common.
  40. Preparing to unpack .../02-postgresql-common_257.pgdg20.04+1_all.deb ...
  41. Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common'
  42. Unpacking postgresql-common (257.pgdg20.04+1) ...
  43. Selecting previously unselected package libcommon-sense-perl.
  44. Preparing to unpack .../03-libcommon-sense-perl_3.74-2build6_amd64.deb ...
  45. Unpacking libcommon-sense-perl (3.74-2build6) ...
  46. Selecting previously unselected package libtypes-serialiser-perl.
  47. Preparing to unpack .../04-libtypes-serialiser-perl_1.0-1_all.deb ...
  48. Unpacking libtypes-serialiser-perl (1.0-1) ...
  49. Selecting previously unselected package libjson-xs-perl.
  50. Preparing to unpack .../05-libjson-xs-perl_4.020-1build1_amd64.deb ...
  51. Unpacking libjson-xs-perl (4.020-1build1) ...
  52. Selecting previously unselected package libllvm10:amd64.
  53. Preparing to unpack .../06-libllvm10_1%3a10.0.0-4ubuntu1_amd64.deb ...
  54. Unpacking libllvm10:amd64 (1:10.0.0-4ubuntu1) ...
  55. Selecting previously unselected package libpq5:amd64.
  56. Preparing to unpack .../07-libpq5_16.2-1.pgdg20.04+1_amd64.deb ...
  57. Unpacking libpq5:amd64 (16.2-1.pgdg20.04+1) ...
  58. Selecting previously unselected package postgresql-client-12.
  59. Preparing to unpack .../08-postgresql-client-12_12.18-1.pgdg20.04+1_amd64.deb ...
  60. Unpacking postgresql-client-12 (12.18-1.pgdg20.04+1) ...
  61. Selecting previously unselected package postgresql-12.
  62. Preparing to unpack .../09-postgresql-12_12.18-1.pgdg20.04+1_amd64.deb ...
  63. Unpacking postgresql-12 (12.18-1.pgdg20.04+1) ...
  64. Selecting previously unselected package postgresql-12-citus-10.2.
  65. Preparing to unpack .../10-postgresql-12-citus-10.2_10.2.9.citus-1_amd64.deb ...
  66. Unpacking postgresql-12-citus-10.2 (10.2.9.citus-1) ...
  67. Selecting previously unselected package sysstat.
  68. Preparing to unpack .../11-sysstat_12.2.0-2ubuntu0.3_amd64.deb ...
  69. Unpacking sysstat (12.2.0-2ubuntu0.3) ...
  70. Setting up postgresql-client-common (257.pgdg20.04+1) ...
  71. Setting up libpq5:amd64 (16.2-1.pgdg20.04+1) ...
  72. Setting up libcommon-sense-perl (3.74-2build6) ...
  73. Setting up libllvm10:amd64 (1:10.0.0-4ubuntu1) ...
  74. Setting up postgresql-client-12 (12.18-1.pgdg20.04+1) ...
  75. update-alternatives: using /usr/share/postgresql/12/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
  76. Setting up libtypes-serialiser-perl (1.0-1) ...
  77. Setting up libjson-perl (4.02000-2) ...
  78. Setting up sysstat (12.2.0-2ubuntu0.3) ...
  79.  
  80. Creating config file /etc/default/sysstat with new version
  81. update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode
  82. Created symlink /etc/systemd/system/multi-user.target.wants/sysstat.service → /lib/systemd/system/sysstat.service.
  83. Setting up libjson-xs-perl (4.020-1build1) ...
  84. Setting up postgresql-common (257.pgdg20.04+1) ...
  85. Adding user postgres to group ssl-cert
  86.  
  87. Creating config file /etc/postgresql-common/createcluster.conf with new version
  88. Building PostgreSQL dictionaries from installed myspell/hunspell packages...
  89. en_us
  90. Removing obsolete dictionary files:
  91. '/etc/apt/trusted.gpg.d/apt.postgresql.org.gpg' -> '/usr/share/postgresql-common/pgdg/apt.postgresql.org.gpg'
  92. Created symlink /etc/systemd/system/multi-user.target.wants/postgresql.service → /lib/systemd/system/postgresql.service.
  93. Setting up postgresql-12 (12.18-1.pgdg20.04+1) ...
  94. Creating new PostgreSQL cluster 12/main ...
  95. /usr/lib/postgresql/12/bin/initdb -D /var/lib/postgresql/12/main --auth-local peer --auth-host md5
  96. The files belonging to this database system will be owned by user "postgres".
  97. This user must also own the server process.
  98.  
  99. The database cluster will be initialized with locales
  100. COLLATE: en_US.UTF-8
  101. CTYPE: en_US.UTF-8
  102. MESSAGES: en_US.UTF-8
  103. MONETARY: ru_RU.UTF-8
  104. NUMERIC: ru_RU.UTF-8
  105. TIME: ru_RU.UTF-8
  106. The default database encoding has accordingly been set to "UTF8".
  107. The default text search configuration will be set to "english".
  108.  
  109. Data page checksums are disabled.
  110.  
  111. fixing permissions on existing directory /var/lib/postgresql/12/main ... ok
  112. creating subdirectories ... ok
  113. selecting dynamic shared memory implementation ... posix
  114. selecting default max_connections ... 100
  115. selecting default shared_buffers ... 128MB
  116. selecting default time zone ... Asia/Omsk
  117. creating configuration files ... ok
  118. running bootstrap script ... ok
  119. performing post-bootstrap initialization ... ok
  120. syncing data to disk ... ok
  121.  
  122. Success. You can now start the database server using:
  123.  
  124. pg_ctlcluster 12 main start
  125.  
  126. Setting up postgresql-12-citus-10.2 (10.2.9.citus-1) ...
  127. Processing triggers for systemd (245.4-4ubuntu3.20) ...
  128. Processing triggers for man-db (2.9.1-1) ...
  129. Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
  130. nick@K42J:~$ pg_ctlcluster 12 main start
  131. Warning: the cluster will not be running as a systemd service. Consider using systemctl:
  132. sudo systemctl start postgresql@12-main
  133. Error: You must run this program as the cluster owner (postgres) or root
  134.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement