看了一下午的文档，第一个Hello World 出炉了
今天发现服务器CentOS 5 已经无法用YUM命令安装软件了。原来已经停止更新了。
CentOS 5 has reached end of life upstream.
As there will be no more fixes for RHEL 5 released public upstream by Redhat then there will be no more updates for CentOS 5 either. You are encouraged to migrate any remaining systems to CentOS 7 or to CentOS 6 (which itself enters Production Phase 3 upstream in May 2017 with End of Life coming in 2020).
Expect the current CentOS 5 mirror content to migrate to vault.centos.org in the near future.
This notice was originally posted when CentOS 5 had one year of supported life left. It now has 6 1 month 1 week. You are encouraged to put your migration plans into action now if you haven’t already done so. CentOS 6 goes EOL in 2020, CentOS 7 in 2024.
Don’t delay, get migrating today
Redhat have issued a 3 month retirement notice that you can read on http://rhn.redhat.com/errata/RHSA-2016-2997.html
As per the announcement upstream, http://rhn.redhat.com/errata/RHSA-2016-0561.html you should know that CentOS 5 now has one year of support life left. People using CentOS 5 are encouraged to start their migration process to a supported version.
It should be noted that, unlike RHEL, there is no extended support option for CentOS. Once RHEL 5 goes EOL upstream on March 31st 2017, there will be no further updates for CentOS 5 at all. Those using CentOS 5 and requiring more than 1 year 3 2 1 month of life are encouraged to investigate the RH extended support program although that will require a migration to RHEL 5 as it does not apply to CentOS 5.