CentOS is a Linux operating system, which is a 100% compatible rebuild of the Red Hat Enterprise Linux operating system. A user can download and use this enterprise-level operating system free of cost. CentOS 8 Download Links Use the following links to download the latest CentOS 8.2 ISO images from CentOS official download page or its mirror pages. A torrent link is also available for all ISO images to download images using the torrent software. CentOS-Stream-8-x86_64-latest-dvd1.iso [10.5 GiB] CentOS-Stream-8-x86_64-latest-boot.iso [852 MB] The above links are a reference to the CentOS official webpage for the references of mirror links, They are…
Author: Rahul
Curl is a utility used for data transfer in command lines or scripts. In this tutorial, you will learn how to use the curl command to connect via a proxy server on the Linux system. Using Environment Variable In a very simple word, you can simply set the following environment variables on your system. The curl command will automatically use these variables as a proxy. You can export those variables in your shell, like: Without Authentication export http_proxy=”http://proxy.server:port” export https_proxy=”https://proxy.server:port” With Authentication export http_proxy=”http://username:[email protected]:port” export https_proxy=”https://username:[email protected]:port” After exporting the environment variables, the curl command will automatically use the above proxy…
GIMP (GNU Image Manipulation Program) is a freely distributed software for manipulating images. We can easily optimize the image, and convert their type using GIMP. It provides the power and flexibility to designers to transform images into truly unique creations. GIMP is the cross platforms application and is available for Linux, Windows, MAC OS, FreeBSD, etc. This tutorial will help you to install the latest Gimp on macOS using Homebrew. Step 1 – Prerequisites Before starting the installation of GIMP using this tutorial you must have the following prerequisites Terminal: You must have Mac Terminal access and little knowledge about…
The .net framework provides and command-line installer utility for installing services on the Windows system. You can use installutil.exe to install the Windows service via the command line. For .net 4 framework it’s available under C:\Windows\Microsoft.NET\Framework\v4.0.30319 directory. How to Install Windows Service First of all, navigate to the .net framework directory and then run installutil.exe followed by the Windows server exe file path. cd “C:\Windows\Microsoft.NET\Framework\v4.0.30319\” installutil.exe C:\Users\Rahul\WindowsService\bin\Debug\WindowsService.exe” This will install service on your system. In case it prompts for the authentication, Input the username, and password of your Windows system. Remember the user name must start with “.\” followed by…
Composer is a useful tool for PHP developers, that simplifies the process of managing PHP application dependencies. If you’re working on MacOS and need to set up Composer, this guide will walk you through the steps in simple terms. Whether you’re a beginner or a seasoned developer, installing Composer on your MacOS system is a straightforward process that can enhance your development environment. Why Use Composer? Composer is a dependency manager for PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you. Efficient management of project dependencies Streamlines package updates…
Image hotlinking is a problem faced by many website owners. When others embed your images on their websites directly from your server, it leads to unauthorized use of your content and can consume your bandwidth, slowing down your site. To protect your resources, it’s crucial to prevent hotlinking. This guide will show you how to use Apache’s .htaccess file to prevent image hotlinking. What is Image Hotlinking? Before we delve into the solution, it’s important to understand what image hotlinking is. Image hotlinking occurs when another website uses a direct link to an image hosted on your site, instead of…
Have you been itching to get your hands on the latest versions of Django, but haven’t found an easy way to do it on Fedora? You aren’t alone! We know that there are tons of new users who are interested in technology like Django, and we want to help them get set up quickly with the software they need. This blog post will walk you through how to get started with your local testing environment for Django on Fedora. Prerequisites: Basic knowledge of using a Linux terminal/command line and installation of software packages. Objective: To setup the development environment for…
Virtualenv is a tool used to create an isolated Python environment. This environment has its own installation directories and environment. This doesn’t share libraries with other environments. It is very helpful for the application required separate environments on the same server. The Virtualenv is the easiest and recommended way to configure a custom Python environment. This tutorial will help you to how to create a virtual environment for your Python application and use this. Prerequisites You must have the following packages installed on your system. Python 3 PIP Install Virtualenv with Python 3 You must have Python 3 and PIP…
You can easily pass command line arguments to a Python script. In this tutorial, we will help you to read the command line arguments in a Python script. Below is the sample Python script, which reads the command line arguments and print details. Create a sample script like script.py and copy the below content.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/usr/bin/python import sys # Print total number of arguments print ('Total number of arguments:', format(len(sys.argv))) # Print all arguments print ('Argument List:', str(sys.argv)) # Print arguments one by one print ('First argument:', str(sys.argv[0])) print ('Second argument:', str(sys.argv[1])) print ('Third argument:', str(sys.argv[2])) print ('Fourth argument:', str(sys.argv[3])) |
Then execute the above script with command line parameters. python script.py first 2 third 4.5 You will see the results below. The first argument is always the script itself. Output Total number of arguments: 5 Argument List: [‘script.py’, ‘first’, ‘2’, ‘third’, ‘4.5’] First argument: script.py…
Default let’s encrypt SSL certificates are issued for 90 days only. After this, you need to renew your SSL certificates. Let’s Encrypt allows the SSL renewal before 30 days of expiration. You can perform the renewal manually or configure auto-renewal using crontab. This tutorial will help you to auto-renew Let’s Encrypt SSL certificates automatically. The certbot script will take care of certificate renewal before expiration. How to Renew Let’s Encrypt SSL Certbot command-line utility provides users the option to renew SSL certificates before expiration. Before running the actual renewal process, you can do a dry run to verify that certbot…