Posts

Django 3 : Installing Django 3

Louis SanchezAugust 15th 2021, 12:04
What is Django? Django was born in 2003 in a press agency of Lawrence, Kansas. It is a web framework that uses Python to create websites. Its goal is to write very fast dynamic websites. In 2005, the agency decided to publish the Django source code in the BSD license....
1500

Python Variables

Louis SanchezAugust 15th 2021, 12:12
Variables in Python can reference values of different data types such as strings, integers, floating point values, Booleans, and different data types and data structures. Python, in contrast to statically typed languages such as Java or C++, doesn't require you to pre-declare a variable's data type. It determines the type...
1283

Python : Writing and Running Simple Scripts

Louis SanchezAugust 15th 2021, 12:11
Python allows you to run your instructions from a saved file. A file containing Python instructions is called a module. A script is a module that can be run. By convention, Python scripts should have the file extension .py. The filename should be a valid filename, as defined by your...
1283

Python : Working with the Python Interactive Shell

Louis SanchezAugust 15th 2021, 12:11
We are going to be writing our first program through the Python interactive shell. Before we begin, ensure that you have Python installed on your machine. Checking our Python Installation Step 1 : Open the terminal Step 2 : Type in the command python3 and press Enter. This should open...
1334

How To Install Python 3 on Ubuntu 20.04

Louis SanchezAugust 15th 2021, 5:36
Step 1 : To see which version of Python 3 you have installed, open a command prompt and run python3 --version Step 2 : To use a more current Python, we recommend using the deadsnakes PPA to install Python 3.9 sudo apt-get install software-properties-common sudo add-apt-repository ppa:deadsnakes/ppa Step 3 :...
3033

How to do CRUD operations in MongoDB (Ubuntu 20.04)

Louis SanchezAugust 15th 2021, 8:24
CRUD operations create, read, update, and delete documents. Follow these steps to store and retrieve data with MongoDB Step 1 : Open a shell to interact with the Mongo server mongo Step 2 : To create and start using a new database, type use dbname. Since schemas in MongoDB are...
2020

How to Install and Configure MongoDB on Ubuntu 20.04

Louis SanchezAugust 15th 2021, 8:24
Use this tutorial to install and configure MongoDB, which is a not only SQL (NoSQL) document storage server. You will need access to a root account or an account with sudo privileges. To get the latest version of MongoDB, we need to add the MongoDB source to Ubuntu installation sources:...
1703

How to Secure Ubuntu server 20.04

Louis SanchezAugust 15th 2021, 3:55
Linux is considered to be a well secured operating system. It is quite easy to maintain the security and protect our systems from unauthorized access by following a few simple norms or rules. You will need access to a root or account with sudo privileges. These steps are intended for...
14965

How to Set Up a Firewall with UFW on ubuntu 20.04

Louis SanchezAugust 15th 2021, 3:43
Uncomplicated firewall (UFW) provides easy-to-use interface for people unfamiliar with firewall concepts. It provides a framework for managing netfilter as well as the command-line interface to manipulate the firewall. With its small command set and plain English parameters, UFW makes it quick and easy to understand and set up firewall...
3564

How to Install and Configure fail2ban on ubuntu 20.04

Louis SanchezAugust 15th 2021, 2:47
Step 1 : How to Install and Configure fail2ban on ubuntu 20.04 apt-get install fail2ban After installation, the fail2ban daemon will start up and be configured to automatically start at boot-time. Configuring fail2ban is simply a matter of creating a configuration file. But, you shouldn't use its default config file...
4106