Change Jenkins Home Directory

Satish Kumar
Updated on 24-Aug-2023 20:26:28

1K+ Views

Introduction Jenkins is a popular automation server that helps automate tasks in the software development process. The Jenkins Home Directory, also known as JENKINS_HOME, is the location where all of the configuration files, plugins, and other essential files are stored. This directory plays a significant role in maintaining the stability and performance of the Jenkins environment. But there may be situations where you need to change the Jenkins Home Directory location. Preparing to Change Jenkins Home Directory Understanding the Current Jenkins Home Directory Location Before changing the Jenkins Home Directory, it is important to understand where it is currently located. ... Read More

Change Hostname on Ubuntu 20.04

Satish Kumar
Updated on 24-Aug-2023 20:25:10

864 Views

Introduction Have you ever heard the term "hostname" and wondered what it means? In simple terms, a hostname is the unique name that identifies a device on a network. It allows other devices to locate and connect to it, making it an essential component of any network setup. Whether you're running a small home network or managing multiple servers in an enterprise environment, understanding how to change the hostname can come in handy. In this article, we'll explore how to change the hostname on Ubuntu 20.04 – one of the most popular Linux distributions used today. We'll cover two methods: ... Read More

Change Hostname on Ubuntu 18.04

Satish Kumar
Updated on 24-Aug-2023 20:24:01

841 Views

Introduction A hostname is the unique identifier of a device in a network, typically used to identify and connect to other devices on the same network. In other words, it is a label given to a computer or device that enables it to be uniquely identified when connected to the internet or any other network. In most cases, when your device is connected to the internet or a local network, it gets assigned a hostname by default. However, there are situations where you may need or want to change the hostname of your Ubuntu 18.04 machine. For instance, if you ... Read More

Change Hostname in Debian 10

Satish Kumar
Updated on 24-Aug-2023 20:22:00

6K+ Views

Introduction Debian is a widely used open-source operating system known for its stability and security. One of the essential aspects of a Linux system is its hostname, which is a unique name that identifies your computer on the network. A hostname can be useful when you want to connect to your machine remotely or if you are running a server that other people need to access. Changing the hostname in Debian 10 can offer several benefits, such as better organization and identification of devices within your network. Checking Current Hostname Before we begin the process of changing the hostname in ... Read More

Change Hostname in CentOS/RHEL 8

Satish Kumar
Updated on 24-Aug-2023 20:21:06

1K+ Views

Introduction The hostname is a label assigned to a device on a network that identifies it uniquely. In CentOS/RHEL 8, the hostname plays an essential role in identifying servers and their purpose. A hostname is used to identify servers by both people and other machines on the network. By default, CentOS/RHEL 8 assigns a random hostname during installation, which may not reflect the server's function or location; hence it's important to change it. The Benefits of Changing Hostname Changing your server's name can bring many benefits beyond just better organization and identification of servers within a network. Once you set ... Read More

Change FTP Port in Linux

Satish Kumar
Updated on 24-Aug-2023 20:17:44

1K+ Views

Introduction FTP, or File Transfer Protocol, is a standard network protocol used to transfer files from one host to another over a TCP-based network, such as the internet. In Linux, FTP is a vital tool for transferring files between servers or between a local machine and a server. It allows users to manage and organize files on their Linux system without having to be physically present at that location. Understanding the Default FTP Port in Linux FTP (File Transfer Protocol) is an essential component of any Linux server. It allows users to transfer files between the local machine and remote ... Read More

Change File Permissions Recursively with chmod in Linux

Satish Kumar
Updated on 24-Aug-2023 20:16:54

466 Views

Introduction In Linux, file permissions determine who can access, modify, or execute files and directories. They play a crucial role in ensuring the security and integrity of a system. Without proper file permissions, unauthorized users can gain access to sensitive data or execute malicious code that can damage a system. To understand why file permissions matter in Linux, it's important to know that every file and directory has an owner and a group associated with it. The owner is the user who created the file or directory, while the group is a collection of users with similar permissions. By assigning ... Read More

Change Console Fonts in Ubuntu Server

Satish Kumar
Updated on 24-Aug-2023 20:15:16

4K+ Views

Introduction As a system administrator managing a remote Ubuntu Server, it can be hard to focus on the console's small and default font style. Moreover, in some cases, the default font can be unreadable or unattractive. Therefore, you might need to change the console font of your server to something more pleasant and easier to read. The Benefits of Changing Console Fonts There are several reasons why changing console fonts can be necessary or beneficial. Better Readability The default Ubuntu Server console font is small and may not be easy to read especially if you are working on an old ... Read More

Permutations and Combinations in C++: Concept & Examples

Eva Sharma
Updated on 24-Aug-2023 18:27:49

1K+ Views

Permutations and Combinations refer to the arrangements of objects in mathematics. Permutation − In permutation, the order matters. Hence, the arrangement of the objects in a particular order is called a permutation. Permutations are of two types − Permutation with repetition Suppose we have to make a three-digit code. Some possible numbers are 123, 897, 557, 333, 000, and 001. So how many numbers can we make like this? Let us look at it this way− In the once place, we have ten options − 0-9 Similarly, at the tenth and the hundredth place also, we have ten options. 0-9. ... Read More

HCF of an Array of Fractions or Rational Numbers

Eva Sharma
Updated on 24-Aug-2023 18:26:00

525 Views

HCF or the Highest common factor of two or more numbers refers to the highest number which divides them. A rational number is the quotient p/q of two numbers such that q is not equal to 0. Problem Statement Given an array with fractional numbers, find the HCF of the numbers. Example 1 Input [{4, 5}, {10, 12}, {24, 16}, {22, 13}] Output {2, 3120} Explanation The fractional numbers given are: 4/5, 10/12, 24/16 and 22/13 2/3120 is the largest number that divides all of them. Example 2 Input [{18, 20}, {15, 12}, {27, 12}, {20, 6}] ... Read More

Advertisements