Docker Mirror and Docker File Making tomcat Mirror
Make tomcat image:
JDK and tomcat images are constructed based on centos 7.2.1511 basic images provided by the government. First, JDK images are constructed, and then tomcat images are constructed based on JDK images.
Building JDK Mirror
Download the Basic Mirror Centos:
docker pull centos
Execu ...
Posted by neon on Wed, 02 Oct 2019 23:19:00 -0700
linux limits the use of disk space by users or groups
Experimental environment
Environment: CentOS 7.3, a disk SDB is divided into a partition sdb1.
Install disk quota support software
yum install quota
Make a file system and mount it in a way that supports quota functions
mkfs.ext4 /dev/sdb1
mount /dev/sdb1 /tmp
mount -o remount,usrquota,grpquota /dev/sdb1
Check whether disk quota technology is ...
Posted by keefy on Mon, 30 Sep 2019 15:13:08 -0700
Linux Centos 7 - Redis Offline Installation
Install Redis in a disconnected environment.
1. Reference Articles
Ali Cloud Mirror centos7 rpm package download address http://mirrors.aliyun.com/centos/7/os/x86_64/Packages/
Redis download address http://download.redis.io/releases/
https://blog.csdn.net/u010177412/article/details/81780844
https://www.cnblogs.com/yy3b2007com/p/1 ...
Posted by cmancone on Tue, 24 Sep 2019 09:58:43 -0700
Docker-swarm Cluster Deployment and High Availability Configuration of Swarm Cluster Management Nodes
I. Docker deployment
yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
yum makecache fast
yum install docker-ce
service docker start
vim /usr/lib/systemd/system/docker.service
#Add to
--graph /data/docker --storage-driver=overlay ...
Posted by feest on Mon, 23 Sep 2019 03:18:42 -0700
Build deployment Docker container based on entOS7 in Linux environment
1. Overview of Docker containers
Differentiate Docker container technology from VM virtual machine technology:
evernotecid://394EFE90-9CE0-4D65-A8CD-DFEC0DC8061E/appyinxiangcom/11359837/ENResource/p1872
Docker container technology [Container]: container virtualization technology
evernotecid://394EFE90-9CE0-4D65-A8CD-DFEC0DC8061E/appyinxiangcom ...
Posted by corruption on Thu, 19 Sep 2019 10:49:23 -0700
Docker Container Series Articles Introduction to Docker Technology
Docker Contrast VM
Docker's Network Model
Dokcer provides communication between containers by using Linux bridges. Docker has four network modes
They are the following four modes
Host mode, specified using -- net=host.
Container mode, specified using -- net=container:NAMEorID.
None mode, specified using -- net=none.
Bridge mode, specified wit ...
Posted by newbtophp on Sun, 15 Sep 2019 21:23:42 -0700
Linux Centos7 - - NFS shared storage space
The purpose of this chapter is to use NFS shared storage space and build HTTPD services to use this space.
This chapter environment: VM virtual machine, a server Centos7 as a server to provide NFS services, a server Centos7-1 as a client
1. Add a hard disk to the server (restart the server disk is valid)
2. Check whether the disk is in effec ...
Posted by j0se on Sun, 15 Sep 2019 21:13:23 -0700
Detailed PXE high-efficiency batch network installation and kickstart unattended technology in CentOS 7
PXE High Efficiency Batch Network Installation
Batch deployment of servers
Scaling: assembling multiple servers at the same time
Automation: Install systems, configure services
Remote implementation: no installation media such as CD, U disk, etc.
About PXE Network
PXE
Pre-boot execution environment, run before operating system
Can be used f ...
Posted by cybercrypt13 on Tue, 10 Sep 2019 10:13:31 -0700
shell script exercises -- arrays
Problem Description: An employee's linux system has a large number of duplicate software (different versions), resulting in errors when installing software using yum. Now we need to find out the duplicate software and delete the low version software. Execute rpm-qa | sort as follows:
[root@cws85 ~]# rpm -qa | sort
a52dec-0.7.4-27.el7.x86_64
a ...
Posted by hammad on Tue, 10 Sep 2019 03:26:33 -0700
Linux Remote YUM Warehouse and NFS Service
Overview of YUM
Software Update Mechanism Based on RPM Package Construction
Automatically resolving dependencies
All packages are provided by a centralized YUM software repository
The Way of Providing Software Warehouse
FTP service: ftp://...
HTTP service: http://...
Local directory: file://...
Sources of RPM Packages
Collection of RPM P ...
Posted by ShiloVir on Mon, 09 Sep 2019 03:24:40 -0700