Linux file and directory management command base

1. Command basis 1.1 command operation syntax Command [parameter] [file] Parameter, optional Documents, optional 2. Basic command 2.1. View the current working directory pwd print name of current/workin directory Print name or working directory [root@oldboyedu ~]# pwd /root [root@oldboyedu ~]# cd /opt/ [root@oldboyedu /opt]# pwd ...

Posted by wama_tech on Sun, 05 Apr 2020 03:28:23 -0700

mongoDBmongoDB Replica Set Actual

mongoDB Replica Set Actual Warfare background Features of a mongoDB single server: - Risk of data loss - Single server cannot be highly available Features of the mongoDB replica set: -High Availability Architecture to Prevent Data Loss - Keep multiple replicas synchronized and consistent - The mongodb replica set switches automatically when ...

Posted by Cheap Commercial on Sat, 04 Apr 2020 19:15:46 -0700

Introduction to the varnish foundation of WEB caching system

Previously, we talked about the cache control mechanism in http protocol and the introduction of varnish architecture components. Please refer to https://www.cnblogs.com/qiuhom-1874/p/12620538.html Today, let's talk about how to configure and use varnish; We mentioned earlier that there are two configuration files in varnish, one is / etc/varni ...

Posted by zarathu on Sat, 04 Apr 2020 17:38:21 -0700

033 remote execution command

Execute command on serverIt seems that there is no module to execute the command before. Now it is added import subprocess obj = subprocess.Popen('dir',shell=True,stdout=subprocess.PIPE) #Get an object. The command is in front, shell The script can be executed, stdout Set a process pipeline. There are actually two processes, one is the main p ...

Posted by rdog157h on Sat, 04 Apr 2020 15:55:01 -0700

python full stack development - Day5 collection

python full stack development - Day5 collection 1, First of all, learn the set according to the following points #1: Basic use 1. Purpose 2. Definition method 3. Common operation + built-in method #2: Summary of this type 1. Save a value or multiple values. Only one value can save multiple values. What types of values can be 2. Order or disor ...

Posted by ericbangug on Sat, 04 Apr 2020 10:31:50 -0700

Self-timer Tutorial 52 Python_adb Run Shell Script

Android, as a Linux terminal, must have run Shell scripts that support the.sh suffix. Sometimes the test environment prepares or intercepts complex logs for a long time, and so on, the development will give you some Shell scripts. Benefits of Shell script execution: Quick and efficient, Shell scripts are supported on Linux terminals. Since th ...

Posted by timvw on Sat, 04 Apr 2020 09:51:50 -0700

Create Maven private warehouse with Nexus

Go to http://www.sonatype.org/nexus/go/ Download nexus-2.14.5-02-bundle.tar.gz Create the nexus directory in the server and download the Nexus (upload it to the oss first and then download it in the form of wget) [root@iZm5e0c5bxd15k4yfdiirsZ opt]# mkdir nexus [root@iZm5e0c5bxd15k4yfdiirsZ opt]# ls apache-tomcat-8.0.30 jdk1.8.0_11 nexus r ...

Posted by rupertbj on Sat, 04 Apr 2020 09:42:49 -0700

DMAv1alpha2 New Version: Balancing Standards and Scalability

Author | Sun Jianbo (Tianyuan) Aliyun Technical Expert Read about: DMASpec has been iterating for nearly three months. v1alpha2 Version finally released!The new version has become more Kubernetes-friendly as a whole, balancing standards and scalability to a large extent and supporting CRD better, on the basis of adherence to platform-independen ...

Posted by FMB on Sat, 04 Apr 2020 06:25:48 -0700

Linux Chromium source compilation

LInux Chromium source compilation Under LInux, Chromium is compiled in gn+ninja mode. The older version of gyp has been discarded, and by default (the is Pang flag bit is true), the clang compiler is used. GN generates the build.ninja file through the GN file in the Chromium source code under the compiled directory (s ...

Posted by mac25 on Sat, 04 Apr 2020 03:29:53 -0700

The way of configuration management under Android: apk signature correlation

How to generate apk signature key file # Build key method: sub='/C=CN/ST=ShangHai/L=ShangHai/O=example/OU=CM/CN=example/emailAddress=buildfarm@example.com' for key in platform shared media testkey;do ./development/tools/make_key $key "$sub" done How to re sign an apk The command is as follows: java -Xmx2048m -ja ...

Posted by SmokyBarnable on Fri, 03 Apr 2020 22:53:48 -0700