Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Articles on Trending Technologies
Technical articles with clear explanations and examples
How to set time timezone and synchronize system clock using timedatectl command
Do you know how to set Time, Timezone from Linux Command Line? If not, then the timedatectl command helps you to set time and Timezone and it comes as a part of systemd system and service manager. This article describes “How to Set Time, Timezone and Synchronize System Clock using timedatectl Command”Find and Set Local Timezone in LinuxTo display time and current date on Linux, use the following command –$ timedatectl statusThe sample output should be like this – Local time: Fri 2016-03-11 11:23:54 IST Universal time: Fri 2016-03-11 05:53:54 UTC ...
Read Morenginx ssl certificate installation in linux
This article will help you to generate self-signed SSL certificate in Linux which allows you to configure SSL certificates for Nginx which is used to wrap the normal traffic into protected traffic, encrypted traffic. Using this server can send the data to the client without the concerned that data can be intercepted by outside persons.Guidelines for InstallationBefore we do anything, we have to install certain packagesLogin to the server via terminal and install# yum install mod_ssl opensslResolving Dependencies --> Running transaction check ---> Package mod_ssl.x86_64 1:2.2.15-47.el6.centos.1 will be updated ---> Package mod_ssl.x86_64 1:2.2.15-47.el6.centos.3 will be an update --> Processing Dependency: ...
Read MoreBuild your first cube in ssas
IntroductionThe OLAP cube is a technique that holds the data in the optimized form and is also used to analyse the data with quick response. It is generally used for getting quick results from multiple dimensions and fact tables.OLAP Cube Creation1. First, create a data warehouse in Microsoft SQL Server studio. For instance, following is a sample Sales data warehouse –2. Create new analysis service project in Microsoft Business Intelligence Development Studio –3. Create new data source by right-click on Data Sources in Solution Explorer- Now chose available connections or create new connection and click on next button-Select Inherit option and ...
Read MoreHow to install c c compiler and development tools in ubuntu
Many of the Linux engineers are required to do some general programming languages to automate their normal tasks This article explains how to install C and C++ compilers and it’s development tools (build-essential) and related packages such as make, libc-dev, dpkg-dev, etc in Linux.Before getting into installation part, It is better if we can know about compiler.“A compiler is a software program that processes statements written in a particular programming language and creates a binary file which the machine’s CPU can easily understand and executes them”Installing C, C++ Compiler and Development ToolsIf Build-Essential Tools are not installed in your system ...
Read MoreHow to get hardware information with dmidecode command on linux
Every Linux user should know about basic configuration of Linux Hardware.There are so many tools which are currently available in the market to get hardware information in Linux. Dmidecode is a tool for dumping a computer’s DMI (Desktop Management Interface) table contents in a human-readable format. This table contains a description of the system’s hardware components as well as other useful pieces of information such as serial numbers and BIOS revision. This article describes”How to Get Hardware Information with Dmidecode Command on Linux”Installing DmidecodeTo install Dmidecode, use the following command –$ sudo apt-get install dmidecodeThe sample output should be like ...
Read MoreHow to convert html pages to pdf using wkhtml2pdf
This article will guide you to install a tool which can convert your HTML pages or HTML output to PDF format. This feature will also be helpful to write a code for generating Pdf’s, if we need to send them to a group of customers or clients and for sending reports instead of HTML (which you can send them via emails in PDF format) that will be a value addition to your software.Wkhtmltopdf FeaturesOpen source and cross platform.Convert any HTML web pages to PDF files using WebKit engine.Options to add headers and footersTable of Content (TOC) generation option.Provides batch mode conversions.Support ...
Read MoreHow to configure samba on centos
This article will guide to configure samba server in CentOS 6.x with anonymous & secured samba folders. Samba is an Open Source/Free Software suite that provides seamless access to the file services to SMB/CIFS clients. Unlike other tools samba SMB/CIFS implementations will allow to share folders between Linux servers and Windows clients.InstallationInstall the samba package using this command# yum -y install samba # mkdir /sambaGive folder permission to the samba server# chmod -R 0755 /samba/anonymous/You need to modify the smb.conf file in /etc/samba/smb.confFor security reasons, I am taking the backup of the original file in /etc/samba/smb.conf# cp /etc/samba.smb.conf /etc/samba.smb.conf.oldFor removing ...
Read MoreHow to set up openvpn on ubuntu 16 04
In this article, we will learn how to configure OpenVPN server on Ubuntu Linux. Yes, we can do it using a VPN (Virtual Private network) which allows you to connect to work place from untrusted networks privately and securely. For instance, If you are in a hotel or a coffee shop and wish to access work environment safely and securedly through a Wi-fi network using a Smartphone or laptopOpenVPN is a full featured and open source secure socket layer (SSL) VPN solution that accommodates wide range of configurations.Installing OpenVPNTo start the installation, we needed an Ubuntu machine with non-root user ...
Read MoreReset the root user password on rhel7 xcentos7 x
This article will be helpful if we forget the root password on Centos 7.x or RHEL 7.x. In the previous version of RHEL, we can easily break the root password, as by default SE-Linux is enabled. Also note that, RHEL has brought many special new features.Resting the Root PasswordReboot/Restart the system.Press ‘e‘ at the grub boot menu to edit the default boot menu.This screen looks like this for RHEL 7.x –Press us thr down arrow key to find the line which contains similar to the ‘linux16 …… rhgb quit …..” and replace the ‘rhgb quiet’ words with ‘init=/bin/bash’. Once we ...
Read MoreHow to configure and setup postfix mail transfer agent on ubuntu
In this article, we will learn how to configure and install the most popular open source MTA (Mail Transfer Agent) Postfix, which can be used to route email delivery of the Linux Systems. Based on industry usage and estimates, most of the public mail servers are currently running on Postfix.Installing the Software on LinuxSince, Postfix is a default package in the Ubuntu repositories, we can install it easily by using the ‘apt-get’ command. Before we install the packages, we need to update the system. We can do this by using the below command.Here is a sample demo, I used hanuman.com ...
Read More