File packaging and compression
File packaging and compression
Self feeling: it's easy to learn how to pack and compress files. Although there are many compression names, several are not commonly used, and several commonly used options are basically universal. It will produce a good result. Just learn the option of one command and remember the names of the remaining command ...
Posted by intergroove on Mon, 04 May 2020 12:19:42 -0700
The operation problem of certbot applying for SSL certificate under centos7
About three months ago, we applied for SSL certificate through let s encrypt. Now it's almost the same time. When we boarded the server, we were going to run the certificate update program, but there was a problem when we executed it:
The version of pyOpenSSl is too low. According to some practices on the Internet, we ...
Posted by tomas.srna on Sun, 03 May 2020 15:32:32 -0700
Enable remote access for mysql under Ubuntu
1. Log in with root
admin@lnxServer:~$ mysql -uroot -p123456
Warning: Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 154
Server version: 5.6.19-0ubuntu0.14.04.1 (Ubuntu)
Copyright (c) 2000, 2014, Oracle and/or i ...
Posted by Shygirl on Fri, 01 May 2020 01:25:14 -0700
nginx installation, configuration, equalization, dynamic and static separation of tomcat
nginx download and installation
nginx download address: nginx download address
Install compiler and dependency Libraries
yum install gcc gcc-c++ zlib-devel pcre-devel openssl-devel openssl-libs openssl -y
nginx installation:
Run to nginx root: Make & & make install
After the installation is completed, you ...
Posted by rj2kix on Thu, 30 Apr 2020 08:08:45 -0700
Download a few pictures on Weibo
Today, when I was playing Weibo, I accidentally thought of using python to crawl and download a few pictures. However, it is found that Weibo is different from ordinary websites,
To get a little content, you need to get a cookie from the browser first. Otherwise, it can't jump automatically. At present, I haven't found a good solution, so I fo ...
Posted by nekoanz on Thu, 30 Apr 2020 07:01:10 -0700
Deployment of Kubernetes cluster ETCD
kubernetes cluster deployment
Three official deployment methods1.minikubeminikube is a tool that can run a single point of kubernetes quickly locally, only for testing K8S or daily developmentDeployment address: https://kubernetes.io/docs/setup/minkube/2.kubeadmKubeadm is also a tool that provides kubeadm init and kubeadm join for rapid deploy ...
Posted by project18726 on Wed, 29 Apr 2020 08:36:10 -0700
Linux server memory monitoring - check every hour & over send mail & restart the most expensive Java program
Introduction and advantages
Using this script, you can judge whether the system memory usage exceeds the set percentage
It can restart the program when the warning value is exceeded
It can record the restart process and send the specific LOG mail to the designated addressee
Crontab schedule can be set to run every other period of time
prepara ...
Posted by iamthebugman on Mon, 27 Apr 2020 02:17:59 -0700
Laravel - hands on Implementation - email
Laravel has its own SwiftMailer library, which integrates a variety of email API s and can easily send emails.
We use the SMTP (Simple Message Transfer Protocol) simple mail transfer protocol, which is generally understood as the mail sending server.
1. Open POP3 and SMTP services
1.1. Here we take QQ email as a case
Settings - > account - & ...
Posted by Dimitri89 on Fri, 24 Apr 2020 19:47:03 -0700
Spring Cloud Gateway series processing request process
This article mainly reveals the loading of Spring Cloud Gateway and how to handle the request process from the source point of view.
1. Overview of spring gateway
Spring Cloud Gateway is an official gateway developed by spring based on Spring 5.0, Spring Boot 2.0, Project Reactor and other technologies. Spring Cloud Gateway aims to provide a ...
Posted by Michael Lasky on Thu, 23 Apr 2020 00:29:58 -0700
python foundation - python installation and problem solving
Python 3.7.3 installation
The default version of Python installed on CentOS 7 is 2.7.5. The older version of python that comes with the system is dependent on many other software environments of the system, so you cannot uninstall the original Python, but you can install another version of Python
[root@python ~]# python -V
Python 2.7.5
Prepari ...
Posted by Mathy on Thu, 16 Apr 2020 20:28:26 -0700