问题
I instantiate an Amazon Linux machine through EC2 service and the virtual machine already have the "Upstart" daemon, version 0.6.5, installed. How can I upgrade this package to newest version, this case the version 1.5?
sudo initctl --version
return:
initctl (upstart 0.6.5)
Copyright (C) 2010 Canonical Ltd.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
回答1:
Amazon actually suggests that you don't in their forums.
https://forums.aws.amazon.com/thread.jspa?threadID=168039
I'm able to get almost everything I need out of upstart 0.65 on Amazon Linux. Though I'm also disappointed you can't upgrade.
yum upgrade upstart
may work if you have a throw away instance.
来源:https://stackoverflow.com/questions/37054283/how-to-upgrade-install-upstart-deamon-version-1-5-on-amazon-linux