issue in extracting apache-tomcat-8.5.5.tar.gz file when installing tomcat8 in ubuntu 16.04 server -


i have tried install tomcat8 on ubuntu(16.04) virtual server entering following command ( in this).

sudo apt-get update sudo apt-get install default-jdk cd /tmp curl -o http://apache.mirrors.ionfish.org/tomcat/tomcat-8/v8.5.5/bin/apache-tomcat-8.5.5.tar.gz 

the last command gives error below.

gzip: stdin: not in gzip format tar: child returned status 1 tar:error not recoverable: exiting 

i have tried rename tar.gz file .tar file , extract it.but did not work. how can overcome error?

try :

sudo apt-get update sudo apt-get install default-jdk sudo apt-get install unzip cd /opt curl -o http://apache.mirrors.ionfish.org/tomcat/tomcat-8/v8.5.15/bin/apache-tomcat-8.5.15.zip sudo unzip apache-tomcat-8.5.15.zip sudo mv apache-tomcat-8.5.15 tomcat 

Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -