Tags: usr mongo com GPS for direct NEC logs timestampPrimary node:[email protected] etc]$ cat mongod.confSystemlog:Path:/usr/local/mongodb/log/mongod.logLogappend:falseLogrotate:renameDestination:fileTimestampformat:iso8601-local Processmanagement:Fork:true Netport:27017bindip:127.0.0.1,192.168.10.21maxincomingconnections:20000Wireobjectcheck:trueIpv6:falseUnixdomainsocket:Enabled:falsePathprefix:/tmpfilepermissions:0700 SecurityAuthorization:enabledJ
site number = 1Web site des cription = default web siteHostname =Port = 80IP address =C: \ Inetpub \ admins cripts> findweb m7.netWeb site number = 2Web site des cription = m7.netHostname = www.m7.netPort = 80IP address = www.m7.net
Displays the Path Management tree of a specified site.
C: \ Inetpub \ admins cripts> disptree. vbs helpUsage: disptree [-- adspath |-a root node] specifies the path to display the management tree[-- Norecurse |-N][-- H
attributes and status information of a specified path.C: \ Inetpub \ AdminScripts> dispnode helpUsage: dispnode Ads path-The Path of the node to be displayedExample 1: dispnode-a IIS: // LocalHost/w3svc displays the main attributes of the current IISExample 2: dispnode -- adspath IIS: // MachineName/w3svc/1 displays the status information of the current siteSearch for the named Web and display the node number, description, host name, port, and IP addressC: \ Inetpub \ AdminScripts> findwebWeb S
/mysql_config/usr/local/bin/mysql_config
Link MYSQL_CONFI from your installation directory to the/usr/local/bin directory so that you can access it in any directory (or you can put it in/usr/bin)
Method 2:
Edit the source folder of the Site.cfg file, remove #mysql_config =/usr/local/bin/mysql_config before the comments #, modify the following path for your mysql_config real directory can be. (If you don't know where Mysql_config is, run the command: Whereis mysql_config)
3 detect whether the n
Tags: greater than Redhat OSI init build host mem Replica release1/Installing MongoDB Configuration repo: [mongodb-org-3.4]Name=mongodb Repositorybaseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.4/x86_64/Gpgcheck=1Enabled=1Gpgkey=https://www.mongodb.org/static/pgp/server-3.4.asc Then yum install Mongodb-org-y Configuration/etc/mongod.conf: Netport:27017bindip:192.168.88.5 ReplicationReplsetname:teststrs Then service Mongod star
siteSearch for the named Web and display the node number, description, host name, port, and IP addressC: InetpubAdmins cripts> findwebWeb Site Number = 1Web Site Des cription = default Web SiteHostname =Port = 80IP Address =C: InetpubAdmins cripts> findweb m7.netWeb Site Number = 2Web Site Des cription = m7.netHostname = www.m7.netPort = 80IP Address = www.m7.net
Displays the Path Management tree of a specified site.C: InetpubAdmins cripts> disptree.
the [+ s privileges |-s privileges] main directory is script-only.[+ *** Ute |-***** ute] The execution permission in the main directory is script and executable program.[+ Browse |-browse] directory browsing permission in the main directory[-- Verbose |-v] current version[-- Help |-?]Displays the attributes and status information of a specified path.C: InetpubAdmins cripts> dispnode helpUsage: dispnode Ads path-The Path of the node to be displayedExample 1: dispnode-a IIS: // LocalHost/w3svc d
1. Create a projectEnter the firefly-admin.py createproject chat_rooms (Linux at the terminal ),Firefly creates a project named chat_rooms under the MSI folder in the users directory of drive C.2. Import the projectImport the project to eclipse3. Configure ParametersConfigure parameters in config. JSON3. Configure ParametersConfigure parameters in config. JSONThe port configuration in the master is as follows:Rootport is the Management port of the master service,Webport is the external http port
current siteSearch for the named Web and display the node number, description, host name, port, and IP addressC:/inetpub/admins cripts> findwebWeb site number = 1Web site des cription = default web siteHostname =Port = 80IP address =C:/inetpub/admins cripts> findweb m7.netWeb site number = 2Web site des cription = m7.netHostname = www.m7.netPort = 80IP address = www.m7.net
Displays the Path Management tree of a specified site.
C:/inetpub/admins cript
main directory[-- Verbose |-v] current version[-- Help |-?]Displays the attributes and status information of a specified path.C: \ Inetpub \ Admins cripts> dispnode helpUsage: dispnode Ads path-The Path of the node to be displayedExample 1: dispnode-a IIS: // LocalHost/w3svc displays the main attributes of the current IISExample 2: dispnode -- adspath IIS: // MachineName/w3svc/1 displays the status information of the current siteSearch for the named Web and display the node number, description,
execution permission in the main directory is script and executable program.[+ Browse |-browse] directory browsing permission in the main directory[-- Verbose |-v] current version[-- Help |-?]
Displays the attributes and status information of a specified path.
C:/inetpub/admins cripts> dispnode helpUsage: dispnode ADS path-the path of the node to be displayedExample 1: dispnode-a iis: // localhost/W3SVC displays the main attributes of the current IISExample 2: dispnode -- adspath IIS: // machin
: $" Echo-E"Status: $STATUS" Echo-E"\ t RX \ttx" Echo "------------------------------"# Print Live trafficEcho-E"$eth \ t $RX $TX" Echo "------------------------------"# Exit InformationEcho-E"Press ' CTRL + C ' to exit" Done}# Judging execution Parametersif[[-N" $"]]; Then# Execute function traffic_monitor $1Else Echo-E"None parameter,please Add system Netport after run the script! \nexample: ' sh traffic_monitor eth0 '"fi-------------
site Des cription = Default Web siteHostname =Port = 80IP address =C:\Inetpub\Admins Cripts>findweb m7.netWeb Site Number = 2Web Site Des cription = m7.netHostname = Www.m7.netPort = 80IP address = Www.m7.net Show the specified site path management tree C:\Inetpub\Admins Cripts>disptree.vbs HelpUsage:disptree [--adspath|-a ROOT NODE] Specifies the path to display the management tree[--norecurse|-n][--help|-?] Create a Web virtual site C:\Inetpub\Admi
"Directoryperdb:trueProcessmanagement:Fork:truePidfilepath: "/usr/local/mongodb/mongo.pid"Netport:27017httpEnabled:trueRestinterfaceenabled:trueReplicationReplsetname: "Replica_name_must_be_the_same"Specific configuration parameters can refer to the official documentation:http://docs.mongodb.org/manual/reference/configuration-options/Note Spaces and indentsAvailable conf fileswget http://xclient.info/assets/mongodb/mongo.conf
4. Run MongoDB Process
editionFinally download the specified version of the binary file and upload it to the server as required2. Extracting MongoDB1) View compressed package ls2) Unzip the mongodb-linux-x86_64-rhel70-3.6.6.tgz to the specified directoryTar zxf mongodb-linux-x86_64-rhel70-3.6.6.tgz-c/usr/local/3) go to unzip directorycd/usr/local/mongodb-linux-x86_64-rhel70-3.6.6/3. Create a MongoDB data store directory and log storage directorymkdir DB LogNote: These two directories will be used in the configuration
Contact Us
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.