Permission management under Linux
Permission management under Linux
Permission management under Linux
1. How to view and read permission information
[1]ls
ls -l file
Enter the specified directory
ls -d dir
View catalog itself
ls -a dir
All files contain hidden
ls -S dir
View and sort by size
ls -s dir
View file size
T ...
Posted by rwcurry on Sat, 11 Jan 2020 23:27:14 -0800
Docker installs the latest version of Mysql (Mysql8.0)
Docker installs the latest version of Mysql (Mysql8.0)
Docker environment configuration
Mysql8.0 configuration
Note:
Note 1
Note 2
Last
Congratulations, docker MySQL has been built successfully!
If you think the writing is good, please click below to give a reward, thank you!!
Original: product R ...
Posted by HiddenS3crets on Sat, 11 Jan 2020 00:27:57 -0800
[e220200101-1] Centos 7.x turns off firewall and SELinux
1, Preparations
1.1 server preparation
Operating system: centos 7.x
1.2. Install the text editing tool nano
# yum -y install nano
2, Turn off SELinux
2.1. View SELinux status
2.1.1. First method: view SELinux status
# /usr/sbin/sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root director ...
Posted by rostros on Mon, 06 Jan 2020 01:12:22 -0800
Setting up a docker environment under CentOS7.4
Docker uses timeline as version number after version 1.13, which is divided into community version CE and enterprise version EE.
The community version is free for individual developers and small groups. The enterprise version will provide additional charging services, such as infrastructure, containers, plug-ins, etc. that ...
Posted by DimeDropper on Wed, 01 Jan 2020 01:48:09 -0800
002. NFS architecture of kickstart deployment
One preparation
1.1 complete architecture: Kickstart+DHCP+NFS+TFTP+PXE
1.2 component application
Kickstart server IP: 172.24.8.12
DHCP: provide client IP, gateway, image path, etc;
TFTP: sharing pxelinux.0, initrd.img, vmlinux, isolinux.cfg, boot.msg, vesemanu.c32, splash.png files
NFS: share ks.cfg and all CD files
Note: this ks.cfg file and a ...
Posted by jackson4me90 on Mon, 09 Dec 2019 06:58:04 -0800
LVS + preserved + nginx for high availability
1. purpose
lvs is a four-tier load balancing. keepalived provides lvs with highly available services and checks the health status of the backend nginx. Nginx is mainly used for seven tier load balancing
2. topological graph
Server IP address description
Director master 192.168.3.105 LVS kept alive
Director standby node 192.168.3.104 LVS ke ...
Posted by natalieG on Thu, 05 Dec 2019 17:41:03 -0800
centos7 installation and configuration of rsync and problems encountered
install
Server side
Install software:
yum -y install rsync
To create a directory to synchronize:
mkdir -p /data
Edit the configuration file: vim /etc/rsyncd.conf
motd file = /etc/rsyncd.motd
transfer logging = yes
log file = /var/log/rsyncd.log #Log storage path
port = 873 #Port number
address = 192.168.0.37 #IP address
uid = root #User ...
Posted by Pie on Tue, 03 Dec 2019 21:25:11 -0800
Centos7 compiles and installs nginx and sets the reverse agent
I. compile and deploy Nginx 1.12
Installation configuration:
[root@localhost ~]# groupadd nginx
[root@localhost ~]# useradd -s /sbin/nologin -g nginx -M nginx
[root@localhost ~]# systemctl stop firewalld
[root@localhost ~]# systemctl disable firewalld
#Turn off selinux
#Server file descriptors, etc
[root@localhost ~]# yum install gcc gcc-c++ ...
Posted by MCP on Mon, 02 Dec 2019 10:13:31 -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
Keeping alive + LVS + apche to achieve high available load balancing
About Keepalived
Keepalived is originally designed for LVS, which is specially used to monitor the status of each service node in the cluster system. It detects the status of each service node according to the third, fourth and fifth layer switching mechanisms of the TCP/IP reference model. If a server node is abnormal, or the ...
Posted by rhodry_korb on Thu, 14 Nov 2019 07:28:12 -0800