Ubuntu Server 12.04 的新特性一览表

fmms 13年前
     <p style="text-indent:0em;">Ubuntu 12.04 (代号为 Precise Pangolin) 版本主要侧重于发布、稳定性和质量。Ubuntu 12.04 包含最新的代号为 Essex 的 OpenStack 版本,以及一项名为 MAAS 的新特性。此外,可使用 Juju 轻松的部署集中式的 CharmStore 。还包含一项名为 AWSOME 的新技术。</p>    <p style="text-indent:0em;">这些技术将 Ubuntu Server 定位为最佳的可伸缩计算的服务器操作系统,同时在持续集成、发布和测试的质量上得到了最大的重视。</p>    <p style="text-indent:0em;"><strong>OpenStack</strong></p>    <p style="text-indent:0em;">OpenStack 项目更新到最新你名为 Essex 的版本,对 nova 用户默认使用 /bin/false。</p>    <p style="text-indent:0em;">新的二进制包,nova-cert 需要进行解密图片,移除对 M2Crypto 的依赖。<br /> Quantum 分成 quantum 和 quantum 客户端包<br /> Glance 包含新的配置文件结构<br /> nova 默认使用 nova-rootwrap ,提供更好的、更细粒度的安全层<br /> 从 horizon 中移除 openstackx<br /> 移除 ajaxconsole 改用基于 VNC 的解决方案<br /> 移除 ec2 admin api.<br /> Quantum, Melange, 和 Nova 网络模块进行合并<br /> 添加许多 OSAPI 扩展<br /> euca-upload-bundle 可与 keystone 一起工作</p>    <p style="text-indent:0em;">OpenStack 组件可通过 Juju Charms 进行发布</p>    <p style="text-indent:0em;">Keystone 更新到 Keystone-light (redux 分支). Keystone-light 是一个新的重写的版本,替换原来在 11.10 中的版本。<br /> Glance 在升级后需要进行手工的数据库移植<br /> 默认必须在受保护的网络中安装 Openstack,因为多数组件使用 http (非安全)进行传输。</p>    <p style="text-indent:0em;"><strong>MAAS</strong></p>    <p style="text-indent:0em;">MAAS (Metal as a Service)为物理服务器带来了云环境语言,可以轻松的在已有硬件基础上发布任何服务,并可根据需要进行伸缩以及动态下线。</p>    <p style="text-indent:0em;"><strong>AWSOME</strong></p>    <p style="text-indent:0em;">AWSOME (“Any Web Service over Me”) 为 OpenStack 提供了 IAAS API’s ,可轻松发布和管理基于 AWS 和 OpenStack 的云服务。</p>    <p style="text-indent:0em;"><strong>Juju</strong></p>    <p style="text-indent:0em;">Juju CharmStore 现可无需本地 charms 环境直接发布 charmed 服务。</p>    <p style="text-indent:0em;">允许使用不同的服务单位添加下属服务,将部署到相同的容器中,并互相识别。</p>    <p style="text-indent:0em;">增加机器约束,方便用户选择他们发布服务所需的硬件配置。</p>    <p style="text-indent:0em;"><strong>Java</strong></p>    <p style="text-indent:0em;">可通过 Universe 软件库获取 Apache Tomcat 7.0.26 ,当然继续支持 Tomcat 6.0.35</p>    <p style="text-indent:0em;">请注意 Tomcat 7 将在 Ubuntu 12.10 中替换 Tomcat 6.</p>    <p style="text-indent:0em;">软库库中同时提供 Apache ActiveMQ 5.5.0 、Jenkins 1.424.6 LTS、OpenJDK 7 (紧密贴合 Oracle Java 7)、Groovy 1.8.6、Scala 2.9.1 和 Clojure 1.1.0<br /> 请注意 OpenJDK 7 将是 Ubuntu 12.10 中默认的 Java 实现。</p>    <p style="text-indent:0em;"><strong>虚拟化</strong></p>    <p style="text-indent:0em;">包含 Xen 并且官方支持<br /> 为 Ubuntu 作为 Zen 虚拟化服务提供工具 (dom0)</p>    <p style="text-indent:0em;">Libvirt integration/Xen domains manageable through libvirt or any frontend that uses libvirt.<br /> Guest installations in HVM mode will use optimized paravirt drivers out of the box.</p>    <p style="text-indent:0em;">LXC 提升包括:<br /> The ability for stock 12.04 images to boot in a container<br /> Apparmor protection to increase security<br /> Support for lvm- and btrfs-backed containers<br /> New ubuntu-cloud template for simple creation of containers based on published Ubuntu Cloud images.</p>    <p style="text-indent:0em;">KVM (version 1.0) 和 Libvirt 提升包括:<br /> QED (Qemu enhanced disk format) support<br /> AHCI protocol support<br /> Nested guest support for <a style="border-bottom:#95181c 1px dotted;background-color:transparent;color:#95181c;border-top:medium none;text-decoration:none;" id="itxthook0" class="itxtrst itxtrsta itxthook" href="/misc/goto?guid=4958338483011273287" rel="nofollow"><span style="background:none transparent scroll repeat 0% 0%;color:#95181c;" id="itxthook0w0" class="itxtrst itxtrstspan itxthookspan">Intel</span><img id="itxthook0icon" class="itxtrst itxtrstimg itxthookicon" alt="" src="http://images.intellitxt.com/ast/adTypes/mag-glass_10x10.gif" /></a> processors (in addition to AMD support)<br /> Public API to invoke suspend/resume on the host from libvirt<br /> STP and VLAN filtering from libvirt<br /> Bandwidth QoS control in libvirt<br /> CPU 带宽限制支持</p>    <p style="text-indent:0em;"><strong>文件系统</strong></p>    <p style="text-indent:0em;">CEPH 客户端库, librbd 和 librados 添加到 KVM 的支持中<br /> CIFS 使用文件系统缓存以提升性能<br /> 软 RAID 支持坏块管理</p>    <p style="text-indent:0em;"><strong>ARM 支持</strong></p>    <p style="text-indent:0em;">提供 OpenMPI 1.5 for ARM  (889644)<br /> openmpi 1.5 改进对 ARM 的支持,不过目前还是 beta 版本。</p>    <p style="text-indent:0em;"><strong>其他</strong></p>    <p style="text-indent:0em;">Query2, 一个新的元数据服务,用来描述 Ubuntu 云图片以及其可用性,提供一个 JSON 格式的文件用来描述 cloud-images.ubuntu.com 上的图片存储和官方 Ubuntu 图片的状态</p>    <p style="text-indent:0em;">新的 Zentyal 包</p>    <p style="text-indent:0em;">These packages are a rename of the existing ebox packages along with a new upstream release fixing known issues in the current ebox packages in Ubuntu 11.10.</p>    <p style="text-indent:0em;">Resara, 一个开源的 Linux 域控制器和文件服务器,基于 Samba4.<br /> acpid introduced to both Server and Cloud images by default.</p>    <p style="text-indent:0em;">Chef 0.8.16 (948437) and corresponding Ohai packages (948438) removed from precise at the request of OpsCode.</p>    <p style="text-indent:0em;">应 Eucalyptus 的要求移除 Eucalyptus 2.0.1 (953405)</p>    <p style="text-indent:0em;"><strong>通用架构</strong></p>    <p style="text-indent:0em;">Up until Ubuntu 11.10, administrator access using the sudo tool was granted via the “admin” Unix group. In Ubuntu 12.04, administrator access will be granted via the “sudo” group. This makes Ubuntu more consistent with the upstream implementation and Debian. For compatibility purposes, the “admin” group will continue to provide sudo/administrator access in 12.04.</p>    <p style="text-indent:0em;">默认禁用休眠功能(suspend to disk) ,因为发现这功能不可靠,而且两种不同的挂起模式让人混淆,详情请看 bug 812394.<br /> pm-utils now has two new scripts to power down USB and various PCI devices in battery mode. A number of desktop packages were fixed to wake up less often. Both of these reduce power consumption and thus improve battery lifetime.</p>    <p style="text-indent:0em;">resolvconf is now used to manage /etc/resolv.conf on all Ubuntu systems. You can learn more here<br /> Backports are now more easily accessible -- to enable users to more easily receive new versions of software, the Ubuntu Backports repository is now enabled by default. Packages from backports will not be installed by default — they must explicitly be selected in package management software. However, once installed, packages from backports will automatically be upgraded to newer versions.<br /> DVD Images -- the DVD images have been cleaned up significantly reducing their size to around 1.5GB to ease consumption. The remaining software remains available via download.</p>    <p style="text-indent:0em;"><strong>Linux v3.2.14 内核</strong></p>    <p style="text-indent:0em;">Ubuntu 12.04 LTS ships with an updated kernel moving from the mainline v3.0 series to the mainline v3.2 series. At release we are shipping with the Ubuntu 3.2.0-23.36 kernel which is based on the v3.2.14 upstream stable Linux kernel. The mainline v3.0 to v3.2 stable series update brings a number of new features. Some highlights include:</p>    <p style="text-indent:0em;">ext4 gains support for larger base block sizes<br /> btrfs has more work addressing data integrity issues<br /> device mapper gains thin provisioning and recursive snapshots<br /> more work to improve performance under high writeback load<br /> networking improvements for congested networks<br /> ext3 moves to using filesystem barriers<br /> memory allocator improvements<br /> VFS scalability improvements<br /> a new iSCSI implementation<br /> software wait gains bad block management</p>    <p style="text-indent:0em;">Key changes in the Ubuntu kernel since the 3.0.0-12.20 Ubuntu kernel as shipped in the 11.10 Ubuntu release include:</p>    <p style="text-indent:0em;">Rebase to upstream stable Linux kernel v3.2.14.</p>    <p style="text-indent:0em;">The amd64 -generic and -server kernel flavors have been merged into a single -generic kernel flavor for Ubuntu 12.04. Given the few differences that existed between the two flavors, it only made sense to merge the two and reduce the overall maintenance burden over the life of this LTS release.<br /> Support for a new armhf kernel flavor has been introduced.</p>    <p style="text-indent:0em;">The non-smp PowerPC kernel flavor has been removed. All hardware currently supported by the non-smp PowerPC kernel flavor should also be supported by the smp PowerPC kernel flavor.</p>    <p style="text-indent:0em;">RC6 is enabled by default for Sandy Bridge systems. RC6 is a technology which allows the GPU to go into a very low power consumption state when the GPU is idle (down to 0W). It results in considerable power savings when this stage is activated. When comparing under idle loads with machine state where RC6 is disabled, improved power usage of around 40-60% has been witnessed.</p>    <p style="text-indent:0em;">An improved set of jack detection patches has been backported from the upstream v3.3 Linux kernel.</p>    <p style="text-indent:0em;">An updated AppArmor patch set has been included to better align with what is landing upstream.</p>    <p style="text-indent:0em;">Applied and enabled the seccomp filters feature which uses the packet filtering machinery (BPF) to restrict access to system calls.</p>    <p style="text-indent:0em;">A set of kexec fixes for arm from v3.3-rc1 has also been backported.</p>    <p style="text-indent:0em;">We’ve also conducted an extensive review of Ubuntu kernel configs and made numerous config changes as a result.</p>    <p style="text-indent:0em;"><strong>Upstart 1.5</strong></p>    <p style="text-indent:0em;">Upstart 更新到 1.5. Upstart Technical Overview 提供更详细的细节</p>    <p style="text-indent:0em;"><strong>GNU Toolchain</strong></p>    <p style="text-indent:0em;">Ubuntu 12.04 包含默认的工具链:GCC 4.6.3 (and changes from Linaro GCC 4.6-2012.02), binutils 2.22, eglibc 2.15, and Linaro gdb 7.4-2012.04.</p>    <p style="text-indent:0em;">与 11.10 版本比较主要是一些增量的改动和 bug 修复</p>    <p style="text-indent:0em;">更新的前端以更好的支持标准 (Ada 2012, Objective-C 2.0, improved experimental support for the upcoming C++0x ISO C++ standard, Fortran 2003 and 2008 improvements, new Go frontend)<br /> 改进优化、更好的过程优化和链接时间优化。</p>    <p style="text-indent:0em;">更多的信息请看 (GCC-4.6, GCC-4.5, binutils, gas, ld, gdb).</p>    <p style="text-indent:0em;"><strong>Python Toolchain</strong></p>    <p style="text-indent:0em;">Ubuntu 12.04 包含 Python 2.7.3 和 Python 3.2.3,不再提供 Python 2.6 <br /> 该版本为 Python 3 提供扩展支持, 包括 Python 3 移植版本的:python-dbus, python-feedparser, germinate, lazr.ui, wadllib, python-defer, python-keyring, and python-qt4 now included, among others.</p>    <p style="text-indent:0em;"><strong>Java Toolchain</strong></p>    <p style="text-indent:0em;">默认的 Java 运行环境采用 OpenJDK 6b24 (IcedTea 1.11.1). 同时也提供 OpenJDK 7u3 (IcedTea 2.1)</p>    <p style="text-indent:0em;"><a href="/misc/goto?guid=4958338483011273287" target="_blank">英文原文</a></p>