Installation and use of RabbitMQ3.6.10 under CentOS 6.5 final

I am a little white one, because the company needs to use RabbitMQ, I will look for data to install.Now I'll write down the steps and problems I've encountered to help you. System: centOS final6.5 Download directory for files: /home/lmy/opt Installation directory: /opt I have the current directory in every step of my code, and switching di ...

Posted by Debar on Thu, 13 Jun 2019 09:21:45 -0700

Introduction to iOS Multi-Thread Locks

How does thread security come about? Common examples are the operation of a non-thread-safe variable outside a thread within a thread. Thread security and synchronization must be considered at this time. - (void)getIamgeName:(NSMutableArray *)imageNames{//Suppose every entry is a thread. /*1.imageNames It is a variable outside the threa ...

Posted by hearn on Wed, 12 Jun 2019 16:28:37 -0700

[Redis Foundation] Startup Process

1. Initialize server state structure The initial server variable is completed by the redis.c/initServerConfig function with the following source code void initServerConfig() { int j; // Server status // Setting the running ID of the server getRandomHexChars(server.runid,REDIS_RUN_ID_SIZE); // Setting default profile pat ...

Posted by Ang3l0fDeath on Mon, 10 Jun 2019 11:47:33 -0700

Writer and Reader in Go Language

Input and outputThe Go Writer and Reader interfaces are designed to follow the input and output of Unix, and the output of one program can be the input of another program.Their capabilities are simple and pure, making it easy to write program code, and allowing our programs to do more through the concept of composition.For example, in the previ ...

Posted by zeb on Mon, 10 Jun 2019 10:24:36 -0700

Socket server for Python 3 network programming

This section is mainly about the socket server of Python 3 network programming. In the last section, we talked about socket. Because socket can not support multi-user and multi-concurrency, there is socket server. The main function of socket server is to implement concurrent processing. There are two kinds of socket servers: server class: Prov ...

Posted by almightyegg on Sat, 08 Jun 2019 14:28:37 -0700

[Source analysis] tinyhttpd-C language implements the simplest HTTP server

tinyhttpd is an ultra-lightweight Http Server with less than 500 lines. It's good for learning and can help us really understand the nature of server programs. After looking at all the source code, I really feel that there are great gains, whether it is unix programming, or GET/POST Web processing process, are clear a lot. Don't talk nonsense, ...

Posted by jcavard on Fri, 31 May 2019 14:48:08 -0700

Process monitoring supervisor

Supervisor, a process control system, is a C/S mode system that allows users to monitor and control the number of processes in the UNIX-LIKE operating system.Supervisor is the main process and some subprocesses are managed under Supervisor. When a subprocess exits abnormally, Supervisor handles it immediately, usually by daemon, restarting the ...

Posted by foobar on Mon, 27 May 2019 10:07:04 -0700

Using Gitblit to Build Git Server on Windows Platform

Installation of Java Two Configuration Java Environment Variables Three Gitblit Servers Four configurations Gitblit users I. Installing Java Download address: http://www.java.com/zh_CN/ Just install it directly. Configuring Java environment variables Right-click "Computer"=> "Property"=> "Advanced Sy ...

Posted by Hybrid Kill3r on Sun, 26 May 2019 11:34:11 -0700

Manage processes using supervisor

Supervisor (http://supervisord.org ) is a process management tool written in Python that can be easily used to start, restart, and close processes (not just Python processes).In addition to controlling a single process, multiple processes can be started and shut down at the same time, such as when unfortunately the server is down and all applic ...

Posted by dineshthakur on Sat, 25 May 2019 10:12:36 -0700

linux performance analysis commands ps,top,vmstat use

ps * Grammar: ps [options] Note: This command looks at the instantaneous running state of a process at a given time, and looks at it discontinuously. Three options are supported: UNIX options such as - a (prefix -) BSD options such as a Display processes in the current terminal by default The a option includes processes in all terminals ...

Posted by rickmans on Wed, 22 May 2019 14:19:39 -0700