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
or
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!
0
-
The error most likely means that `/etc/yum.repos.d/` directory doesn't exist. Please create one and try the second command again.
0
Please sign in to leave a comment.
Comments
1 comment