I ran into trouble with the Samba package on my ubuntu 14.04.3. I had the requirement of mapping root (/) folder on the network without concern of the security for my own internal purpose. However, earlier it use to run
Updating Java to latest version on Ubuntu
In order to update to the latest java version on Ubuntu you need to download the latest tar ball from the Java website www.java.com Unzip this using the command: tar zxvf jdk-8u66-linux-x64.tar.gz -C /usr/java Next tell the system that there
Enabling root user in Ubuntu 14.04.3
By default root user account is disabled for login in Ubuntu. Steps mentioned below will allow you to enable the root user and login as root on the OS. Login to your account and open Terminal sudo passwd root Type
Disable SIP in OS X El Capitan
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