$ vi ~/.bash_profileĮxport CATALINA_HOME=/home/tomcat/apache-tomcat-9.0.0.M21 This will make sure this variable is set every time you login as tomcat user. export CATALINA_HOME=/home/tomcat/apache-tomcat-9.0.0.M21Īpart from setting it on the command line, make sure you add the above line to tomcat’s bash_profile also as shown below. Set this variable to the full directory of the apache tomcat that we extracted earlier as shown below. The home environment variable that is used inside the Apache tomcat script is called as CATALINA_HOME.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |