Apache Tomcat is a widely-used open-source Java Servlet Container developed by the Apache Software Foundation. It powers numerous large-scale, mission-critical web applications across a diverse range of industries and sectors. This guide will walk you through the process of installing Apache Tomcat 10 on Debian Linux, setting you up for deploying your Java web applications efficiently. Prerequisites A system running Debian Linux A user account with sudo privileges Java SE 8 or later installed on your Debian system You can get cheaper instances from DigitalOcean hosting. Step 1: Install Java Tomcat 10 required JRE 8 or higher version installed on…
Author: Rahul
Let’s Encrypt is a certificate authority that provides valid SSL certificates to be used for the web application. It provides certificates freely for everyone with some restrictions. Security first should be the thumb rule for any organization to secure your hard-working code from hackers. It becomes more important while traveling application data over public networks. For this situation, we need to implement end-to-end encryption using TLS. This tutorial helps you to issue a new let’s encrypt SSL certificate and configure it with the Tomcat web server. Prerequisites This tutorial doesn’t cover the Tomcat installation. We are assuming that you already…
React is an open-source JavaScript library for creating web frontend and UI components. It is developed and maintained by the Facebook and a large community of developers. This is also useful for creating mobile applications. We will use yarn package manager to create a reactjs application and make production build. Pm2 to run and monitor react application. This tutorial will help you to create a new React.js Application on a developer system. Also help you to run reactjs application and make a production build. Prerequisites React.Js application’s can be run on any platform having node.js installed. We preferred to install…
Apache Tomcat is an open-source web server with a servlet container for publishing Java-based web applications. Tomcat is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation. As of today, Tomcat 10 is the latest stable version available for installation on development and production environments. To know more about the Apache Tomcat visit apache official site http://tomcat.apache.org/. This tutorial will help you to how to install Apache Tomcat 10 on Ubuntu 20.04 LTS Linux systems. Prerequisites A running Ubuntu 20.04 system with shell access of root or sudo privileged account access. For…
Amazon CloudFront invalidation feature allows you to remove an object from the CloudFront cache before it expires. It allows you to remove a specific object from cache or use (*) wildcard character to remove multiple objects. You can also invalidate all the objects by using “/*” parameters to invalidation requests. Python Script to Create CloudFront Invalidation Boto3 is the AWS SDK for the Python programming language. It allows Python developers to write programs that makes use of services like CloudFront, S3 and Ec2 etc. First, you need to install Boto3 Python library based on the Python version installed on your…
VNC (Virtual Network Computing) allowed to remotely control desktop systems. We can say VNC is a graphical desktop-sharing system that uses the Remote Frame Buffer protocol (RFB). There are multiple software services provides VNC service to access Linux based desktop remotely including, TigerVNC, TightVNC, Vino, vnc4server and more. The TigerVNC is a free, open-source and high-performance VNC server used to control or access Linux based desktop remotely. It is a client/server application that allows you to interact with graphical applications on remote machines. This tutorial help you to how to install and configure VNC server on Debian 10 Buster Linux…
React is an open-source JavaScript library for creating web frontend and UI components. It is developed and maintained by the Facebook and a large community of developers. This is also useful for creating mobile applications. In this tutorial you will learn to install and create React Application on a Ubuntu Linux system. Prerequisites You must have a running Ubuntu 20.04 system with console access. Step 1 – Install Node.js Node.js is required to create and run a React.js application. The following steps will install Node.js 14 on your Ubuntu system. Add the Node.js 14 (current stable version) PPA to your…
Removing the first character from a string is a common operation in JavaScript programming. Whether you’re working with user input or manipulating data from an API, there may be times when you need to remove the first character from a string. Fortunately, there are several ways to do this in JavaScript. Method 1: Using the substring() Method The substring() method returns a substring of a string based on the index numbers provided as arguments. To remove the first character from a string using the substring() method, you can pass the value 1 as the starting index. Here’s an example:
1 2 | let str = "Hello World!"; let newStr = str.substring(1); // "ello World!" |
…
Python is an object-oriented, high-level programming language. The Python 3.9 stable version has been released with several improvements and security updates. Which included multiple new modules and improved existing modules and new features. As of today, Python 3.9 is the latest stable version available for productions environments. Most of the Debian-based Linux distribution includes older versions of Python in software repositories. Also, the Debian packages are not available for all distributions. In this tutorial, you will learn to compile Python 3.9 from source code and install it on Debian-based systems. This tutorial will help you to how to install Python…
Similar to other programming language bash also supports increment and decrement operators. The increment operator ++ increases the value of a variable by one. Similarly, the decrement operator — decreases the value of a variable by one. Pre and Post Increment: When using ++ operator as prefix like: ++var. Then first the value of variable is incremented by 1 then, it returns the value. When using the ++ operator as postfix like: var++. Then first original value will returned and after that the value incremented by 1. Pre and Post Decrement: When using — operator as prefix like: –var. Then…