Heim > Datenbank > MySQL-Tutorial > mongo install on linux(centosredhat)

mongo install on linux(centosredhat)

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Freigeben: 2016-06-07 15:21:58
Original
1115 Leute haben es durchsucht

mongodb yum source install 1:create mongodb.repo cd /etc/yum.repos.d/ If you are running a 64-bit system, use the following configuration: [mongodb] name=MongoDB Repository baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/

mongodb yum source install

1:create mongodb.repo

        cd /etc/yum.repos.d/

           If you are running a 64-bit system, use the following configuration:

[mongodb]

name=MongoDB Repository

baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/

gpgcheck=0

enabled=1

If you are running a 32-bit system which is not recommended

 for production deployments, use the following configuration

[mongodb]

name=MongoDB Repository

baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/i686/

gpgcheck=0

enabled=1

2:InstallPackages

  yum install mongo-10gen mongo-10gen-server

3:start\stop service

          1:service mongod start\restart\stop

          2: 或是进入安装目录下的bin目录 执行 服务端 ./mongod --datapath /adkfw  --port 27017 客户端 : ./mongo localhost:27017

Verwandte Etiketten:
Erklärung dieser Website
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage