Found 975 Articles for Software & Coding

How to Enable or Install Byobu for Terminal Management on Ubuntu 16.04

karthikeya Boyini
Updated on 14-Jul-2020 11:57:17

1K+ Views

In this article, we will learn about Byobu on the Ubuntu 16.04, Byobu which is a terminal multiplexer and easy to use, Byobu is used to have multiple windows, consoles and split panes within the windows and will also show the status badges and notifications on the terminal.To complete this tutorial we needed an Ubuntu 16.04 installed and a Linux user with sudo permissions.Installing or Checking the ByobuAs a default feature of Ubuntu 16.04, Byobu is installed. However, as a practice, we will check the installation and version and if not we will install the Byobu.To check the Byobu is ... Read More

How to Enable and Install Third Party Packages Using EPEL Repository on CentOS/RHEL

Sharon Christine
Updated on 21-Jan-2020 10:42:03

979 Views

In this article we shall try to learn, how to add EPEL Repository for Linux. EPEL (Extra Package for Enterprise Linux) is an open source and free community based repository from the Fedora community team which provides high quality and good add-on software’s for Linux distributions. It has Red Hat Enter Linux, CentOS, Scientific Linux and most of the repositories which are maintained by the Fedora team only.Why we use EPEL Repositories for PackagesProvides a lot of open source packages which are installed using yum.EPEL repositories are open source and they are 100% free to use.There will not be any ... Read More

How to Create a Cron Job and Execute at a Given Time in Linux

Sharon Christine
Updated on 21-Jan-2020 10:11:47

2K+ Views

In this article, we will teach you on – how to schedule a corn job to execute at a specific time.General Syntax of a Cron JobMIN    HOUR    Day of month    Month    Day of Week    Command 0-59   0-23       1-31          1-12       0-6       linux command or scriptTo see a list of Cron Jobs which exists on the machine, run the below command –# crontab -l no crontab for rootTo add the new cron job, run the below command –#crontab -e no crontab for root - using an empty one Select an editor. To change later, run 'select-editor'. 1. /bin/ed 2. /bin/nano

How To Configure and Install Redis on Ubuntu Linux

Sharon Christine
Updated on 21-Jan-2020 09:33:06

632 Views

In this article we will learn how to configure Redis, Redis is an in-memory Key-value store which is popular for its flexibility, performance and used with wide language support. We will configure this on the Ubuntu Linux server. To do this demo we need a non-root user and we will set Sudo privileges to the user to perform.Install the Build and Test DependenciesTo get the latest version of Redis, we will get the latest source code and will compile and install the software. For that, we needed to install the dependencies for the software compiling.We also need to install build-essential ... Read More

Difference between composition and aggregation

Kiran Kumar Panigrahi
Updated on 20-Feb-2023 16:52:02

45K+ Views

Both Composition and Aggregation are types of association which are used to represent the relationship between two classes. But they are absolutely different from each other. The basic difference between the two is that composition is a strong association, while aggregation is a weak association. Read this article to learn more about composition and aggregation and how they are different from each other. What is Composition? Composition is a method of wrapping the simple objects or data types into a single unit. It is a type of association used to represent the relationship between two classes. Composition is considered as ... Read More

How to Add Cron Jobs to A Specific User in a Linux System

karthikeya Boyini
Updated on 21-Jan-2020 07:29:21

3K+ Views

This article we will teach you to schedule a cron job to be executed at a specific time in a day.General Syntax of a Cron JobMIN    HOUR    Day of month    Month    Day of Week    Command 0-59   0-23       1-31          1-12       0-6       linux command or scriptTo see the list of cron jobs which exists on the machine, run the below command# crontab -u test1 -l no crontab for test1To Add the New Cron Job to Test1 User, run the below Command #crontab -u test1 ... Read More

Difference between green and native thread

Himanshu shriv
Updated on 21-Jan-2020 07:34:28

1K+ Views

Green threads are created and scheduled by Virtual machine without using OS libraries. “Green” was the project code name of the thread project which was developed by the Java, therefore the name of the thread is “Green”. It can not make use of multiprocessor.On the other hand, Native threads are created and scheduled by Kernel of operating system. It can swap between threads from running thread to non-running thread. All modern OS supports native thread. Sr. No.KeyGreen ThreadNative Thread1Basic Green threads are created and scheduled by Virtual machine without using OS librariesNative threads are created and scheduled by Kernel of operating system2Platform Dependent It ... Read More

Learn How to Manage Various Logs using Logrotate in Linux

karthikeya Boyini
Updated on 21-Jan-2020 05:47:52

181 Views

Logrotate is designed for administration of Ubuntu systems that generate giant numbers of log records. It allows automatic rotation, compression, removal, and mailing of log records. Each log file could also be handled every day, weekly, monthly, or when it grows. This article explains about -“Learn how to manage various log using logrotate in Linux”To install logrotate, use the following command –$ sudo apt-get install logrotateThe sample output should be like this –Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libecap3 squid-common squid-langpack Use 'sudo apt ... Read More

How To Set-Up Apache to use Password Authentication on Ubuntu 16.04

karthikeya Boyini
Updated on 20-Jan-2020 11:04:18

539 Views

In this article, we will learn about how to setup and configure the Apache Web server to restrict from visitors without authentication where we can hide some important and critical information to the un-authenticated users.PrerequisitesWe needed an Ubuntu machine with a non-root user with Sudo privileges.An Apache2 web server installed on the machine.Installing the Apache UtilitiesWe needed to install an Apache2 utility package called ‘htpasswd’ where this utility is a part of ‘apache2-utils’ packages.This will help us to create and manage the username and password which is needed to access the restricted part of the website.Below is the command to ... Read More

How to Set Up and Configure Jekyll Development Site on Ubuntu 16.04

karthikeya Boyini
Updated on 20-Jan-2020 10:59:24

147 Views

In this article, we will learn how to setup and configure Jekyll Development Site. Jekyll provides the benefits of the Content Management System (CMS) with performance and security which appears in the database-driven sites. It is also called as blog-aware which has features of handling the date-organized contents. It is especially suitable for the people who work off-line, which also provides the lightweight editor with content management which has the version control for tracking the changes made on their websites.PrerequisitesA machine with Ubuntu 16.04 installed.A user with Sudo permissions on the machine.Installing the Jekyll Development Site on Ubuntu 16.04Before we ... Read More

Advertisements