Skip to content

Latest commit

 

History

History
80 lines (65 loc) · 1.3 KB

File metadata and controls

80 lines (65 loc) · 1.3 KB
  • How to check current user ?
whoami
  • How to check ip address ?
ifconfig
  • How to copy a file or dir ?
cp <source> <destination>
  • How to Install package in ubuntu ?
apt update
apt install <packagename>
  • Check current directory you are working in
pwd
  • How to download a file using wget
wget url
  • How to Install Tomcat
wget https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.76/bin/apache-tomcat-9.0.76.tar.gz
  • Untar using below command
tar -xvf apache-tomcat-9.0.76.tar.gz
  • Move to the Apache unzipped folder
 cd apache-tomcat-9.0.76
  • Change the port number for Tomcat
vi conf/server.xml


Save this file 

image image

  • Start tomcat service
./bin/startup.sh 
  • Test Tomact Server
localhost:8090
  • Deploy Jenkins on Tomcat
cd webapps
  • Download jenkins war file
wget https://get.jenkins.io/war-stable/2.401.1/jenkins.war
  • Open your jenkins
localhost:8090/jenkins

Now you can continue to set the password for your jenkins