python implements command line interaction

Background: Recently, because of the work requirements, automatic test scripts are being written, the main purpose is to test the integrity of code functions. However, there are always problems when using SSH Library for remote SSH interaction. For example, when encountering the interaction that requires password input, it is always unsuccessfu ...

Posted on Wed, 11 Dec 2019 08:22:32 -0800 by Lukey

2 linux user management: user CRUD [that is, the modification of / etc/passwd database]

3.2 linux user management: user CRUD [is the modification of / etc/passwd database] 1. Add useradd adduser $ useradd / adduser <userName> ##Increase user $ passwd <userName>##Set password $ userdel <userName> ##Deleting users can only be executed by the user groups of sudo of debian and wheel of red hat $ su & ...

Posted on Thu, 05 Dec 2019 22:05:57 -0800 by andyg2

The construction of ubantu16.04 arm cross compiling environment

Install arm-linux-gcc-4.4.3 on Ubuntu 16.04 I. unzip the installation package: sudo tar -zxvf arm-linux-gcc-4.4.3.tar.gz -C / Note that there is a space after C, so the extracted file is under the path of / opt / friendlyarm / toolchain / 4.4.3 3. Create a new arm directory under the / usr/local directory, and copy 4.4.3 under ...

Posted on Tue, 03 Dec 2019 18:38:15 -0800 by piet123

Using OpenMP to speed up OpenCV image processing performance

This article starts from personal blog https://kezunlin.me/post/7a6ba82e/ Welcome to read! speed up opencv image processing with openmp Series Part 1: compile opencv on ubuntu 16.04 Part 2: compile opencv with CUDA support on windows 10 Part 3: opencv mat for loop Part 4: speed up opencv image processing with openmp Guide config linux/window ...

Posted on Sun, 17 Nov 2019 19:38:18 -0800 by harsh00008

3-ros teleop

ROS uses XBOX ONE handle Preface Basic knowledge ROS uses XBOX ONE handlePrefaceReference resourcesLearning recordInstall related packagesConfigure LinuxROS package usageRosslaunch file of P3AT controlled by handleCustom useAbout xbone BT wireless controller TOC Reference resources ros wiki Tutorial Msg Remapper Linux Configu ...

Posted on Thu, 31 Oct 2019 15:30:09 -0700 by Asinox

gdb debug zygote process

System 4.4.4 mobile n4zygote was originally an app system program, but there was also a java part in it. Last time, it was not successfully debugged with as, this time it was debugged with gdb.Enter the mobile phone and attach it directly with adbserver. seliunx is on by default. You need to enter setenforce 0. 130|shell@mako:/ # reboot haidra ...

Posted on Thu, 31 Oct 2019 01:35:54 -0700 by PunjabHaker

kubernetes practice: internal dns domain name resolution server

Operating system: Ubuntu 16.04 Server IP: 172.18.1.12 1. Install bind9 apt install bind9 -y 2. Configuration resolution file Enter / etc/bind directory and open named.conf.local // // Do any local configuration here // // Consider adding the 1918 zones here, if they are not used in your // organization //include "/etc/bind/zones.rfc1918"; // ...

Posted on Wed, 30 Oct 2019 22:33:13 -0700 by AliceG

Install GCC environment manually on Ubuntu system

Ubuntu system is apt install gcc with GCC installation instruction. Currently, GCC version in APT source is 5.4.0, which is too low. Manual installation of GCC 8.3.0 is recommended. Before manual installation of gcc 8.3.0, you need to ensure that the installation of gcc environment depends on GMP 4.2 +, MPFR 2.3.1 +, MPC 0.8.0 +, otherwise the ...

Posted on Wed, 30 Oct 2019 22:20:21 -0700 by tina88

Install pysharm and create pysharm shortcuts in Ubuntu 18.04

Install pysharm and create pysharm shortcuts in Ubuntu 18.04 I. install Pycharm in Ubuntu 18.04 1. Download pycharm professional 2018.2.4 from PyCharm website: https://www.jetbrains.com/pycharm/ Click the DOWNLOAD NOW button to enter the system version download page. Picture 1 Picture 2 Click professional to download 2. Unzip and install the do ...

Posted on Sat, 26 Oct 2019 09:14:37 -0700 by newbie_07

02 Docker command

Docker command Explain:The content of this article comes from the integration of www.runoob.com; Container lifecycle management run start/stop/restart kill rm pause/unpause create exec Container operation ps inspect top attach events logs wait export port Container rootfs command commit cp diff Mirror warehouse login pull push search Local im ...

Posted on Tue, 22 Oct 2019 00:40:01 -0700 by mwalsh