Posted in: Kali Linux
, install monodb
, Kali 2020
, Kali Linux
, Kali Linux 2020
, mongod package not found
, pacakge not found mongod
, package not found mongo
, pakcage not found
, Unable to locate package mongo
, Unable to locate package mongodb-org
, Unable to locate package mongodb-org/mongo
Hi, I have tried to install mongod from the apt-get install on my Kali Linux machine. However, it couldn’t find a package with that name. Hence, I decided to install mongod binaries specified at in their documentation as follows.
- Donwload mongod package and extract the content
- Add the location of mongod in the PATH variable
Goto home directory -> Ctrl+H -> Find the .bashrc file -> open and paste following-> Save
- Create data/db directory. (Since I use the root user not needed to set permissions)
mkdir -p /data/db
- Now open terminal and use mongod to start the server
- Use mongo command to use the database
Cheers ! 🙂
When creating internal databases for your Android application, you may be required to test the database structure and the data stored in it. In Eclipse it provides a mechanism to export the files stored in an Emulator. Today I’ll give you the guide to export a particular database from the Emulator.
- First, run the application on the Emulator. If you haven’t run the application this view will be empty.
- Next Go to Windows–> Show view–>Other–>Select ‘File Explorer’ from the show view dialog
- The file explorer view will be added next to the console. Now explore the data folder as follows to find the database you need to export.
data –> data –>Choose the application by the package name –>databases –>Select the database
- After that select “Pull a file from the device” icon on the R.H.S. Then ‘Get Device File’ dialog will appear and you can save your database on your PC.
Thank You! 🙂