[MySQL] standardized installation tutorial
Guidance:This article mainly introduces the installation steps of MySQL 5.7.23 binary installation of CentOS system, and the installation process of other versions is similar.
1. Preparation
Uninstall old MySQL
View the rpm package
rpm -qa|grep mysql if available
Find mysql residue package, delete if any, and ignore if no
find / -name ...
Posted by patsfans on Sun, 08 Dec 2019 13:12:06 -0800
dockerfile making image
The process of making nginx image is divided into three steps1. Make dockerfile file2. Make nginx installation script of nginx.sh3. Make ngx-depolyment.yaml file
Here are the details
#mkdir /root/dockerfile
#cd /root/dockerfile
#touch Dockerfile
#mkdir nginx
//Making a dockerfile file
root@<cc_172.16.0.2|~/dockerfile/nginx>:#cat Docker ...
Posted by leon_nerd on Sun, 08 Dec 2019 11:32:00 -0800
Install request Library
Environmental description
[root@localhost Python-3.6.6]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.4 (Maipo)
[root@localhost Python-3.6.6]# uname -a
Linux localhost.localdomain 3.10.0-693.el7.x86_64 #1 SMP Thu Jul 6 19:56:57 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost Python-3.6.6]# getenforce
Disabled
[ ...
Posted by paul_20k on Sun, 08 Dec 2019 03:14:22 -0800
Configure lnmp environment using yum (CentOS7.6)
I. details of installation version
Server: MariaDB
Server version: 5.5.60-MariaDB MariaDB Server
[root@ln-125 ~]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
[root@ln-125 ~]# nginx -v
nginx version: nginx/1.14.2
[root@ln-125 ~]# php-fpm -v
PHP 5.4.16 (fpm-fcgi) (built: Oct 30 2018 19:32:20)
Copyright (c) 1997-2013 The PHP Group ...
Posted by ozzythaman on Sun, 08 Dec 2019 01:58:32 -0800
002.Docker installation and deployment
One docker installation CentOS system
1.1 docker automatic installation script
1 root@docker:~# wget -qO- https://get.docker.com/ | sh
2 Or -
3 root@docker:~# curl -sSL https://get.docker.com/ | sh
Note: if the following error occurs, you can use yum to resolve the dependency——
Delta RPMs disabled because /usr/bin/yum prov ...
Posted by spstieng on Sat, 07 Dec 2019 22:30:31 -0800
LNMP deployment instance and HTTPS service implementation
LNMP deployment instance and HTTPS service implementation
What is LNMP: Linux + nginx + MySQL + (PHP FPM, PHP MySQL)
The web service architecture of Nginx+Mysql+Php on the Linux operating system.
MySQL in CentOS 6, Mariadb in CentOS 7
What's the function: it provides web services and can parse applications of PHP classes;
Next, I will dep ...
Posted by jason102178 on Sat, 07 Dec 2019 21:27:47 -0800
CentOS 7.5 installs mysql5.7.24 binary package deployment (maintained + master-slave replication)
I. environmental preparation:
Operating system: CentOS Linux release 7.5.1804 (Core) MySQL version: mysql-5.7.24-linux-glibc2.12-x86_.tar.gzMain warehouse: 172.16.8.247Slave Library: 172.16.8.249Host name:172.16.8.247 qas-zabbix-node01172.16.8.249 qas-zabbix-node02172.16.8.248 vip
2. mysql5.7 installation and master-slave replication configur ...
Posted by Xurion on Sat, 07 Dec 2019 21:09:55 -0800
If the php script execution process does not exit within 30 minutes, kill these php script processes
The online script content is as follows:[root@localhost ~]# cat /data/scripts/check_php.sh
#!/bin/bash
Date=`date "+%Y-%m-%d %H:%M:%S"`
Num=$(ps -ef|egrep "countjs_syc_site*|countjs_syc_plan*|countjs_syc.php|countjs_syc_img*|setcache*"|grep -v grep |wc -l)
Pid=$(/bin/ps -ef|egrep "countjs_syc_site*|countjs_syc_plan*|countjs_syc.php|countjs_ ...
Posted by billf2007 on Sat, 07 Dec 2019 18:48:28 -0800
Advanced chapter: dockersurm of docker adjusts micro service and service configuration (29)
>Original article, welcome to reprint. Reprint please indicate: reprint from IT people's story meeting Thank you!>Original link address: Advanced chapter: dockersurm of docker adjusts micro service and service configuration (29)
Last time, the swarm cluster environment has been set up. There are three virtual machines, server01, server0 ...
Posted by aclees86 on Sat, 07 Dec 2019 18:12:34 -0800
Summary of Chapter 3 of UNIX Linux programming practice course
Under Linux, everything is a file, so the directory is only a special file. It can be opened, read, and close just like the file, but the function is changed to opendir(),readdir(),closedir()
Data structure used to read directory file -- struct directory #include <dirent.h>
struct dirent {
ino_t d_ino; /* Ino ...
Posted by akufen on Sat, 07 Dec 2019 17:00:31 -0800