FastAPI is a modern and high-performance Python web framework used to build APIs quickly and efficiently.
__________________________________________________________________________________________________________________
Testing Environment: Ubuntu 24.04.1 LTS Hostname - ip Address -
__________________________________________________________________________________________________________________
apt update ; apt install build-essential net-tools curl git software-properties-common zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev liblzma-dev python3.12-venv python3-pip -y
python3 --version ; pip --version
mkdir environment ; python3 -m venv environment
cd environment/bin ; source activate
pip install fastapi
pip install 'uvicorn[standard]'
nano main.py
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
def read_root():
return {"Hello": "World"}
uvicorn main:app --reload
uvicorn main:app --host 85.159.231.14 --port 80 --workers 4
__________________________________________________________________________________________________________________
Set Up Gunicorn3 to Serve the FastAPI Application -
pip install gunicorn
nano gunicorn_conf.py
bind = "0.0.0.0:8000"
workers = 4
gunicorn -k uvicorn.workers.UvicornWorker -c gunicorn_conf.py main:app
__________________________________________________________________________________________________________________
QuickNotepadTutorial
Saturday, April 4, 2026
How To Deploy a FastAPI app And Set Up Gunicorn3 on 24.04 LTS
Thursday, April 2, 2026
How To run CherryPy Framework Ubuntu 24.04.4 LTS
CherryPy is a pythonic, object-oriented HTTP framework.
CherryPy stands on its own, but as an application server, it is often located in shared or complex environments. For this reason, it is not uncommon to run CherryPy behind a reverse proxy or use other servers to host the application.
https://docs.cherrypy.dev/en/latest/deploy.html
__________________________________________________________________________________________________________________
Testing Environment: Ubuntu 24.04.3 LTS Hostname - jitsi.tutorial.com ip Address -
__________________________________________________________________________________________________________________
apt update ; apt install build-essential net-tools curl git software-properties-common python3-venv python3-pip
mkdir environment ; python3 -m venv environment
cd environment/bin ; source activate
pip3 install cherrypy
nano ./my_python_script.py
import cherrypy
class HelloWorld(object):
@cherrypy.expose
def index(self):
return "Hello world!"
if __name__ == '__main__':
cherrypy.quickstart(HelloWorld())
python3 ./my_python_script.py
__________________________________________________________________________________________________________________
Monday, March 30, 2026
Set up your Python and Flask development environment on Ubuntu 24.04.4 LTS
in This Video you will Learn " How To Set up your Python and Flask development environment on Ubuntu 24.04.4 LTS "
Flask is a lightweight "micro" web framework written in Python used to build web applications and RESTful APIs.
A Flask development environment is a local setup on your computer designed for building, testing, and debugging applications using the Flask web framework.
Flask is a lightweight "micro" web framework written in Python used to build web applications and RESTful APIs.
__________________________________________________________________________________________________________________
Testing Environment: Ubuntu 24.04.3 LTS Hostname - jitsi.tutorial.com ip Address -
__________________________________________________________________________________________________________________
apt update ; apt install build-essential net-tools curl git software-properties-common zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev liblzma-dev python3.12-venv -y
python3 -m venv myproject
source myproject/bin/activate
pip install Flask-Twilio
pip freeze > requirements.txt
Creating a simple Flask application -
nano app.py
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello World!"
if __name__ == "__main__":
app.run()
cd myproject
cd ..
python app.py
http://localhost:5000
__________________________________________________________________________________________________________________
Friday, March 27, 2026
How to install Wget wget2 build From Source On Ubuntu 24.04 LTS
in This video you will Lern " How to install Wget build From Source On Ubuntu 24.04 LTS"
GNU Wget is a free software package for retrieving files using HTTP, HTTPS, FTP and FTPS, the most widely used Internet protocols.
https://www.gnu.org/software/wget/
__________________________________________________________________________________________________________________
Testing Environment: Ubuntu 24.04.3 LTS Hostname - ip Address -
__________________________________________________________________________________________________________________
apt update ; apt install build-essential net-tools curl git software-properties-common pkg-config libgnutls28-dev -y
curl -O https://ftp.gnu.org/gnu/wget/wget2-latest.tar.gz
tar -zxvf wget2-latest.tar.gz
cd wget2-2.2.1/
./configure
make install
rm -rf /usr/local/bin/wget /usr/bin/wget
sudo ln -s /usr/local/bin/wget /usr/bin/wget
wget2 -V
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thursday, March 26, 2026
How To install Python 3.13.11 from Source & Setting Up a Virtual Environment On Ubuntu 24.04.3 LTS
Python is one of the most popular programming languages. It is used to build all kinds of applications, from simple scripts to complex machine-learning systems. With its straightforward syntax, Python is a good choice for both beginners and experienced developers.
__________________________________________________________________________________________________________________
Testing Environment: Ubuntu 24.04.3 LTS Hostname - ip Address -
__________________________________________________________________________________________________________________
apt update ; apt install build-essential net-tools curl git software-properties-common
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev liblzma-dev
wget https://www.python.org/ftp/python/3.13.11/Python-3.13.11.tgz
tar -xf Python-3.13.11.tgz
cd Python-3.13.11
./configure --enable-optimizations
make -j $(nproc)
sudo make altinstall
python3.13 --version
Setting Up a Virtual Environment -
python3.13 -m venv myproject
source myproject/bin/activate
deactivate
__________________________________________________________________________________________________________________
Saturday, September 27, 2025
2 Ways to Install Git And Setting Up Git on Ubuntu 24.04
" How to 2 Ways to Install Git / check version in cmd / Setting Up Git / uninstall Git on Ubuntu 24.04 "
. Git is a tool that helps you keep track of changes in your files and projects, making it easier to manage your work. It’s secure and widely used by many people to organize their code and projects.
__________________________________________________________________________________________________________________
Testing Environment: Ubuntu 24.04.1 LTS Hostname - ip Address -
__________________________________________________________________________________________________________________
apt update ; apt install build-essential net-tools curl software-properties-common
Method - 1
sudo apt update ; sudo apt install git -y
Setting Up Git -
git config --global user.name "Your Name"
git config --global user.email "youremail@domain.com"
git config --list
git config --global init.defaultBranch main
git config --global core.editor "nano"
git config --global --list
Uninstall Git -
sudo apt remove git -y ; sudo apt autoremove -y
__________________________________________________________________________________________________________________
Method - 2 Installing Git from Source -
sudo apt install libz-dev libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext cmake gcc -y
mkdir tmp ; cd tmp
curl -o git.tar.gz https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.51.0.tar.gz
tar -zxf git.tar.gz ; cd git-*
make prefix=/usr/local all
sudo make prefix=/usr/local install
exec bash
git --version
Uninstalling Git Installed from Source -
cd /path/to/git/source
sudo make uninstall
git --version
Setting Up Git -
git config --global user.name "Your Name"
git config --global user.email "youremail@domain.com"
git config --list
__________________________________________________________________________________________________________________
Thursday, August 21, 2025
How To Enable Remote Desktop Protocol Using xrdp on On Ubuntu 24.04 LTS
XRDP is a tool used for connecting to an Ubuntu or other Linux system via Remote Desktop Protocol (RDP). It provides remote access to your Linux desktop environment from a Windows machine or any other RDP-compatible client. Additionally, it also offers a graphical user interface for managing the system remotely.
__________________________________________________________________________________________________________________
Testing Environment: Ubuntu 24.04.1 LTS Hostname - ip Address -
__________________________________________________________________________________________________________________
apt update ; apt install build-essential net-tools curl git software-properties-common
sudo apt install xrdp -y
sudo adduser xrdp ssl-cert
sudo systemctl restart xrdp ; sudo systemctl status xrdp
sudo ufw allow 3389
sudo ufw allow from [IP_Address] to any port 3389
__________________________________________________________________________________________________________________