<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forum PostgreSQL - Fedora 19 - instalacja postgresa]]></title>
	<link rel="self" href="http://forum.postgresql.org.pl/extern.php?action=feed&amp;tid=1895&amp;type=atom"/>
	<updated>2013-10-24T06:57:07Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.postgresql.org.pl/viewtopic.php?id=1895</id>
		<entry>
			<title type="html"><![CDATA[Odp: Fedora 19 - instalacja postgresa]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=4773#p4773"/>
			<content type="html"><![CDATA[Mam problem z instalacją PostgreSQL. Po uruchomieniu instalatora pokazuje mi się komunikat : "There has been an error. Unable to write inside TEMP environment variable path". Posiadam win7 64 bit. Moge prosić o pomoc co oznacza ten komunikat?]]></content>
			<author>
				<name><![CDATA[zibion]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=1662</uri>
			</author>
			<updated>2013-10-24T06:57:07Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=4773#p4773</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Fedora 19 - instalacja postgresa]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=4768#p4768"/>
			<content type="html"><![CDATA[OK,
po wielu trudach poradziłem sobie.

Do pkt 4)

A) 
Popatrz na plik 
/lib/systemd/system/postgresql.service
Jest fajnie okomentowany.

Więc zrobiłem sobie plik w 
/etc/systemd/system/moj_postgresql.service
gdzie dałem:
[Service]
Environment=PGDATA=/ścieżka/niebieski_cluster/

B)
ln -Z /lib/systemd/system/postgresql.service
a następnie ustawiam takie same
chcon -u ... -r ... -t ... /etc/systemd/system/moj_postgresql.service

C)
ln -Z /var/lib/pgsql/data
a następnie ustawiam takie same
chcon -R -u ... -r ... -t ... /ścieżka/niebieski_cluster/]]></content>
			<author>
				<name><![CDATA[tomek]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=1459</uri>
			</author>
			<updated>2013-10-16T10:50:28Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=4768#p4768</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Fedora 19 - instalacja postgresa]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=4763#p4763"/>
			<content type="html"><![CDATA[Tu powinieneś znaleźć pełny opis [url=http://wiki.postgresql.org/wiki/YUM_Installation]Link[/url]]]></content>
			<author>
				<name><![CDATA[c_michal]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=627</uri>
			</author>
			<updated>2013-10-15T06:46:02Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=4763#p4763</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Fedora 19 - instalacja postgresa]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=4762#p4762"/>
			<content type="html"><![CDATA[1)
yum install postgres
yum install pgadmin3


2)
yum install postgres-server postgresql-contrib postgresql-upgrade

passwd postgres                          #żeby ustawić niestandardowe hasło


3)
mkdir niebieski_cluster

chown postgres.postgres niebieski_cluster

su - postgres

initdb -E utf8 --locale="pl_PL.UTF8"
        -U użytkownik_root -W -A md5
        -D niebieski_cluster

4)
Teraz nie wiem co zrobić aby ten cluster był uruchamiany przy starcie systemu 
???????????
Szukałem w googlach i nic nie znalazłem.

5)
systemctl enable postgresql.service
- tylko że teraz odpalenie postgresa przy starcie systemu kończy się niepowodzeniem


---------------------------------------
Czy generalnie dobrze to robię, czego brakuje ?

Proszę o pomoc, podpowiedzi jak sprawić aby przy starcie systemu odpalał się daemon postgresa z niebieskim_clusterem.]]></content>
			<author>
				<name><![CDATA[tomek]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=1459</uri>
			</author>
			<updated>2013-10-14T13:40:40Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=4762#p4762</id>
		</entry>
</feed>
