0% found this document useful (0 votes)
21 views7 pages

Connection To The Server C3SL

This document provides a detailed walkthrough for connecting to the C3SL – UFPR server using Putty, PgAdmin, and QGIS on Windows and Linux. It includes installation requirements, configuration steps for each application, and notes on differences between operating systems. The guide emphasizes setting up SSH tunneling and accessing SQL data through PgAdmin and QGIS for data visualization.

Uploaded by

cikife3016
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views7 pages

Connection To The Server C3SL

This document provides a detailed walkthrough for connecting to the C3SL – UFPR server using Putty, PgAdmin, and QGIS on Windows and Linux. It includes installation requirements, configuration steps for each application, and notes on differences between operating systems. The guide emphasizes setting up SSH tunneling and accessing SQL data through PgAdmin and QGIS for data visualization.

Uploaded by

cikife3016
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Connection to the server C3SL – UFPR Walkthrough

Windows/Linux (For linux look at the end of the document in Notes section)

Requirements

1. Download and Install Putty


(https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html);
2. Download and Install PgAdmin 3 (https://www.pgadmin.org/download/);
3. Download and Install QGIS 2.18 Las Palmas
(https://www.qgis.org/en/site/forusers/download.html);

Configuration of the applications

Putty

1. Session

a. Host Name: bigsea.c3sl.ufpr.br


b. Port: 22
2. Connection -> Data
a. Auto-login username: posttunnel
3. Connection -> SSH -> Auth
a. Private Key file for Authentication [browse], add the private key file, format .ppk
(added in the email)

4. Connection -> SSH -> Tunnels -> Add new forwarded port:
a. Source Port: 5435
b. Destination: localhost5432
c. Click ADD.

5. Come back in Sessions, create a name for this connection, in the example images we use
CS3L, save it, next time you will only need to click twice in the name of the connection.
6. Click twice in the name of the connection, a prompt window will open, in this window
you will type the passphrase, which in this case is: N@oinvadaservidores.

7. If the connection was sucesssful a Debian GNU/Linux will be written, with this
connection open now we will move to the pgadmin software.

PgAdmin

1. Create a new server; it is a power plug icon.


2. Name: BIGSEA, Host: localhost, Port: 5435, Username: postread, Password: PostRead
3. Click OK to create and connect to the server.

4. After the connection you can access the SQL formatted data, and its schemas and
tables.
QGIS

1. Star the QGIS 2.18 Desktop and click on the elephant icon and new connection on the
pop-up window.

2. Insert the connection information, Name: BIGSEA, Host: localhost, Port: 5435,
Database: bigsea, Username: postread, Password: PostRead (save this for next time),
press ok, and connect, after the connection close the pop-up window.

3. Now we will add map layers to our data, by installing openlayers plugin, to do that, go
to the plugins menu, click on Manage and Install plugins… Will open a pop-up window,
in this window we will search for the required plugin and install it by clicking on Install
Plugin after selecting it.
4. After install openlayers, it can be accessed thru web menu, to add data form the tables
into qgis system, go to the browser panel after refreshing it, and select PostGis->
BIGSEA and add the tables that you choose, by clicking twice, it will be available in the
layers panel. In the example, we can see the bus lines (linhas de onibus in Portuguese).

5. In the layers panel we can add more than one table or even a layer from openlayers
plugin, the layers can be changed in front of other by ordering them in layers panel,
one more thing to is set the coordinate reference, for the data used is the SAD69/
UTM zone 22s, EPSG:29192, to change it you can click with right button on the data
selected and select properties->general->coordinate reference system.
6. Now the data is set and the final result, using openlayers with maps view is:

Notes:

1. The process for windows and linux is quite similar, with one “exception” the function
of tunneling can be done via shell without the use of putty application, by the
command: ssh -i keyfile -L 5435:localhost:5432 [email protected] in the
folder which is located the keyfile.
2. The openlayers uses Python to load the data; it is recommended the use of 2.7 version.
3. The keyfiles are located in the email, .ppk are for windows putty and without
extension is the version for linux
4. The version of the applications cited in the start of the document is related to the
support of the tools, such as SQL querrier and openlayers plugin.

You might also like