Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save PharaohKJ/5538690 to your computer and use it in GitHub Desktop.
Save PharaohKJ/5538690 to your computer and use it in GitHub Desktop.
apt-get jenkinsしたあとに、バージョンが古いので本家からインストールしようとしたら結構ハマった。 たぶん最初のsudo apt-get remove jenkinsを **sudo apt-get --purge autoremove jenkins** にしてればさっくりいったんだと思われる。
2009 sudo apt-get remove jenkins
2010 cd tmp/
2011 wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
2012 sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
2013 sudo apt-get update
2014 sudo apt-get install jenkins
2015 whoami
2016 ls /usr/share/jenkins/jenkins.war
2017 ls /usr/share/jenkins/jenkins.war -al
2018 ls /usr/share/jenkins/
2019 ls -al /usr/share/
2020 ls -alrt /usr/share/
2021 sudo apt-get --purge remove jenkins
2022 cd /var/lib/
2023 ls
2024 ls -lrt
2025 cd jenkins/
2026 ls
2027 cd ../
2028 ls
2029 sudo rm -rf jenkins/
2030 ls
2031 sudo apt-get --purge remove jenkins
2032 apt-get install jenkins
2033 sudo apt-get install jenkins
2034 sudo rm -rf /usr/share/jenkins/
2035 sudo apt-get install jenkins
2036 sudo aptitude install jenkins
2037 history
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment