No such file or directory when trying to enable Jenkins repository on Amazon EC2 Instance

I have just spun up a Linux instance, updated its packages, installed Java 1.8.0, and removed the old Java. The next step on the vast amounts of guides out there on how to install Jenkins on an Amazon EC2 says to enable the Jenkins repo with either:

wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo


wget -O /ect/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat/jenkins.repo

Both these commands give me a "No such file or directory" message. Any help would be appreciated. Thanks!

1 comment

Please sign in to leave a comment.