Changes

Jump to: navigation, search

OPS435 Python3 Lab 8

112 bytes added, 14:27, 3 July 2020
INVESTIGATION 1: The Fabric Environment
: The Fabric environment consists of the following components:
:# the Fabric Python Library - the fabric package (already installed on matrix):# the Fabric API - fabric.api:# the Fabric command - '''fab''': run Fabric script, name of the script is default to fabfile.py in the current working directory unless specified otherwise with the '-f' option.:# Fabric script: contains fabric environment object value and Python functions (or tasks) to be executed by the '''fab''' command.
:# Controller workstation - the machine that has the Fabric package installed and runs the "fab" command
::* the Fabric Python Library - the fabric package (already installed on matrix)
::* the Fabric API - fabric.api
::* the Fabric command - '''fab''': run Fabric script, name of the script is default to fabfile.py in the current working directory unless specified otherwise with the '-f' option.
::* Fabric script: contains fabric environment object value and Python functions (or tasks) to be executed by the '''fab''' command.
:# Remote machine: the target machine on which one or more Fabric tasks will be executed.
::* running the ssh server daemon
::* use public key (or password based) authentication for ssh connection
== PART 1 - Configure and test your controller workstation ==
1,760
edits

Navigation menu