Hello I am new in mean Technology and I want to installed mongoDb and I downloaded msi setup from link for bit window.
I installed successfully but during installation location of folder not asked and now i don't have idea for the location of mongoDB folder. how to find the mongoDB folder.
It will be installed in Primary Drive. If C drive is primary then Either Directly C:\MongoDB or C:\Program Files\MongoDB
MongoDB available either two folder C:\Program Files or C:\Program Files (x86)
Path would be like -> C:\Program Files\MongoDB\Server\3.4\bin
after that you can setup the path using following inputs:
Create directory like -> C:\mongo\data\db
open cmd prompt - > C:\Program Files\MongoDB\Server\3.4\bin
set the path use below command :
mongod --dbpath=C:/mongo/data/db
uninstalling and installing again worked me to find MongoDb folder in program files.
I have installed MongoDB 1.4 Stable Community Edition. It is installed at AppData folder which is in my Users directory(c:\Users\MyUser\AppData). Check that folder on your system.
Related
I have 64-bit Oracle Database Server (11.2.0.3) installed on Windows 2008 R2, and naturally, it automatically installs the 64-bit client. I have to install an application onto this server that is 32-bit and requires the 32-bit Oracle client. (Don't Ask - I can't install the 64-bit version of this app, it won't work with the 64-bit client, and I can't install it on another server.)
Now i have tried installing the 32-bit Client into a different physical folder and selected a different value for the Oracle Base and Software Location when installing and it installed just fine. And it put the BIN folder of the 32-bit Client installation at the head of the PATH statemtn.
However, when i tried to run "SQLplus system/system" with the 32-bit version it gives me the "ORA-12560: TNS:protocol adapter error". When I go into the folder with the 64-bit sqlplus.exe and ran it (directly and not through PATH), the "system/system" credentials worked fine.
I copied the TNSNames folder from the Oracle Server's NETWORK/admin folder to the Oracle Client's NETWORK/admin folder, and rebooted the server. Same results.
This is the extent of my troubleshooting knowledge for Oracle.
How can i get the 32-bit Client to run on the same server as the 64-bit Oracle Server?
I know in linux/Unix, you simply put in the lib32 folder into the the 64-bit client folder and set a couple of environment variables, but i'm pretty sure it's not that simple in Windows.
If there is a way to do this, please be descriptive in you answer as I will need step-by-step instructions.
Thanks in advance.
Here is an instruction how to install 32-bit and 64-bit Oracle Client on one machine. Follow the instruction, then it should work.
Assumptions: Oracle Home is called OraClient11g_home1, Client Version is 11gR2
Download and install Oracle x86 Client, for example into C:\Oracle\11.2\Client_x86
Download and install Oracle x64 Client into different folder, for example to C:\Oracle\11.2\Client_x64
Open command line tool, go to folder %WINDIR%\System32, typically C:\Windows\System32 and create a symbolic link ora112 to folder C:\Oracle\11.2\Client_x64 (see commands section below)
Change to folder %WINDIR%\SysWOW64, typically C:\Windows\SysWOW64 and create a symbolic link ora112 to folder C:\Oracle\11.2\Client_x86, (see below)
Modify the PATH environment variable, replace all entries like C:\Oracle\11.2\Client_x86 and C:\Oracle\11.2\Client_x64 by C:\Windows\System32\ora112, respective their \bin subfolder. Note: C:\Windows\SysWOW64\ora112 must not be in PATH environment.
If needed set your ORACLE_HOME environment variable to C:\Windows\System32\ora112
Open your Registry Editor. Set Registry value HKLM\Software\ORACLE\KEY_OraClient11g_home1\ORACLE_HOME to C:\Windows\System32\ora112. Using C:\Oracle\11.2\Client_x64 should also work.
Set Registry value HKLM\Software\Wow6432Node\ORACLE\KEY_OraClient11g_home1\ORACLE_HOME to C:\Windows\System32\ora112 (not C:\Windows\SysWOW64\ora112). Using C:\Oracle\11.2\Client_x86 should also work.
You are done! Now you can use x86 and x64 Oracle client seamless together, i.e. an x86 application will load the x86 libraries, an x64 application loads the x64 libraries without any further modification on your system.
Probably it is a smart idea to set your TNS_ADMIN environment variable (resp. TNS_ADMIN entries in Registry) to a common location, for example TNS_ADMIN=C:\Oracle\Common\network\admin
Commands to create symbolic links:
cd C:\Windows\System32
mklink /d ora112 C:\Oracle\11.2\Client_x64
cd C:\Windows\SysWOW64
mklink /d ora112 C:\Oracle\11.2\Client_x86
Notes:
Both symbolic links must have the same name, e.g. ora112.
Despite of their names folder C:\Windows\System32 contains the x64 libraries, whereas C:\Windows\SysWOW64 contains the x86 (32-bit) libraries. Don't get confused.
Background information, why this works: Registry Redirector and File System Redirector
I had the same issue. Both 32 and 64 bit ORA clients installed on same Windows 10 machine (separate folders) and 32 bit apps stopped working. All I had to do was edit the System Environment variables and DELETE the ORACLE_HOME entry, then re-boot. Windows/Oracle do the rest based on the registry entries. Just need to copy the tnsnames.ora to both installations.
My laptop is 64-bit operating system, Windows 10
I have installed Node.js for Windows (version v12.17.0)
I have installed code.runner on VSC as well
However, the error msg
"Command 'node' not found, but can be installed with:
sudo apt install nodejs"
keep appearing. I have no idea what is wrong.
Will changing the user settings or workspace settings help ?
The problem is that you have not set the Path in the Environment Variables.
In Windows, search for "Environment Variables".
Open Environment Variables.Open Path and add the PATH : C:\Program Files\nodejs\bin
By default, the installer uses the Node.js distribution in C:\Program Files\nodejs. If node is installed in C:\Program Files\nodejs directory, then add the PATH in in window's PATH environment variable as C:\Program Files\nodejs\bin.
Restart any open command prompts for the change to take effect.
I installed a mongo db version of 1.20.5 mongodb-compass-1.20.5-win32-x64 on my windows machine and it launches its self automatically after installation.
When i close it, i cannot find its icon on desktop to launch it.
I used Mongodb Compass documentation https://docs.mongodb.com/compass/current/install/ but i could not find how to relaunch
I tried to look for it in the program files but i could not find it but its in the list of installed programs.
Please, how can i launch it again.
By default, it installs in:
C:\Program Files\MongoDB Compass\
But, if you are not Admin, it installs here:
C:\Users\{your user}\AppData\Local\Programs
If you don't find it, try this:
Open This PC
In the "Search on This PC" type Compass and press Enter
Wait until Windows finishes searching
Solution - Install .msi file instead of .exe from https://www.mongodb.com/try/download/compass, then you get the shortcut icon in start option and uninstall option.
Ref URL - Windows MongoDB - Installed Compass but can't find Compass within system
I am trying to upgrade CNM (comptel) application.While installing one .jar project (Please excuse I am not from java\linux camp) i got this error:
java.lang.NoClassDefFoundError: oracle/security/pki/OraclePKIProvider with sqlplus instantclient in the installation logs.
Following is additional background:
I am using sqlplus instantclient with basic.OS is linux 64 bit Redhat 6.5
already installed java 7
created manually /usr/lib/oracle/12.1/network/admin folder. Created manually both tnsnames.ora and sqlnet.ora files in it.Provided the user who is installing the application sufficient rights over these files.
sqlplus user/pwd#servicename; is working without any problem.
I have already gone through to the question and somehow found some clue for the problem:Driver update to ojdbc7.jar gives error for oracle/security/pki/OraclePKIProvider
I could see that there are no jlib folder in my oracle_home and I have downloaded following files :osdt_core.jar,osdt_cert.jar and oraclepki.jar as suggested on one oracle standard documentation.
I am planning to create and put these files in jlib folder but my concern is would that help or just like ankur singhalLink mentioned on above post,some classpath should also be set up.
I am using /usr/lib/oracle/11.2/client64/lib/ojdbc6.jar oracle driver.
Paul
I have easily installed Node.js before on Macs and other PCs, but the PC I have now at work restricts the running of .msi files.
Is there a way to manually install and configure node.js and npm on Windows 7? I have access to Powershell.
Installing nodejs (and npm) on a Windows 7 machine does not require any "magic" if you have Admin access on the target machine and do not care about setting up the expected "uninstall", various Windows performance counters, event tracing or Start menu entries.
To manually install from an existing installation on one machine to another machine, simply
Copy the entire contents of your "\Program Files\nodejs" and "\Users\USERNAME\AppData\Roaming\npm" directories as well as the "\Users\USERNAME\.npmrc" file to the same directories on target machine. (Replace USERNAME with your own Windows login name.)
Edit the "\Users\USERNAME\.npmrc" file to replace the source username with the username on the target machine.
Add "C:\Program Files\nodejs" and "C:\Users\USERNAME\AppData\Roaming\npm" to your PATH.
If you'd like to manually install direct from the MSI (without an existing installation to work from), get Scott Willeke's excellent lessmsi program, which allows you to extract all the files from any msi archive and discover all the actions taken by the Windows Installer, such as required edits to the Register, etc. (Though for nodejs, you'll only need to edit the Registry to add the proper keys to uninstall it automagically.)