squid forward and reverse proxy and balanced polling

squid forward agent Principle: a machine that can't access the Internet can access the website that can't be accessed through the agent Here I use my real machine as an agent. The virtual machine accesses the website through the agent Operating System: Red Hat Enterprise Linux Server 7.2 (Maipo) squid installation a ...

Posted by katuki on Wed, 15 Apr 2020 16:35:33 +0200

linux under software is too laggy? How to configure domestic image source

Ubuntu 18.04 configure domestic image source Modify profile Manual change Open / etc/apt/sources.list with a familiar editor, such as vi /etc/apt/sources.list Take ubuntu 18.04(bionic) as an example to copy and replace all contents in sources.list( Use Alibaba cloud image): deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted univ ...

Posted by San_John on Mon, 13 Apr 2020 17:08:27 +0200

redis basic learning

redis basic learning   redis Redis is an open source (BSD licensed) in memory data structure storage system, which can be used as database, cache and message middleware yum install redis 1.yum installation #The premise is to configure alicloud yum source and epel source #Check whether there is redis package yum list redis ...

Posted by Zeon on Sun, 12 Apr 2020 14:52:24 +0200

linux builds php performance analysis tool

First on the renderings: Installation environment Centos,php7,MongoDB3,nginx php extension mongodb: http://pecl.php.net/package/mongodbtideways_xhprof: https://github.com/tideways/php-xhprof-extension Install MongoDB3 By default, MongoDB2 is installed in my environment yum. xhgui requires version 3 or above. Create a yum source for MongoDB3 vi ...

Posted by jalapena on Sat, 11 Apr 2020 17:27:35 +0200

linux compiling and installing nginx and detailed explanation of the parameters of each step

1. Environment and installation of dependent packages [root@localhost ~]# systemctl stop firewalld && setenforce 0 #Turn off the firewall and selinux first [root@localhost ~]# yum -y install gcc gcc-c++ #Install build environment [root@localhost ~]# yum install -y pcre pcre-devel #Install pcre package (make nginx support http rewri ...

Posted by rupam_jaiswal on Mon, 06 Apr 2020 17:36:47 +0200

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

DevOps tool chain (2) - the latest version of git for CentOS 7.4 source installation

Software versions: Operating system: CentOS 7.4 Git: 2.17.0 System user: root 1. Installation environment # Install gcc [root@localhost bin]# yum install gcc # Install gcc-c + + (not sure if it is not necessary) [root@localhost bin]# yum install gcc-c++ # Install packages required for com ...

Posted by rochakchauhan on Sat, 04 Apr 2020 07:20:18 +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

Python script: Linux automatic installation of python2.7 or 3.6

Python script: Linux automatic installation of python2.7 or 3.6 Preface In the daily operation and maintenance process, in the deployment environment, it is often necessary to install or upgrade the python version. Here, a script is required for automatic installation and deployment. The implementation idea of this script is ...

Posted by Gulsaes on Fri, 27 Mar 2020 16:48:30 +0100

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