by prakash | Jun 27, 2016 | cloud, database, devops
1) Install MongoDB on local machine https://docs.mongodb.com/manual/installation/ 2) Create data directories for each replicate set root@prakash:~/mongo# mkdir primary root@prakash:~/mongo# mkdir secondary root@prakash:~/mongo# mkdir arbiter root@prakash:~/mongo# ls...
by prakash | Apr 20, 2016 | database, devops
Running more than one MySQL instance on same machine can be done in few methods, the easiest (dirty) method can be using different port,socket & data directory configuration. On linux machine, simply copy /etc/my.cnf file to /etc/my2.cnf vi /etc/my2.cnf Change...
Recent Comments