1808210048, Program No 10 (Web Tech)
1808210048, Program No 10 (Web Tech)
10
Configuration Step:-
Step 1: Installation of JDK: Before beginning the process of installing Tomcat on your
system, ensure first the availability of JDK on your system program directory. Install it on
your system if not already installed (because any version of tomcat requires the Java 1.6 or
higher versions) and then set the class path (environment variable) of JDK. To set the
JAVA_HOME Variable: you need to specify the location of the java run time environment to
support the Tomcat else Tomcat server can not run. This variable contains the path of JDK
installation directory. set JAVA_HOME=C:\Program Files\Java\jdk16 Note: it should not
contain the path up to bin folder. Here, we have taken the URL path according to our
installation convention. For Windows OS, go through the following steps:
Note: it should not contain the path up to bin folder. Here, we have taken the URL path
according to our installation convention.
Now click on all the subsequent ok buttons one by one. It will set the JDK path.
this:
Now click on all the subsequent ok buttons one by one. It will set the JRE path
Step 3: The process of installing Tomcat 6.0 begins here from now. It takes various steps
for installing and configuring the Tomcat 6.0. For Windows OS, Tomcat comes in two
forms: .zip file and .exe file (the Windows installer file). Here we are exploring the
installation process by using the .exe file. First unpack the zipped file and simply execute the
'.exe' file.
Steps 4: Unzip the file and place it in C drive by making a folder name as tomcat which is
under a folder name webproject.
Step 5: Now make the changes in the files of tomcat files which is located
as: C:\web page\tomcat\apache-tomcat-9.0.50\conf
A) Now, open file named as Server in text_editor and change connector Port as 9999
and save it.
B) Again, open file named as web in text_editor and change to true from false and save it.
C:\web page\tomcat\apache-tomcat-9.0.50\bin
Step 10: It will start in command prompt and wait till it execute its command.
OUTPUT: Hence the tomcat server is successfully installed .You can run your page on the
server by keeping the file in a folder (name as CODEBYME) under the webapps.
You can run the file by starting the tomcat server and then running the file on browser as: