Django is full of shortcuts to make web developers’ lives easier, but all those tools are of no use if you can’t easily deploy your sites. Since Django’s inception, ease of deployment has been a major goal.
There are many options for deploying your Django application, based on your architecture or your particular business needs, but that discussion is outside the scope of what Django can give you as guidance.
Django, being a web framework, needs a web server in order to operate. And since most we…

-> Configuring Cisco firewall in Linux machine with Minicom
- Configuring network access with Cisco ASA via minicom utility
How to configure Cisco device in Linux machine with Minicom? You need installed Minicom utility, C-13 power cable, physical connection from your PC to Cisco device via COM-to-USB cable like this:

Minicom utility need for connecting and sending commands to devices, connected by serial port, based on RS-232 standard and have out-of-box drivers. As an alternative in Windows m…

What is XML? XML mean Extensible Markup Language, which need for storing structured data and group any items. In XML markup language you may create tags with any names. The most popular examples of XML - Sitemaps and RSS feeds.
Example of XML file:
<breakfast_menu>
<food>
<name>Belgian Waffles</name>
<price>$5.95</price>
<description&g…
Samba is the standard Windows interoperability suite of programs for Linux and Unix.
Samba is an important component to seamlessly integrate Linux/Unix Servers and Desktops into Active Directory environments. It can …
sudo apt install nginx -y
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. PHP intro whatis.
Install Nginx and PHP-FPM:
sudo apt update && sudo apt install nginx php-fpm -y
Find PHP socket file:
user@localhost:~$ file /var/run/php/php8.2-fpm.sock
/var/run/php/php8.2-fpm.sock: socket
Create directory for project:
sudo mkdir -p /var/www/your-project
Create "index.php" file in&…
How to share internet via iptables? You need
hardware (e. g. workstation) with two network interface cards (NIC).
They are may be wired or wireless. It doesn't matter.
Names of your NICs you may see via "ip a" or "ifconfig" command.
For this example we named their "eth0" and "eth1":
- eth0 = the network adapter with internet (external or WAN).
- eth1 = the network adapter to which a second computer is attached (internal or LAN).
192.168.0.x = IP subnet for eth1.
But first we need enable packet fo…
When managing a Django application, particularly during development or testing, developers often need to clear all data from a model. A common method is to use MyModel.objects.all().delete(). However, this presents a common frustration: the next record created does not start with an ID of 1. Instead, it continues from the last known value of the sequence.
This behavior occurs because executing a DELETE statement on a table does not reset the underlying autoincrement sequence ge…
Docker is good solution when you want to fast deploying your applications and run in different operating systems. You don't need to install your application's runtime anywhere. Just install Docker and run anything you want. Docker build image for your application with all dependencies inside.
In this tutorial I show you how to create new Java application and run it in Docker.
Start with creating directory for project:
mkdir myproject && cd myproject
Create "Main.java" file with this code:
cl…
If you don't set static IP in Ubuntu Server's installer he trying receive IP by DHCP protocol.
Ethernet interfaces are identified by the system using predictable network interface names. These names can appear as eno1 or enp0s25. However, in some cases an interface may still use the kernel eth# style of naming. Documentation.
# Detecting interfaces
Use "ip address" or "ip a" command for finding your network interfaces:
user@localhost:~$ ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 q…