Understand the core concepts of Ansible for automated operations, install and configure Ansible and learn to use its common modules.
Overview of Automation Operation and Maintenance:
Nowadays, with the rapid development of the Internet, the efficiency of traditional operation and maintenance methods is too low. Deployment of automated operation and maintenance can safely and efficiently complete the maintenance work, which has become the main mode of operation and maintena ...
Posted by beeman000 on Thu, 31 Jan 2019 12:27:15 -0800
Centos7 Installs GLPI Asset Management System
I. Environmental preparation
CentOS 7 + Apache 2.4.6 + PHP +Mariadb
Apache and Mariadb are installed directly by yum, and PHP is installed by binary source code.
The previous items here are the same as the snipeit asset management system installed before.
Pre-installation preparation
1. System Update # Note Use Centos 7.5 ...
Posted by ronald29x on Thu, 31 Jan 2019 05:09:16 -0800
postgresql lookup slow sql bis: pg_stat_statements
The pg_stat_states module provides a way to track execution statistics for all SQL statements executed by a server.
The module must be loaded by adding pg_stat_states to shared_preload_libraries of postgresql.conf because it requires additional shared memory. This means that adding or removing the module requires a server reboot ...
Posted by daneth1712 on Wed, 30 Jan 2019 08:09:16 -0800
Centos7 installs MySQL 5.7
1. Download the tar package, which is downloaded from the official website using wget
wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.22-linux-glibc2.12-x86_64.tar.gz
2. Install mysql under / usr/local/mysql
# decompression
tar -xvf mysql-5.7.22-linux-glibc2.12-x86_64.tar.gz
# move
mv mysql-5.7.22-linux-glibc2.12- ...
Posted by vikela on Tue, 29 Jan 2019 20:00:14 -0800
vsftp+keepalived+rsync + to achieve data synchronization and high availability
In response to the company's business needs, the closest to build a set of portfolio services, the network did not find a similar portfolio architecture, so I will build the process and share some new, I hope that friends with relevant needs will have the role of throwing a brick to attract jade!The objectives to be achieved are ...
Posted by rockobop on Sun, 27 Jan 2019 18:33:14 -0800
Centos7 Builds Samba Server
1. Preparations
Close the firewall
Close selinux
systemctl stop firewalld.service
setenforce 0 && getenforce && \cp /etc/selinux/config{,.ori} && grep -q "SELINUX=disabled" /etc/selinux/config || sed -i 's%SELINUX=enforcing%SELINUX=disabled%g' /etc/selinux/config
2.Yum installs Samba packages ...
Posted by stockdalep on Sun, 27 Jan 2019 00:03:16 -0800
Centos 6.9 Load Balancing Scheme Complete Configuration (lvs+keepalived+pxc+nfs+business system)
Preliminary preparation:
NFS server: computer name nfsserver, IP address 192.168.1.103, used to store business system data.
Noe1: Computer name PXC01, IP address 192.168.1.105, installation of pxc system and business system.
Noe2: Computer name PXC02, IP address 192.168.1.106, installation of pxc system and business system.
Noe3: Computer name ...
Posted by dirkadirka on Sat, 26 Jan 2019 15:45:15 -0800
Linux System Status View Command 1
Mission 23 October
1 0.1 Use w to view system load
10.2 vmstat command
10.3 top command
10.4 sar command
10.5 nload command
View System Load
w command
# Line 1: Current system time, system start-up time, logged-in users, system load: 1 minute, 5 minutes, 15 minutes
[root@centos7 ~]# w
20:54:14 up 5 min, 1 user, load average: ...
Posted by curt3006 on Sat, 26 Jan 2019 12:45:14 -0800
w, vmstat, top, sar, nload commands to view system status information
w/uptime View System Load
Cat/proc/cpuinfo View cpu Number
Vmstat monitoring system status, usage vmstat 1, key columns: r, b, swpd, si, so, bi, bo, us, wa
top Views Process Usage Resources
Top-c displays detailed process information
Top-bn1 static display of all processes
q exits, number 1 shows all core cpu s, capital M sorted by memory usag ...
Posted by pengu on Sat, 26 Jan 2019 05:27:14 -0800
linux basic learning [9]
Software management
1. yum: The most important function of the upper software management tool is to solve software dependency.
The prerequisite for yum to be operational is that it must have a yum source and configure the source-to-file
1. Getting ISO Mirror Files Matching the System
rhel-server-7.0-x86_64-dvd.iso
2. Mount the mirror file i ...
Posted by coellen on Fri, 25 Jan 2019 13:54:14 -0800