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
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
How 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 MoreHow to use openssl for generating ssl certificates private keys and csrs
OpenSSL is a CLI (Command Line Tool) which can be used to secure the server to generate public key infrastructure (PKI) and HTTPS. This article helps you as a quick reference to understand OpenSSL commands which are very useful in common, and for everyday scenarios especially for system administrators.Certificate Signing Requests (CSRs)If we want to obtain SSL certificate from a certificate authority (CA), we must generate a certificate signing request (CSR). A CSR consists of mainly the public key of a key pair, and some additional information. Both these components are merged into the certificate whenever we are signing for ...
Read MoreHow to make twitter bots in less than five minutes
Did you anytime notice about automatically answering questions posted on Twitter and you desire to make one for yourself? you can do it. We find, Twitter bots not only answering the questions, but it also shares its source. You can copy as well make your own little assistant.Twitter Bots DesignThe Twitter bots are designed for the purpose of Tweeting, retweeting and sharing varied Tweets. That’s not all, Twitter bots can not only follow a specific Twitter user, but it also can correct spelling mistakes depending upon the program specification.Google ScriptsIn the past, python program codes were used, but in recent ...
Read MoreHow to install guake drop down terminal terminal on ubuntu
Guake is a drop-down terminal for GNOME and any other desktop. It aims to provide a quick-access terminal, that show/hide on screen with a simple key pressing. Its style of window is based on an fps games, and one of its goals is being easy to reach. Guake is written mostly in python and has a little piece in C. This article explains about how to install Guake terminal on Ubuntu.FeaturesIt is a Lightweight terminalSimple Easy and ElegantSmooth integration of terminal into GUIIt Appears when you call and disappears once you are done by pressing a predefined hotkey (F12 by ...
Read MoreHow to secure apache with using lets encrypt an open source ssl provider
In this article, we will learn how to setup TLS/SSL certificates using the “Let’s Encrypt” on Ubuntu server with Apache as a web server, we shall also cover how to automate the certificate renewal using corn jobs.PrerequisitesTo complete this demo we needed to have the below requirementsAn Ubuntu server with a user with sudo permissions.Apache server installed on it with a proper domain name configured.Installing the Dependencies on ServerWe needed to update the server using the below command and install the git to get the Let’s Encrypt client from the repository.$ sudo apt-get update$ sudo apt-get install gitDownload the Let’s ...
Read MoreHow to configure and secure the server setup on centos 7
In this article, we will learn some configuration steps that should be taken care for security purpose and usability, just after a new server is installed. This will help us in building a solid foundation.Avoiding the ‘root’ user LoginThe root is the administrator or the super user in the Linux environment, who has all the privileges on the system. Generally, it is highly recommended to use the root user directly, as it may cause many issues or any accidental loss of data or due to any changes which may be done accidentally.In the next step, we will be setting up ...
Read MoreHow to install install mariadb 10 2 centos 7
In this article we shall learn about – how to install MariaDB 10.2 on Centos 7 / RHEL. This can be used as a guide for beginners or as a reference. Please note that, this can also be used as an alternative replacement of MySQL.Features of MariaDBMariaDB is an open-source and an alternative relational database management software.MariaDB is robust, fast and Scalable with rich storage engines.MariaDB has new features such as GIS and JSON.Server Information and PackagesThe Package included: MariadB, Mariadb-server, MariaDB-libs.The Daemon Name used is: mariadb.Port No: 3306.Configuration path: /etc/my.cnf.Installing Maria DB 10.2 on Centos 7 / RHEL 7In ...
Read More