docker practice record
install
Ubuntu 14.04/16.04 (install using apt get)
Refer to Appendix 2
# step 1: install some necessary system tools
sudo apt-get update
sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common
# step 2: install GPG certificate
curl -fsSL http://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add ...
Posted by malcome_thompson on Fri, 29 Nov 2019 17:04:41 +0100
Tencent Cloud Server Centos7.7 Build Lnmp
Query system information
cat /etc/redhat-release
// Return
## CentOS Linux release 7.7.1908 (Core)
yum Mirror Switch to NetEase
Download new sources and backup local sources
cd /etc/yum.repos.d/
wget http://mirrors.163.com/.help/CentOS7-Base-163.repo
mv CentOS-Base.repo CentOS-Base.repo.bak
mv CentOS6-Base-163.repo CentOS-Base.repo
yum source u ...
Posted by William on Fri, 29 Nov 2019 09:10:54 +0100
phpMyAdmin installation configuration in Linux CentOS7 system
Today's introduction is how to configure phpMyAdmin in Linux CentOS7 system.
Catalog
Environmental preparation
Installation package
Basic setup
Sites Preview
Environmental preparation
linux centos7 system
ssh software
php language environment
mysql database
Installation package
phpMyAdmin official website download
Before installing, use x ...
Posted by spikeon on Tue, 19 Nov 2019 20:45:50 +0100
Docker swarm building clusters and load balancing
Docker swarm
Swarm is a relatively simple tool released by Docker company in early December 2014, which is used to manage Docker clusters. It turns a group of Docker hosts into a single, virtual host. Swarm uses the standard Docker API interface as its front-end access portal. In other words, all kinds of Docker clients (Dock ...
Posted by russellpehrson on Fri, 15 Nov 2019 19:46:00 +0100
How to configure Nginx web page optimization in Linux system
Change the number of Nginx running processes
In the high concurrency scenario, more Nginx processes need to be started to ensure fast response, so as to process users' requests and avoid blocking
You can use the ps aux command to view the number of Nginx running processes
Configuration method for changing the number of processes
Modify the ...
Posted by saurabhdutta on Fri, 15 Nov 2019 18:54:17 +0100
Nginx configuration test service status
1. Check whether the check status module is installed;
[root@localhost ~]# nginx -V
nginx version: nginx/1.12.2
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)
configure arguments: --prefix=/usr/local/nginx --with-http_sub_module
2. If it is not installed, recompile and install it;
Check status module; -- with HTTP > status > modul ...
Posted by logicopinion on Thu, 14 Nov 2019 16:49:21 +0100
FastDFS picture server stand-alone installation steps
As I said before A picture of the network architecture of microservices , through this article, you can understand the stand-alone installation process in FastDFS components.
Stand alone architecture
The following are the installation steps of FastDFS
I. environmental preparation
CentOS 7.X
libfastcommon Version used: libfastcommon-1.0.41.tar. ...
Posted by Brand Hill on Tue, 12 Nov 2019 11:45:19 +0100
Implementation of java operation ffmepg
1. preparation
ffmpeg
Link: https://pan.baidu.com/s/1oh qfxnlw5kmdf8f5etq
Extraction code: rsdn
It's more convenient to open Baidu online mobile App after copying this content
2. View live video through ffmepg
public void run() {
ProcessBuilder builder = null;
List commend = new ArrayList();
commen ...
Posted by gwizz on Mon, 11 Nov 2019 20:22:23 +0100
IV. set up git server, install gitlab, use gitlab, backup and recovery of gitlab
I. build git server
After all, github is open, and private warehouses have to pay for it. So we can find a way to build a private one for our own company. Gitlab is a good choice. Before introducing it, let's talk about the command line git server
To find a server, you need to install git first. Here you have a new machine to install GIT.
# yu ...
Posted by Graxeon on Sat, 09 Nov 2019 10:16:12 +0100
Upgrade, rollback, expand and shrink of k8s resource object
1. One of the ways to create resources is to create resources by command, understand the actions after the command runs, and summarize the origin of Pod name by viewing resources.
When we execute the command to create resources, the deployment controller will manage the pod through the replicaset controller. Next, we will analyze through an ex ...
Posted by westen on Thu, 07 Nov 2019 07:11:11 +0100