Disable root remote login, use ssh password-free login

Reason Recently, I purchased a new server to get something new. First, I want to achieve password-free login (i.e. user password login). Then, I don't want to use root login, so I searched a lot of data on the Internet, and now summarize some for myself to fumble around in the future._ These are for yourself, don't look for me if you can't un ...

Posted by Mucello on Thu, 14 Nov 2019 18:29:14 -0800

HA high availability cluster construction

Common hadoop cluster namenode(nn) secondarynamenode(2nn) datanode(dn) The problems of common hadoop cluster Is there a single point of failure with datanode? No, because datanode has multiple machines and a copy mechanism as guarantee Is there a single point of failure with the namenode? Yes, because 2nn can't replac ...

Posted by zed420 on Wed, 13 Nov 2019 11:31:47 -0800

Which management services can be restarted on the ESXi host?

Log in to the direct connection interface (DCUI) of ESXi 6.7 host, and we will see the following function option: Restart Management Agents. Even the description on the right is vague. What services are these so-called Management Agents? Why not translate this Agent into "Agent", but into "service"? The word agent is ver ...

Posted by deltawing on Mon, 04 Nov 2019 07:45:25 -0800

Talk about SSH Remote management configuration in CenOS 7

In the CenOS 7 system, openssh server is provided by openssh, openssh server and other software packages (installed by default), and sshd has been added as a standard system service. You can execute systemctl status sshd to view the status of the service. As long as you have a legal login shell, you can log in to the operating system remotely ...

Posted by youwh on Sun, 03 Nov 2019 05:31:46 -0800

jenkins with k8s to achieve application continuous integration

The previous article wrote about how to build a reusable image of tomcat. This article talked about how to use this image to build different projects repeatedly. Go straight to the subject: Step 1 create the corresponding mavn project job Other configurations remain the same. The main change is the action after the build project. Note: becaus ...

Posted by jannz on Fri, 01 Nov 2019 11:26:06 -0700

Configuration of ROS network communication

Part II: configuration of ROS network communication brief introduction Local area network configuration Using dandelion VPN to realize remote networking brief introduction This article includes two aspects: On the one hand, it is the simplest LAN, which can be completed without too much configur ...

Posted by jaronblake on Sun, 27 Oct 2019 23:00:33 -0700

Getting started with Git

Getting started with Git What is Git? Create version library information and configure user information Submit modification process View operation Revocation Version rollback Branching operation Storage work area Remote warehouse What is Git? Git is the most advanced distributed version control ...

Posted by RedOrbit on Sun, 20 Oct 2019 12:28:41 -0700

Various database command line tools: mycoli litecli MSSQL cli pgcli

If you normally operate the database on the command line, it is highly recommended that you use the following command-line tools. mycli Mycli is a MySQL based command-line tool, which is directly installed by pip install mycli. For details, see https://github.com/dbcli/mycli $ mycli --help Usage: mycli [OPTIONS] [DATABASE] A MySQL terminal c ...

Posted by timmybuck on Sat, 19 Oct 2019 11:28:17 -0700

Data synchronization through rsycn

I. experimental requirements 1. The backup machine needs to synchronize all files under the / app/java_project directory of the MIS server at 1:03 a.m. every day. 2. It is required to record the synchronization log to facilitate the analysis of synchronization failure. II. Task analysis 1. Use crontab to write scheduled tasks 2. Use rsync for r ...

Posted by wattsup88 on Sat, 19 Oct 2019 07:47:51 -0700

5. pytest Chinese document monkey patch

Catalog 1. Modify function function or class property 2. Modify environment variables 3. Modify dictionary Sometimes, the test case needs to call some functions that depend on the global configuration, or these functions themselves call some code that is not easy to test (for example, network access ...

Posted by sennetta on Fri, 18 Oct 2019 01:48:46 -0700