How the golang Quick Start [5.1]-go language works-linker

Previous golang Quick Start [2.1]-go Language Development Environment Configuration-windows golang Quick Start [2.2]-go Language Development Environment Configuration-macOS golang Quick Start [2.3]-go Language Development Environment Configuration-linux golang Quick Start [3]-go helloworld How the golang Quick Start [4]-go language is compile ...

Posted on Sun, 16 Feb 2020 15:26:32 -0800 by tlchung

linux interprocess communication -- local socket socket -- multiplex IO transfer server implementation: one server corresponds to multiple clients -- poll implementation

First, I will give you an advertisement, and my official account of WeChat officially launched. Search: Zhang Xiaosheng's site, mainly focus on embedded software development, stock fund allocation, football and so on. I hope you will pay more attention to it and leave questions directly to me. I will tr ...

Posted on Sun, 16 Feb 2020 03:38:54 -0800 by hbradshaw

Use postfix and dovecot to deploy your mail system--Learn Notes

The experimental environment is redhat 7.0 systemAs shown in the figure aboveClient uses outlook to send and receive mailThe server sends outgoing mail using postfix, receives mail using dovecot, and forwards the changed user 1. Install dns domain name resolution service 1.1 Configure the server host name, which is consistent with the sending ...

Posted on Sat, 15 Feb 2020 08:27:43 -0800 by murpe

Docker builds Kong -- configures Service and adds key auth

Kong is an API gateway that forwards API communication between the client and the (micro) service.Conceptual terminologyUpstream: it is an abstraction of the upstream server;target: represents a physical service, which is the abstraction of ip + port;Service: it is an abstract level service. It can be directly mapped to a physical service (ho ...

Posted on Fri, 14 Feb 2020 04:42:41 -0800 by lovesmith

2. Docker uses templates to create images, container management, warehouse management, data management

1. Docker uses templates to create mirrors Download a template first http://download.openvz.org/template/precreated/ //Download speed is not fast, download a CentOS 6 template centos-6-x86-minimal.tar.gz [root@fuxi01 ~]# wget http://download.openvz.org/template/precreated/centos-6-x86-minimal.tar.gz The command to import the image is: # cat c ...

Posted on Tue, 11 Feb 2020 19:24:12 -0800 by simon71

Compile and install Redis and manage using systemd

Environmental Science OS redis version Firewall and selinux CentOS7 4.0.14 Close Installation steps Pre-installation Equipment 1.because redis Yes C Written, so installation is required gcc #yum -y install gcc 2.download redis Source Package #wget -P /usr/local/src/ http://download.redis.io/releases/redis-4.0.14.tar.gz Compile Installati ...

Posted on Tue, 11 Feb 2020 10:28:50 -0800 by tommyboy123x

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