I just got my MacBook Pro updated to OS X El Capitan and ran into problem with the system level utilities that I use for my work. They are now barred in El Capitan and you can no more access
Users in MongoDB
User and roles Apart from some authentication systems, MongoDB has users and roles which can be applied to different databases. First, let’s see how to create an admin user for admin database with god-like (root) permissions. Root permissions for all
Adding authentication to MongoDB
MongoDB by default doesn’t provide any authentication mechanism and therefore it is required to activate one by tweaking the configuration file and issuing some commands in the mongodb. Today I will show you how to activate authentication on MongoDB. Create
Compile MongoDB C++ Driver
Today I will describe in short how to compile C++ drivers for MongoDB over Ubuntu 14.04 Make new Directories mkdir /root/mongodb-client-install mkdir /root/mongodb-git cd /root/mongodb-git Getting the source code git clone https://github.com/mongodb/mongo-cxx-driver.git Install pre-requisites apt-get install scons libboost-all-dev build-essential libsasl2-2
Choosing editor for editing with crontab -e
export EDITOR=nano crontab -e
MySQL: “Access denied for user ‘debian-sys-maint’@’localhost’”
For all you Ubuntu/MySQL developers out there, have you ever seen the following? neo@thematrix:~$ sudo /etc/init.d/mysql restart * Stopping MySQL database server mysqld [fail] * Starting MySQL database server mysqld [ OK ] /usr/bin/mysqladmin: connect to server at ‘localhost’ failed
Trust Between Machines Over SSH
1. Test rsync over ssh (with password): Do a rsync to make sure it asks for the password for your account on the remote server, and successfully copies the files to the remote server. The following example will synchronize the
Enabling TokuDB engine in MariaDB
TokuDB is a drop-in replacement for any other storage engine (including InnoDB) so you can switch engines without changing your application. TokuDB is open source, and is available in both a Community Edition and an Enterprise Edition. It is one of
Disabling Transparent HugePages in Ubuntu 14.04 Server LTS
Need might arise to turn off transparent_hugepages which is by default ON in Ubuntu 14.04 LTS Server Version. This might apply to the other distro’s and also to other versions of Ubuntu. Checking transparent_hugepages To check if transparent_hugepages is on
Ubuntu stdin tty error while login as root
A strange stdin error started coming recently while logging in Ubuntu GUI as root. While this is actually a bug which was assumed by ubuntu developers while creating .profile file. The main culprit is the mesg n line at the