I am installing Jenkins on EC2 instance. I have followed all the steps from the AWS document provided at https://d1.awsstatic.com/Projects/P5505030/aws-project_Jenkins-build-server.pdf . I am stuck at the first step under Download and Install Jenkins section. On running [ec2-user ~]$ sudo yum update –y in ubuntu terminal I am getting error '[ec2-user: command not found'. I have created an instance similar to the type mentioned in the AWS guidelines and I am trying to install Jenkins on EC2 using Ubuntu 16.0.4 version.

  • yum is the package manager for RHEL-based operating systems, such as RHEL, CentOS, Amazon Linux, etc. The equivalent for Ubuntu is apt; yum is not available on Ubuntu. You need to find instructions for Ubuntu. – jayhendren Jan 19 '19 at 21:45
  • Thank you for your response. I am new to linux but I figured it out and jenkins is installed and running on EC2 now. – bot Jan 21 '19 at 18:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.