release in December 2005 4 V1 Q' | 1 U9 I5 O2 H4 B + @In the future, the new iso27000 series security standards will consist of five parts:}, E0 Z "} * {2 T2 t(}, Q T7 H/ISO 27000 will formally define the specific technical vocabulary used in these standards; V (o! @ 5 S9 p $'ISO 27001 will be the ISO version of BS 7799-2, the certification standard (due for full release in November 2005, already available as a final draft); "H" r? * '-WISO 27002 wil
(1)Before using the optical drive, Mount: # Mount/dev/CDROM/mnt/CDROM, and then you can read the content of the disc in the/mnt/CDROM directory;(2)When you want to exit the CD, you must use the umout command. Otherwise, the CD drive will remain
Original works, allow reprint, please be sure to use hyperlinks in the form of the original source of the article, author information and this statement. Otherwise, the legal liability will be investigated. http://elain.blog.51cto.com/3339379/760266
Master-Slave synchronization:MD01 10.0.0.11 MasterMD02 10.0.0.12 SlaveMD03 10.0.0.14 Slave#建立数据库目录
Mkdir-p/elain/apps/mongodb/mkdir-p/elain/data/mongodb/db/mkdir-p/elain/logs/mongodb/
Note:1, do not need to copy the complete data like MySQL in the pa
node is selected.
(2 ). download the MongodDB manual installation version (I downloaded the 64-bit Linux version), decompress it to a directory, change the name of the decompressed folder to mongoDB, enter the mongoDB directory, and create a new configuration file mongod. conf
# Mongod. conf# Data storage pathDbpath = mongodb/data/mongod# Log storage pathLogpath = mongodb/log/mongod. logLogappend = true# Pid of the stored process running in the backgroundPidfilepath =/home/yanggy/mongodb/mongo
Label:This article demonstrates: (one primary server, one backup server, three quorum servers) The official recommended replica set has an odd number of members, up to 12 replica set nodes, and a maximum of 7 nodes to participate in the election. This article demonstrates the use of port-differentiated services based on this machine (the new DB folder under each server is used to store data,mongodb.conf file configuration startup parameters) The contents of each server configuration file are a
migration and data automatic balance;Mongod: Storage Application data records, generally have multiple Mongod nodes, to achieve the purpose of data fragmentation.
System environment:1. Three servers are configured as follows:
IP Address
Routing Server
Configure the server
Shard1
Shard2
Shard3
192.168.96.10
20000
21000
27001
27002
27003
192.168
information.
Routers: Front-end routing, where the client is connected and makes the entire cluster look like a single database, and front-end applications can be used transparently.
System environment
System: CentOS 7.4 x86_64
Software version: 4.0
Shutting down firewalls and SELinux
IP Address
routing Server (routers)
Configuring the Server (config-server)
Shard1
Shard2
Shard3
192.168.125.119
:27100,10.199.144.90:27100--port 27000--logpath/data/mongodb/ Mongos/mongos.log--forkConfigure the start of each shard replica set separately, where the replica set name is called, respectively, shard1 shard2 and shard3 :Mongod--shardsvr--replset shard1--port 27001--dbpath/data/mongodb/shard1/data--logpath/data/mongodb/shard1/log/ Shard1.log--directoryperdb--forkmongod--shardsvr--replset shard2--port 27002--dbpath/data/mongodb/shard2/data-- Logpath/da
: Configure MongoDB1) Open Oplog, also need to start a replica set in MONGOMy mongo_home is D:\mongodb.The directory tree is as follows:-rs (d)|----db (d) directory where the MONGO data file file is stored|----rs1 (d) directory where rs1 instance data files are stored|----RS2 (d) directory where RS2 instance data files are stored|----The directory where log (d) log files are stored|----rs1.log (f) log file for the Rs1 instance|----rs2.log (f) log file for the RS2 instance|----The startup script
Brief description: MongoDB is a distributed file storage-based database. Written in C ++. It is designed to provide scalable, high-performance data storage solutions for Web applications.
Environment: centos 5.5x64
Installation:CD/root/tools
Wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.0.0.tgz
Tar zxvf mongodb-linux-x86_64-2.0.0.tgz
MV mongodb-linux-x86_64-2.0.0/elain/apps/mongodb-linux-x86_64-2.0.0
Ln-S/elain/apps/mongodb-linux-x86_64-2.0.0/elain/apps/MongoDB
Ln-S/elain/apps/Mong
prevent data loss synchronization in the replica set stored in a copy, The quorum determines which node to store when the data is stored to the Shard.Environment preparationSystem System centos6.5 Three servers: 192.168.0.75/84/86 Installation package: Mongodb-linux-x86_64-3.4.6.tgz Server Planning
Server
Server
Server
MONGOs
MONGOs
MONGOs
Config server
Config server
Config server
Shard Server1 M
The use of MongoDB was initiated from version 2.4, but the rights management was relatively straightforward. And I didn't get it.
Now look back at several versions of Rights management and see the changes between versions.
and the cluster and the single machine are also very different,
The following is a simple configuration of an environment to test with version 2.6.
Create a clustered environment: config={_id: ' Test1 ', members:[{_id:0,host: ' 192.168.2.113:
corresponds to MONGO, leaving only a Name field, String type Other configurations do not need to be modifiedRun it in Tomcat and check to see if it's configured successfully.Six. MongoDB End PreparationSee the description in the Mongo-connector project,Since the connector does real time syncing, it's necessary to have MongoDB, running the although would connector with Both sharded and non sharded configurations. It requires a replica set setup.Even if we turn on the Oplog, we also need to st
)
Top: 150pxIndicates that the content is displayed PX away from the top, and yesLeft: 150px Indicates that the content is displayed in a place 150px away from the left.
Width: 200px; Height: 200px;Indicates the area size that can be displayed.
The aboveTop, widthAttribute values can be set as negative numbers.Place the value you set.
Lecture 3
Wonderful filter effect (mainly static)
After the first twoChap, The powerful filter finally surfaced ^_^ with the power of filters and scripts, we can e
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.