Ubuntu系统

展开

当前位置:首页>服务器系统>Ubuntu系统

赶快使用Firefox 57吧!速度比以前快2倍,Ubuntu用户请升级

作者:系统库人气:
Mozilla Firefox本周早些时候发布了57.0版本。 新版本的Firefox Quantum采用全新的浏览引擎,号称速度比以前快两倍。
 
Mozilla Firefox 57.0发布亮点:
一个全新的浏览引擎。
重新设计的界面,以及针对触摸屏的优化
A unified address and search bar.
一个新的标签页,包括最受欢迎的网站,最近访问过的网页和Pocket的推荐
更新产品之旅,以定位新的和返回的Firefox用户
AMD VP9硬件视频解码器支持以更低的功耗改进视频播放
用于管理所有网站权限的扩展部分
还有各种安全修复和其他更改。
 
如何在Ubuntu中安装Firefox 57:
对于Ubuntu 14.04,Ubuntu 16.04,Ubuntu 17.04,Ubuntu 17.10,最新的Firefox 57将通过Ubuntu存储库发布安全更新。
Once it’s published (check Firefox in launchpad), you can upgrade Firefox via Software Updater:
(检查 launchpad 中Firefox),您可以通过软件更新程序升级Firefox。
来不及等待?那就马上下载Mozilla提供的Linux软件包(针对32位选择i686,对于64位操作系统选择x86_64):
下载 Firefox (非安装):https://ftp.mozilla.org/pub/firefox/releases/57.0/

SMPlayer 17.11.2发布,修复KDE下Bug,附Ubuntu下安装方法

SMPlayer媒体播放器今天早些时候发布了17.11.2版本,并为KDE用户修复了一些bug。
SMPlayer,一个免费的媒体播放器,播放所有可用的格式,并能下载Youtube视频,SMPlayer使用屡获殊荣的MPlayer作为引擎,因此它可以播放最知名的音频和视频格式,无需外部编解码器:avi,mkv,ogm,mpeg,vob,3gp,asf,mov,wmv,mp3,ogg等,您也可以播放DVD光盘和互联网流。它支持srt,sub,ssa,在Matroska文件中嵌入字幕,DVD字幕。SMPlayer字幕可以变的很好看,可以选择字体和大小,甚至可以选择字幕的颜色。
 
SMPlayer 17.11.2 fixed:
当全局菜单被激活时,KDE可能发生崩溃。
SMPlayer退出时不会在KDE中注销。
MPRIS2代码中的查找功能已经修复。
 
如何在Ubuntu中安装SMPlayer 17.11.2:
对于Ubuntu 14.04,Ubuntu 16.04,Ubuntu 17.04,Ubuntu 17.10及衍生版,最新的SMPlayer软件包可在PPA存储库中找到。
1.从应用程序启动器搜索并启动“终端”。 当它打开时,运行命令:
sudo add-apt-repository ppa:rvm/smplayer
输入你的密码(在输入的时候不会在屏幕显示),然后按Enter键。
2.然后使用软件更新程序(或更新管理器)升级SMPlayer:
或者在终端中运行命令来安装(或升级)媒体播放器:
sudo apt-get update
sudo apt-get install smplayer smtube smplayer-themes
卸载:
要删除SMPlayer,请在终端运行命令:
sudo apt-get remove --autoremove smplayer smtube smplayer-*
或通过“其他软件”选项卡下的“软件和更新”实用程序删除PPA。

使用LXD容器运行Ubuntu Core

Ubuntu Core 是什么?
Ubuntu Core 是完全基于 snap 包构建,并且完全事务化的 Ubuntu 版本。
该系统大部分是只读的,所有已安装的应用全部来自 snap 包,完全使用事务化更新。这意味着不管在系统更新还是安装软件的时候遇到问题,整个系统都可以回退到之前的状态并且记录这个错误。
最新版是在 2016 年 11 月发布的 Ubuntu Core 16。
注意,Ubuntu Core 限制只能够安装 snap 包(而非 “传统” 软件包),并且有相当数量的 snap 包在当前环境下不能正常运行,或者需要人工干预(创建用户和用户组等)才能正常运行。随着新版的 snapd 和 “core” snap 包发布,Ubuntu Core 每周都会得到改进。
 
环境需求
就 LXD 而言,Ubuntu Core 仅仅相当于另一个 Linux 发行版。也就是说,snapd 需要挂载无特权的 FUSE 和 AppArmor 命名空间以及软件栈,像下面这样:
1.一个新版的使用 Ubuntu 官方内核的系统
2.一个新版的 LXD
 
创建一个 Ubuntu Core 容器
当前 Ubuntu Core 镜像发布在社区的镜像服务器。你可以像这样启动一个新的容器:
stgraber@dakara:~$ lxc launch images:ubuntu-core/16 ubuntu-core
Creating ubuntu-core
Starting ubuntu-core
这个容器启动需要一点点时间,它会先执行第一阶段的加载程序,加载程序会确定使用哪一个镜像(镜像是只读的),并且在系统上设置一个可读层,你不要在这一阶段中断容器执行,这个时候什么都没有,所以执行 lxc exec 将会出错。
几秒钟之后,执行 lxc list 将会展示容器的 IP 地址,这表明已经启动了 Ubuntu Core:
stgraber@dakara:~$ lxc list
赶快使用Firefox 57吧!速度比以前快2倍,Ubuntu用户请升级
之后你就可以像使用其他的交互一样和这个容器进行交互:
stgraber@dakara:~$ lxc exec ubuntu-core bash
root@ubuntu-core:~# snap list
赶快使用Firefox 57吧!速度比以前快2倍,Ubuntu用户请升级
 
更新容器
如果你一直关注着 Ubuntu Core 的开发,你应该知道上面的版本已经很老了。这是因为被用作 Ubuntu LXD 镜像的代码每隔几个月才会更新。Ubuntu Core 系统在重启时会检查更新并进行自动更新(更新失败会回退)。
如果你想现在强制更新,你可以这样做:
stgraber@dakara:~$ lxc exec ubuntu-core bash
root@ubuntu-core:~# snap refresh
pc-kernel (stable) 4.4.0-53-1 from 'canonical' upgraded
core (stable) 16.04.1 from 'canonical' upgraded
root@ubuntu-core:~# snap version
snap 2.17
snapd 2.17
series 16
root@ubuntu-core:~#
然后重启一下 Ubuntu Core 系统,然后看看 snapd 的版本。
root@ubuntu-core:~# reboot
root@ubuntu-core:~# 
stgraber@dakara:~$ lxc exec ubuntu-core bash
root@ubuntu-core:~# snap version
snap 2.21
snapd 2.21
series 16
root@ubuntu-core:~#
你也可以像下面这样查看所有 snapd 的历史记录:
stgraber@dakara:~$ lxc exec ubuntu-core snap changes
赶快使用Firefox 57吧!速度比以前快2倍,Ubuntu用户请升级
 
安装 Snap 软件包
以一个最简单的例子开始,经典的 Hello World:
stgraber@dakara:~$ lxc exec ubuntu-core bash
root@ubuntu-core:~# snap install hello-world
hello-world 6.3 from 'canonical' installed
root@ubuntu-core:~# hello-world
Hello World!
接下来让我们看一些更有用的:
stgraber@dakara:~$ lxc exec ubuntu-core bash
root@ubuntu-core:~# snap install nextcloud
nextcloud 11.0.1snap2 from 'nextcloud' installed
之后通过 HTTP 访问你的容器就可以看到刚才部署的 Nextcloud 实例。
如果你想直接通过 git 测试最新版 LXD,你可以这样做:
stgraber@dakara:~$ lxc config set ubuntu-core security.nesting true
stgraber@dakara:~$ lxc exec ubuntu-core bash
root@ubuntu-core:~# snap install lxd --edge
lxd (edge) git-c6006fb from 'canonical' installed
root@ubuntu-core:~# lxd init
Name of the storage backend to use (dir or zfs) [default=dir]: 
We detected that you are running inside an unprivileged container.
This means that unless you manually configured your host otherwise,
you will not have enough uid and gid to allocate to your containers.
LXD can re-use your container's own allocation to avoid the problem.
Doing so makes your nested containers slightly less safe as they could
in theory attack their parent container and gain more privileges than
they otherwise would.
Would you like to have your containers share their parent's allocation (yes/no) [default=yes]? 
Would you like LXD to be available over the network (yes/no) [default=no]? 
Would you like stale cached images to be updated automatically (yes/no) [default=yes]? 
Would you like to create a new network bridge (yes/no) [default=yes]? 
What should the new bridge be called [default=lxdbr0]? 
What IPv4 address should be used (CIDR subnet notation, “auto” or “none”) [default=auto]? 
What IPv6 address should be used (CIDR subnet notation, “auto” or “none”) [default=auto]? 
LXD has been successfully configured.
已经设置过的容器不能回退版本,但是可以在 Ubuntu Core 16 中运行另一个 Ubuntu Core 16 容器:
root@ubuntu-core:~# lxc launch images:ubuntu-core/16 nested-core
Creating nested-core
Starting nested-core 
root@ubuntu-core:~# lxc list
赶快使用Firefox 57吧!速度比以前快2倍,Ubuntu用户请升级
 
写在最后
如果你只是想试用一下 Ubuntu Core,这是一个不错的方法。对于 snap 包开发者来说,这也是一个不错的工具来测试你的 snap 包能否在不同的环境下正常运行。
如果你希望你的系统总是最新的,并且整体可复制,Ubuntu Core 是一个很不错的方案,不过这也会带来一些相应的限制,所以可能不太适合你。
最后是一个警告,对于测试来说,这些镜像是足够的,但是当前并没有被正式的支持。在不久的将来,官方的 Ubuntu server 可以完整的支持 Ubuntu Core LXD 镜像。
 
附录
LXD 主站:https://linuxcontainers.org/lxd
Github:https://github.com/lxc/lxd
邮件列表:https://lists.linuxcontainers.org
IRC:#lxcontainers on irc.freenode.net
在线试用:https://linuxcontainers.org/lxd/try-it

VLC Web Plugin如何在ubantu linux系统上安装使用ubuntu下无法启动vivado SDK的解决办法Ubuntu 17.10主要内核更新 修复20个安全漏洞IBM发布开源现代化字体IBM Plex,应该在Ubuntu上最好Ubuntu 18.04 LTS确认Suru为默认图标主题TQ2440在Ubuntu16.04上如何搭建DNW烧写环境Krita 3.3.2发布,修复重要Bug及如何在Ubuntu下安装Ubuntu缩小磁盘分区大小Linux企业发行版基准测试:CentOS和Ubuntu被击败Ubuntu 16.04 ROS-kinetic安装华硕Xtion Pro Live驱动

加载全部内容

Ubuntu系统排行