({addshard: "shardtwo.mongodb.local:27018", Name: "Shardtwo"})
>>db.runcommand ({addshard: "shardthree.mongodb.local:27018", Name: "Shardthree"})As far as possible, the Shard server avoids the change of IP address of the server in the way of domain name resolution4. Start the Shard and add the slice key to the database>>db.runcommand ({"enablesharding": "Mc_visit"})
>>db.runcommand ({"Shardcollection": "MC_VISIT.MC _visit "," key ": {" Visitdate ":-1," Virus ": 1}})5, no data in the case of mod
Step OneIf not, do not set up the HBase development environment blog, see my next blog.HBase Development Environment Building (Eclipse\myeclipse + Maven) Step one, need to add. As follows:In the project name, right-click,Then, write Pom.xml, here not much to repeat. SeeHBase Development Environment Building (Eclipse\myeclipse + Maven)When you are done, write the code, right.Step two some steps after the HBase development environment is built (export
installation: "Error:python stdlib not found or Stdlib found without. py files"
step 1: Find the Jython parser jar package and unzip it (the jar package should be available in your SDK \tools\lib found below)
Step 3: Open windows>>references and navigate to Jython interpreter
Step 4: Click on the "New" button and select the Jython jar package below sdk/tools/lib/, then click the OK button
After installing the Preferrences interface should be as follows,
First you have to let your system have a Chinese language pack:
Setup can be performed before: locale look, if the display is en_US. UTF-8, which is normal, does not have to follow the steps set below. If you want to display additional encodings, you need to set the following steps.
Centos
Edit/etc/sysconfig/i18n file, modify the contents to: (Can use VI, nano
1. Official website http://ueditor.baidu.com, download ueditor. NET version2. Place the downloaded folder in the Project content directory3. Page Setup, featrue for textarea ID4. Upload picture settingsOpen the Ueditor.config.js Settings Ueditor folder under Content\ueditorOpen \content\ueditor\net under the Config.json settings picture save location, the file inside of all the "Picture access path prefix" into a null character, the "Save path" to cha
VMware is already familiar to users, VMware ESXi is also called (VMware vsphere Hypervisor), VMware ESXi is a streamlined and free version of VMware ESX, and the installation configuration is very convenient and simple, so it is favored by many users, As VMware's partner, we are here today to share with you the installation and setup of VMware ESXi 5.1 virtual machines.
First, VMware ESXi 5.1 detailed installation configuration note
Note Before inst
which the user is connected cannot be persisted between sessions, so the list of clusters in the left pane is empty each time the Network Load Balancing Manager is started. However, the user can save the list to a text file and load the text file at a later time when the tool is launched. Execute the File/Save host list/load host List command sequentially in the Network Load Balancing Manager window (10). , NB Sp Other events related to NLB cluster operations are log
Recently either the Java environment variable configuration or the Python environment variable configuration there are students asking me, I am here to write an answer, of course, I configure the environment of Python for example. First you need to make sure that Python is installed on your local computerFirst explain why you need to configure the environment variables, we usually open an application, usually in the desktop double-click the software shortcut, you need to enter the command line a
> project> ?
Getting Started with WebdriverBefore using Webdriver, we need to do some background learning of the language first. It mainly includes object-oriented concept, basic use of Python and several parts of basic Java usage.
Object-oriented philosophyClasses, class, refers to a template, a design template.
Object : An object is an instance of a class, with 状态 and 行为 . For example, a panda is an object whose state is: name, age, gender, behavior: s
quotation marks to be taken, red for the newly added.# OS specific support. $var _must_ is set to either true or false.Java_opts= "-xms256m-xmx512m-xss1024k-xx:permsize=128m-xx:maxpermsize=256m"Cygwin=falseModify JVM memory size under windows:Scenario One: Unzip the version of Tomcat to launch Tomcat via Startup.bat to load the configurationTo add the Catalina.bat under Tomcat's BinREM Guess catalina_home if not definedThe set current_dir=%cd% is added later, and the red ones are added for the
/shutdown.sh];Thenecho $ "Stopping Jboss"$JBOSS _home/bin/shutdown.shFi;;*)echo $ "Usage: $ {start|stop}"Exit 1;;EsacExit $RETVALInitiate script authorization on your own initiativeExecutes the chmod 755/etc/rc.d/init.d/jboss command to make the script file executableBrochure JBoss ServicesExecutes the chkconfig--add/etc/rc.d/init.d/jboss command. Add it to the serviceStart JBossExecute sh/data/app/jboss-4.2.3.ga/bin/run.sh commandStop JBoss Service: Service JBoss StopStart JBoss Service: Servic
Android Studio installation configuration, Environment setup detailed steps and basic use, android installation ConfigurationPreface
The installation, configuration, and usage of Android Studio are coming ~
Not to mention, the following describes how to install and configure JDK (and its environment variables are configured in the Java Development Environment) and Android Studio, the basic usage of projects
inexplicable problems later.6. New Maven Web project method:6.1) Ctrl + N:In this way, a MAVEN Web project has been built. However, by default, the Java version in the Project facet is 1.5, and you want to modify it to the local Java version.6.2) Right-click the project->properties and change it to:I'm using JBoss here, so I'm going to set the runtimes in the dynamic Web module to JBoss:6.2) Create a new Src/main/java source folder with Maven's default contract:This folder needs to be built man
We know some of the usual TFTP server configurations that can be implemented on the router. The next thing that follows is a few steps and commands for the TFTP server routing setup. Hope this article's summary, can provide some reference for everybody. TFTP Server routing 1, loading from Flash (Flash): During the configuration process, we typically configure Flash to load the first location of the Cisc
options, can choose their own equipment to support the channel, if not clear, keep auto can be, SSID can be arbitrarily entered a name to identify the network, wireless mode to keep G and B mode is basically suitable for most of the current wireless devices, broadcast SSID function We will check it, Convenient for us to find this wireless network, the QoS configuration basically do not need to modify, let it remain the default.
Third, the next wireless security configuration, into the security
Send alert email settings using an external email accountConfigure the Zabbix server external mailbox vi/etc/mail.rc #编辑, add the following information set [email protected] smtp=smtp.163.comset [email protected]Smtp-auth-password=123456set smtp-auth=login:wq!#保存退出 configuring Zabbix server-side mail alerts 1. Management-Warning Media type-Create media type name: SendMail Type: Script script name: sendmail.sh enabled: Tick archive 2, set Zabbix user alarm Email address configuration-user-admin (
In a wireless environment, sometimes we in order to expand the coverage of the wireless network, you can use bridging the way to connect, I believe there are a lot of bridges are not very understanding, today we have an example to introduce the steps of bridging, you see, you can do it on their own bridge.
One, since the bridge, of course, to use two routes, here we have to two flying fish star without the origin of the bridge, first into one of th
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.