Changes between Version 1 and Version 2 of UsersWikiPostGIS23UbuntuPGSQL96Apt
- Timestamp:
- 03/25/17 09:27:08 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsersWikiPostGIS23UbuntuPGSQL96Apt
v1 v2 214 214 215 215 {{{ 216 sudo su - postgres 217 }}} 218 219 {{{ 220 createuser -d -E -i -l -P -r -s yourUserName 221 }}} 222 223 (be sure to change the username to your desired username) 224 225 Enter your new password when prompted 226 227 Log out as {{{postgres}}} user: 228 229 {{{ 230 exit 231 }}} 232 233 Exit terminal: 234 235 {{{ 236 exit 216 sudo -u postgres psql 217 CREATE ROLE mysuperuser LOGIN PASSWORD 'whatever' SUPERUSER; 237 218 }}} 238 219 … … 242 223 243 224 Another handy piece of software {{{shp2pgsql-gui}}} tool. This will allow you to quickly connect to your new PostGIS database and import a Shapefile. 225 Note this will only work if you have Ubuntu with a desktop (not a headless Ubuntu) 244 226 245 227 Open terminal, and type: