Ubuntu Server 18.04 configure rsync (xinetd)
[server configuration]
System version
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
Official documents: https://rsync.samba.org/documentation.html
install
sudo apt install rsync xinetd
Modify or add in / etc/default/rsync file
RSYNC_ENABLE=inetd
Create th ...
Posted by chodges on Sat, 30 Nov 2019 04:26:38 -0800
[Linux] install Java on Linux
Sketch
The Linux system used in this article is Ubuntu 16.04 and JDK is 1.8.0_.
JDK Download
JDK 1.8.0? Download link: https://pan.baidu.com/s/1AgiZ5DHnJjCVxBKPzdCddw
Extraction code: v1ud
Linux installing Java
Create a folder in / usr/local / directory and upload the downloaded JDK through Xftp tool (if there is no Xftp ...
Posted by bmpco on Fri, 29 Nov 2019 12:51:56 -0800
Reptile [1] python reptile introduction case - crawling pictures
Preface:
After learning the basic knowledge of python, let's write a simple case of crawler, which uses urllib and re library.
The reptile principle of this case:
First of all, we use urllib library to simulate the behavior of browser visiting website, and get the source code (html tag) of corresponding webpage from the give ...
Posted by fabiuz on Fri, 29 Nov 2019 12:24:11 -0800
Configuration Secrets used by drone
Repository secrets are used to store passwords, secret keys, tokens and other confidential information.repository secrets can be configured in the setting interface of the warehouse
Usage:
kind: pipeline
name: default
steps:
- name: build
image: alpine
environment:
USERNAME:
from_secret: docker_username
PASSWORD:
from_ ...
Posted by DfyAnt on Fri, 29 Nov 2019 12:09:49 -0800
Best practice of eBCC performance analysis - a simple eBCC analysis network function's latency
0. Intro
BCC is a set of performance analysis tools based on ebpf of 4.x kernel;
eBCC, as the name implies, is the abbreviation of extended BCC. It is the extension of the BCC project by Alibaba kernel team on Aliyun Linux, including the existing tool set of BCC itself and some small tools newly developed by us. eBCC is based on the extension o ...
Posted by cristiano on Fri, 29 Nov 2019 11:55:34 -0800
Reptile [2] use of beautiful soup Library
Preface:
In the previous article, we used the urlib and re libraries of python to complete the introduction case of crawler
However, because regular expressions are difficult to master, we use a third-party library: beautiful soup to intercept the content of the web page
text
One, download and install beautiful soup
If p ...
Posted by truck7758 on Fri, 29 Nov 2019 11:40:28 -0800
A tool for a long time in silence: supervisor
Note that since the supervisor cannot monitor the background program, all commands executed by the command need to be executed in the foreground, such as nginx: command = /usr/local/bin/nginx -g 'daemon off;'
Talk about the benefits of this tool:Manage your process, terminate the automatic restart service process abnormallyTurn off the machine ...
Posted by nwoottonn on Fri, 29 Nov 2019 10:20:32 -0800
Upgrading python2.6.6 to python2.7 makes pip command unavailable
The server environment is CentOS 6.8, and Python is the default version 2.6.6
1. Upgrade python
Upgrade python2.6.6 to python2.7.14, which will not be described herePlease refer to the following documents for upgrading:https://blog.csdn.net/see_you_see_me/article/details/78550977
2.Python makes pip command unavailable
Upgrading Python 2.7 resu ...
Posted by scottchr226 on Fri, 29 Nov 2019 10:06:26 -0800
python parsing implementation of PIBOT communication protocol
Preceding text ROS robot chassis (3) - Communication Protocol Defined PIBOT This protocol is simple and not related to ROS, and can be extended at the same time. In this paper, we use python to realize a transceiver, which can be used in windows or linux at the same time
1. dataHolder
python struct package It can be used to pac ...
Posted by TheUkSniper on Fri, 29 Nov 2019 07:58:53 -0800
How to Cross-compile the GO Program with ARM Architecture on Ubuntu
We all know that when CGO is not involved, cross-compilation of Go s is very simple and requires only the corresponding GOOS and GOARCH to be set, but when CGO is involved, the problem becomes a bit complicated because you need to specify a specific GCC.
For example, if you want to cross-compile a dynamic library with CGO on Ubuntu and the tar ...
Posted by Deadman2 on Wed, 27 Nov 2019 15:29:44 -0800