On 9/5/23 06:07, jacktby jacktby wrote:
Sorry, I make a mistake, I should make install. That’s my fault

FYI, that will not create the data/ directory by itself. You will need to do that yourself.

See the steps here:

https://www.postgresql.org/docs/current/install-short.html

The above assumes you have left --prefix to be the default of /usr/local/pgsql. If not adjust accordingly.


2023年9月5日 20:08,Jeremy Garniaux <jer...@mapper.fr> 写道:

Hi,

The command you described:

Le 05/09/2023 à 13:41, jacktby jacktby a écrit :
rm -rf /data

has for effect to remove the /data directory and all its content. See: https://explainshell.com/explain?cmd=rm+-rf+%2Fdata

It explains why you don't get the /data content.

Jeremy

Jeremy Garniaux
https://mapper.fr


--
Adrian Klaver
adrian.kla...@aklaver.com



Reply via email to