In this article we will configure and install the Graylog 1.3 (which is also referred as Graylog2) on CentOS 7, Graylog gathers the syslog’s of the machines into a centralized location. Graylog is a log management and analysis tool that can be used in many cases, for monitoring the SSH logins and unusual activity for debugging applications and logs, the uses Elasticsearch, Java and MangoDB.Graylog Features and ComponentsGrayLog Server Node − Server mainly receives and processes the messages and communicates with the non-servers components.Elastic search Nodes − This will store the messages and logs.MangoDB − This stores metadata.Web Interfaces − ... Read More
Microsoft has launched a new keyboard app called “WordFlow” that would make your chatting and texting lot more quick and fast for its users. This new keyboard app called “WordFlow” has a fast-typing feature which was just introduced in Windows Phone to iOs. It predicts what the user is trying to write making it much easier for user to complete their sentences.On the basis of user feedback the WordFlow has developed some new features. The library including emoji’s and shades have been expanded. Issues of bad accuracy while tapping the space bar have been solved. The memory and performance have ... Read More
In this article, we will learn how to configure and install the Dropbox client and run as a service on CentOS7 server. This makes the server to connect with Dropbox and keep a copy of files synchronized. To complete the setup we needed a non-root user with Sudo permissions or a root user.Installing the Dropbox ClientWe can download the latest Linux Dropbox client from the below link.# cd ~ # curl -Lo dropbox-linux-x86_64.tar.gz https://www.dropbox.com/download?plat=lnx.x86_64After downloading, we need to create a folder for client software and extract the compressed file which we downloaded.# mkdir -p /opt/dropbox-client # tar xzfv dropbox-linux-x86_64.tar.gz --strip ... Read More
With all new search engines available it makes finding things lot easier. Yes, we are talking about the latest trending search engine Jelly or let’s say Ask Jelly. A search engine for busy people. It gets custom and concise answers for humans. But feeling and understanding are things which people still do better than algorithms.The latest version of Jelly i.e. Jelly 2.1 has a new feature referred as the magic answers. It can answer tens of thousands of questions. By magic answer we means that one great or best answer will be shown which is highly relevant with your question. ... Read More
In this article, we will learn how to install Dockers. Dockers is a very good tool which runs the application on its own containers. It works like a virtual machine which are more portable and more resource friendly and more dependent on the host OS. There are two methods of installing Docker on CentOS 7. First method is to by installation using the existing OS or spinning the server with a tool called Docker Machine and making the auto installation.Here for demo purpose, we will install on the existing OS.Installing the Docker on CentOS 7Before we begin the installation we ... Read More
In this article, we have configured Nginx which is already installed on CentOS 7 to serve the clients with gzip compression to reduce the size of the contents sent to the web site visitors. We can configure the websites to load faster which depends on the size of all the files that are downloaded by the web browser, we can do this by reducing the size of the files transmitted from the website and load faster, which also reduces the cost which we pay for the bandwidth usage. gzipis a popular data compression package, which we will configure Nginx with ... Read More
In this article, we will learn how to use Anisble to configure and install production Elastic Search cluster on CentOS7 which ensures that the Elasticsearch nodes will be secure from outside network .we will use VPN services to connect to the clusters.Elasticsearch is a very popular open source search, server which can be used for real-time distributed search and analysis of the data for better performance, stability and for scalability we need the Elasticsearch to be deployed across multiple servers as a cluster.PrerequisitesWe need a minimum of three CentOS 7 server environments with private networking since the Elasticsearch cluster needed ... Read More
In this article, we will learn how to install Prometheus server to collect the metrics and query them and also install Grafana – a web based graphical dashboard builder. Prometheus is an open source monitoring tool with time series database. It addresses many aspects for monitoring and generating a collection of metrics and graphs for resulting the data on the dashboards along with alerting.PrerequisitesTo complete this article we needed these resources CentOS 7 installed, a user with sudo access and Dockers installed.Installing the PrometheusWe are installing the Prometheus using the Dockers, so make sure that we already installed Docker on ... Read More
In this article, we will learn about how to install and configure open source Puppet agent/master on the CentOS 7, which is from Puppet Labs. Puppet is a configuration management tool that helps system administrator to automate the configuration, provisioning and management of the server infrastructure. The Puppet agents are called as nodes and we will be using the Puppet Server packages instead of the Passenger or any other environments.We needed a root or super-users access to the servers where we want to install the Puppet master.PrerequisitesWe needed a proper DNS which is configured on the puppet server so that ... Read More
Suppose we have a binary string of length n, another value say k is given. We have to concatenate the binary string k times. Then we have to find the maximum number of consecutive 0s in the concatenated string. Suppose binary string is “0010010”, and k = 2, then after concatenating the string k times, it will be “00100100010010”. So the maximum number of consecutive 0s is 3.The approach is simple. If the number has all 0s, then the answer will be n * k. If the string contains ones, then the result will be either the max length of ... Read More