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
Linux is a very important concept, it refers to the device (has The formatted partition) is attached to the directory that already exists. The Linux operating system sees all the devices as a file, consolidates all the resources into a large
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 )
Synchronizing with a known time serverThe code is as follows:Ntpdate time.nist.govWhere time.nist.gov is a time server.Delete local time and set time zone to ShanghaiCopy CodeThe code is as follows:
lsof-i:6379See if a program on a port is up.Netstat-tnlpYou can view the listening ports, where L is listening, p is display program, n is the display IP instead of name, and T appears to be viewing only the contents of TCP.View memory usage or CPU
First unit Exercises1. Using student User Login System graphical interface650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/88/6D/wKiom1f3Q4vQYLu6AAA2pXjasP4099.png-wh_500x0-wm_3 -wmp_4-s_3850511351.png "title=" screenshot from 2016-10-06 14
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
Crontab command is a very important point of knowledge in Linux, for system administrators, with Crontab do timed cycle tasks can greatly improve work efficiency, before the scheduled cycle task, as a system administrator must first learn how to
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
Unit Seven1 . Status of the processRun, stop, hibernate, zombie process (the process is closed but still occupies memory), end2. View process CommandsPs-a View The processes running in the shell (-a means that only the processes in the Shell's front
Five - six unit exercise >>>1. New user group,shengchan, Caiwu,Jishu2. New user requirements are as follows:* Tom is an additional user of the Shengchan group* Harry is an additional user of the Caiwu group* Leo is an additional user of the Jishu
1. Re-install GrubAfter reloading windows, the MBR is overwritten causing Linux to fail to boot and the following command is executed after the USB flash drive enters live:1 Mount/dev/sda5/mnt//This is where you mount the Linux system root directory
Mount hard drive on bootCat/etc/fstab/DEV/SDA1/MNT/SDA1 ext3 defaults 0 0Mount the hard driveMount/dev/sdb5/home/disks/sdb5Un-mountUmount/home/disks/sdb5------------------------------------------Unzip the file. tar.xz Yum Intsall XZxz-d files.tar.xz
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
/bin store the user's longest commands, such as: CP, LS, cat, and so on. /boot Some of the core files used when booting Linux. /dev is the abbreviation for device (devices), which is the peripheral device for all Linux.
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
Today to help students install Linux on the Win7, feel a tutorial is very good, markOriginal address: Win7 under the U disk installation Ubuntu14.04 Two system steps detailedFirst, pre-preparation1, more than 2G of a U disk (my system disk after the
Linux installation package analysis. -- Arvin, linuxarvin
The first LINUX solution is also for linux, but the rpmw.tar.gz and deb packages are quite different. This difference can make the installation process unable to proceed. What format should
Configure the host NFS service and host nfs
I. Some problems during host NFS configuration.
1. clnt_create: RPC: Unknown host appears during showmount-e.
Solution:Set/etc/hosts to resolve the Server IP address to the server host name.
2. The host
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