Created
February 22, 2016 09:53
-
-
Save Soolan/8f1af892dd0eeeca0527 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Author : Sohail Salehi <info@soolan.com> | |
# | |
# Hello. My name is Sohail Salehi and I am a fullstack web developer. | |
# I would love to bring years of my experience to your projects. | |
# remote/onsite projects are welcome. | |
# Please check my CV and let me know if I could be any help. | |
# http://soolan.com | |
Install postgresql under debian: | |
apt-get install postgresql postgresql-client | |
apt-get install php5-pgsql | |
su - postgres | |
psql | |
CREATE USER mypguser WITH PASSWORD 'mypguserpass'; | |
CREATE DATABASE mypgdatabase; | |
GRANT ALL PRIVILEGES ON DATABASE mypgdatabase to mypguser; | |
\q | |
Change the symfony apps/config/paramters.ini file: | |
[parameters] | |
database_driver: pdo_pgsql | |
database_host: localhost | |
database_port: null | |
database_name: mypgdatabase | |
database_user: mypguser | |
database_password: mypguserpass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment