Turn your Archlinux into a router

I got back an industrial control board with J2900 double Gigabit ports (odd model) for soft routing, but I wanted to use all kinds of skins, install a desktop environment with VNC, and I didn't have a cold on the virtual machine (and this U doesn't support through yet), so I had to give up all the router systems.As an Arch iron powder, in purs ...

Posted by vikaspa on Sun, 23 Feb 2020 08:31:13 -0800

Alibaba cloud Centos7 builds elastic search and kibana

Preface Now Elasticsearch is used by more and more companies. I have learned some simple operations of Elasticsearch before, but I haven't recorded them carefully, so I forgot them soon after I learned them. Now let's take this time to learn again. This article will mainly introduce how to build a s ...

Posted by jnerotrix on Sun, 23 Feb 2020 02:03:25 -0800

Using Python script to clean up es data

Demand background The business system stores all kinds of reports and statistical data in ES. Due to historical reasons, the system makes statistics in full amount every day. As time goes on, the data storage space of ES is under great pressure. At the same time, because the use of ES index is not well planned, some indexes even exceed the max ...

Posted by beefy23 on Fri, 21 Feb 2020 03:37:14 -0800

alpine of Docker customizes alicloud image

Article directory Introduction to alpine Linux Making JDK8 image based on alpine 1. Making jdk image by alpine 2. Create and edit dockerfile 3. Execute dockerfile to create image 4. Create and start the container 5. Enter the container 6. test jdk 2. Alpine makes jre image (slimming) Minimum JRE b ...

Posted by angrytuna on Fri, 21 Feb 2020 03:34:39 -0800

Shell operation of HDFS

1. Basic grammar bin/hadoop fs specific command or bin / HDFS DFS specific command 2. Command Daquan [andy@xiaoai01 hadoop-2.7.2]$ bin/hadoop fs [-appendToFile <localsrc> ... <dst>] [-cat [-ignoreCrc] <src> ...] [-checksum <src> ...] [-chgrp [-R] GROUP PATH...] [-chmod [-R ...

Posted by Abarak on Fri, 21 Feb 2020 03:07:18 -0800

IO stream: byte stream

IO flow overview IO flow is used to process data transmission between devices. Java operates on data through flow. The objects Java uses to operate flow are all in io package. Classification of IO streams Divided into input flow and output flow according to data flow direction By data type: byte strea ...

Posted by colake on Thu, 20 Feb 2020 03:47:00 -0800

Source code analysis of muduo Network Library: TimerQueue timing mechanism

Preface The first three chapters make the log part clear. From this chapter, start with TimeQueue and introduce Runinloop. In the next or next chapter, describe the event distribution mechanism of the entire muduo TimerQueue seems to be a troublesome class, but it's very simple. We can regard it as a ...

Posted by NTGr on Wed, 19 Feb 2020 22:55:17 -0800

linux foundation week 6

1. Self built yum warehouse, network source and local source respectively Steps to create yum warehouse: 1) mount Centos system CD to a directory or copy network resources to a directory 2) find the repodata directory, which is located in the upper directory of yum warehouse address (network sharing is required if creating a network warehouse ...

Posted by Nay on Wed, 19 Feb 2020 07:36:39 -0800

Network commands in linux

write explain Command name: write Command path / usr/bin/write Execute permission: all users Function Description: send information to the user, and save with Ctrl+D grammar Write < user name > Example # Send a message to tenentity write eternity [root@izm5e2q95pbpe1hh0kkwoiz ~]# write eternity write: eternity is logged in more than o ...

Posted by pdpullmn612 on Wed, 19 Feb 2020 04:49:04 -0800

Help commands in linux

Catalog man whatis apropos --help info help man explain Command name:man Command English original meaning:manual Command path: /usr/bin/man Execution rights: all users Function description: Get help information grammar man [command or configuration file] Example #View help for ls command man ls Page Down with Space Page Up U ...

Posted by Eiolon on Tue, 18 Feb 2020 18:47:48 -0800