Ubuntu Server 12.04 的新特性一览表
中文科技资讯:
Ubuntu 12.04 (代号为 Precise Pangolin) 版本主要侧重于发布、稳定性和质量。Ubuntu 12.04 包含最新的代号为 Essex 的 OpenStack 版本,以及一项名为 MAAS 的新特性。此外,可使用 Juju 轻松的部署集中式的 CharmStore 。还包含一项名为 AWSOME 的新技术。
这些技术将 Ubuntu Server 定位为最佳的可伸缩计算的服务器操作系统,同时在持续集成、发布和测试的质量上得到了最大的重视。
OpenStack
OpenStack 项目更新到最新你名为 Essex 的版本,对 nova 用户默认使用 /bin/false。
新的二进制包,nova-cert 需要进行解密图片,移除对 M2Crypto 的依赖。
Quantum 分成 quantum 和 quantum 客户端包
Glance 包含新的配置文件结构
nova 默认使用 nova-rootwrap ,提供更好的、更细粒度的安全层
从 horizon 中移除 openstackx
移除 ajaxconsole 改用基于 VNC 的解决方案
移除 ec2 admin api.
Quantum, Melange, 和 Nova 网络模块进行合并
添加许多 OSAPI 扩展
euca-upload-bundle 可与 keystone 一起工作
OpenStack 组件可通过 Juju Charms 进行发布
Keystone 更新到 Keystone-light (redux 分支). Keystone-light 是一个新的重写的版本,替换原来在 11.10 中的版本。
Glance 在升级后需要进行手工的数据库移植
默认必须在受保护的网络中安装 Openstack,因为多数组件使用 http (非安全)进行传输。
MAAS
MAAS (Metal as a Service)为物理服务器带来了云环境语言,可以轻松的在已有硬件基础上发布任何服务,并可根据需要进行伸缩以及动态下线。
AWSOME
AWSOME (“Any Web Service over Me”) 为 OpenStack 提供了 IAAS API’s ,可轻松发布和管理基于 AWS 和 OpenStack 的云服务。
Juju
Juju CharmStore 现可无需本地 charms 环境直接发布 charmed 服务。
允许使用不同的服务单位添加下属服务,将部署到相同的容器中,并互相识别。
增加机器约束,方便用户选择他们发布服务所需的硬件配置。
Java
可通过 Universe 软件库获取 Apache Tomcat 7.0.26 ,当然继续支持 Tomcat 6.0.35
请注意 Tomcat 7 将在 Ubuntu 12.10 中替换 Tomcat 6.
软库库中同时提供 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
请注意 OpenJDK 7 将是 Ubuntu 12.10 中默认的 Java 实现。
虚拟化
包含 Xen 并且官方支持
为 Ubuntu 作为 Zen 虚拟化服务提供工具 (dom0)
Libvirt integration/Xen domains manageable through libvirt or any frontend that uses libvirt.
Guest installations in HVM mode will use optimized paravirt drivers out of the box.
LXC 提升包括:
The ability for stock 12.04 images to boot in a container
Apparmor protection to increase security
Support for lvm- and btrfs-backed containers
New ubuntu-cloud template for simple creation of containers based on published Ubuntu Cloud images.
KVM (version 1.0) 和 Libvirt 提升包括:
QED (Qemu enhanced disk format) support
AHCI protocol support
Nested guest support forIntel processors (in addition to AMD support)
Public API to invoke suspend/resume on the host from libvirt
STP and VLAN filtering from libvirt
Bandwidth QoS control in libvirt
CPU 带宽限制支持
文件系统
CEPH 客户端库, librbd 和 librados 添加到 KVM 的支持中
CIFS 使用文件系统缓存以提升性能
软 RAID 支持坏块管理
ARM 支持
提供 OpenMPI 1.5 for ARM (889644)
openmpi 1.5 改进对 ARM 的支持,不过目前还是 beta 版本。
其他
Query2, 一个新的元数据服务,用来描述 Ubuntu 云图片以及其可用性,提供一个 JSON 格式的文件用来描述 cloud-images.ubuntu.com 上的图片存储和官方 Ubuntu 图片的状态
新的 Zentyal 包
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.
Resara, 一个开源的 Linux 域控制器和文件服务器,基于 Samba4.
acpid introduced to both Server and Cloud images by default.
Chef 0.8.16 (948437) and corresponding Ohai packages (948438) removed from precise at the request of OpsCode.
应 Eucalyptus 的要求移除 Eucalyptus 2.0.1 (953405)
通用架构
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.
默认禁用休眠功能(suspend to disk) ,因为发现这功能不可靠,而且两种不同的挂起模式让人混淆,详情请看 bug 812394.
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.
resolvconf is now used to manage /etc/resolv.conf on all Ubuntu systems. You can learn more here
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.
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.
Linux v3.2.14 内核
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:
ext4 gains support for larger base block sizes
btrfs has more work addressing data integrity issues
device mapper gains thin provisioning and recursive snapshots
more work to improve performance under high writeback load
networking improvements for congested networks
ext3 moves to using filesystem barriers
memory allocator improvements
VFS scalability improvements
a new iSCSI implementation
software wait gains bad block management
Key changes in the Ubuntu kernel since the 3.0.0-12.20 Ubuntu kernel as shipped in the 11.10 Ubuntu release include:
Rebase to upstream stable Linux kernel v3.2.14.
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.
Support for a new armhf kernel flavor has been introduced.
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.
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.
An improved set of jack detection patches has been backported from the upstream v3.3 Linux kernel.
An updated AppArmor patch set has been included to better align with what is landing upstream.
Applied and enabled the seccomp filters feature which uses the packet filtering machinery (BPF) to restrict access to system calls.
A set of kexec fixes for arm from v3.3-rc1 has also been backported.
We’ve also conducted an extensive review of Ubuntu kernel configs and made numerous config changes as a result.
Upstart 1.5
Upstart 更新到 1.5. Upstart Technical Overview 提供更详细的细节
GNU Toolchain
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.
与 11.10 版本比较主要是一些增量的改动和 bug 修复
更新的前端以更好的支持标准 (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)
改进优化、更好的过程优化和链接时间优化。
更多的信息请看 (GCC-4.6, GCC-4.5, binutils, gas, ld, gdb).
Python Toolchain
Ubuntu 12.04 包含 Python 2.7.3 和 Python 3.2.3,不再提供 Python 2.6
该版本为 Python 3 提供扩展支持, 包括 Python 3 移植版本的:python-dbus, python-feedparser, germinate, lazr.ui, wadllib, python-defer, python-keyring, and python-qt4 now included, among others.
Java Toolchain
默认的 Java 运行环境采用 OpenJDK 6b24 (IcedTea 1.11.1). 同时也提供 OpenJDK 7u3 (IcedTea 2.1)