Changeset bc9c5251
- Timestamp:
- 12/16/2021 08:59:39 PM (2 years ago)
- Branches:
- 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 9532fa4
- Parents:
- 60351e5b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/databases/postgresql.xml
r60351e5b rbc9c5251 195 195 <para>Fist, do a temporary install which makes access to the new 196 196 binaries much easier:</para> 197 <screen ><userinput>make DESTDIR=$(pwd)/DESTDIR install</userinput></screen>197 <screen role="nodump"><userinput>make DESTDIR=$(pwd)/DESTDIR install</userinput></screen> 198 198 199 199 <para>Next, create a directory which is writable by the … … 201 201 <systemitem class="username">root</systemitem> user:</para> 202 202 203 <screen ><userinput role="root">install -D -o postgres $(pwd)/DESTDIR/tmp</userinput></screen>203 <screen role="nodump"><userinput>install -D -o postgres $(pwd)/DESTDIR/tmp</userinput></screen> 204 204 205 205 <para>Now, stop the existing instance of <application>PostgreSQL</application> … … 207 207 <systemitem class="username">root</systemitem> user:</para> 208 208 209 <screen revision="sysv" ><userinput role="root">pushd $(pwd)/DESTDIR/tmp209 <screen revision="sysv" role="nodump"><userinput>pushd $(pwd)/DESTDIR/tmp 210 210 /etc/rc.d/init.d/postgresql stop 211 211 su postgres -c "../usr/bin/initdb -D /srv/pgsql/newdata" … … 215 215 popd</userinput></screen> 216 216 217 <screen revision="systemd" ><userinput role="root">pushd $(pwd)/DESTDIR/tmp217 <screen revision="systemd" role="root"><userinput>pushd $(pwd)/DESTDIR/tmp 218 218 systemctl stop postgresql 219 219 su postgres -c "../usr/bin/initdb -D /srv/pgsql/newdata" … … 232 232 directory as the <systemitem class="username">root</systemitem> user:</para> 233 233 234 <screen ><userinput role="root">rm -rf /srv/pgsql/data234 <screen role="nodump"><userinput>rm -rf /srv/pgsql/data 235 235 mv /srv/pgsql/newdata /srv/pgsql/data</userinput></screen> 236 236
Note:
See TracChangeset
for help on using the changeset viewer.