![]() ![]() Step #07: Then create permission for execute Java and start Tomcat. ![]() # Short-Description: Start/Stop Tomcat server Open vim /etc/init.d/tomcat and insert all below lines on your tomcat file. Step #06: Now create Tomcat service file for start and stop. Then insert below line JAVA_OPTS="-Dfile.encoding=UTF-8 -server -Xms1024m -Xmx2048m -XX:PermSize=64m -XX:MaxPermSize=256m =true -XX:+UseParallelGC -XX:MaxGCPauseMillis=100" Step #05: Edit catalina.sh file for setup heap memory on your tomcat bin directory. Then upload all downloaded file into tomcat folder with version name. Step #04: Again create tomcat directory :~# mkdir -p /home/local/app/tomcat/ JRE_HOME=/home/local/app/java/jdk/8.0.144Ĭonfigure Tomcat (8.0.46) on your Gnome desktop Open profile file with any editor vi /etc/profile and then insert below line. :~# update-alternatives -set "java" "/home/local/app/java/jdk/8.0.144/bin/java" Step #03: Create Java Home profile. :~# update-alternatives -set "javac" "/home/local/app/java/jdk/8.0.144/bin/javac" ![]() :~# update-alternatives -install "/usr/bin/java" "java" "/home/local/app/java/jdk/8.0.144/bin/java" 1 :~# update-alternatives -install "/usr/bin/javac" "javac" "/home/local/app/java/jdk/8.0.144/bin/javac" 1 Step #02: Select update alternative path for installation Java and Tomcat. Then upload all java downloaded file on your jdk directory with version name. Step #01: Create some directory for install Java. Configure Java (8.0.144) on your Gnome desktop ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |