Search Header Logo
REST APIs with Flask and Python - Installing PostgreSQL in Ubuntu 16.04

REST APIs with Flask and Python - Installing PostgreSQL in Ubuntu 16.04

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

This video tutorial guides viewers through the process of installing PostgreSQL on a server. It covers connecting to the server via SSH for Unix systems and a web interface for Windows. The tutorial explains updating packages using the APT package manager and installing PostgreSQL. It also details setting up a PostgreSQL user and database, and concludes with instructions on exiting the session and a preview of creating a new user in the next video.

Read more

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary method for Mac users to connect to a server?

Using a web browser

Using the Terminal

Using a remote desktop application

Using a mobile app

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to check for available updates in Ubuntu?

apt-get remove

apt-get install

apt-get upgrade

apt-get update

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which package is installed alongside PostgreSQL to provide additional functionality?

PostgreSQL Add-ons

PostgreSQL Extras

PostgreSQL Tools

PostgreSQL Contrib

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default port number for a PostgreSQL server?

5432

1521

8080

3306

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to switch to the Postgres user?

sudo su postgres

sudo -u postgres

sudo -i postgres

sudo login postgres

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to connect to the PostgreSQL database?

psql

pg_connect

pgsql

connect_db

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you exit the PSQL process and return to the Unix terminal?

Type '\q'

Type 'exit'

Type 'logout'

Type 'quit'

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?