Interpretation of LevelDB source code -- MemTable and sstable

In the previous chapters, we have been familiar with the basic operations of creating, reading and writing data in leveldb. Now we should take a closer look at the structure of data storage. At the beginning, we have seen the implementation of skiplist. In fact, MemTable is basically implemented by skip ...

Posted on Sun, 27 Oct 2019 03:40:19 -0400 by llangres

Automatic deployment of python environment (including openssl) in offline environment

When a project is encountered, you need to install the python project in the Intranet environment, so you write a script to automatically deploy the python environment and the python project in your spare time. Because the project is classified, only the shell script to automatically deploy the python environment is provided here, including the ...

Posted on Fri, 25 Oct 2019 16:06:43 -0400 by Karpathos

Introduction to Python: A brief introduction to standard libraries

Operating System Interface The os module provides many functions that interact with the operating system: >>> >>> import os >>> os.getcwd() # Return the current working directory 'C:\\Python37' >>> os.chdir('/server/accesslogs') # Change current working directory >>> os.system(' ...

Posted on Thu, 10 Oct 2019 04:55:31 -0400 by macmonkey

How to install and configure keepalived Linux system

Pre-installation preparation Server 1: Recommend Aliyun Server https://www.aliyun.com/product/ecsBasic System: CentOS 7 yum -y install gcc gcc-c++ autoconf automake make yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel 1. Download keepalived Method 1: yum -y install keepalived Method two: Download the binary source package: ...

Posted on Wed, 02 Oct 2019 07:04:48 -0400 by megaalf

Java Compression Technology TAR-Commons Implementation

Links to the original text: https://my.oschina.net/mohaiyong/blog/221262 We get archived compressed files through tar, which actually contains them. Filing and Compression of two ope ...

Posted on Mon, 09 Sep 2019 00:52:15 -0400 by jazzydog

Linux Server Deployment JavaWeb Project Complete Tutorial

Most of the tutorials in this article refer to other tutorials on the web, which are a few summaries that I've come back to after the actual operation. I hope you can help with the project you're deploying. Basic environment: Centos7, tomcat8, jdk8, MySQL 5.6, nginx   Install JDK yum install java-1.8.0-openjdk* -y With yum installati ...

Posted on Sun, 08 Sep 2019 21:41:58 -0400 by KoA

Compile and install PHP in Linux nginx environment

Installation steps of php in nginx environment System environment: CentOS 6.5 / 7.0 x86_64 Fedora 20 x86_64 I. yum Installation Dependency Package yum install zlib libxml libjpeg freetype libpng gd curl libiconv zlib-devel libxml2-devel libjpeg-devel freetype-devel libpng-devel gd-devel curl-devel openssl openssl-devel libxslt-devel //Install ...

Posted on Thu, 04 Jul 2019 19:44:17 -0400 by Gregg

Server installation and domain name resolution configuration of nginx reverse proxy (Linux)

brief introduction nginx is a lightweight web server and a reverse proxy server (domain name forwarding is the function of reverse proxy) 1.nginx can directly support rails and php programs 2. Can act as a reverse proxy server for HTTP 3. As a load balancing server 4. As a mail proxy server 5. Help front-end achieve dynamic a ...

Posted on Sat, 29 Jun 2019 22:23:54 -0400 by HSM

Nginx Brief Introduction and Installation

- Introduction to Nginx Introduction to Nginx Nginx is a high performance HTTP and reverse proxy server, which has the following advantages Supporting high concurrency Simple configuration Less resources occupied nginx as a proxy server is mainly used to achieve reverse proxy and load balancing. To understand the reflection proxy, we f ...

Posted on Thu, 20 Jun 2019 21:29:40 -0400 by Victorm

python upgrades green software, including single-file and multi-file upgrades

1. Upgrade of green software requires three directories:1) The directory of the main version file mainVersionDir Primarily store complete compressed packages2) subVersionDir, the directory where the subversion files are located Primarily stores a single file or multiple files to be upgraded, usually in zip form3) latestVersionDir, the directory ...

Posted on Sun, 09 Jun 2019 14:32:16 -0400 by SnakeO