Changeset faf325d for server/databases/postgresql.xml
- Timestamp:
- 05/12/2013 04:46:18 PM (11 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 4af4be4
- Parents:
- 44b8f10
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/databases/postgresql.xml
r44b8f10 rfaf325d 94 94 following commands: </para> 95 95 96 <screen><userinput>./configure --prefix=/usr \ 96 <screen><userinput>sed -e "s@DEFAULT_PGSOCKET_DIR \"/tmp\"@DEFAULT_PGSOCKET_DIR \"/run/postgresql\"@" \ 97 -i src/include/pg_config_manual.h && 98 ./configure --prefix=/usr \ 97 99 --enable-thread-safety \ 98 100 --docdir=/usr/share/doc/postgresql-&postgresql-version; && … … 118 120 <systemitem class="username">root</systemitem> user:</para> 119 121 120 <screen role="root"><userinput>install -v -m700 -d /srv/pgsql/data && 122 <screen role="root"><userinput>install -v -dm700 /srv/pgsql/data && 123 install -v -dm755 /run/postgresql && 121 124 groupadd -g 41 postgres && 122 125 useradd -c "PostgreSQL Server" -g postgres -d /srv/pgsql/data \ 123 126 -u 41 postgres && 124 chown - v postgres /srv/pgsql/data&&127 chown -Rv postgres:postgres /srv/pgsql /run/postgresql && 125 128 su - postgres -c '/usr/bin/initdb -D /srv/pgsql/data'</userinput></screen> 126 129 … … 149 152 <sect2 role="commands"> 150 153 <title>Command Explanations</title> 154 155 <para> 156 <command>sed -e ...</command>: This sed changes server socket location 157 from <filename class="directory">/tmp</filename> to 158 <filename class="directory">/run/postgresql</filename>. 159 </para> 151 160 152 161 <para><parameter>--docdir=/usr/share/doc/postgresql-&postgresql-version;</parameter>:
Note:
See TracChangeset
for help on using the changeset viewer.