1. Download MongoDBDownload Link: http://www.mongodb.org/downloads2. Unzip the downloaded compressed packageTAR-ZXVF mongodb-linux-x86_64-3.2.8.tgz3. Change the file name MongoDBMV XXX MongoDB4. We set up a new data directory in the MongoDB
To view the occupancy of an end port: lsof-i: Port numberPrerequisite: First you must know that the port is not independent, it is dependent on the process. When a process is turned on, its corresponding port is turned on and the process shuts down,
Method Two: Install the JDK with Yum1. See which JDK versions are available in the Yum Library (OPENJDK only)[email protected] ~]# Yum search Java|grep JDKLdapjdk-javadoc.x86_64:javadoc for LDAPJDKJAVA-1.6.0-OPENJDK.X86_64:OPENJDK Runtime
I. Initialization of the network1.ip Address modification (temporary effect)Using the Ifconfig commandIfconfig NIC name IP address Subnet mask192.168.100.112/24Modification of 1.IP address (permanent entry)Modify the NIC file in
/*********************************************************************** * i.mx6 SHT20 Linux Drive porting * Description: * Originally intended to use SHT10 to do humidity detection, found that it is not i²c interface, of course, also use * Gpio can
How do I find the so library file for the Linux kernel function?The first thing to do is to generate a process for the Coredump fileLinux has a lib-gdb.so library in which the last load segment of all the load segments in the Coredump file of this
To create a createuser.sh script file#!/bin/sh#传入的文件名Name=$1#创建该用户所对应的ftp文件夹/srv/ftp is the root directory of my FTP servermkdir/srv/ftp/$name#创建ftp用户组 for easy Management/usr/sbin/groupadd FTP#创建用户/usr/sbin/useradd-g
Mount label= Custom Label name Directory name (Note When using mkfs. File type partition name to format a partition without a label name, you can only use the command mke2fs-l Label name Partition name to specify a label name for a partition )
Linux System Fundamentals (ii)First, the Linux system structure1.Linux system structure is inverted tree type2./bin # #二进制可执行文件也就是系统命令/sbin # #系统管理命令存放位置/ Boot # #启动分区, responsible for system startup/ Dev # #设备管理文件/ etc # #大多数系统管理文件 /Home #
Permissions for files-rw-rw-r--1 Kiosk Kiosk 0 Oct 2 17:05 file"-" File type "-" represented as directory for file "D"The first three bits of the "rw-rw-r--" file permission represent all permissions for the file or directory, and the three bits
Process
What is a processProcess is what the system is doing2. Process statusRunDormancyStop itGo onEndZombie Process3. How to view processes in a drawingGnome-system-monitor4. How to view processes with commandsPS Process Viewing tool-a process
Unit two exercises1. Create a file with commands and regular expressions as required*) Create 12 files with one command Westos_classx_linuxy (the value range of x is 1-2,y 1-6)*) These files are included in the study directory of the root user's
Key authentication between 1.desktop server two virtual machinesFirst look at the true IP: if 178.25.254.10Then two virtual machines can set IP to desktop 178.25.10.11Server 178.25.10.122. Revenue command: Nm-connection-editor or Nmtui for quick
Installation:
Install Zookeeper:
Download Zookeeper:http://zookeeper.apache.org/releases.html#download.
Extract the zookeeper-3.4.7.tar.gz to the directory,/usr/local/zookeeper-3.4.7.
Copy the conf/zoo_sample.cfg of the
1. The number of files in the current directoryls -l | grep " ^- "| WC -L2. Directory tree of the current directoryls -l | grep " ^d "| WC -L3. The current number of directory files contains sub-directory contentsls -lr| grep " ^- "| WC -L4. Specify
Haproxy implements port 80 multiplexing and haproxy80 multiplexing
Copyright:
The author of this article is-Chen Xin
All the content in this article is summarized by Chen Xin. Unauthorized forwarding and use are prohibited without my permission.
QQ:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service