linux installation software program (Debian [aptitude], Red Hat system [yum], source code installation) - with detailed methods

Install software programs 0 summary linux, package management system (PMS), and command line tools for software installation, management and deletion. How to use the software package management system (PMS) to install, update or delete software at the command line. Although most Linux distributions use beautiful GUI tools for package man ...

Posted by big-dog on Thu, 09 Dec 2021 19:26:57 +0100

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

vmware virtual machine settings yum source

During the experiment, several virtual machines (minimum installation) need to be opened to mount the image directly to configure the yum source, without copying the iso to the virtual machine, so as to reduce the disk occupation; Check whether the virtual machine mounts the image Check whether the mount directory is mounted C ...

Posted by SimpleManWeb on Tue, 07 Jan 2020 05:46:38 +0100

Linux Basic Command - dig

dig Di is a DNS query tool, most administrators will use the dig command to solve DNS problems. The scope of application of this command: Red Hat, RHEL, Ubuntu, CentOS, Fedora. 1. Grammar dig [option] 2. List of parameters @server Specify server address -b host Specify which host to query through -f file Qu ...

Posted by rjs34 on Tue, 01 Oct 2019 08:03:53 +0200

C/C++:sizeof arrays and pointers

C/C++:sizeof arrays and pointers Using sizeof in C/C++ yields different results for arrays and pointers. [example 1] #include <stdio.h> #include <stdlib.h> #define SAFE_FREE(p) {free(p);p=NULL;} int main() { char arr[20]; char *p = (char *)malloc(sizeof(char) * 20); printf("sizeof arr :%d\n", sizeof(arr)); prin ...

Posted by DeadEvil on Tue, 09 Jul 2019 02:36:06 +0200

RHEL7/centos7 Modify network card name to eth0

        Because of the new network card name naming method used in RHEL7, it is difficult to understand and remember the network card name. This paper introduces how to modify the network card name to the traditional eth0 naming method to define any network card as eth0.Introducing the process of network ...

Posted by gudushen on Sat, 29 Jun 2019 18:48:19 +0200

Hot Deployment of Nginx

As a reverse proxy and load balancing server, nginx must be highly available, so it supports hot deployment.The hot deployment of nginx is closely related to its concurrency model.To put it plainly, it's because of the master process.When ngnix is notified to re-read the configuration file, the master process makes grammatical errors.If there ...

Posted by holowugz on Thu, 09 May 2019 23:28:03 +0200