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…
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…
import requests
r = requests.get('http://192.168.1.11:80/')
print(r.text)
<!doctype html>
<html lang="en">
...
</html>
sudo apt install -y postgresql
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…
sudo apt install certbot p…
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…