Using python to retrieve the Linux login password in SecureCRT
A Linux system was installed in the virtual machine on the notebook. It didn't work for a while. Suddenly, when it was used, I found that the password had been forgotten.Fortunately, I have used secureCRT software to connect to Linux before, so I can easily use python to retrieve the password.
Final effect
The red box indicates the password
Get ...
Posted by .-INSANE-. on Thu, 12 Dec 2019 13:31:07 -0800
SSH and SFTP usage of Paramiko
Catalog
1. overview
2. Basic use of paramiko
2.1 introduction to key parameters of sshclient
2.2 common sshclient examples
2.2.1 log in by user name and password:
2.2.2 log in by user name and password (transport mode)
2.2.3 log in by user name and key
2.3 introduction to ke ...
Posted by gilbertwang on Sun, 08 Dec 2019 23:14:10 -0800
pm2 remote Publishing
Create configuration item
Create a new pm2 configuration file ecosystem.config.js in the root directory of your git warehouse, as shown in the comments, or execute the pm2 init initialization file ecosystem.config.js.
module.exports = {
apps : [{
//pm2 name
name: "nextcn",
//pm2 run script
script: "./app.js",
//environment va ...
Posted by mligor on Sun, 08 Dec 2019 19:14:23 -0800
File transfer between Windows and Linux rz\sz
Main contents:
1. Lrzsz installation;
2. Application;
The SecurityCRT telnet\ssh installed on win7 logs in to VMware Fedora 9. When transferring files, SSH is installed to upload and download files. Today, Maizi told me that there are commands that can be used directly. It used to be rz and sz. Let's sort them out.
I. ins ...
Posted by miltonos on Thu, 05 Dec 2019 04:58:07 -0800
mycli helper - more convenient to connect online MySQL through ssh tunnel
mycli helper
github: https://github.com/fengjx/too...
purpose
It is more convenient to use MySQL command-line client mycli to connect to remote MySQL through ssh tunnel remote server port forwarding.
The detailed usage of mycli can be found on the official website https://www.mycli.net/
Network topology
Usually, we can't connect to the online ...
Posted by drcdeath on Tue, 03 Dec 2019 00:37:20 -0800
Scheduled Oracle database backup to remote server
I. demand
Regularly generate dmp from A database in oracle database of server A and back it up to server B (save for 10 days)
II. Configure scheduled database backup
Create A backup directory on server A and give permissions
[root@localhost /]# mkdir -p /home/oraclebak
#Create a new oracle backup directory
[root@localho ...
Posted by ldomingues on Mon, 02 Dec 2019 22:44:58 -0800
Set up the server login and logout remote server from scratch
During the period of double 11, we started a cloud server, which took a week or two for filing, and finally passed the filing. So we installed Docker containers on the personal server for deployment projects, and prepared to pack all services into containers as much as possible, so as to facilitate unified management and operation and maintenan ...
Posted by kikidonc on Mon, 02 Dec 2019 03:31:57 -0800
Hadoop HA double namenode construction
Machine distribution
hadoop1 192.168.56121
hadoop2 192.168.56122
hadoop3 192.168.56123
Preparing the installation package
jdk-7u71-linux-x64.tar.gz
zookeeper-3.4.9.tar.gz
hadoop-2.9.2.tar.gz
Upload the installation package to the / usr/local directory of three machines and extract it
Configure hosts
echo "192.168.56.121 hadoop1" >> /etc/ ...
Posted by bungychicago on Fri, 29 Nov 2019 09:16:17 -0800
Go pit filling: using Private warehouse as module dependency
This article is published synchronously in Personal blog.
The development of Golang can be described as changing with each passing day, but this is not a commendatory term, but it is said that there are many imperfections in its performance and function. With the development of small versions, the same function will also have destructive chang ...
Posted by djrichwz on Tue, 26 Nov 2019 21:21:14 -0800
Running Hadoop in Docker and image making
;
The Hadoop cluster depends on the following software: jdk, ssh, etc., so as long as these two items and Hadoop related packages are put into the image;
Profile preparation
1. Hadoop related configuration files: core-site.xm ...
Posted by Elhombrebala on Mon, 25 Nov 2019 06:31:54 -0800