August 14, 2022

How To Install and Configure Laravel with Nginx on Ubuntu 20.04 (LEMP)

Laravel is an open-source PHP framework that provides a set of tools and resources to build modern PHP applications. With a complete ecosystem leveraging its built-in features, Laravel’s popularity has grown rapidly in the past few years, with many developers adopting it as their framework of choice for a streamlined development process. In this guide, you’ll install and configure a new Laravel application on an Ubuntu 20.04 server, using Composer to download and manage the framework dependencies and Nginx to serve the application. When you’re finished, you’ll have a functional Laravel demo application pulling content from a MySQL 8 database.

How To Install and Configure Laravel with Nginx on Ubuntu 20.04 (LEMP) Read More

How to Start Stop Apache Tomcat via Command Line? Check if Tomcat is already running and Kill command

Apache Tomcat (or simply Tomcat) is an open source web server and servlet container developed by the Apache Software Foundation (ASF). Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Oracle Corporation, and provides a “pure Java” HTTP web server environment for Java code to run. I’ve setup tomcat as Windows Service. Running Tomcat as a Windows Service provides a number of benefits that are essential when moving from a development set-up to a production environment.

How to Start Stop Apache Tomcat via Command Line? Check if Tomcat is already running and Kill command Read More

RESTEasy Tutorial with Eclipse and Tomcat

Welcome to RESTEasy Tutorial. RESTEasy is the JAX-RS implementation provided by JBoss project. We can use RESTEasy to create restful web services. RESTEasy provides tighter integration with the JBoss Application Server but we can deploy it on any servlet container. So today we will learn how to create restful web service using RestEasy framework and deploy in Tomcat servlet container to test it.

RESTEasy Tutorial with Eclipse and Tomcat Read More

How to get the Tomcat home directory in Java

Is there a function in Java to retrieve the Tomcat (Catalina) home directory? Yes, Tomcat home directory or Catalina directory is stored at the Java System Property environment. If the Java web application is deployed into Tomcat web server, we can get the Tomcat directory with the following command: System.getProperty(“catalina.base”);

How to get the Tomcat home directory in Java Read More

What is Tomcat default administrator password ?

Is there or what is the default administrator user and password for Tomcat? Tomcat users are defined in the file – $TOMCAT_HOME/conf/tomcat-users.xml, by default, there is NO user, it means no one can access the Tomcat manager page. To enable users to access the Tomcat manager page, add a user as the role manager-gui. Tested :Tomcat 8.0.30 ; Tomcat 7.0.67 ; Tomcat 6.0.44

What is Tomcat default administrator password ? Read More