Categories
Linux

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...

Categories
Linux

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

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)。In short,Since the Windows operating system users is far greater than macOS[……]

Click link to continue reading...

Categories
Linux The internet

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...

Categories
Linux

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。

In short,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...

Categories
Linux

Fail2Ban protection of Nginx Advanced Configuration Services

inAfter 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...

Categories
Linux

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...

Categories
Linux

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

Before I wrote an article,After purchasing a VPS you should spare security measures,This side describes how to install csf Firewall,In fact, just a few simple commands,but,At that time, my ignorance,In fact lead to csf firewall does not really take effect,The reason is csf and ufw are the same as iptables script,They are in the same level,We are conflicting。

So,In the configuration c[……]

Click link to continue reading...

Categories
Linux The internet

NextCloud to build private clouds with personal

 

Background account

Before everyone wrote OwnCloud build private clouds with personal Articles,Until now, network disk have been out of service for some time,Now ownCloud The team also abandoned pit,All switched to develop a new network drive”NextCloud“。

ownCloud version number has been maintained at[crayon-5e2f2d8[……]

Click link to continue reading...

Categories
Linux The internet

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...