How to flush your DNS cache on Linux?
To flush your DNS cache on Linux, use the following command in a terminal: /etc/rc.d/init.d/nscd restart That’s all!
To flush your DNS cache on Linux, use the following command in a terminal: /etc/rc.d/init.d/nscd restart That’s all!
One of the strength of Solr is the ability to communicate with the index trough HTTP, with a client like Curl for example. Here is a collection of useful commands using Curl to manipulate Solr: Force your index optimization: curl … Continue reading
To flush your DNS cache using Mac OSX, launch a terminal and run this command: dscacheutil -flushcache Afterwards, your DNS cache will be flushed. Works on Leorpard, Snow Leopard and Lion.
It’s sometimes usefull to get the size of a directory in Mo without using ls. Use this command to get it: du -h directory/ The -h argument displays a human readable size of your directory.
To get syntax highlighting with Vi/Vim on Ubuntu/Debian, uncomment these lines in your vimrc file: vi /etc/vim/vimrc ” Vim5 and later versions support syntax highlighting. Uncommenting the next ” line enables syntax highlighting by default. syntax on ” If using … Continue reading
10gen, the company behind MongoDB, provides up to date repositories for Debian oriented distributions such as Ubuntu. It’s an easy way to install MongoDB on a server. To add the right repository, first accept the 10gen the public key by … Continue reading
Overview This tutorial describes how to set up a three hosts cluster with replicas sets and sharding without geographical considerations. It’s a good stating point for training on MongoDB administration and its architecture understanding. Prerequisites You need MongoDB to be … Continue reading
Installing and running a single node Cassandra cluster is very fast and easy. It could a good first approach for beginners. Here is the steps to run your single node Cassandra cluster. Prerequisites Cassandra need Java to be installed to … Continue reading
Install Nginx You can install a pre-packaged version of Nginx using aptitude apt-get install nginx Setting up your key and certificates Nginx needs two file to manage your sever certificates: one containing your private key and the other containing your … Continue reading
Requirements HBase require Java to start. Download and install Download the latest version of HBase in the Apache repository. You cane use these commands for example: wget http://www.apache.org/dist/hbase/stable/hbase-0.90.3.tar.gz tar -xzf hbase-0.90.3.tar.gz cd hbase-0.90.3 You can add HBase binary directory to … Continue reading