cURL is a powerful command-line tool used for transferring data to or from a server. It supports a wide range of protocols, including HTTP, HTTPS, FTP, and more. The versatility of cURL makes it a popular choice for various tasks, including downloading files. In this article, we will explore five real-life examples to help you master the art of file downloads with cURL. Example 1: Basic File Download The most basic usage of cURL for downloading a file involves providing the URL of the file you want to download. The following command downloads the file from the given URL and…
Author: Rahul
Webmin is a web hosting control panel like CPanel which provides easy to use interface for managing Unix-like systems. Webmin is very easy to use and a lightweight application can be easily installed on the system within a minute. Webmin removed all the manual tasks to be done through command lines. This article will help you to Install and Configure Webmin on Debian 10, Debian 9 and Debian 8 systems. This article is using APT to install Webmin, you may also download Webmin packages directly and install in the system. Step 1 – Add APT Repository To install or update…
If you are a FileZilla user and facing below error regularly while trying to save account password in site manager. Saving of passwords has been disabled by you. ‘Normal’ and ‘Account’ logontypes are not available. Your entry has been changed to ‘Ask for password’. This article will help you to enable passwords saving in FileZilla. Go through the following steps Edit Settings – Open FileZilla and open settings option under Edit menu. Select Interface – Now select interface page in list of pages. Do not save passwords – Now uncheck the box in front of Do not save passwords under…
Tasksel is a command line utility for Debian based systems for installing a group of packages used for specific tasks. Tasksel provides a number of group packages to configure your server quickly like “LAMP Server”, “DNS Server”, “Mail Server” and “Tomcat Java server” etc. This article will help you to install tasksel and then install LAMP quickly using tasksel on Debian, Ubuntu and LinuxMint operating systems. Install Tasksel The tasksel package is available under default repositories on most of Ubuntu, Debian, and LinuxMint operating systems. Use the following command to install it. sudo apt-get install tasksel Install LAMP using Tasksel…
As a system administrator, you deals regularly with multiple remote systems. You need to SSH systems multiple times during your work. Many of remote Linux server you have access through password a many of them you have access through private key. So this can be more typical to manage all of them. This article will help you to properly organize your ssh server details with key files. Configuration File Syntax: We can add multiple ssh hosts details to ~/.ssh/config file. Edit configuration file in your favorite editor like vi, vim or nano. $ vi ~/.ssh/config The syntax will be like…
phpMyAdmin is a well most popular web-based client for managing MySQL server. PHPMyAdmin is written in PHP programming language. It provides a user-friendly web interface to access and manage your databases. To ease usage to a wide range of people, phpMyAdmin is being translated into 72 languages and supports both LTR and RTL languages. This article will help you to install phpMyAdmin on CentOS/RedHat System. Prerequsities In order to use PHPMyAdmin, you must have PHP, MySQL and Apache installed on your system. Also, you need PHP-MySQL or PHP-MySQLi module enabled in PHP configuration. For the current version of PHPMyAdmin 4.7.2,…
Shell scripting, particularly in Bash (Bourne Again SHell), provides several methods to extract these components. Let’s explore some of the most effective techniques. Before diving into the technicalities, it’s crucial to understand the structure of a file name. Typically, a file name consists of two main parts: the base name and the extension, separated by a dot (.). For instance, in document.txt, document is the base name, and txt is the extension. Extract Filename and Extension To extract the filename and extension from a file path in a shell script, you can use the `basename` command. Here is an example…
I have launched a new Linux instance in my AWS account and downloaded the private key file. As we all know, AWS only allows default key-based SSH authentication. When I tried to SSH with the downloaded private key file, I got the a warning message Permissions 0644 for ‘server.pem’ are too open and it prompted for the password. In this faq, you will learn to fixe WARNING: UNPROTECTED PRIVATE KEY FILE! error in Linux. The Problem: The error looks like the below: ssh -i server.pem [email protected] Output @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0644 for ‘server.pem’…
Amazon Web Services (AWS) is a powerful and versatile platform that allows developers to harness the power of Amazon’s robust and scalable infrastructure. One common use-case is running an Ubuntu server instance on AWS. SSH (Secure Shell) is a network protocol that provides a secure way to access a computer over an unsecured network. SSH provides a secure channel over any network in a client-server architecture. The ‘root’ user in Ubuntu is the superuser who can perform administrative tasks. However, due to security concerns, SSH access is usually disabled for the root user in AWS Ubuntu instances. Please login as…
phpMyAdmin is the graphical web-based database management tool for MySQL. phpMyAdmin is easy to use and provides most of the options to work and manage your MySQL server. It also provides an easy way to set up database replication between multiple MySQL hosts with easy step wizard. This article will help you to install phpMyAdmin in Ubuntu systems using the apt package manager. To install phpMyAdmin on CentOS, Redhat and Fedora refer below link. How to Install phpMyAdmin on CentOS/RHEL. Step 1 – Install LAMP Stack We assume you already have installed LAMP on your system. If you do not…