Package xxx has no installation candidate on Raspberry Pi

When the newly flashed Raspberry Pi image is enabled,Chances are you're getting weird apt errors:

of course,more than this,Installing any package would be Package xxx has no installation candidate


Check out your first [crayon-647ac25[……]

Click link to continue reading...

Avoid website hijacking by malicious domain names

The server of R0uter's blog rejected the embedding of the site

I accidentally found a batch of websites today,Such as Now when you click on this website, it will display " refused to connect.”,When I clicked on it for the first time, I was stunned...he actually copied my entire website? !

This is a series of three-digit domain name websites,Are similar operations。

and many more,I found out that[……]

Click link to continue reading...

zsh enable bash * Asterisk wildcard function

Recently I found that the server is very slow every time apt upgrade,The reason,There are still a lot of unused kernels that have to be regenerated every time,Encountered a problem while cleaning up,*Number matching does not take effect,You must manually enter the full kernel name each time to uninstall it。

Found after stepping on the pit,It turned out to be because I used zsh,and zsh The default is not supported * No. wildcard! It’s easy to turn on this feature[……]

Click link to continue reading...

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