MongoDB

synopsis

Mongo DB est une base de données de document orienté. Mongo DB évite la structure traditionnelle de base de données relationnelle basée sur des tables en faveur du php comme des documents avec des schémas dynamiques, ce qui rend l’intégration des données dans certains types d’applications plus facile et plus rapide. Mongo DB est apte à travailler avec Ubuntu et Cent OS.

Commande Aide

Cette commande peut fonctionner sur les objectifs et les commandes disponibles pour le module Mongo DB. Il explique également la commande pour installer le serveur.
ptconfigure MongoDB help

Avant l’installation vous lisez cette commande d’aide explique sa function

  kevell@corp:/# ptconfigure MongoDB help
  ******************************


 This command allows you to install the MongoDB Server. Currently only
 MongoDB Workbench, the Database management GUI provided by Oracle for
 MongoDB.

 MongoDB, mongo-db-server, mongodb-server, mongodbserver, mongodb, mongo-db

       - install
       Install MongoDB Server
       example: ptconfigure mongodb install

 Notes, during mongodb install a root password will be set. First, it'll look
 for the parameter --mongodb-root-pass, if this is not set, it'll look in the
 ptconfigure config for a mongodb-default-root-pass setting, and failing both of
 those it will just set the password for root to ptconfigure.

------------------------------
End Help
******************************

installation

Utilisez ce module à installer Mongo DB sur les systèmes Ubuntu Linux à partir paquets .deb. Alors que Ubuntu inclut ses propres paquets Mongo DB, les paquets officiels Mongo DB sont généralement plus à jour.

ptconfigure mongodb-server install

Install MongoDB Server? (Y/N)

Si l’utilisateur donne Non, il sortira.

Lorsque l’utilisateur donne entrée comme Oui il va installer automatiquement tous depencies en passe root par défaut cul et installer également la version à jour. La capture d’écran suivante expliquer.

kevell@corp:/# ptconfigure mongodb-server install

Install MongoDB Server? (Y/N)
y
*******************************
*        Pharaoh Tools        *
*         MongoDB Server!        *
*******************************
[Pharaoh Logging] Package mongodb-client from the Packager Apt is already installed, so not installing
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
 libboost-filesystem1.54.0 libboost-program-options1.54.0
 libboost-thread1.54.0 libgoogle-perftools4 libpcrecpp0 libsnappy1
 libtcmalloc-minimal4 libunwind8 libv8-3.14.5 mongodb-clients
The following NEW packages will be installed:
 libboost-filesystem1.54.0 libboost-program-options1.54.0
 libboost-thread1.54.0 libgoogle-perftools4 libpcrecpp0 libsnappy1
 libtcmalloc-minimal4 libunwind8 libv8-3.14.5 mongodb-clients mongodb-server
0 upgraded, 11 newly installed, 0 to remove and 6 not upgraded.
Need to get 14.6 MB of archives.
After this operation, 114 MB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main libboost-filesystem1.54.0 amd64 1.54.0-4ubuntu3.1 [34.2 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main libboost-program-options1.54.0 amd64 1.54.0-4ubuntu3.1 [115 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main libboost-thread1.54.0 amd64 1.54.0-4ubuntu3.1 [26.5 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu/ trusty/main libpcrecpp0 amd64 1:8.31-2ubuntu2 [14.5 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu/ trusty/main libunwind8 amd64 1.1-2.2ubuntu3 [48.3 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu/ trusty/main libtcmalloc-minimal4 amd64 2.1-2ubuntu1 [104 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu/ trusty/main libgoogle-perftools4 amd64 2.1-2ubuntu1 [184 kB]
Get:8 http://in.archive.ubuntu.com/ubuntu/ trusty/universe libv8-3.14.5 amd64 3.14.5.8-5ubuntu2 [1,189 kB]
Get:9 http://in.archive.ubuntu.com/ubuntu/ trusty/main libsnappy1 amd64 1.1.0-1ubuntu1 [11.2 kB]
Get:10 http://in.archive.ubuntu.com/ubuntu/ trusty/universe mongodb-clients amd64 1:2.4.9-1ubuntu2 [9,595 kB]
Get:11 http://in.archive.ubuntu.com/ubuntu/ trusty/universe mongodb-server amd64 1:2.4.9-1ubuntu2 [3,312 kB]
Fetched 14.6 MB in 39s (370 kB/s)
Selecting previously unselected package libboost-filesystem1.54.0:amd64.
(Reading database ... 202899 files and directories currently installed.)

Preparing to unpack .../libboost-filesystem1.54.0_1.54.0-4ubuntu3.1_amd64.deb ...
Unpacking libboost-filesystem1.54.0:amd64 (1.54.0-4ubuntu3.1) ...
Selecting previously unselected package libboost-program-options1.54.0:amd64.
Preparing to unpack .../libboost-program-options1.54.0_1.54.0-4ubuntu3.1_amd64.deb ...
Unpacking libboost-program-options1.54.0:amd64 (1.54.0-4ubuntu3.1) ...
Selecting previously unselected package libboost-thread1.54.0:amd64.
Preparing to unpack .../libboost-thread1.54.0_1.54.0-4ubuntu3.1_amd64.deb ...
Unpacking libboost-thread1.54.0:amd64 (1.54.0-4ubuntu3.1) ...
Selecting previously unselected package libpcrecpp0:amd64.
Preparing to unpack .../libpcrecpp0_1%3a8.31-2ubuntu2_amd64.deb ...
Unpacking libpcrecpp0:amd64 (1:8.31-2ubuntu2) ...
Selecting previously unselected package libunwind8.
Preparing to unpack .../libunwind8_1.1-2.2ubuntu3_amd64.deb ...
Unpacking libunwind8 (1.1-2.2ubuntu3) ...
Selecting previously unselected package libtcmalloc-minimal4.
Preparing to unpack .../libtcmalloc-minimal4_2.1-2ubuntu1_amd64.deb ...
Unpacking libtcmalloc-minimal4 (2.1-2ubuntu1) ...
Selecting previously unselected package libgoogle-perftools4.
Preparing to unpack .../libgoogle-perftools4_2.1-2ubuntu1_amd64.deb ...
Unpacking libgoogle-perftools4 (2.1-2ubuntu1) ...
Selecting previously unselected package libv8-3.14.5.
Preparing to unpack .../libv8-3.14.5_3.14.5.8-5ubuntu2_amd64.deb ...
Unpacking libv8-3.14.5 (3.14.5.8-5ubuntu2) ...
Selecting previously unselected package libsnappy1.
Preparing to unpack .../libsnappy1_1.1.0-1ubuntu1_amd64.deb ...
Unpacking libsnappy1 (1.1.0-1ubuntu1) ...
Selecting previously unselected package mongodb-clients.
Preparing to unpack .../mongodb-clients_1%3a2.4.9-1ubuntu2_amd64.deb ...
Unpacking mongodb-clients (1:2.4.9-1ubuntu2) ...
Selecting previously unselected package mongodb-server.
Preparing to unpack .../mongodb-server_1%3a2.4.9-1ubuntu2_amd64.deb ...
Unpacking mongodb-server (1:2.4.9-1ubuntu2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libboost-filesystem1.54.0:amd64 (1.54.0-4ubuntu3.1) ...
Setting up libboost-program-options1.54.0:amd64 (1.54.0-4ubuntu3.1) ...
Setting up libboost-thread1.54.0:amd64 (1.54.0-4ubuntu3.1) ...
Setting up libpcrecpp0:amd64 (1:8.31-2ubuntu2) ...
Setting up libunwind8 (1.1-2.2ubuntu3) ...
Setting up libtcmalloc-minimal4 (2.1-2ubuntu1) ...
Setting up libgoogle-perftools4 (2.1-2ubuntu1) ...
Setting up libv8-3.14.5 (3.14.5.8-5ubuntu2) ...
Setting up libsnappy1 (1.1.0-1ubuntu1) ...
Setting up mongodb-clients (1:2.4.9-1ubuntu2) ...
Setting up mongodb-server (1:2.4.9-1ubuntu2) ...
Adding system user `mongodb' (UID 120) ...
Adding new user `mongodb' (UID 120) with group `nogroup' ...
Not creating home directory `/home/mongodb'.
Adding group `mongodb' (GID 128) ...
Done.
Adding user `mongodb' to group `mongodb' ...
Adding user mongodb to group mongodb
Done.
mongodb start/running, process 17270
Processing triggers for libc-bin (2.19-0ubuntu6.4) ...
Processing triggers for ureadahead (0.100.0-16) ...
[Pharaoh Logging] Adding Package mongodb-server from the Packager Apt executed correctly
... All done!
*******************************
Thanks for installing , visit www.pharaohtools.com for more
******************************


Single App Installer:
--------------------------------------------
MongoDB: Success
------------------------------
Installer Finished
******************************

Options

paramètres paramètre alternatif options commentaire
Install mongoDB server?(Y/N) au lieu de mongoDB, Les solutions suivantes peuvent également être utilisés: MongoDB, mongo-db-server, mongo-db, mongodb-server, mongodb Yes Il se installe dans MongoDB ptconfigure
Install mongoDB server? (Y/N) au lieu de mongoDB, Les solutions suivantes peuvent également être utilisés: MongoDB, mongo-db-server, mongo-db, mongodb-server, mongodb| No il sort

avantages

  • Mongo DB est document orienté base de données.
  • Mongo DB peut la dernière version mise à jour.
  • Lors de l’installation mongo DB tous depencies, les bibliothèques peuvent également installé automatiquement sans avoir à rechercher sur le web.
  • MongoDB peut stocker l’objet de l’entreprise dans le nombre minimal de documents.
  • Amélioration de la vitesse.
  • Grand avantage de l’équilibrage de charge et la réplication de données comprend plus de plusieurs machines pour stocker des fichiers.
comments powered by Disqus