Posts

How to Manage jobs in Ubuntu Server 20.04 LTS

Louis SanchezJune 23rd 2021, 7:07
Step 1 : Open a file or just start a blank session. With the text editor open, we can background it at any time by pressing Ctrl + Z on our keyboard. You should have seen some output similar to the following: [3]+ Stopped vim file1.txt Step 2 : we...
2339

How to Show running processes with the ps command in Ubuntu Server 20.04 LTS

Louis SanchezJune 23rd 2021, 7:26
While managing our server, we'll need to understand what processes are running and how to manage these processes. We first need to be able to determine what is actually running on our server. The ps command allows us to do this. Step 1 : The ps command will show a...
1366

How to Install Ubuntu Server 20.04 LTS

Louis SanchezJune 23rd 2021, 7:00
Step 1 : Insert the Ubuntu installation media into the appropriate drive, power on the system and follow the onscreen instructions to open the boot menu. The key you press at the beginning of the POST process differs from one machine to another, but it's quite often F10, F11, or...
653

AWS - Using the command-line interface (CLI)

Ronin DayJune 23rd 2021, 6:51
The AWS command-line interface (CLI) tool is an important piece of the AWS administrator's toolkit. The CLI tool is open source software, and is maintained on GitHub (https://github.com/aws/aws-cli). For more detailed documentation, refer to the AWS CLI home page at https://aws.amazon.com/cli. Installation Step 1 : The CLI tool requires Python...
917

AWS's global infrastructure

Ronin DayJune 23rd 2021, 6:12
Regions and availability zones At the time of writing, there are 24 regions around the world. A region is further subdivided into availability zones (AZ), of which there are currently 77. See https://aws.amazon.com/about-aws/global-infrastructure/ for the most up to date list of regions and availability zones. Global resources It's important to...
771

How to Create an Amazon Web Services Account

Ronin DayJune 23rd 2021, 7:10
Follow these steps to create an AWS account: Step 1 : Create an account at https://aws.amazon.com/ by clicking on the Create an AWS Account button and entering your details: Step 2 : Before we get started using that shiny new account, let's go over some best practices regarding basic account...
734

Python Indentation

Louis SanchezJune 23rd 2021, 6:59
A block is a group of statements that are meant to be executed together. In Python, statements are grouped using whitespace, that is, blocks are indented within other blocks instead of using curly braces. if True: # execute this block of statements print("Block 1") else: # execute other block of...
675

Python Comments

Louis SanchezJune 23rd 2021, 7:04
Comments are an integral part of programming. There are three different ways to write Python comments, documentation strings (docstrings for short), inline comments, and block comments. Block Comments Step 1 : Block and inline comments start with a pound sign, #. A block comment comes in the line before the...
681

Python User Input

Louis SanchezJune 23rd 2021, 7:10
User Input from the Keyboard Python has a very handy function for obtaining user keyboard input from the CLI called input(). When called, this function allows the user to type input into your program using their keyboard. Step 1 : Declare the following variable: message = input() The program execution...
658

How To Set Up Django with uWSGI, PostgreSQL and Nginx on Ubuntu 20.04

Louis SanchezJune 23rd 2021, 5:10
We will install Django and all the components that are needed for Nginx and Django to be able to communicate. Install the Packages Step 1 : Install the Packages from the Ubuntu repositories sudo apt-get update sudo apt-get install python3-pip python3-dev libpq-dev postgresql postgresql-contrib nginx Setting up Django Step 2...
1234