linux Basic Starter Software Installation rpm, yum and source installation details

8. Software RPM Package Installation 8.1 rpm Installation rpm [Options] Package Name Main Options -i Installation -e Uninstall -U Upgrade -q lookup Auxiliary Options -_Display process -h --hash query -a-all Query all installed packages -f-file query for packages with <-file -p Query for a package that is not installed uninstall -nodeps Ignor ...

Posted on Mon, 10 Feb 2020 09:54:09 -0800 by aaronhall

Seven IPC communication mechanisms

Article directory 1.pipe 2.fifo: named pipe 3.signal: signal 4. shared memory 5. message queue 6. semaphore 7. Socket 1.pipe A pipeline allows one process to communicate with another process that has a common ancestor with it, that is, it can only be used to communicate between processes that hav ...

Posted on Mon, 10 Feb 2020 03:09:34 -0800 by sasori

Canary learning of PWN

Canary Reference link: https://ctf-wiki.github.io/ctf-wiki/pwn/linux/mitigation/canary-zh/ 0x1 introduction: A method to prevent stack overflow from being used is to put a random number under the ebp of the stack. Before the function returns, it will check whether the number has been modified, and then it can detect whether stack overflow has o ...

Posted on Mon, 10 Feb 2020 02:27:19 -0800 by Ruud Hermans

Big data infrastructure

Big data - basic environment construction (1) server setting This paper uses three Linux servers as a unified environment. IP settings for three machines Modify the ip address of three services vi /etc/sysconfig/network-scripts/ifcfg-ens33 BOOTPROTO="static" IPADDR=192.168.52.100 NETMASK=255.255 ...

Posted on Sun, 09 Feb 2020 23:35:47 -0800 by drisate

Mirror Management, Port Mapping, Container Interconnection for Docker Containers

Layer of docker image Each instruction in the Dockerfile creates a new mirror layer; The mirror layer will be cached and reused; When the instructions of the Dockerfile are modified, the copied file changes, or the variables specified when the image is built are different, the corresponding mirror layer cache will fail. When the mirror cache ...

Posted on Sun, 09 Feb 2020 14:14:03 -0800 by py343

K8s Deployment--Introduction to k8s and etcd Cluster Creation

Introduction to Kubernetes Kubernetes is an open source container cluster management system for Google in 2014. Kubernetes is referred to as K8S.Kubernetes v1.0 was officially released in July 2015, and the latest stable version so far is v1.9 K8S is used to deploy, extend, and manage containerized applications. K8S provides a range of functi ...

Posted on Sun, 09 Feb 2020 12:36:28 -0800 by realestninja

Signal tracking under linux: Jprobe? Signal

Problem Description: in linux environment, sometimes the process exits abnormally. At this time, strace can be used to track the running of the process. If it is an internal error of the process, the strace log can see the abnormal error points of the process. But if it is killed by another person or process, only the killed in ...

Posted on Sun, 09 Feb 2020 10:18:43 -0800 by fr0mat

Go Memory Management

Go Memory Management Go Memory management is based on TCMalloc, using continuous virtual addresses, managed in page (8k) units and multilevel caches; when allocating memory, size needs to be aligned, suitable mspan found according to best-fit, and unused memory will be split into other size mspans to ...

Posted on Sat, 08 Feb 2020 16:44:49 -0800 by tempa

Redis full check verifies the data of two different redis instances

Redis full check checks whether redis data is consistent: Verify the data of two different redis instances: 6986 is redis instance 16987 is redis instance 2 Log in to 6986 redis instance 1, simulate setting 4 key values [root@localhost redis-full-check-1.4.7]# redis-cli -h 127.0.0.1 -p 6986 -a 'Y2hJKSGtuEq' Warning: Using a password with '-a' ...

Posted on Sat, 08 Feb 2020 00:50:26 -0800 by jassh

Docker deployment nginx + tomcat

brief introduction In the production environment, many enterprises often use nginx + tomcat architecture, nginx as load balancer, reverse proxy, tomcat as node server. This architecture can also be used in the docker container.For those interested in this architecture, please refer to the blog: https://blog.51cto.com/13760351/2161850 Operati ...

Posted on Fri, 07 Feb 2020 06:35:58 -0800 by warptwist