# # Start the EPAS server and initialize a new Postgres # data directory using the appropriate mechanism # for the operating system # if [ `cat /etc/redhat-release | grep "release 7" | wc -l` = 1 ] then /usr/lib/systemd/system/ppas-9.5.sh initdb systemctl start ppas-9.5.service elif [ `cat /etc/redhat-release | grep "release 6" | wc -l` = 1 ] then service ppas-9.5 initdb service ppas-9.5 start else su - enterprisedb -c "/usr/ppas-9.5/bin/initdb -D /var/lib/ppas/9.5/data" su - enterprisedb -c "/usr/ppas-9.5/bin/pg_ctl -D /var/lib/ppas/9.5/data start" fi
# # Connect to the "edb" database on the Postgres cluster running on port 5444, # list your connection info (\conninfo), list all databases on this cluster (\l) # list users in the cluster (\dg), list all the "\" commands (\? - commented # out below because it has pages of documentation, but please look at it), # and exit psql (exit). Execute as enterprisedb user. # su - enterprisedb -c "/usr/ppas-9.5/bin/psql -p 5444 -d edb" \conninfo \l \dg -- \? exit
# # Congratulations! You have successfully installed, configured, and connected to your first EPAS 9.5 cluster. #
This guide is intended to get you up and started with a default installation of EPAS 9.5 as quickly as possible. This is just the beginning though. Please stay tuned for more tutorials and demos of specific features available in EPAS 9.5.