Question: How can I stop receiving email notifications from cron jobs? How do I prevent wget from creating a new file on each run? Why am I getting so many emails from crontab to my root account? In Linux, when executing cron jobs, it’s typical to get emails or log files as output. There are times, though, when you might prefer not to get any output, particularly if the job runs often or produces substantial output. This guide will explain how to stop crontab output on Linux. 1. Redirect output to /dev/null A simple method to stop crontab output is…
Author: Rahul
s3cmd is a command line utility used for creating s3 buckets, uploading, retrieving and managing data to Amazon s3 storage. This article will help you to how to use install s3cmd on CentOS, RHEL, OpenSUSE, Ubuntu, Debian & LinuxMint systems and manage s3 buckets via command line in easy steps. To install s3cmd on windows servers read article install s3cmd in Windows. We can also mount s3 bucket as local drive in our system using S3FS with FUSE. To configure it read next article mount s3 bucket on Linux. Install s3cmd on Linux s3cmd is available in default package repositories…
When working with APIs, it’s common to send and receive data in JSON format. In PHP, you can use the cURL library to send HTTP requests, including sending JSON data in a POST request. In this article, we’ll show you how to POST JSON data with PHP cURL in a step-by-step guide. Step 1: Set the URL and JSON data The first step is to set the URL that you want to send the request to and the JSON data that you want to send in the request body. For this example, we’ll use a sample JSON data:
1 2 3 4 5 6 7 | $data = array( 'name' => 'John Doe', 'phone' => '1234567890' ); $json = json_encode($data); |
In…
The VirtualBox Guest Additions provides some device drivers and application for the optimization of performance and usability of Guest operating systems. It is installed inside the Guest operating system. So you need to install on each Virtual Machines running on your system. I recommend to install or upgrade VirtualBox latest version first. This tutorial is to help you with the installation of VirtualBox Guest Additions on Fedora 27/26, CentOS/RHEL 7/6. Step 1 – Prerequisites First of all, Enable the EPEL release yum repository on your Fedora, CentOS, or RHEL systems. Execute one of the below commands to enable yum repository.…
NoMachine is a popular remote desktop application. You can use it as the alternative of TeamViewer, which is available freely. Except for the Nomachine, the users have other choices like AnyDesk for the remote desktop, But NoMachine will provide you the better experience over any other remote desktop applications. This tutorial will help you to install NoMachine on Ubuntu, Debian, and LinuxMint systems. But, If you still love TeamViewer, You can also install TeamViewer using these instructions. Step 1 – Install NoMachine Anydesk is available in both 64-Bit and 32-Bit formats. You can download it from its official website and…
On AWS Ec2 instances, your web server is listening on port 80 to accept HTTP connections. Afterward, you configured the Amazon Elastic Load Balancer (ELB) to listen for HTTP and HTTPS traffic and forward all requests to the backend server on port 80 only. The Amazon Elastic Load Balancer (ELB) supports the X-Forwarded-Proto header value, which includes the protocol of the application. The X-Forwarded-Proto header value of the HTTP request is used in this tutorial, and the rewrite rules are applied if the client protocol is not HTTPS. Here is how to force a redirect to HTTPS behind AWS ELB…
How to Upgrade Ubuntu 16.04 to Ubuntu 18.04 LTS. Ubuntu 18.04 is an LTS release will be supported till 2023. Ubuntu provids two types of releases Standard release and Long Term Support (LTS) release. Ubuntu provides support for standard releases for approx 1 year while Long Term Support is useful for approx 5 years. A new Ubuntu 18.04 LTS release is available to upgrade. The Ubuntu desktop users can upgrade to the latest release. But if you are running Ubuntu Server and especially production server, we recommend waiting for a few months before the upgrade to Ubuntu 18.04 LTS. Step…
This tutorial will help you to set up Selenium with ChromeDriver on Ubuntu, and LinuxMint systems. This tutorial also includes an example of a Java program that uses a Selenium standalone server and ChromeDriver and runs a sample test case. Read This: Setup Selenium with Firefox on Ubuntu Step 1 – Prerequisites Execute the following commands to install the required packages on your system. Here Xvfb (X virtual framebuffer) is an in-memory display server for a UNIX-like operating system (e.g., Linux). It implements the X11 display server protocol without any display. This is helpful for CLI applications like CI services.…
PHP-FPM (FastCGI Process Manager) is an alternative implementation of PHP FastCGI. It provides some additional features like Adaptive process spawning which is useful for sites. This tutorial will help you to install Apache with PHP-FPM/FastCGI on Ubuntu 16.04 system. In this tutorial, we are using PHP 7.2 and configure with Apache using PHP-FPM and FastCGI. Install Apache with PHP & FastCGI on CentOS/RHEL You can also visit the previous tutorial to configure Apache with multiple PHP versions using PHP-FPM/FastCGI on Ubuntu systems. Apache Installation Install Apache web server from the official repository. Launch terminal on your system or login with…
Generally, the host manager used a separate server for each PHP version application deployment. Which increases the hosting cost. Some of the host managers are using Docker to run multiple PHP versions on a single server. Also, most of you are aware of the configuration, I used in this tutorial. But some of the system administrators are not aware of this. This tutorial will help you to install multiple PHP version with Apache on Ubuntu 22.04, 20.04, and 18.04 LTS systems without switching PHP versions. This tutorial describes the installation and configuration of two VirtualHost on Apache with separate PHP…