One click site building guide of native Tencent cloud centos7.5 Django Nginx+uwsgi
First, you need to have a server and domain
Preprocessing
Install GCC, ZLIB, PCRE, OPENSSL...
yum -y install make zlib zlib-devel gcc-c++ libtool openssl openssl-devel
Pyhton's upgrade and iteration
Native linux generally only provides Python 2.7, so the first step is to upgrade Python and use the latest and stable version. (it i ...
Posted by EchoFool on Sun, 01 Dec 2019 07:34:10 -0800
mysql no backup recovery
Environment: centos 7.4+ mysql 5.7.19
When the database is damaged without backup, the data can be recovered from the disk file, which may not be 100% successful. The tool used is undo-for-innodb-master.zip
First, recover the table structure from frm (using MySQL utilities tool)
1. Install MySQL utilities
#yum localinstall mysql-connector-pytho ...
Posted by kirannalla on Sat, 30 Nov 2019 04:26:02 -0800
html email sent by shell
Article directory
1. Open the SMTP service of QQ mailbox server
2. Install sendEmail
3. Send email with attachments
3.1 details of sendemail command
3.2 write the test.sh script as follows
3.3 execute script sh test.sh
4. Send email with html form
4.1 table data
4.2 the script is as follows
4.3 execution script
4.4 the scr ...
Posted by johnnyblaze1980 on Thu, 28 Nov 2019 11:36:15 -0800
How to set up the experiment environment of Varnish reverse agent
Construction of Varnish experimental environment
1. Download the 6.5 image and configure the network yum source on the host
yum install httpd -y
systemctl start httpd
systemctl enable httpd
mkdir /var/www/html/rhel6.5/
mount /iso/rhel-server-6.5-x86_64-dvd.iso /var/www/html/rhel6.5/
2. Create a master disk:
(1) open Virtual ...
Posted by psionicwrath on Tue, 26 Nov 2019 10:39:56 -0800
[Linux series] Centos 7 installation of Mysql8.0
objective
This paper mainly introduces the following two points:
How to install Mysql8.0
2. Navicat to Mysql
How to install Mysql8.0
There are two ways to install Mysql:
Download official source directly (slower)
https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm download RPM package
yum localinstall mysql80-community-relea ...
Posted by blear on Mon, 25 Nov 2019 09:05:02 -0800
Nginx chapter reverse agent
About the configuration file and explanation of the reverse seven layer agent
Nginx official website: https://www.nginx.com/
Centos yum install nginx
yum install nginx -y
so, let's ask you a question, what? Why do we use Nginx to implement the seven layer agent? What is the seven layer agent?
1. Difference between nginx proxy and not
Tradition ...
Posted by br549 on Mon, 25 Nov 2019 01:25:49 -0800
Rabbitmq cluster deployment
Blog Outline:I. Rabbitmq conceptII. Deploy a single RabbitmqIII. deploy Rabbitmq clusterIV. single node joins or exits cluster configuration
I. Rabbitmq concept
RabbitMQ is an open-source service implemented by AMQP protocol. The server side is written in Erlang language, and supports a variety of clients, such as Python, Ruby,. NET, Java, J ...
Posted by davidppppppppppp on Sat, 23 Nov 2019 11:54:34 -0800
GlusterFS hyperfusion deployment with 010.Kubernetes permanent storage
1. Pre-preparation
1.1 Basic Knowledge
In Kubernetes, using the GlusterFS file system, the steps are usually:
Create brick-->Create volume-->Create PV-->Create PVC-->Pod Mount PVC
If you want to create multiple PV s, you need to repeat the execution manually, and glusterfs can be managed through Heketi.
Heketi is used to manage ...
Posted by mirana on Fri, 22 Nov 2019 21:41:10 -0800
[Linux series] Centos 7 installation of PHP
objective
For the following Laravel deployment, this article starts to install PHP.
Set PHP source
Check if the Centos source has PHP.
yum list php*
Take a closer look at the PHP version.
yum info php.x86_64
It can be seen from the above figure that the PHP source version is too low and needs a higher version.
Set up a higher version of the ...
Posted by novicephp on Fri, 22 Nov 2019 08:27:10 -0800
Server jenkins building
install
Judge java version
java -version
If it is the java version of GIJ, you need to reinstall java
sudo yum remove java
sudo yum install -y java-1.8.0-openjdk
sudo yum install -y git
To install jenkins:
sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo
sudo rpm --import http ...
Posted by newbreed65 on Thu, 21 Nov 2019 11:45:26 -0800