How to create and configure linux service

How to create and configure linux service
In the previous post, we wrote an HTTP server script that has one drawback - it doesn't start automatically and doesn't work as a service. Here are the steps to configure it as a service in Linux. Script: We already have a startup script named web-server.py. Save it in the directory where it will be permanently stored.…

Simple HTTP server with 208 redirect in Python

Simple HTTP server with 208 redirect in Python
In today's post, I will show you how to start a simple web server that will be accessible within your network, and when users enter its address, they will be redirected to an external address. I created my web server on Debian, and it's written in Python. I used the Flask framework. The server will perform a…

How to reset kali linux root password

I had a need to reset root password because of forgot it in kali linux. Today will share you how to do it in simply way. For the beginning, during booting system we need to choose advanced startup options or type e having checked proper system on booting list. After get the advanced configuration of GRUB search…