-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Olaf and Enosh,
On 8/20/19 06:37, Olaf Kock wrote: > On 20.08.19 12:28, Enosh Mogire wrote: >> When I execute ls -la /opt/tomcat this is what I get >> >> enosh@hp:~$ ls -la /opt/tomcat total 36 drwxr-xr-x 3 tomcat >> tomcat 4096 Aug 20 08:55 . drwxr-xr-x 7 root root 4096 Aug 19 >> 10:53 .. drwxr-xr-x 9 tomcat tomcat 4096 Aug 14 10:31 >> apache-tomcat-9.0.22 -rw-r--r-- 1 tomcat tomcat 220 Apr 4 2018 >> .bash_logout -rw-r--r-- 1 tomcat tomcat 3771 Apr 4 2018 >> .bashrc lrwxrwxrwx 1 tomcat tomcat 32 Aug 13 08:50 latest -> >> /opt/tomcat/apache-tomcat-9.0.14 > > so indeed you've extracted the archive into a subdirectory: You'll > find /opt/tomcat/apache-tomcat-9.0.22/conf if you're looking for > it. You can move all of the content of the apache-tomcat-9.0.22 > folder up one level, or adjust your chmod command or the cd that > you executed before. You'll just find the content that you expect > one folder further down. > > Seeing the link in your directory, you should correct it, e.g. > > rm /opt/tomcat/latest ln -s /opt/tomcat/apache-tomcat-9.0.22 > /opt/tomcat/latest cd /opt/tomcat/latest > > and continue from there. That directory will have the conf and all > of the other directories you expect. I highly recommend using Olaf's suggestion of separating the "concept" of the Tomcat installation directory (/opt/tomcat or /opt/tomcat/latest if you prefer) with the actually location of the un-tarred Tomcat distribution (e.g. /opt/tomcat/apache-tomcat-x.y.x). I would also highly recommend that you take a look at the RUNNING.txt file that comes with Tomcat with particular attention to the "Advanced Configuration - Multiple Tomcat Instances" section. Even if you don't intent to run multiple Tomcat instances simultaneously, you might want to consider using a "split" Tomcat for ease of upgrading Tomcat in the future. - -chris -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl1cFDEACgkQHPApP6U8 pFh6mhAAp4SFHxrcuneIMD5RSl0wk6odPky1BT+UQ1JumObYX4FSYEz7MM/bFeOI mYM8GJtUGxPA8U9fhYpxHRMTBANiSHiSrNe0fUKM/OVpduh3OGtf0WUZ1STplilb 0OdMNuclDvPkuA7NHtTeW+Pr3UIPVoTy1hD2MkQ33vXPfi4BeRciSn1y20Cj/89c YxmCar00BGgzXWmq9XBnOk2p+Sa3Aew2X76Og4E97RbcFLZnk2BQllko3E/qW0tW sTH4YKGJe70uwqLIXbXX8FnEs4aqrtYIT7fWU6PxVz9b8fiWQgqRZD3vAaNYPoyk DJbG7LGogkj0Tki0GwRup5PCb/Oq7YT1hV7gzNiTLZ5r4x2qijgPD0rsCLPQaiaP LxYRUSfNsBPfw/MtPafZYzrv3jMymPvm0OBrND2E85JXyEO2QFYYXpPIEuC2bIwh CjJJzY4GQgbZRhwAFdPk0u8wBL3gfEVih3oQR59lUKwveSu3a2XaB5hN+23Efrql Qf99FzDs5P5o9rPXZrYNBtulGx9z5irk7eszFFloYivbnK6fa0AYsBtGbZSLiLME HYAO8Yg8B8cwe5/SvdnK7k55lrxWGJwxYlxTkBt09O9dA77e7UOMBvawlAdL7za0 35/8TcjJIOPxuz9jW0ymHhJeC3cVdyZpOm0L7f7dtdotb5ak/as= =4Gkm -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org