No Image

MongoDB Startup Script

March 23, 2018 0

Below is a startup script for MongoDB in case you are unable to find one: #!/bin/sh # chkconfig: 35 85 15 # description: Mongo is […]

No Image

Mongodb Enable Authentication

March 23, 2018 0

Start MongoDB without access control. Connect to the instance using command line: mongo Once you are in the mongo shell, create the administrator user. use […]

No Image

Change Postgres Default Data Directory

March 15, 2018 0

Quick Guide: service postgresql stop or systemctl stop postgresql mkdir /home/data cp -rf /var/lib/pgsql/#version#/data /home/. chmod -R 700 /home/data chown -R postgres:postgres /home/data Edit: /home/data/postgresql.conf […]