{"id":644,"date":"2009-08-27T10:00:00","date_gmt":"2009-08-27T17:00:00","guid":{"rendered":"http:\/\/xiehang.com\/blog\/?p=644"},"modified":"2009-08-27T10:00:00","modified_gmt":"2009-08-27T17:00:00","slug":"keep-all-linux-installation-up-to-date","status":"publish","type":"post","link":"https:\/\/xiehang.com\/blog\/2009\/08\/27\/keep-all-linux-installation-up-to-date\/","title":{"rendered":"Keep all Linux installation up-to-date"},"content":{"rendered":"

I don’t run auto-update for all those machines, so I have to run these every couple of days:<\/p>\n

ssh -t ubuntu “sudo apt-get update && sudo apt-get -y dist-upgrade”
\nssh -t debian “sudo apt-get update && sudo apt-get -y dist-upgrade”
\nssh -t fedora “sudo yum -y update”
\nssh -t centos “sudo yum -y update”
\nssh -t opensuse “sudo zypper -n update ”
\nssh -t mandriva “sudo urpmi –auto-update –auto-orphans –force”<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"

I don’t run auto-update for all those machines, so I have to run these every couple of days: ssh -t ubuntu “sudo apt-get update && sudo apt-get -y dist-upgrade” ssh -t debian “sudo apt-get update && sudo apt-get -y dist-upgrade” ssh -t fedora “sudo yum -y update” ssh -t centos “sudo yum -y update” ssh […]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[13,28],"_links":{"self":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/644"}],"collection":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/comments?post=644"}],"version-history":[{"count":2,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/644\/revisions"}],"predecessor-version":[{"id":646,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/644\/revisions\/646"}],"wp:attachment":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/media?parent=644"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/categories?post=644"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/tags?post=644"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}