Changes between Version 11 and Version 12 of UsersWikiPostGIS20Ubuntu1204
- Timestamp:
- 05/05/12 22:51:10 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsersWikiPostGIS20Ubuntu1204
v11 v12 124 124 Note that some online documentation recommends setting up a system user account called 'postgres' with superuser privileges, but this is not a requirement for getting started. 125 125 126 Next steps - start logged in as your user account 126 Next steps - start these steps logged in as your user account: 127 '''NOTE:''' you do not have to use the same password for the system and PostgreSQL user accounts that share the same name. 127 128 {{{ 128 129 $ sudo passwd postgres … … 143 144 144 145 If you're going to want to connect to the PostgreSQL database using your own account (so you don't have to fool around with 'postgres'), you may want to do this: 145 146 {{{ 147 148 }}} 149 150 Now, you should be able to 146 {{{ 147 user$ sudo -s -u postgres 148 postgres$ createuser --superuser $user ---- note: createuser is a command line tool to create a PostgreSQL user, not a system account 149 postgres$ createdb $user 150 postgres$ psql 151 psql (9.1.3) 152 Type "help" for help. 153 154 postgres=# \password $user 155 Enter new password: 156 Enter it again: 157 postgres=# \q 158 postgres$ exit 159 user$ psql 160 psql (9.1.3) 161 Type "help" for help. 162 163 $user=# 164 }}} 165 166 As noted above, this is a great resource: https://help.ubuntu.com/community/PostgreSQL. 167 151 168 152 169 If you connect through pgadmin, use the following attributes: