Difference between revisions of "MongoDB Getting Started"

From mi-linux
Jump to navigationJump to search
Line 6: Line 6:
  
 
mi-linux can be accessed using a Secure Shell client, such as Putty, that is available using the Apps Anywhere system.
 
mi-linux can be accessed using a Secure Shell client, such as Putty, that is available using the Apps Anywhere system.
 +
 +
=== Apps Anyhere ===
 +
 +
putty is a secure shell client that can be used to access the University's Linux server. It is freely available to download for use at home. When using putty at the University, it is available via the Applications Anywhere software hub:
 +
[[http://www.wlv.ac.uk/appsanywhere Apps Anywhere]]
 +
 +
Click the Apps Anywhere icon on your desktop:
 +
 +
https://mi-linux.wlv.ac.uk/~oracle/wiki/Apps.png
 +
 +
Which will bring up the following window:
 +
 +
https://mi-linux.wlv.ac.uk/~oracle/wiki/appsAnywhere.png
 +
 +
Click where it says <b>CLICK HERE</b>.
 +
 +
Once you have been validated, then search for <b>putty</b>:
 +
 +
https://mi-linux.wlv.ac.uk/~oracle/wiki/appLaunch.png
 +
 +
<b>Note the software version numbers may differ slightly</b>
 +
 +
For this workbook we shall be using:
 +
<b>SQL*Plus</b>
 +
 +
Note, you may have to install this for every PC that you use.
  
 
== Starting MongoDB ==
 
== Starting MongoDB ==

Revision as of 11:37, 27 October 2016

Main Page >> MongoDB >>MongoDB Workbook >> Getting Started

Using MongoDB

To access the database, first login to mi-linux.wlv.ac.uk (csl-student.wlv.ac.uk) using your University username and password.

mi-linux can be accessed using a Secure Shell client, such as Putty, that is available using the Apps Anywhere system.

Apps Anyhere

putty is a secure shell client that can be used to access the University's Linux server. It is freely available to download for use at home. When using putty at the University, it is available via the Applications Anywhere software hub: [Apps Anywhere]

Click the Apps Anywhere icon on your desktop:

Apps.png

Which will bring up the following window:

appsAnywhere.png

Click where it says CLICK HERE.

Once you have been validated, then search for putty:

appLaunch.png

Note the software version numbers may differ slightly

For this workbook we shall be using: SQL*Plus

Note, you may have to install this for every PC that you use.

Starting MongoDB

Once logged in, to start MongoDB run either the following command:

runMongo

or once you have changed your password (see below):

runMongo yourPassword


Changing Password

Once you have logged into MongoDB successfully you can change the default password:

db.updateUser("myStudentNumber",
{
    pwd: "myNewPassword",
 }
);


Replacing myStudentNumber with your University student number and myNewPasswor with your new password.

Note, the function names in MongoDB are case sensitive.

Next Step

MongoDB Overview.