Linux

UB、RH、LD、FB……

Supervisor will use your Python program becomes Services

Many of my friends are using Flask framework to write a small server,Easy and fast,But also a key to run,Very comfortable。but,If you really want your service to be deployed on the server,Then you will find that there are some homework to do,This article,We mainly talk about how to write the program into a service on the server instead of the terminal in the execution of the command。

If we write a Python web application,[……]

Click link to continue reading...

Use ClamAV and Linux Malware Detection (LMD) Protect your servers

Use CalmAV scan / home

This article originated inR0uter's Blog,ClickView original

 

Normal,Speaking of viruses, Trojans,People will probably think of Windows,In fact, as long as the operating system,There will be loopholes,So long as the operating system was used,Then some people will take advantage of this loophole to develop malware (such as viruses, Trojans)。Anyway,Since the Windows operating system users is far greater than macOS[……]

Click link to continue reading...

Ubuntu ultra-fast server deployment wireguard

New out of a lot of people want to try Wireguard,Here VPN over the wall in the end it is appropriate for us to discuss not,Let's look at how fast service from a wireguard on vps。Many people have heard of this service particularly complex to configure,So discouraged,Actually quite simple。

The environment

Here I use the latest ubuntu 18.04.2 To configure,First you have to have a[……]

Click link to continue reading...

Chsh -s mismatch with how to shell the rescue?

With the wrong default environment is not terrible,Well matched back like a big deal。

Obviously,He says such things there is no story。

Anyway,If you find that your vps One day suddenly can not log in,The content is not being given no authority,But the certificate is to determine the right - then you might be wrong with the last exit before the shell。At this time, even if you use the console to log on,After logging will find a flash[……]

Click link to continue reading...

Fail2Ban protection of Nginx Advanced Configuration Services

existAfter purchasing a VPS you should spare security measuresAs we mentioned with fail2ban To protect ssh ,So even without changingsshPort (default is22),Also can be done to avoid brute force password,of course,We have opened the credentials to log in and closed the ssh password login option,But with fail2ban Kill those who keep trying to make us feel bot is also a pleasant thing[……]

Click link to continue reading...

letsencrypt tool renamed certbot

Today Gerber drop-off certificate expired,I have written beforeHow to add https support with letsencrypt to blog,And teach you to write a regular update service at the end of the article,So you do not own every three months to update the manual。

but,If your certificate to expire,So in fact letsencrypt robot will send you a reminder email,The general content like this:[……]

Click link to continue reading...

Csf firewall to effectively prevent the use of small-scale DDOS

Update:upgrade Ubuntu 20.04 LTS Rear,csf is not working,Prompt that iptables cannot be found:

This is because Ubuntu 20.04 LTS Changed iptables Related command position,The csf script is not updated in time。[……]

Click link to continue reading...

Adding to the server ipv6 support through Apple's review

IOS app backend server to do,It needs to be done to support the ipv6,although 6 Almost do not use in China,Unfortunately Apple is now requiring all shelves app needs to support pure ipv6 network,so,At least our server to be up and running in under an environment ipv6。

Since most domestic server can not provide ipv6 network,So we can only find their own tunnel,Now use[……]

Click link to continue reading...