How to run Java Spring Boot based web application in Linux? You may just run in terminal:
java -jar /home/user/your_project_name/your_project_name.jar
Note: in this case you can't escape from terminal.
Second way - using nohup:
nohup java -jar /home/user/your_project_name/your_project_name.jar &
Ok, it works, but better way for run your application, especially at production server - create systemd service for fully control them (start, stop, see status, etc...).
We need to install Java Developmen…
#application-properties #debian #java #linux #nohup #spring #spring-boot #systemd #ubuntu

When you bought new virtual private server (VPS) most providers give machines with remotely root access by SSH protocol, and it's not safe. This article provide some tips for help you increase VPS server's security. Let's start setting up.
First of all connect to your new server:
ssh root@your_servers_ip
Note: provider should send SSH credentials for the new VPS server via email.
Create new user with adduser command:
adduser user
System open interactive shell and will offer you to set some data:
root…
#debian #linux #protection #root #security #ssh #ubuntu
Python Requests - client side library, which provide possibility for data exchange with server. The following code receive page content by HTTP protocol from WEB-server with address 192.168.1.11 and listen 80 port:
import requests
r = requests.get('http://192.168.1.11:80/')
print(r.text)
Content of page:
<!doctype html>
<html lang="en">
...
</html>
But what about case, when server configured with self-signed certificate? The get() module of Requests package verifying certificate…
#http #http-requests #https #python #troubleshooting
PostgreSQL is a powerful, open source object-relational database system with over 35 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance.
There is a wealth of information to be found describing how to install and use PostgreSQL through the official documentation.
Install in Debian, Ubuntu:
sudo apt install -y postgresql
By default PostgreSQL listen 5432 port. Check installation was successful with sudo netstat -tlnp | grep 5432 com…
#database #debian #linux #postgresql #ubuntu
OpenVPN is a virtual private network (VPN) system that implements techniques to create secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities. It implements both client and server applications. Wikipedia.
Encryption: OpenVPN uses the OpenSSL library to provide encryption of both the data and control channels. It lets OpenSSL do all the encryption and authentication work, allowing OpenVPN to use all the ciphers available in the OpenSSL p…
#debian #linux #network #openvpn #routing #ubuntu #vpn
Aircrack-ng is a complete suite of tools to assess WiFi network security.
It focuses on different areas of WiFi security:
- Monitoring: Packet capture and export of data to text files for further processing by third party tools;
- Attacking: Replay attacks, deauthentication, fake access points and others via packet injection;
- Testing: Checking WiFi cards and driver capabilities (capture and injection);
- Cracking: WEP and WPA PSK (WPA 1 and 2). Official site.
Aircrack-ng is a network software suite…
#802.11 #aircrack-ng #airspoof #debian #linux #ubuntu #wifi
To enable HTTPS on your website, you need to get a certificate (a type of file) from a Certificate Authority (CA). Let’s Encrypt is a CA. In order to get a certificate for your website’s domain from Let’s Encrypt, you have to demonstrate control over the domain. With Let’s Encrypt, you do this using software that uses the ACME protocol which typically runs on your web host. Documentation.
Since Debian 12 Bookworm (released 10 June 2023) Certbot available in "main" repo:
sudo apt install certbot p…
#certbot #debian #letsencrypt #linux #nginx #python #ubuntu
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…
#database #django #gunicorn #linux #nginx #python #setup #workers

-> 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…
#cisco #debian #firewall #internet #linux #network #routing #ubuntu

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…
#http-requests #parsing #python #xml