Found 1436 Articles for Linux

How to generateencryptdecrypt random passwords in linux

Lakshmi Srinivas
Updated on 21-Oct-2019 06:33:45

68 Views

Security is one of the major concern in the cyber world. Cyber security, also referred to as information technology security, focuses on protecting computers, networks, programs and data from unintended or unauthorized access, change or destruction. We use passwords for computers, emails, cloud, phone, documents and what not. We all know the basics of choosing a password that is easy to memorize and hard to guess. Still, If users want to encrypt or decrypt passwords, then Linux provides you lot of options.This article describes “How to Generate/Encrypt/Decrypt Random Passwords in Linux”.PWGenPwGen is a random unique password generator. To install PWGen, ... Read More

How to find out linux operating system system is 32 bit or 64 bit

Lakshmi Srinivas
Updated on 18-Oct-2019 13:36:22

327 Views

Many users are confused whether Linux system’s OS is 32-bit or 64-bit. As we all know, we can’t install 64-bit applications into a 32-bit OS type. Before re-installing Linux or clean Linux, we should verify if Linux system OS is 32-bit or 64-bit. This article guides you about “How to find out Linux operating system system is weather 32-bit or 64-bit”.uname Commanduname is the universal command and it will work on almost all Linux/Unix operating systems. The below command will display your Linux system’s OS type-$ uname -aThe sample output should be like this –$ uname -a Linux linux 4.2.0-30-generic ... Read More

Configure exim4 smtp relay server

Lakshmi Srinivas
Updated on 18-Oct-2019 13:32:42

5K+ Views

This article will guide you to configure Exim4 SMTP relay server which will allow you to relay emails for the know Domains names and IP address only. In general, this type of service is used to relay emails for notifications for the server health status reports, where the actual email address does not exist or send auto response emails.IntroductionExim4 is a Message Transfer Agent (MTA) developed at the University of Cambridge for use on Unix systems connected to the internet. Exim4 can be installed to replace of Sendmail or Postfix, although the configuration of Exim4 is quite different to that ... Read More

How to set time timezone and synchronize system clock using timedatectl command

Lakshmi Srinivas
Updated on 18-Oct-2019 13:28:52

2K+ Views

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 More

nginx ssl certificate installation in linux

Lakshmi Srinivas
Updated on 18-Oct-2019 13:21:13

213 Views

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 More

How to install c c compiler and development tools in ubuntu

Lakshmi Srinivas
Updated on 18-Oct-2019 13:06:21

596 Views

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 More

How to get hardware information with dmidecode command on linux

Lakshmi Srinivas
Updated on 18-Oct-2019 13:02:12

368 Views

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 More

How to convert html pages to pdf using wkhtml2pdf

Lakshmi Srinivas
Updated on 18-Oct-2019 12:54:37

1K+ Views

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 More

How to configure samba on centos

Lakshmi Srinivas
Updated on 18-Oct-2019 12:45:36

1K+ Views

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 More

How to set up openvpn on ubuntu 16 04

Lakshmi Srinivas
Updated on 18-Oct-2019 12:34:33

450 Views

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 More

Advertisements