Installation and configuration of Postgresql9.6.6 under CentOS 6.6

1, Environment introduction System platform: CentOS release 6.6 (Final) Postgresql: postgresql-9.6.6 SELINUX=disabled Iptables off 2, Installation process 1. Install dependency package yum -y install gcc* yum -y install readline-devel 2. Source package acquisition wget http://ftp.postgresql.org/pub/source/v9.6. ...

Posted by batterdmooie on Sat, 04 Apr 2020 10:11:46 +0200

MySQL forget root password solution

Now the mysql database we use is divided into two versions, one is mysql and the other is mariadb. There are some differences between the two versions of the solution, which I will explain below. First step First, we need to turn on my.cnf vim /etc/my.cnf Add skip grant tables under [mysqld], then save and exit ...

Posted by rejoice on Sat, 04 Apr 2020 00:08:14 +0200

Tcp warp and ISCSI services

Service startup process: Tcp warp: 1.Tcp warp is managed by xinetd 2. support libwarp.so module service: we can use ldd to view ldd `which sshd` vim /etc/hosts.deny ALL:ALL ###Everyone refused to connect vim /etc/hosts.al ...

Posted by eddy666 on Fri, 03 Apr 2020 15:21:54 +0200

Technology sharing | MySQL Test

Author: Lei Xia The test team leader of akerson focuses on MySQL related test work. ​ Source: original contribution *Aikesheng is produced by the open source community. The original content cannot be used without authorization. Please contact the editor for reprint and indicate the source. What is Mysql Test? Mysql Test is an integrated al ...

Posted by jawaking00 on Tue, 31 Mar 2020 13:59:32 +0200

memcached high availability cluster building

memcached high availability cluster buildingWe need three servers: Main server 192.168.247.206 From server 192.168.247.160 Client 192.168.247.161master serverConfigure memcached primary and secondary cache nodes [root@lamp ~]# hostnamectl set-hostname master [root@lamp ~]# su [root@master ~]# [root@master ~]# mkdir /abc mkdir: cannot create ...

Posted by jdeer0618 on Mon, 23 Mar 2020 15:30:20 +0100

OpenVPN Installation Configuration

1. Introduction Definition OpenVPN is a software package for creating virtual private network encryption channels, originally written by James Yonan.OpenVPN allows created VPNs to authenticate using public keys, electronic certificates, or user names/passwords. It makes extensive use of the SSLv3/TLSv1 protocol function library in the Ope ...

Posted by rmelino on Sat, 21 Mar 2020 05:45:34 +0100

HAproxy load balancing (Health Detection for back end)

Because there is a. spec file in the haproxy package, we can use the rpm command to build the ha rpm package ourselves: 53 yum install rpm-build -y 57 rpmbuild -tb /usr/src/haproxy-1.7.3.tar.gz 58 yum install pcre-devel -y 59 rpmbuild -tb /usr/src/haproxy-1.7.3.tar.gz 60 yum install gcc -y 61 rpmbu ...

Posted by peteraub on Wed, 18 Mar 2020 16:10:26 +0100

CentOS7.X installs Redis-4.0.8 and builds Redis clusters

My personal website Install redis Preparation before installation yum install \ vim \ wget \ make \ gcc \ gcc-c++ \ automake \ autoconf \ -y \ Download, unzip and install cd /root wget http://download.redis.io/releases/redis-4.0.8.tar.gz tar -zxzf redis-4.0.8.tar.gz cd redis-4.0.8 make PREFIX=/usr/local/redis/ install Create the data file ...

Posted by chrisv on Tue, 17 Mar 2020 12:24:00 +0100

Formal Learning linux-12

1.selinux The selinux security subsystem restricts services from domain and security context constraints to only or as much resources as it should have. Domain: Service functional constraints; Security context: Restrictions on file permissions. The state of SELinux is configured by configuring/etc/selinux/config.It is recommended that the s ...

Posted by phpnew on Sat, 14 Mar 2020 17:54:23 +0100

docker container, network deployment

Deploy centos7 container applications Mirror download: [root@yixuan ~]# docker pull daocloud.io/library/centos:7 systemd Integration: Because SYSTEMd requires CAPSYSADMIN permission, which gives it the ability to read to the host cgroup, SYSTEMd has been replaced with fakesystemd in CentOS7.However, ...

Posted by maddog720 on Sat, 14 Mar 2020 01:33:06 +0100