Обсуждение: Re: [SQL] Installing PostgreSQL 6.3.2 On Linux

Поиск
Список
Период
Сортировка

Re: [SQL] Installing PostgreSQL 6.3.2 On Linux

От
"James Oden"
Дата:

>I am trying to install Postgres on a Linux machine and have managed to do
>'make' and 'make install' ok but when i try and do 'initdb' i get a message
>saying illegal command
>--F
>can anyone guide me.
That is the shell telling you it can't find the command initdb in your path.
So what you need to do is one of three things:

   1)  Add the path to initdb to your PATH environment variable.

    2) Type the full path to the command when you run it.

    3)  cd into the directory in initdb is and type ./initdb

Any of the above should get you going...james