Merge pull request #12 from LCTT/master

更新
This commit is contained in:
Lv Feng 2016-12-08 08:25:14 +08:00 committed by GitHub
commit 9d215f06b8
54 changed files with 1037 additions and 945 deletions

View File

@ -1,8 +1,9 @@
# 4 种方式将 PNG 和 JPG 批量转换
在 Linux 下将 PNG 和 JPG 批量互转的四种方法
==============
计算机术语中,批处理指的是用一个非交互式的程序来[执行一序列的任务][11]。这篇教程里,我们会使用 Linux 命令行工具,并提供 4 种简单的处理方式来把一些 `.PNG` 格式的图像批量转换成 `.JPG` 格式的,反之亦然
计算机术语中,批处理指的是用一个非交互式的程序来[执行一序列的任务][11]的方法。这篇教程里,我们会使用 Linux 命令行工具,并提供 4 种简单的处理方式来把一些 `.PNG` 格式的图像批量转换成 `.JPG` 格式的,以及转换回来
虽然所有示例中我们使用的都是 convert 命令行工具,但是您也可以使用 mogrify 命令来达到同样的效果。
虽然所有示例中我们使用的都是 `convert` 命令行工具,但是您也可以使用 `mogrify` 命令来达到同样的效果。
convert 命令的语法如下
@ -18,13 +19,13 @@ $ mogrify 选项 输入文件
```
注意:在使用 mogrify 命令时,默认情况下源图像文件会被转换后的新文件覆盖掉,您可以使用明确的操作选项来禁止覆盖,具体的选项可以在手册页中查询得到。
注意:在使用 `mogrify` 命令时,默认情况下源图像文件会被转换后的新文件覆盖掉,您可以使用明确的操作选项来禁止覆盖,具体的选项可以在手册页中查询得到。
下面是把所有 `.PNG` 格式图像批量转换为 `.JPG` 格式的各种实现方式。如果想把 `.JPG` 转换为 `.PNG` 格式,也可使用这些命令,按需修改。
### 1\. 使用 lsxargs 命令来转换 PNG 和 JPG
### 1、 使用 `ls``xargs` 命令来转换 PNG 和 JPG
[ls 命令](10) 可以列出所有的 png 图像文件, xargs 使得可以从标准输入构建和执行 convert 命令,将所有 `.png` 图像转换为 `.jpg` 图像。
[ls 命令](10) 可以列出所有的 png 图像文件, `xargs` 使得可以从标准输入构建和执行 `convert` 命令,从而将所有 `.png` 图像转换为 `.jpg` 图像。
```
----------- 从 PNG 转换到 JPG -----------
@ -40,21 +41,21 @@ $ ls -1 *.jpg | xargs -n 1 bash -c 'convert "$0" "${0%.jpg}.png"'
1. `-1`  告诉 ls 每行列出一个图像名称的选项标识
2. `-n`  指定最多参数个数,例子中为 1
3. `-c`  指示 bash 运行给定的命令
4. `${0%.png}.jpg`  设置新转换的图像文件的名字,% 符号用来删除源文件的扩展名
4. `${0%.png}.jpg`  设置新转换的图像文件的名字,`%` 符号用来删除源文件的扩展名
[
![Convert PNG to JPG Format in Linux](http://www.tecmint.com/wp-content/uploads/2016/11/Convert-PNG-to-JPG-in-Linux.png)
][9]
Linux 中 PNG 格式转为 JPG 格式
*Linux 中 PNG 格式转为 JPG 格式*
我使用  `ls -ltr` 命令按[修改的日期和时间列出所有文件][8]。
类似的,也可以使用上面的命令要把 `.jpg` 图像转换为 `.png` 格式,只需稍微调整就行。
### 2\. 使用 GNU 的 'Parallel' 命令来转换 PNG 和 JPG
### 2、 使用 GNU 的 `parallel` 命令来转换 PNG 和 JPG
GNU Parallel 使用户能够从标准输入并行构建和执行 shell 命令。确保您的系统上安装了 GNU Parallel否则请使用以下适当的命令进行安装
GNU 的 parallel 使用户能够从标准输入并行构建和执行 shell 命令。确保您的系统上安装了 GNU Parallel否则请使用以下适当的命令进行安装
```
$ sudo apt-get install parallel [在 Debian/Ubuntu 系统中]
@ -62,7 +63,7 @@ $ sudo yum install parallel [在 RHEL/CentOS 和 Fedora 系统中]
```
安装好 Parallel 工具后,您就可以运行下面的命令来把所有从标准输入的 `.png` 图像转换成 `.jpg` 格式的图像。
安装好 `parallel` 工具后,您就可以运行下面的命令来把所有从标准输入的 `.png` 图像转换成 `.jpg` 格式的图像。
```
----------- 从 PNG 转换到 JPG -----------
@ -83,9 +84,9 @@ $ parallel convert '{}' '{.}.png' ::: *.jpg
![Parallel Command - Converts All PNG Images to JPG Format](http://www.tecmint.com/wp-content/uploads/2016/11/Convert-PNG-to-JPG-Using-Parallel-Command.png)
][7]
Parallel 命令 把所有 PNG 图像转换为 JPG 格式
*Parallel 命令 把所有 PNG 图像转换为 JPG 格式*
或者,您也可以结合 [ls][6] 和 parallel 命令来批量转换所有图像,如图所示:
或者,您也可以结合 [ls][6] 和 `parallel` 命令来批量转换所有图像,如图所示:
```
----------- 从 PNG 转换到 JPG -----------
@ -96,9 +97,9 @@ $ ls -1 *.jpg | parallel convert '{}' '{.}.png'
```
### 3\. 使用 for loop 命令来转换 PNG 和 JPG
### 3、 使用 `for` 循环命令来转换 PNG 和 JPG
为了避免编写 shell 脚本的繁琐,你可以从命令行执行 `for loop` 语句,如下所示:
为了避免编写 shell 脚本的繁琐,你可以从命令行执行 `for` 循环语句,如下所示:
```
----------- 从 PNG 转换到 JPG -----------
@ -111,22 +112,22 @@ $ bash -c 'for image in *.jpg; do convert "$image" "${image%.jpg}.png"; echo “
对上面的命令所使用的选项参数的描述:
1. -c 允许执行包括在单引号中的 loop 语句。
2. image 变量是目录中的图像名的数量记数器。
3. 对于每个转换操作,在 “$image converted to ${image%.png}.jpg” 这行中,[echo 命令][1]通知用户 png 图像已经转换为 jpg 格式,反之亦然。
4. "${image%.png}.jpg" 语句创建了转换后的图像名字,其中 % 表示去除源图像文件的扩展名。
1. `-c` 允许执行包括在单引号中的循环语句。
2. `image` 变量是目录中的图像名的数量记数器。
3. 对于每个转换操作,在 `$image` 转换为 `${image%.png}.jpg` 这行中,[echo 命令][1]通知用户 png 图像已经转换为 jpg 格式,反之亦然。
4. `${image%.png}.jpg` 语句创建了转换后的图像名字,其中 `%` 表示去除源图像文件的扩展名。
[
![for loop - Convert PNG to JPG Format](http://www.tecmint.com/wp-content/uploads/2016/11/Convert-PNG-to-JPG-Using-for-loop-Command.png)
][5]
for loop 语句 从 PNG 转换到 JPG 格式
*for 循环语句 从 PNG 转换到 JPG 格式*
### 4\. 使用 Shell 脚本来转换 PNG 和 JPG
### 4 使用 Shell 脚本来转换 PNG 和 JPG
如果你不想像前面的例子那样让你的命令行变得邋遢的话,可以写一个小脚本,如下示:
如果你不想像前面的例子那样让你的命令行变得邋遢的话,可以写一个小脚本,如下示:
笔记:适当地交换 `.png``.jpg` 扩展名,如下面的例子所示,从一种格式到另一种格式的转换
注意:适当地交换 `.png``.jpg` 扩展名,如下面的例子所示,从一种格式转换到另一种格式:
```
#!/bin/bash
@ -150,21 +151,19 @@ $ ./convert.sh
![Batch Image Convert Using Shell Script](http://www.tecmint.com/wp-content/uploads/2016/11/Batch-Image-Convert-Using-Shell-Script.png)
][4]
使用 Shell 脚本来批量图像转换
*使用 Shell 脚本来批量图像转换*
总之,我们介绍了一些重要的将 .png 图像批量转换为 .jpg 格式的方法,反之亦然。如果还想对图像进行一些优化的话, 您可以移步到[ Linux 系统中如何压缩 png 和 jpg 图像][3]这篇指导文章。
总之,我们介绍了一些重要的将 .png 图像批量转换为 .jpg 格式的方法,以及再转回来。如果还想对图像进行一些优化的话, 您可以移步到 [ Linux 系统中如何压缩 png 和 jpg 图像][3]这篇指导文章。
您可以给我们分享一些在终端下把图像从一种格式转成另一种格式的方式方法,或者是 [ Linux 命令行工具][2],或者在下面的评论部分畅所欲言。
您可以给我们分享一些包括 Linux 命令行工具在内的把图像从一种格式转成另一种格式的方式方法,或者在下面的评论部分畅所欲言。
--------------------------------------------------------------------------------
via: http://www.tecmint.com/linux-image-conversion-tools/
作者:[Aaron Kili][a]
译者:[runningwater](https://github.com/runningwater)
校对:[校对者ID](https://github.com/校对者ID)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出

View File

@ -0,0 +1,108 @@
怎样在 Arch Linux 终端上更改 WiFi 密码
============================================================
![Update Wifi Network Password From Terminal In Arch Linux](https://www.ostechnix.com/wp-content/plugins/lazy-load/images/1x1.trans.gif)
自从修改了我的路由器的 WiFi 网络密码后,我的 Arch Linux 测试机就不能连接到网络了。由于我的 Arch Linux 测试机没有图形化桌面环境,我不得不在终端上更改 WiFi 密码。在图形化操作界面中,更改 WiFi 密码是很容易的。我仅仅需要打开网络管理器,就能很快更改 WiFi 网络密码。但是,我从来没有在 Arch Linux 终端上用命令行来更改 WiFi 密码。我开始在 google 上搜索相关资料,并且在 Arch Linux 论坛找到了一个好的解决办法。如果你也面临同样的问题,读完这篇文章吧,这个方法并没有那么难。
### 在终端更改 WiFi 网络密码
修改了路由器的 WiFi 密码之后,我尝试运行 `wifi-menu` 命令来更新 WiFi 密码,但是它一直报如下错误。
```
sudo wifi-menu
```
它显示了可用的 WiFi 列表。
[
![](http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_001-1.png)
][2]
我的 WiFi 网络名为 Murugs9376。我选中了我的 WiFi 网络,然后在 OK 处按下回车。它没有让我输入新的 WiFi 密码(我以为它会先问我是否密码已经更改),却显示了下面的错误。
```
Interface 'wlp9s0' is controlled by netctl-auto
WPA association/authentication failed for interface 'wlp9s0'
```
[
![](http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_002-1.png)
][3]
在 Arch 发行版上,我没有太多的经验。因此我去了 Arch Linux 论坛希望能找到解决方法。感天谢地,之前有人发了同样问题的帖子并从一位 Arch 老司机那里得到了解决办法。
网络相关的配置文件都是存放在 `/etc/netctl/` 文件夹下。例如,下面是我的 Arch Linux 测试机上该文件夹下的内容:
```
ls /etc/netctl/
Sample Output:
examples ostechnix 'wlp9s0-Chendhan Cell Service' wlp9s0-Pratheesh
hooks wlp9s0 wlp9s0-Murugu9376
interfaces wlp9s0-AndroidAP wlp9s0-none
```
[
![](http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_003-1.png)
][4]
我如果想要更改密码,只需要删除我的 WiFi 网络配置文件 (这里是 `wlp9s0-Murugs9376`) 并且重新运行 `wifi-menu` 命令。
因此,用下面的命令来删除原来的 WiFi 配置文件:
```
sudo rm /etc/netctl/wlp9s0-Murugu9376
```
删除配置文件之后,运行 `wifi-menu` 命令来更新 WiFi 密码。
```
sudo wifi-menu
```
选择 WiFi 网络,并且按回车键。
[
![](http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_004-1.png)
][5]
为新配置文件输入一个新名字。
[
![](http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_005-1.png)
][6]
最后,输入 WiFi 新密码到配置文件中,并且按下回车键。
[
![](http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_006-1.png)
][7]
这样就完成了。现在,我们已经更新了我们的 WiFi 网络密码。像你所看到的一样,在 Arch Linux 终端里面更新 WiFi 密码并不是件很难的事情。任何人都能在几秒钟以内完成它。
如果您觉得这个教程很有帮助,希望您能分享到您的社交网络中来支持我们。
谢谢!
--------------------------------------------------------------------------------
via: https://www.ostechnix.com/update-wifi-network-password-terminal-arch-linux/
作者:[SK][a]
译者:[chenzhijun](https://github.com/chenzhijun)
校对:[jasminepeng](https://github.com/jasminepeng)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://www.ostechnix.com/author/sk/
[1]:http://ostechnix.tradepub.com/free/w_pacb38/prgm.cgi?a=1
[2]:http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_001-1.png
[3]:http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_002-1.png
[4]:http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_003-1.png
[5]:http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_004-1.png
[6]:http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_005-1.png
[7]:http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_006-1.png

View File

@ -0,0 +1,42 @@
Eclipse Che下一代基于 Web 的 IDE
============================================================
![Eclipse Che简介下一代基于Web的IDE](https://opensource.com/sites/default/files/styles/image-full-size/public/images/education/EDU_OSDC_OpenClass_520x292_FINAL_JD.png?itok=ETOrrpcP "Introduction to Eclipse Che, a next-generation, web-based IDE")
> 图片来自: opensource.com
即使对于熟练的开发人员,想要去为一个项目贡献代码,正确的安装和配置一个集成开发环境、工作区
workspace和构建工具都是一个十分艰难和浪费时间的任务。[Codenvy][1] 的CEOTyler Jewell也面临着这个问题。当他养好了一些小病又处理了一些管理工作之后试图建立一个简单的 Java 项目来找回他曾经的编程技能。经过多天的努力Jewell 的项目依然无法工作,但这就是给予了他灵感。他想做个可以让“任何人,任何时候都可以为安装软件的项目做贡献”的东西。
正是这个想法引发了 [Eclipse Che][2] 的发展。
Eclipse Che 是一个基于 Web 的集成开发环境IDE和工作区。Eclipse Che 将工作区与合适的运行时软件环境stack捆绑在一起全都紧密结合在一起。在这些工作空间中的项目具有运行所需的一切工具开发人员不用做什么事情只需要创建工作空间时选择正确的软件环境。
Eclipse Che 已经就绪的捆绑软件环境支持绝大多数现代流行语言。现在已经支持 C++、Java、Go、PHP、 Python、 .NET、Node.js、 Ruby on Rails和 Android 开发等。软件环境库Stack Library )提供了多种选择,如果这样还不够,还可以选择创建一个提供自定义的环境的定制软件环境。
Eclipse Che 是一个功能齐全的 IDE而不是一个基于 Web 的简易文本编辑器。它构建于 Orion 和 JDT 之上。支持智能感知Intellisense和调试并集成了 Git 和 Subversion 版本控制软件。IDE 甚至可以由多个用户共享,进行结对编程。只需一个 Web 浏览器,开发人员就可以编写和调试他们的代码。但是,如果开发人员更喜欢使用基于桌面的 IDE也可以使用 SSH 连接到工作空间。
Eclipse Che 底层所采用的主要技术之一是 [Linux 容器][3] - Docker。工作空间是同样是使用 Docker 构建的,安装 Eclipse Che 的本地副本只需要 Docker 和一个小脚本文件。只需在第一次运行时,第一次运行 `che.sh start` 时,就会下载和运行必需的 Docker 容器。但是,如果你觉得设置 Docker 来安装 Eclipse Che 依然太麻烦Codenvy 还提供在线托管的方法。甚至,他们为开源项目的每个贡献者都提供了 4GB 的工作区。使用 Codenvy 的托管选项或者其它的在线托管方式,只需要提供一个 URL 给潜在贡献者,就会自动创建一个包含项目代码的工作区,所有这些只需轻轻点击一下。
除了 Codenvy 之外Eclipse Che 的贡献者还包括微软、红帽、IBM、三星和许多其它的人或组织。很多贡献者正在致力于开发 Eclipse Che 的定制版本以用于其特定用途。例如,三星的 [Artik IDE][4] 项目用于物联网领域。基于 Web 的 IDE 可能会让一些人失业,但 Eclipse Che 提供很多的机会,并且有很多业内的大公司需要,值得一试。
* * *
如果你有兴趣了解更多关于 Eclipse Che[CheConf 2016][5] 将会 11 月 15 日举行。 CheConf 2016 是一个在线会议,可以免费注册。会议开始于东部时间上午 11 点UTC 时间下午 4:00到东部时间下午 5:30UTC 时间下午 10:30结束。
--------------------------------------------------------------------------------
via: https://opensource.com/life/16/11/introduction-eclipse-che
作者:[Joshua Allen Holm][a]
译者:[Vic020](http://www.vicyu.net/)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://opensource.com/users/holmja
[1]:http://codenvy.com/
[2]:http://eclipse.org/che
[3]:https://opensource.com/resources/what-are-linux-containers
[4]:http://eclipse.org/che/artik
[5]:https://eclipse.org/che/checonf/

View File

@ -0,0 +1,94 @@
如何在 Linux 中查找一个文件
============================================================
![linux-find-command](https://www.rosehosting.com/blog/wp-content/uploads/2016/09/linux-find-command.png)
对于新手而言,在 Linux 中使用命令行可能会非常不方便。没有图形界面,很难在不同文件夹间浏览,找到需要的文件。本篇教程中,我会展示如何在 Linux 中查找特定的文件。
第一步要做的是**[通过 SSH 连接到你的 Linux][2]**。在 Linux 中查找文件有两种方法。一种是使用 `find` 命令,另外一种是使用 `locate` 命令。我们先看第一种。
### find 命令
使用 **Linux find 命令**可以用不同的搜索标准如名字、类型、所属人、大小等来搜索目录树。基本语法如下:
```
# find path expression search-term
```
下面是使用 find 命令根据文件名来查找特定文件的一个例子:
```
# find -name test.file
```
命令会搜索整个目录树来查找名为 `test.file` 的文件,并且会提供其存放位置。你可以使用你 Linux 上一个存在的文件名来尝试一下。
find 命令有时会花费几分钟来查找整个目录树,尤其是如果系统中有很多文件和目录的话。要显著减少时间,你可以指定搜索的目录。比如,如果你知道 `/var` 中存在 `test.file`,那就没有必要搜索其它目录。这样,你可以使用下面的命令:
```
# find /var -name test.file
```
find 还可以根据时间、大小、所属人、权限等选项搜索文件。要了解更多关于这些选项的信息,你可以使用查看** Linux find 命令**的手册。
```
# man find
```
### locate 命令
要在Linux中使用`locate`命令,首先需要安装它。
如果你正在使用 Ubuntu运行下面的命令来安装 locate
```
# apt-get update
# apt-get install mlocate
```
如果你使用的是 CentOS ,运行下面的命令来安装 locate
```
# yum install mlocate
```
locate 是一种比 find 更快的方式,因为它在数据库中查找文件。要更新搜索数据库,运行下面的命令:
```
# updatedb
```
使用 locate 查找文件的语法:
```
# locate test.file
```
就像 find 命令一样locate 也有很多选项来过滤输出。要了解更多你可以查看**Linux Locate 命令**的手册。
```
# man locate
```
* * *
当然,如果你使用了我们的 [Linux VPS 托管服务][5],你不必自己这么做,你可以请求我们专业的 Linux 管理员来帮助你。我们是 24x7 服务的,并且会立即处理你的请求。
另外,如果你喜欢这篇文件,请使用左边的按钮分享到社交网络上,或者在下面留言,谢谢。
--------------------------------------------------------------------------------
via: https://www.rosehosting.com/blog/linux-find-file/
作者:[RoseHosting][a]
译者:[geekpi](https://github.com/geekpi)
校对:[jasminepeng](https://github.com/jasminepeng)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://www.rosehosting.com/blog/linux-find-file/
[1]:https://www.rosehosting.com/
[2]:https://www.rosehosting.com/blog/connect-to-your-linux-vps-via-ssh/
[3]:https://www.rosehosting.com/ubuntu-vps.html
[4]:https://www.rosehosting.com/centos-vps.html
[5]:https://www.rosehosting.com/linux-vps-hosting.html

View File

@ -0,0 +1,93 @@
在 Linux 中找出所有在线主机的 IP 地址
============================================================
你可以在 Linux 的生态系统中找到很多[网络监控工具][1],它们可以为你生成出网络中所有设备的摘要,包括它们的 IP 地址等信息。
然而,实际上有时候你只需要一个简单的命令行工具,运行一个简单的命令就能提供同样的信息。
本篇教程会向你展示如何找出所有连接到给定网络的主机的 IP 地址。这里我们会使用 [Nmap 工具][2]来找出所有连接到相同网络的设备的IP地址。
[Nmap][3] (Network Mapper 的简称)是一款开源、强大并且多功能的探查网络的命令行工具,用来[执行安全扫描、网络审计][4]、[查找远程主机的开放端口][5]等等。
如果你的系统中还没有安装 Nmap在你的发行版中运行合适的命令来安装
```
$ sudo yum install nmap         [在基于 RedHat 的系统中]
$ sudo dnf install nmap         [在基于Fedora 22+ 的版本中]
$ sudo apt-get install nmap     [在基于 Debian/Ubuntu 的系统中]
```
安装完成后,使用的语法是:
```
$ nmap [scan type...] options {target specification}
```
其中,**{target specification}**这个参数可以用**主机名、IP 地址、网络**等来替代。
所以要列出所有连接到指定网络的主机 IP 地址,首先要使用 [ifconfig 命令][6]或者[ip 命令][7]来识别网络以及它的子网掩码:
```
$ ifconfig
或者
$ ip addr show
```
[
![Find Network Details in Linux](http://www.tecmint.com/wp-content/uploads/2016/11/Find-Network-Details-in-Linux.png)
][8]
*在 Linux 中查找网络细节*
接下来,如下运行 Nmap 命令:
```
$ nmap -sn 10.42.0.0/24
```
[
![Find All Live Hosts on Network](http://www.tecmint.com/wp-content/uploads/2016/11/Find-All-Live-Hosts-on-Network.png)
][9]
*查找网络中所有活跃的主机*
上面的命令中:
- `-sn` - 是扫描的类型,这里是 ping 方式扫描。默认上Nmap 使用端口扫描,但是这种扫描会禁用端口扫描。
- `10.42.0.0/24` - 是目标网络,用你实际的网络来替换。
要了解全面的信息,查看 Nmap 的手册:
```
$ man nmap
```
或者不带任何参数直接运行 Nmap 查看使用信息摘要:
```
$ nmap
```
此外,对于有兴趣学习 Linux 安全扫描技术的人,可以阅读 [Nmap in Kali Linux][10] 这篇实践指导。
好了,就是这样了,记得在下面的回复区给我们发送问题或者评论。你也可以跟我们分享其他列出指定网络已连接设备的 IP 地址的方法。
--------------------------------------------------------------------------------
via: http://www.tecmint.com/find-live-hosts-ip-addresses-on-linux-network/
作者:[Aaron Kili][a]
译者:[geekpi](https://github.com/geekpi)
校对:[jasminepeng](https://github.com/jasminepeng)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:http://www.tecmint.com/author/aaronkili/
[1]:http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
[2]:http://www.tecmint.com/nmap-network-security-scanner-in-kali-linux/
[3]:http://www.tecmint.com/nmap-command-examples/
[4]:http://www.tecmint.com/audit-network-performance-security-and-troubleshooting-in-linux/
[5]:http://www.tecmint.com/find-open-ports-in-linux/
[6]:http://www.tecmint.com/ifconfig-command-examples/
[7]:http://www.tecmint.com/ip-command-examples/
[8]:http://www.tecmint.com/wp-content/uploads/2016/11/Find-Network-Details-in-Linux.png
[9]:http://www.tecmint.com/wp-content/uploads/2016/11/Find-All-Live-Hosts-on-Network.png
[10]:http://www.tecmint.com/nmap-network-security-scanner-in-kali-linux/

View File

@ -0,0 +1,94 @@
在 CentOS 和 RHEL 系统上安装安全补丁或自动更新
============================================================
在 Linux 系统上,一个最重要的需求就是为相应的 Linux 版本定期安装最新的安全补丁,或者更新。
在之前的文章中,我们分享了[如何在 Debian/Ubuntu 上配置自动安全更新][1],在这篇文章中,我们将分享如何在 CentOS/RHEL 7/6 版本中设置在需要时自动更新重要的安全补丁。
和它同一家族的其它 Linux 版本Fedora 或 Scientific Linux中可以用类似的方法进行配置。
### 在 CentOS/RHEL 系统上配置自动安全更新
在 CentOS/RHEL 7/6 系统上,你需要安装下面的安装包:
```
# yum update -y && yum install yum-cron -y
```
### 在 CentOS/RHEL 7 系统上启用自动安全更新
安装完成以后,打开 `/etc/yum/yum-cron.conf`,然后找到下面这些行内容,你必须确保它们的值和下面展示的一样
```
update_cmd = security
update_messages = yes
download_updates = yes
apply_updates = yes
```
第一行表明自动更新命令行应该像这样:
```
# yum --security upgrade
```
而其它的行保证了能够通知并自动下载、安装安全升级。
为了使来自 root@localhost 的通知能够通过邮件发送给同一账户(再次说明,你可以选择其他账户,如果你想这样的话),下面这些行也是必须的。
```
emit_via = email
email_from = root@localhost
email_to = root
```
### 在 CentOS/RHEL 6 上启用自动安全更新
默认情况下, cron 任务被配置成了立即下载并安装所有更新,但是我们可以通过在 `/etc/sysconfig/yum-cron` 配置文件中把下面两个参数改为 `yes`,从而改变这种行为。
```
# 不要安装,只做检查(有效值: yes|no
CHECK_ONLY=yes
# 不要安装,只做检查和下载(有效值: yes|no
# 要求 CHECK_ONLY=yes先要检查后才可以知道要下载什么
DOWNLOAD_ONLY=yes
```
为了启用关于安装包更新的邮件通知,你需要把 `MAILTO` 参数设置为一个有效的邮件地址。
```
# 默认情况下 MAILTO 是没有设置的crond 会将输出发送邮件给自己LCTT 译注:执行 cron 的用户,这里是 root
# 例子: MAILTO=root
MAILTO=admin@tecmint.com
```
最后,打开并启用 `yum-cron` 服务:
```
------------- On CentOS/RHEL 7 -------------
systemctl start yum-cron
systemctl enable yum-cron
------------- On CentOS/RHEL 6 -------------
# service yum-cron start
# chkconfig --level 35 yum-cron on
```
恭喜你,你已经成功的在 CentOS/RHEL 7/6 系统上设置了自动升级。
### 总结
在这篇文章中,我们讨论了如何保持你的服务器定期更新或升级最新的安全补丁。另外,为了保证当新的补丁被应用时你自己能够知道,你也学习了如何配置邮件通知。
如果你有任何关于这篇文章的疑问,请在下面的评论区留下你的问题。我们期待收到你的回复。
--------------------------------------------------------------------------------
via: http://www.tecmint.com/auto-install-security-patches-updates-on-centos-rhel/
作者:[Gabriel Cánepa][a]
译者:[ucasFL](https://github.com/ucasFL)
校对:[jasminepeng](https://github.com/jasminepeng)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:http://www.tecmint.com/author/gacanepa/
[1]:http://www.tecmint.com/auto-install-security-updates-on-debian-and-ubuntu/

View File

@ -74,7 +74,7 @@ Nexus One 代表着拥有纯净的安卓体验,没有运营商的定制和应
--------------------------------------------------------------------------------
via: http://arstechnica.com/gadgets/2014/06/building-android-a-40000-word-history-of-googles-mobile-os/11/
via: http://arstechnica.com/gadgets/2016/10/building-android-a-40000-word-history-of-googles-mobile-os/11/
译者:[alim0x](https://github.com/alim0x) 校对:[wxy](https://github.com/wxy)

View File

@ -0,0 +1,104 @@
安卓编年史12Android 2.1——动画的大发现(以及滥用)时代
================================================================================
### Android 2.1——动画的大发现(以及滥用)时代 ###
安卓 2.1 随着 Nexus One 的发布一同到来,这时距安卓 2.0 的发布仅仅过了三个月。新系统并不是一个大的更新升级,所以它仍然使用 Éclair泡芙这个名称。安卓的开发以一种闻所未闻的步伐急速进行在过去的 15 个月中,谷歌平均每两个半月就发布一个新版本。
绝大部分得益于威瑞森在市场营销上的努力以及“Droid”产品线安卓日益流行起来。即便如此这个系统还是被人觉得丑这时的安卓工程师看起来就几乎没有接受过正式的设计培训在安卓 2.1 中,他们尝试着通过在所有能用上的地方大量使用动画效果,想让东西看起来更整齐一点。这么做的结果就是系统看起来拼命想要证明它可以实现动画效果。许多新增的部分感觉更像是技术的演示而不是为了用户体验的改善。
![安卓2.1和2.0中的锁屏和主屏幕。](http://cdn.arstechnica.net/wp-content/uploads/2014/01/21.png)
*安卓 2.1 和 2.0 中的锁屏和主屏幕。
[Ron Amadeo 供图]*
安卓 2.0 的旋转拨号式锁屏在仅仅在一个版本之后就被踢到路边去了,取而代之的是和来电界面使用的相同的拉动式标签式解锁。锁屏时钟尝试使用了一种独特的安卓字体,但是相比其它字体来说,它真是丑得可以。
安卓 2.1 最大的特色之一是“动态壁纸”——可互动的或是动态图片可以被设置为壁纸。默认的动态壁纸是个灰色正方形组成的大方阵,不断有蓝色,红色,黄色以及绿色的光点拖着尾巴穿越屏幕。点击屏幕会使光点以你点击的位置为中心向四个方向射出。尽管动态壁纸看起来很棒(并且相对 iPhone 而言是个独特的特性),但动画背景对电池和处理器而言可不是什么好事。它似乎让整个系统的运行都变得有点慢了。
在主屏幕上,默认的谷歌搜索小部件周围有了更多空间,并且现在它位于所在行的正中央。页面指示器现在出现在屏幕底部的左右角落,主屏幕的页数也从 3 页变成了 5 页。底部的应用抽屉标签被替换为一个正方形方阵组成的图标,这个(对应用列表的)暗喻直到今天谷歌也还在使用。
![图片展示了安卓2.1和2.0中的应用抽屉设计以及应用的选择。](http://cdn.arstechnica.net/wp-content/uploads/2014/01/21icons.png)
*图片展示了安卓 2.1 和 2.0 中的应用抽屉设计以及应用的选择。
[Ron Amadeo 供图]*
和新应用抽屉图标一同到来的还有全新的应用抽屉。应用抽屉不再是以前从屏幕底部上拉的带标签容器的样子,新界面显示为一个全屏界面。原先的碳纤维编织纹理被去掉了,变成了一个纯黑背景——这个改变会一直持续到 KitKat。
谷歌决定添加一个浮动的、半透明的 home 图标到应用抽屉的底部,好让人们方便地退出全屏的应用列表界面。这个可以看作是安卓 4.0 中引入的虚拟 home 键的前身。
应用抽屉同样有个俗气的图形效果。在滚动的时候,在应用列表顶部和底部的图标会向内弯曲并且看起来像是向手机深处移动一样,有点像星球大战开场的滚动字幕。
应用的图标也有不多的改变。“Amazon MP3”和“Alarm Clock”闹钟都去掉了前面那个单词然后他们就从按字母排序的列表的前两个位置退了下来。出现了两个新的应用新闻和天气以及 Google Voice这是谷歌的通信服务。由于 Nexus One 不是威瑞森的定制机,威瑞森的可视语音邮件被去掉了。
![修改后的时钟应用。](http://cdn.arstechnica.net/wp-content/uploads/2014/01/clo2ck.png)
*修改后的时钟应用。
[Ron Amadeo 供图]*
不止是名称的更改,时钟应用还迎来了整体上的重制。点击时钟快捷方式不再会打开闹钟页面;取而代之的是去到“桌面时钟”界面(上方左图),它带有一个和壁纸一致的背景。时钟使用和锁屏一样的字体,并从新的新闻和天气应用中获取天气。
新的闹钟页面清除了许多旧版本中奇怪的设计。模拟时钟和可选择的时钟样式已经不见了。复选框已经被一个带绿色亮光的开关所取代,它比“灰色勾选/绿色勾选”更容易理解。尽管可能从快照很难看出来,旧的闹钟设计在时间旁同时显示 AM 和 PM。2.1 的设计里取消了这一项,只显示相关的 AM/PM 标记。底部放置了一个数字时钟,点击时钟图标会将你带回桌面时钟界面。
![安卓2.1和2.0中的相册和单独图片查看界面。](http://cdn.arstechnica.net/wp-content/uploads/2014/01/gallery1.png)
*安卓 2.1 和 2.0 中的相册和单独图片查看界面。
[Ron Amadeo 供图]*
谷歌想要改进安卓外观的欲望在 2.1 的相册中最为明显,这里几乎都是大量使用的动画效果和半透明。当应用打开的时候,单独的图片从屏幕顶部飞下并且打乱成小堆组成相册。当打开相册的时候,图片堆各自分离,照片滑开形成方阵的形式。所有你触摸的东西会弹开,压缩,以及拉伸,就像是果冻的弹簧片一样。
相册这里没有一个“标准”的背景。它会从屏幕上随机选择一张图片并深度模糊,然后作为背景图片使用。当这张图片滑出屏幕显示范围后,它会重新选择一张背景图片,所以背景色调总是会和你的图片相匹配。
屏幕的左上角放置了面包屑导航栏。它显示你当前的位置,以及你所在位置和主界面之间的任何文件夹——它可以被看作是在安卓 3.0 中即将推出的“向上”按钮的前身。在右上角是一个相机的链接,这还留着相同的在安卓 1.6 中登场的人造皮革设计——两个设计截然不同。
而相机是另一个奇怪的、一次性的设计,从来没有哪个安卓应用间的随意的 UI 设计差距能有和新的相册应用间这么明显。它并没有采用安卓的按钮、菜单、或任何现有的 UI 规范。它甚至在每个界面隐藏了状态栏——你几乎不能分辨出你正在盯着的是安卓。
在单张照片查看视图,你终于可以在图片之间滑动切换,从而去掉了短粗的左右箭头。出于某种原因,这个界面并没有颜色匹配的背景。它是应用中唯一一个背景为黑色的部分。缩放控制在右上方(仍然没有两指捏合缩放),可用命令沿着屏幕的底部排成一行。点击“菜单”按钮(虚拟或实体键)并不会像所有其他的应用一样出现一个 2×3 格的方阵——仅仅是底部的一行选项从两个变成了另外三个选项。
![充满动画效果的相册应用。](http://cdn.arstechnica.net/wp-content/uploads/2014/01/gallery2.png)
*充满动画效果的相册应用。
[Ron Amadeo 供图]*
上面第一张图片,显示了一个相册视图。大型相册的话你可以水平滚动,或使用在屏幕底部的快速滚动条。长按图片(虽然有点奇怪,或者可以按实体菜单按钮)会弹出一个“复选框”界面,这时你可以点击几张照片同时选中它们。你选中照片之后,你可以批量分享、删除或旋转照片。
这个界面和接下来的单张照片查看界面的菜单是半透明对话气泡式的点击各个按钮时它们会跳出来。再重复一遍这和你所看到的正常的安卓体验规范大相径庭。相册还是第一个拥有越界效果overscroll的应用之一。当你到达照片墙的底部时整个界面会向滚动的方向扭曲。
2.1 的相册是第一个能同时显示您云存储的 Picasa 照片以及本地照片的客户端。这些照片缩略图的左下角有白色相机快门图标。这后来成为了 Google+ Photos。
之前或之后任何安卓应用程序看起来都不像这个相册。有很好的理由解释这是为什么——它不是谷歌做的!这个应用外包给了 Cooliris他们看样子并没有打算花费精力遵循任何一条现有的安卓 UI 规范。尽管应用是可用的,所有的动画和效果使它看起来像是只注重风格而不注重实质的产物。
![“新闻和天气”应用展示了……新闻和天气。](http://cdn.arstechnica.net/wp-content/uploads/2014/01/newsandweather.png)
*“新闻和天气”应用展示了……新闻和天气。
[Ron Amadeo 供图]*
来比较下相册应用和另一个全新的安卓 2.1 应用新闻和天气。相册是个充满透明动画效果的汇聚而新闻和天气则全是深色渐变和对比色。这个应用提供了桌面时钟的天气显示它甚至还带着一个主屏幕小部件。第一张图显示的是当前位置的天气和六天的预报。沿着屏幕顶部排列着一些标签城市名称旁有个小小的“i”按钮点击它会打开温度和降水图。你可以在图上滑动以得到指定时间的精确温度和降水信息。
这个应用里最大的创新在于可滑动标签,这个想法最终将成为一个标准的安卓 UI 规范。在天气之后是一些可由用户定制的新闻标签,除了点击标签切换之外,你还可以在屏幕上水平滑动,标签也会跟着切换。新闻标签都显示着一个新闻标题列表,它们几乎总是正好截断到你弄不明白这条新闻讲了什么的程度。当你从这个应用打开一个网页时,它并不会启动浏览器。相反,它会在应用内打开新闻,带着个奇怪的白色边框。
![谷歌地图的一些实验性功能新的小部件设计Google Voice里我们能接触到的唯一一个界面以及新的带标签的音乐界面设计。](http://cdn.arstechnica.net/wp-content/uploads/2014/04/ccccombo.jpg)
*谷歌地图的一些实验性功能新的小部件设计Google Voice 里我们能接触到的唯一一个界面,以及新的带标签的音乐界面设计。
[Ron Amadeo 供图]*
安卓 2.1 里的小部件全部经过了重新设计几乎所有东西都带有黑色渐变空间利用上也更加合理。时钟变回了一个圆日历的顶部加上了蓝色着让它和应用变得更加相似。Google Voice 可以启动,但是登录已经失效了——这是你现在能看到的所有东西了。
人们经常忽视的音乐应用有个小更新。四个按钮的主界面被完全去除,并且在屏幕顶部添加了每个音乐显示模式的标签。这意味着在打开应用的时候,你就能直接看到音乐列表,而不是一个导航页。不同于新闻和天气应用里的标签,这些新增的标签不能滑动切换。
----------
![Ron Amadeo](https://cdn.arstechnica.net/wp-content/uploads/2016/05/r.amadeo-45843.jpg)
[Ron Amadeo][a] / Ron 是 Ars Technica 的评论编缉,专注于安卓系统和谷歌产品。他总是在追寻新鲜事物,还喜欢拆解事物看看它们到底是怎么运作的。
[@RonAmadeo][t]
--------------------------------------------------------------------------------
via: http://arstechnica.com/gadgets/2016/10/building-android-a-40000-word-history-of-googles-mobile-os/12/
译者:[alim0x](https://github.com/alim0x) 校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://arstechnica.com/author/ronamadeo
[t]:https://twitter.com/RonAmadeo

View File

@ -1,92 +0,0 @@
alim0x translating
The history of Android
================================================================================
>Follow the endless iterations from Android 0.5 to Android 7 and beyond.
### Android Wear
* [
![](https://cdn.arstechnica.net/wp-content/uploads/2016/10/g-watch-150x150.png)
][1]
* [
![](https://cdn.arstechnica.net/wp-content/uploads/2016/10/Untitled-150x150.jpg)
][2]
* [
![](https://cdn.arstechnica.net/wp-content/uploads/2016/10/home-screen33-640x261-150x150.png)
][3]
* [
![](https://cdn.arstechnica.net/wp-content/uploads/2016/10/feature-640x212-150x150.png)
][4]
* [
![](https://cdn.arstechnica.net/wp-content/uploads/2016/10/superlayout2000-150x150.png)
][5]
* [
![](https://cdn.arstechnica.net/wp-content/uploads/2016/10/darker-150x150.png)
][6]
June 2014 saw Android tackle a new form factor: smartwatches. Google launched "[Android Wear][10]" at Google I/O 2014 with the intention of putting a tiny computer on your wrist. Designing for [a 1.6-inch screens][11] meant having to rethink the entire interface from the ground up, so Google stripped down Android 4.4 KitKat and created a tiny smartwatch OS. Android Wear devices weren't standalone computers. They depended on an Android smartphone running the Android Wear companion app for connectivity, authentication, and app data.
Android Wear smartwatches were mostly notification machines. With new APIs built into Android 4.3 and up, any notification your phone received would also be shown on the watch—no app support required. The notification action buttons were shipped to the watch as well, giving users a small way to interact with notifications from the watch. Dismissing a notification on the watch would clear it from the phone, allowing users to manage notifications without having to whip out another device. There was also a voice command system and a microphone included in every watch, allowing users to just lift their wrist to wake the watch, say "OK Google," and then issue a command. You could reply-by-voice to messages, too. There was even an app drawer for native watch apps.
The home screen, of course, showed the time and allowed users to swap home screen looks with tons of different watch styles. The interface used a card motif for notifications. A vertically-scrolling list of notifications would pile up on the watch, included some Google Now cards showing the weather or traffic into. Swiping to the left would dismiss a notification, and swiping to the right would bring up the action buttons one at a time. Tapping on the home screen would bring up the voice command system, and from there you could activate the settings or app drawer. There wasn't much to the initial Android Wear home screen other than that.
Only 720,000 Android Wear devices shipped in 2014, and since then we haven't seen much growth from the software or hardware. Today, smartphone sales are [falling year-over-year][12], and even after the release of the [Apple Watch][13], no one is really sure what they want their little wrist computers to do. It's apparently going to take until 2017 before Android Wear 2.0 hits the market. Since the Moto 360 brought round devices to the market, we haven't seen much new from hardware vendors.
### Android 5.0 Lollipop—The most important Android release ever
![](https://cdn.arstechnica.net/wp-content/uploads/2016/10/heade2r-980x479-980x479.jpg)
In November 2014, Google launched [Android 5.0 Lollipop][14]. Lots of OS updates get called "the biggest release ever," but that cliche actually holds true for Android 5.0 Lollipop. For starters, it changed the way Android was released. With this version of Android, Google started the "Developer Preview" program, which saw the new OS released in beta form months before the release. With the code name and version number now used as marketing tools, the final name was kept secret during the beta and referred to only by letter. At Google I/O 2014, Google announced the "Android L Developer Preview."
### FURTHER READING
[Android 5.0 Lollipop, thoroughly reviewed][7]
Giving developers (and the rest of the world) four months to wrap their head around this release was definitely needed. Android L contained wide-ranging changes that debuted in this OS and are still being felt today. Lollipop introduced Material Design, which was used a guideline to revamp every single interface of Android. A new runtime called "ART" represented a complete overhaul of the engine that powers Android apps. Google's "OK Google" voice command system was upgraded to work on any screen, and on some devices it could even work when the phone was asleep. Multi-user was brought from tablets to phones. Lollipop also laid the foundation for Android for Work, an enterprise-focused dual persona feature.
#### Material Design gives Android (and all of Google) an identity
When Matias Duarte took to the I/O stage and announced Material Design, he unveiled a unified design blueprint for not just Android, but all of Google and the third-party app ecosystem. The idea was that the Android, iOS, Chrome OS, and Web versions of a Google app should all look the same and that all Google products should have consistent iconography, fonts, and behavior. They didn't necessarily need identical layouts across screen sizes, but Material Design offered building blocks with consistent behavior that could be rearranged based on the screen size.
Duarte and his team had experimented with a "Tron" aesthetic in Honeycomb, and a "Card" motif in Jelly Bean, but Material Design finally represented a cohesive design system for all of Google. Material Design went beyond UI guidelines and became an identity for Google as a company.
The primary metaphor for Material Design is "paper and ink." All UI surfaces were sheets of "paper" that floated above a bottom surface. Shadows were used to provide hierarchy to the interface—each layer of the UI occupied a position in Z space and casted a shadow on the elements below it. This was a clear evolution of the "Card" style used in Google Now on Android 4.1\. "Ink" was used to refer to the bold splashes of color that Google recommended to developers for important items in the UI. These concepts also referenced real world things, which went against the anti-skeuomorphic "flat at any cost" trend that was brought about by things like Windows 8 and iOS 7.
Anination was a big focus, too, with the idea that nothing should "pop" onto the screen. Components should slide in, shrink, or grow. The "paper" surfaces didn't quite work like real world paper, either they could shrink, expand, merge, and grow. To make the animation system work with image assets, shadows weren't baked into the UI widgets the way they were in previous versions—Google actually created a real-time, 3D shadowing system so that shadows would be correctly rendered during these animations and transitions.
![An exaggerated side view of Lollipop's layered interface and the shadows it creates.](https://cdn.arstechnica.net/wp-content/uploads/2014/07/2014-07-10_21-56-05.jpg)
<figcaption class="caption" style="box-sizing: inherit; position: relative; margin-top: -6px;">An exaggerated side view of Lollipop's layered interface and the shadows it creates.[Google I/O 2014 - Material design principles][8]</figcaption>
To bring Material Design to the rest of Google and the app ecosystem, Google created and still maintains [a cohesive set of design guidelines][15] describing how everything should work. There are DOs and DON'Ts, keylines, baseline grids, color swatches, stock iconography, fonts, libraries, layout suggestions, and more. Google even started regularly holding [design-focused conferences][16]to hear from and educate designers, and the company founded the [Material Design awards][17]. Shortly after the launch of Material Design, Duarte left the Android team and became VP of Material Design at Google, creating a whole design-focused division of the company.
--------------------------------------------------------------------------------
via: http://arstechnica.com/gadgets/2016/10/building-android-a-40000-word-history-of-googles-mobile-os/27/
作者:[RON AMADEO][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:http://arstechnica.com/author/ronamadeo
[1]:http://arstechnica.com/gadgets/2016/10/building-android-a-40000-word-history-of-googles-mobile-os/27/#
[2]:http://arstechnica.com/gadgets/2016/10/building-android-a-40000-word-history-of-googles-mobile-os/27/#
[3]:http://arstechnica.com/gadgets/2016/10/building-android-a-40000-word-history-of-googles-mobile-os/27/#
[4]:http://arstechnica.com/gadgets/2016/10/building-android-a-40000-word-history-of-googles-mobile-os/27/#
[5]:http://arstechnica.com/gadgets/2016/10/building-android-a-40000-word-history-of-googles-mobile-os/27/#
[6]:http://arstechnica.com/gadgets/2016/10/building-android-a-40000-word-history-of-googles-mobile-os/27/#
[7]:http://arstechnica.com/gadgets/2014/11/android-5-0-lollipop-thoroughly-reviewed/
[8]:https://www.youtube.com/watch?v=isYZXwaP3Q4
[9]:http://arstechnica.com/gadgets/2014/11/android-5-0-lollipop-thoroughly-reviewed/
[10]:http://arstechnica.com/gadgets/2014/06/android-wear-review/
[11]:http://arstechnica.com/gadgets/2014/06/reviewing-android-wears-first-watches-sometimes-promising-often-frustrating/
[12]:http://www.businesswire.com/news/home/20161024005145/en/Smartwatch-Market-Declines-51.6-Quarter-Platforms-Vendors
[13]:http://arstechnica.com/apple/2015/05/review-the-absolutely-optional-apple-watch-and-watch-os-1-0/
[14]:http://arstechnica.com/gadgets/2014/11/android-5-0-lollipop-thoroughly-reviewed/
[15]:https://design.google.com/resources/
[16]:https://design.google.com/events/
[17]:https://design.google.com/articles/material-design-awards/

View File

@ -1,3 +1,5 @@
alim0x translating
The history of Android
================================================================================

View File

@ -216,7 +216,7 @@ via: http://www.tecmint.com/install-configure-ganglia-monitoring-centos-linux/
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: http://www.tecmint.com/author/gacanepa/
[1]:http://ganglia.info/

View File

@ -51,7 +51,7 @@ via: https://www.viget.com/articles/getting-started-with-http-2-part-1?imm_mid=0
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://www.viget.com/about/team/btinsley
[1]:https://twitter.com/home?status=Using%20pizza%20to%20show%20how%20HTTP%2F2%20beats%20HTTP%2F1.1%20when%20your%20orders%20get%20too%20big.%20https%3A%2F%2Fwww.viget.com%2Farticles%2Fgetting-started-with-http-2-part-1

View File

@ -116,7 +116,7 @@ via: https://code.facebook.com/posts/1671373793181703/apache-spark-scale-a-60-tb
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.facebook.com/sitalkedia
[b]: https://www.facebook.com/shuojiew

View File

@ -226,7 +226,7 @@ via: https://dqydj.com/raspberry-pi-hadoop-cluster-apache-spark-yarn/?utm_source
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://dqydj.com/about/#contact_us
[1]: https://www.raspberrypi.org/downloads/raspbian/

View File

@ -135,7 +135,7 @@ via: https://www.lifewire.com/how-to-install-the-pycharm-python-ide-in-linux-409
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://www.lifewire.com/gary-newell-2180098
[1]:https://www.jetbrains.com/

View File

@ -172,7 +172,7 @@ via: https://www.viget.com/articles/getting-started-with-http-2-part-2
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://www.viget.com/about/team/btinsley
[1]:https://twitter.com/home?status=Firmly%20planting%20a%20flag%20in%20the%20sand%20for%20HTTP%2F2%20best%20practices%20for%20front%20end%20development.%20https%3A%2F%2Fwww.viget.com%2Farticles%2Fgetting-started-with-http-2-part-2

View File

@ -597,6 +597,6 @@ via: https://gorillalogic.com/blog/getting-started-with-ansible/?utm_source=webo
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://gorillalogic.com/author/josehidalgo/

View File

@ -61,7 +61,7 @@ via: https://www.maketecheasier.com/use-old-xorg-apps-unity-8/
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://www.maketecheasier.com/author/derrikdiener/
[1]:https://www.maketecheasier.com/use-old-xorg-apps-unity-8/#respond

View File

@ -157,7 +157,7 @@ via: https://medium.com/@bartobri/applying-the-linus-tarvolds-good-taste-coding-
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://medium.com/@bartobri?source=post_header_lockup
[1]:https://www.ted.com/talks/linus_torvalds_the_mind_behind_linux

View File

@ -105,7 +105,7 @@ via: https://fedoramagazine.org/inkscape-design-imagination/
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:http://a2batic.id.fedoraproject.org/
[1]:https://1504253206.rsc.cdn77.org/wp-content/uploads/2016/10/back1.png

View File

@ -0,0 +1,84 @@
How to Install Security Updates Automatically on Debian and Ubuntu
============================================================
It has been said before -and I couldnt agree more- that some of the best system administrators are those who seem (note the use of the word seem here) to be lazy all the time.
While that may sound somewhat paradoxical, I bet it must be true in most cases not because they are not doing the job they are supposed to be doing, but rather because they have automated most of it.
One of the critical needs of a Linux system is to be kept up to date with the latest security patches available for the corresponding distribution.
In this article we will explain how to set up your Debian and Ubuntu system to auto install (or update) essential security packages or patches automatically when needed.
Other Linux distributions such as [CentOS/RHEL configured to install security updates automatically][1].
Needless to say, you will need superuser privileges in order to perform the tasks outlined in this article.
### Configure Automatic Security Updates On Debian/Ubuntu
To begin, install the following packages:
```
# aptitude update -y && aptitude install unattended-upgrades apt-listchanges -y
```
where apt-listchanges will report what has been changed during an upgrade.
Next, open /etc/apt/apt.conf.d/50unattended-upgrades with your preferred text editor and add this line inside the Unattended-Upgrade::Origins-Pattern block:
```
Unattended-Upgrade::Mail "root";
```
Finally, use the following command to create and populated the required configuration file (/etc/apt/apt.conf.d/20auto-upgrades) to activate the unattended updates:
```
# dpkg-reconfigure -plow unattended-upgrades
```
Choose `Yes` when prompted to install unattended upgrades:
[
![Configure Unattended Security Updates on Debian](http://www.tecmint.com/wp-content/uploads/2016/11/Configure-Unattended-Security-Updates-on-Debian.png)
][2]
Configure Unattended Security Updates on Debian
then check that the following two lines have been added to /etc/apt/apt.conf.d/20auto-upgrades:
```
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";
```
And add this line to make reports verbose:
```
APT::Periodic::Verbose "2";
```
Last, inspect /etc/apt/listchanges.conf to make sure notifications will be sent to root.
[
![Notify Security Updates on Debian](http://www.tecmint.com/wp-content/uploads/2016/11/Notify-Security-Updates-on-Debian.png)
][3]
Notify Security Updates on Debian
In this post we have explained how to make sure your system is updated regularly with the latest security patches. Additionally, you learned how to set up notifications in order to keep yourself informed when patches are applied.
Do you have any questions about this article? Feel free to drop us a note using the comment form below. We look forward to hearing from you.
--------------------------------------------------------------------------------
via: http://www.tecmint.com/auto-install-security-updates-on-debian-and-ubuntu
作者:[Gabriel Cánepa][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:http://www.tecmint.com/author/gacanepa/
[1]:http://www.tecmint.com/auto-install-security-patches-updates-on-centos-rhel/
[2]:http://www.tecmint.com/wp-content/uploads/2016/11/Configure-Unattended-Security-Updates-on-Debian.png
[3]:http://www.tecmint.com/wp-content/uploads/2016/11/Notify-Security-Updates-on-Debian.png

View File

@ -87,7 +87,7 @@ via: https://itsfoss.com/cloud-focused-linux-distros/
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://itsfoss.com/author/aquil/
[1]:https://itsfoss.com/author/aquil/

View File

@ -1,107 +0,0 @@
translating by chenzhijun
How To Update Wifi Network Password From Terminal In Arch Linux
============================================================
![Update Wifi Network Password From Terminal In Arch Linux](https://www.ostechnix.com/wp-content/plugins/lazy-load/images/1x1.trans.gif)
After changing the Wifi Network password in my Router, My Arch Linux test machine lost the Internet connection. So I wanted to update the new password from Terminal because my Arch Linux test box doesnt have graphical desktop environment. Changing old wifi password to new password is pretty easy in GUI mode. I will simply open the network manager and update the new password to the wifi in few seconds. However, I am not aware of updating the wifi network password from command line in Arch Linux. So, I started to dig into Google and find a perfect solution from the Arch Linux forum. In case you ever been in the same situation, read on. Its not that difficult.
### Update Wifi Network Password From Terminal
After changing the password in Router, I ran _wifi-menu_ command to update the new password. But It kept throwing the following error.
```
sudo wifi-menu
```
It displayed the list of available wifi networks.
[
![sksk_001](http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_001-1.png)
][2]
My wifi network name is Murugs9376. Then, I selected my network and hit OK button. Instead of asking the new password (I thought it was going to ask me if the password has been changed.), It showed the following error.
```
Interface 'wlp9s0' is controlled by netctl-auto
WPA association/authentication failed for interface 'wlp9s0'
```
[
![sksk_002](http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_002-1.png)
][3]
I dont have much experience in Arch based distributions. So I went thorough the Arch linux forum hoping for the solution. Thankfully, someone has posted the same problem and got the workaround from one of the fellow Arch user. Following is the solution to update the wifi network password from Terminal in Arch based distributions.
The network profiles is stored in the /etc/netctl/ folder. For example, here is my Arch Linux test box wifi network profile details.
```
ls /etc/netctl/
Sample Output:
examples ostechnix 'wlp9s0-Chendhan Cell Service' wlp9s0-Pratheesh
hooks wlp9s0 wlp9s0-Murugu9376
interfaces wlp9s0-AndroidAP wlp9s0-none
```
[
![sksk_003](http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_003-1.png)
][4]
All I need to update the new password is to delete the my wifi network profile (Ex. wlp9s0-Murugs9376) and re-run the _wifi-menu_ command to new password.
So, first let us delete the wifi profile using command:
```
sudo rm /etc/netctl/wlp9s0-Murugu9376
```
After deleting the profile, run wifi-menu command to update the new password.
```
sudo wifi-menu
```
Select the wifi-network and press ENTER.
[
![sksk_004](http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_004-1.png)
][5]
Enter a name for the profile.
[
![sksk_005](http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_005-1.png)
][6]
Finally, Enter the security key to the network profile and hit ENTER key.
[
![sksk_006](http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_006-1.png)
][7]
Thats it. Now, we have updated the password to the wifi network. As you can see, updating password from Terminal in Arch Linux is no big deal. Anyone could do it in a matter of seconds.
If you find this guide useful, please share it on your social networks and support us.
Cheers!
--------------------------------------------------------------------------------
via: https://www.ostechnix.com/update-wifi-network-password-terminal-arch-linux/
作者:[ SK][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://www.ostechnix.com/author/sk/
[1]:http://ostechnix.tradepub.com/free/w_pacb38/prgm.cgi?a=1
[2]:http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_001-1.png
[3]:http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_002-1.png
[4]:http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_003-1.png
[5]:http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_004-1.png
[6]:http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_005-1.png
[7]:http://www.ostechnix.com/wp-content/uploads/2016/11/sk@sk_006-1.png

View File

@ -139,7 +139,7 @@ via: http://hackerboards.com/can-linux-containers-save-iot-from-a-security-meltd
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:http://hackerboards.com/can-linux-containers-save-iot-from-a-security-meltdown/
[1]:http://hackerboards.com/atom-based-gateway-taps-new-open-source-iot-cloud-platform/

View File

@ -168,7 +168,7 @@ via: http://opensourceforu.com/2016/11/build-deploy-manage-custom-apps-ibm-bluem
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:http://opensourceforu.com/author/mitesh_soni/
[1]:http://opensourceforu.com/wp-content/uploads/2016/10/Figure-7-Naming-the-app.jpg

View File

@ -107,7 +107,7 @@ via: http://www.tecmint.com/fix-unable-to-lock-the-administration-directory-var-
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:http://www.tecmint.com/author/aaronkili/
[1]:http://www.tecmint.com/useful-basic-commands-of-apt-get-and-apt-cache-for-package-management/

View File

@ -1,94 +0,0 @@
How to find a file on a Linux VPS
============================================================
![linux-find-command](https://www.rosehosting.com/blog/wp-content/uploads/2016/09/linux-find-command.png)
Using the command line on a Linux machine could be very uncomfortable, especially for the beginners. Without a GUI it is very difficult to navigate through the directories and find the files you need. In this tutorial, we will show you how to find a specific file if you are using [Linux VPS][1].
The first thing your need to do is to [connect to your Linux VPS via SSH][2]. There are two common ways to search for a file under Linux. The one way is to use the `find` command and the other way is to use the `locate` command. Lets start with the former.
### Find command
The Linux find command allows you to search the directory tree using various search criteria such as name, type, ownership, size etc. This is the basic syntax:
```
# find path expression search-term
```
Here is a brief example on how to use the Linux find command to find a specific file by its name:
```
# find -name test.file
```
The command will search the entire directory tree for a file named `test.file` and will provide you with the location. You can try using a name of a file that actually exists on your Linux VPS.
Sometimes it may take few minutes for the find command to search the entire directory tree, especially if there are many files and directories on your system. To save a significant amount of time you can specify the searching directory. For example, if you know that the `test.file` is somewhere in the `/var` directory, there is no need to search other directories. Therefore, you can use the command below:
```
# find /var -name test.file
```
There is also an option to search for a file by time, size, ownership, permissions etc. For more information about these options, you can check the Linux find command man page.
```
# man find
```
### Locate command
In order to be able to use the Linux `locate` command, you need to install it first.
If you are using an [Ubuntu VPS][3], run the following commands to install locate:
```
# apt-get update
# apt-get install mlocate
```
If you are using a [CentOS VPS][4], run the following command to install locate:
```
# yum install mlocate
```
Locate is a faster option to find a file since it searches for the files in a database. To update the search databases run the following command:
```
# updatedb
```
To find files with locate, use the following syntax:
```
# locate test.file
```
Just like with the find command, there are many options to filter the search output. To learn more about this you can check the Linux locate command man page.
```
# man locate
```
* * *
Of course, you dont have to do any of this if you use one of our[ Linux VPS hosting][5] services, in which case you can simply ask our expert Linux admins to help you. They are available 24×7 and will take care of your request immediately.
PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.
--------------------------------------------------------------------------------
via: https://www.rosehosting.com/blog/linux-find-file/
作者:[RoseHosting][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://www.rosehosting.com/blog/linux-find-file/
[1]:https://www.rosehosting.com/
[2]:https://www.rosehosting.com/blog/connect-to-your-linux-vps-via-ssh/
[3]:https://www.rosehosting.com/ubuntu-vps.html
[4]:https://www.rosehosting.com/centos-vps.html
[5]:https://www.rosehosting.com/linux-vps-hosting.html

View File

@ -1,261 +0,0 @@
#rusking translating
Fedora 25 Workstation Installation Guide
============================================================
In this tutorial, we will walk through the steps to install Fedora 25 workstation edition on your machine. This guide contains screen shots taken from every step in the whole installation process, therefore, carefully follow it.
#### Whats New in Fedora 25 Workstation?
As expected, this latest version of Fedora comes with multiple bug fixes and changes to the basic components, additionally, it brings new and enhanced software as listed below:
1. GNOME 3.22 which enables multiple file renaming, redesigned keyboard settings tool and plus several user interface enhancements.
2. Replaces X11 system with Wayland for modern graphics hardware.
3. Decoding support for the MP3 media format.
4. Docker 1.12
5. Node.js 6.9.1
6. Support for Rust system programming language.
7. Numerous versions of Python programming language, that is 2.6, 2.7, 3.3, 3.4 and 3.5.
8. GNOME Shell extensions are also no longer checked for compatibility with the current version of the Shell and many more.
Note: If you already using previous version of Fedora 24, you may consider following much more easier steps to [upgrade Fedora 24 to Fedora 25][3] to avoid a fresh installation process.
### Installation of Fedora 25 Workstation Edition
Start by downloading the ISO image from the links below, for the purpose of this tutorial, we will use the 64-bit edition.
1. [Download Fedora 25 Workstation 64-bit Edition][1]
2. [Download Fedora 25 Workstation 32-bit Edition][2]
After downloading Fedora 25, the first is to create a bootbale media, that is either a DVD or USB drive using the install Linux from USB Device using [Unetbootin and dd Command][4] or any other method of your choice.
1. After creating bootable media, plug-in and boot into the bootable media (DVD/USB drive), you should be able to see the Fedora Workstation Live 25 start screen below.
Select “Start Fedora-Workstation-Live 25” option and hit the Enter button.
[
![Fedora 25 Boot Menu](http://www.tecmint.com/wp-content/uploads/2016/11/Start-Fedora-25.png)
][5]
Fedora 25 Boot Menu
2. Next, you will be at the login interface below, click on “Live System User” to login as a Live user.
[
![Fedora 25 Live User Login](http://www.tecmint.com/wp-content/uploads/2016/11/Fedora-25-Live-User-Login.png)
][6]
Fedora 25 Live User Login
3. After logging in, the welcome interface below will appear after a few seconds on the desktop, if you wish to try Fedora before installing it, click on “Try Fedora” otherwise, click on “Install to Hard Disk” to proceed with the fresh installation process.
[
![Fedora 25 Welcome Screen](http://www.tecmint.com/wp-content/uploads/2016/11/Fedora-25-Welcome-Screen.png)
][7]
Fedora 25 Welcome Screen
4. In the screen below, select the installation language you want to use and click on “Continue” to advance to the installation summary screen.
[
![Select Installation Language Type](http://www.tecmint.com/wp-content/uploads/2016/11/Select-Installation-Language-Type.png)
][8]
Select Installation Language Type
5. The following is a screen shot showing the installation summary screen with default localization and system settings. You need to customize the localization and system settings as per your location and preferences.
Start with the Keyboard settings. Click on “KEYBOARD” to move into the keyboard layout customization screen.
[
![Fedora 25 Installation Summary](http://www.tecmint.com/wp-content/uploads/2016/11/Fedora-25-Installation-Summary.png)
][9]
Fedora 25 Installation Summary
6. From the interface below, add the keyboard layout you want to use according to the origin of your machine using the `+` sign. After adding it, click on “Done” to get back to the installation summary screen.
[
![Set Keyboard Layout](http://www.tecmint.com/wp-content/uploads/2016/11/Set-Keyboard-Layout.png)
][10]
Set Keyboard Layout
7. Next off, click on “TIME & DATE” to adjust your system time and date. Type the region and city to set the timezone or simply select them from the map.
Note that you can also enable or disable network time from the top right corner. After setting your system time and date, click on “Done” to move back to the installation summary screen.
[
![Set System Timezone](http://www.tecmint.com/wp-content/uploads/2016/11/Set-System-Timezone.png)
][11]
Set System Timezone
8. Back at the installation summary screen, click on “NETWORK & HOSTNAME” to set your system network settings and hostname.
Once you have set the hostname, click on the Apply button to check if the hostname is valid, if that is the case, click on “Done”.
[
![Set Hostname for Fedora 25](http://www.tecmint.com/wp-content/uploads/2016/11/Set-Hostname-Fedora-25.png)
][12]
Set Hostname for Fedora 25
9. At this point, you need to now create the installation space for your system files, at the installation summary screen, click on “INSTALLATION DESTINATION”.
Choose “I will configure partitioning” under Other Storage Options to perform manual partitioning and click Done to move forward to the manual partitioning interface.
[
![Select Installation Destination Drive](http://www.tecmint.com/wp-content/uploads/2016/11/Select-Installation-Destination-Drive.png)
][13]
Select Installation Destination Drive
10. Below is the manual partitioning interface, select “Standard Partition” as the new partitioning scheme for the installation.
[
![Manual Partitioning Selection](http://www.tecmint.com/wp-content/uploads/2016/11/Manual-Partitioning-Selection.png)
][14]
Manual Partitioning Selection
11. Now create a `/root` partition by clicking on the `+` sign to add a new mount point.
```
Mount Point: /root
Desired Capacity: set appropriate size( eg 100 GB)
```
After that, click Add mount point to add the just created partition/mount point.
[
![Create New Root Partition](http://www.tecmint.com/wp-content/uploads/2016/11/Create-New-Root-Partition.png)
][15]
Create New Root Partition
The interface below shows the settings of the `/root` partition mount point.
[
![Root Partition Settings](http://www.tecmint.com/wp-content/uploads/2016/11/Root-Partition-Settings.png)
][16]
Root Partition Settings
12. Next, create a swap partition by clicking on the `+` sign to add a another mount point, that is the swap area.
Swap area is a virtual space on your hard disk that temporarily stores data which is not currently being worked on by the CPU from the system RAM.
```
Mount Point: swap
Desired Capacity: set appropriate size( eg 4 GB)
```
To add the swap area, click Add mount point.
[
![Create Swap Partition](http://www.tecmint.com/wp-content/uploads/2016/11/Create-Swap-Partition.png)
][17]
Create Swap Partition
[
![Swap Partition Settings](http://www.tecmint.com/wp-content/uploads/2016/11/Swap-Partition-Settings.png)
][18]
Swap Partition Settings
13. Once you have created the `root` partition and `swap` area, click on Done to view the possible changes to be made to your hard disk. Click Accept Changes to permit execution of the various changes.
[
![Accept Partition Changes](http://www.tecmint.com/wp-content/uploads/2016/11/Accept-Partition-Changes.png)
][19]
Accept Partition Changes
14. Your final installation summary should look similar to this with custom settings. To begin the actual installation of system files, click on “Begin Installation”.
[
![Final Installation Summary](http://www.tecmint.com/wp-content/uploads/2016/11/Final-Installation-Summary.png)
][20]
Final Installation Summary
15. After the installation of system files starts, you can create a regular system user and add a password for the root user from the interface below.
[
![User Configuration Settings](http://www.tecmint.com/wp-content/uploads/2016/11/User-Configuration-Settings.png)
][21]
User Configuration Settings
16. Therefore, click on ROOT PASSWORD to set the root users password. As before, click Doneafterwards to move back to the user configuration interface.
[
![Set Root Account Password](http://www.tecmint.com/wp-content/uploads/2016/11/Set-Root-Account-Password.png)
][22]
Set Root Account Password
17\. Subsequently click on USER CREATION at the user configuration interface to create a regular system user. You can as well make the regular user a system administrator by marking the option “Make the user administrator”.
One more time, click Done to continue..
[
![Create System User Account](http://www.tecmint.com/wp-content/uploads/2016/11/Create-System-User-Account.png)
][23]
Create System User Account
18. The installation process will continue for a while, sit back and relax. When it is complete, click on Quitto reboot the system and eject the bootable media you used. Finally, log in into your new Fedora 25 workstation.
[
![Fedora 25 Login Screen](http://www.tecmint.com/wp-content/uploads/2016/11/Fedora-25-Login-Screen.png)
][24]
Fedora 25 Login Screen
[
![Fedora 25 Workstation Desktop](http://www.tecmint.com/wp-content/uploads/2016/11/Fedora-25-Workstation-Desktop.png)
][25]
Fedora 25 Workstation Desktop
Thats all! To ask any question or make comments concerning this guide, use the feedback form below.
--------------------------------------------------------------------------------
via: http://www.tecmint.com/fedora-25-installation-guide/
作者:[Aaron Kili][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:http://www.tecmint.com/author/aaronkili/
[1]:https://download.fedoraproject.org/pub/fedora/linux/releases/25/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-25-1.3.iso
[2]:https://download.fedoraproject.org/pub/fedora/linux/releases/25/Workstation/i386/iso/Fedora-Workstation-Live-i386-25-1.3.iso
[3]:http://www.tecmint.com/upgrade-fedora-24-to-fedora-25-workstation-server/
[4]:http://www.tecmint.com/install-linux-from-usb-device/
[5]:http://www.tecmint.com/wp-content/uploads/2016/11/Start-Fedora-25.png
[6]:http://www.tecmint.com/wp-content/uploads/2016/11/Fedora-25-Live-User-Login.png
[7]:http://www.tecmint.com/wp-content/uploads/2016/11/Fedora-25-Welcome-Screen.png
[8]:http://www.tecmint.com/wp-content/uploads/2016/11/Select-Installation-Language-Type.png
[9]:http://www.tecmint.com/wp-content/uploads/2016/11/Fedora-25-Installation-Summary.png
[10]:http://www.tecmint.com/wp-content/uploads/2016/11/Set-Keyboard-Layout.png
[11]:http://www.tecmint.com/wp-content/uploads/2016/11/Set-System-Timezone.png
[12]:http://www.tecmint.com/wp-content/uploads/2016/11/Set-Hostname-Fedora-25.png
[13]:http://www.tecmint.com/wp-content/uploads/2016/11/Select-Installation-Destination-Drive.png
[14]:http://www.tecmint.com/wp-content/uploads/2016/11/Manual-Partitioning-Selection.png
[15]:http://www.tecmint.com/wp-content/uploads/2016/11/Create-New-Root-Partition.png
[16]:http://www.tecmint.com/wp-content/uploads/2016/11/Root-Partition-Settings.png
[17]:http://www.tecmint.com/wp-content/uploads/2016/11/Create-Swap-Partition.png
[18]:http://www.tecmint.com/wp-content/uploads/2016/11/Swap-Partition-Settings.png
[19]:http://www.tecmint.com/wp-content/uploads/2016/11/Accept-Partition-Changes.png
[20]:http://www.tecmint.com/wp-content/uploads/2016/11/Final-Installation-Summary.png
[21]:http://www.tecmint.com/wp-content/uploads/2016/11/User-Configuration-Settings.png
[22]:http://www.tecmint.com/wp-content/uploads/2016/11/Set-Root-Account-Password.png
[23]:http://www.tecmint.com/wp-content/uploads/2016/11/Create-System-User-Account.png
[24]:http://www.tecmint.com/wp-content/uploads/2016/11/Fedora-25-Login-Screen.png
[25]:http://www.tecmint.com/wp-content/uploads/2016/11/Fedora-25-Workstation-Desktop.png

View File

@ -236,7 +236,7 @@ via: https://www.howtoforge.com/tutorial/how-to-install-jenkins-with-apache-on-u
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://twitter.com/howtoforgecom
[1]:https://www.howtoforge.com/tutorial/how-to-install-jenkins-with-apache-on-ubuntu-16-04/#prerequisite

View File

@ -1,93 +0,0 @@
Find Out All Live Hosts IP Addresses Connected on Network in Linux
============================================================
There are plenty of [network monitoring tools][1] you can find in the Linux ecosystem, that can generate for you a summary of the total number of devices on a network including all their IP addresses and more.
However, sometimes what you actually need may be a simple command line tool that can provide you the same information by running a single command.
This tutorial will explain you how to find out all live hosts IP addresses connected to a given network. Here, we will use [Nmap tool to find out all IP addresses][2] of devices connected on a same network.
The [Nmap][3] (short form for Network Mapper) is an open source, powerful and a very versatile command line tool for exploring networks, [perform security scans, network audit][4] and [finding open ports on remote machine][5] and so much more.
In case you do not have Nmap installed on your system, run the appropriate command below for your distribution to install it:
```
$ sudo yum install nmap [On RedHat based systems]
$ sudo dnf install nmap [On Fedora 22+ versions]
$ sudo apt-get install nmap [On Debian/Ubuntu based systems]
```
Once you have Nmap installed, the syntax for using it is:
```
$ nmap [scan type...] options {target specification}
```
Where the argument {target specification}, can be replaced by hostnames, IP addresses, networks and so on.
Therefore to list the IP addresses of all hosts connected to a given network, first of all identify the network and its subnet mask using the [ifconfig command][6] or [ip command][7] like so:
```
$ ifconfig
OR
$ ip addr show
```
[
![Find Network Details in Linux](http://www.tecmint.com/wp-content/uploads/2016/11/Find-Network-Details-in-Linux.png)
][8]
Find Network Details in Linux
Next, run the Nmap command below:
```
$ nmap -sn 10.42.0.0/24
```
[
![Find All Live Hosts on Network](http://www.tecmint.com/wp-content/uploads/2016/11/Find-All-Live-Hosts-on-Network.png)
][9]
Find All Live Hosts on Network
In the command above:
1. `-sn`  is the type of scan, which means a ping scan. By default, Nmap performs port scanning, but this scan will disable port scanning.
2. `10.42.0.0/24`  is the target network, replace it with your actual network.
For a comprehensive usage information, make an effort to look into Nmap man page:
```
$ man nmap
```
Else, run Nmap without any options and arguments to view a summarized usage information:
```
$ nmap
```
In addition, for those interested in learning security scanning techniques in Linux, you can read through this practical guide to [Nmap in Kali Linux][10].
Well, thats it for now, remember to send us your questions or comments through the response form below. You can as well share with us other methods for listing the IP addresses of all devices connected to a given network.
--------------------------------------------------------------------------------
via: http://www.tecmint.com/find-live-hosts-ip-addresses-on-linux-network/
作者:[Aaron Kili][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:http://www.tecmint.com/author/aaronkili/
[1]:http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
[2]:http://www.tecmint.com/nmap-network-security-scanner-in-kali-linux/
[3]:http://www.tecmint.com/nmap-command-examples/
[4]:http://www.tecmint.com/audit-network-performance-security-and-troubleshooting-in-linux/
[5]:http://www.tecmint.com/find-open-ports-in-linux/
[6]:http://www.tecmint.com/ifconfig-command-examples/
[7]:http://www.tecmint.com/ip-command-examples/
[8]:http://www.tecmint.com/wp-content/uploads/2016/11/Find-Network-Details-in-Linux.png
[9]:http://www.tecmint.com/wp-content/uploads/2016/11/Find-All-Live-Hosts-on-Network.png
[10]:http://www.tecmint.com/nmap-network-security-scanner-in-kali-linux/

View File

@ -136,7 +136,7 @@ via: http://www.tecmint.com/enable-shell-debug-mode-linux/
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:http://www.tecmint.com/author/aaronkili/
[1]:http://www.tecmint.com/category/bash-shell/

View File

@ -159,7 +159,7 @@ via: https://opensource.com/article/16/11/managing-devices-linux
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://opensource.com/users/dboth
[1]:https://opensource.com/life/15/9/everything-is-a-file

View File

@ -77,7 +77,7 @@ via: https://insights.ubuntu.com/2016/11/28/mir-is-not-only-about-unity8/
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://insights.ubuntu.com/author/guest/
[1]:http://voices.canonical.com/kevin.gunn/

View File

@ -62,7 +62,7 @@ via: https://www.howtoforge.com/tutorial/moving-with-sql-server-to-linux-move-fr
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://twitter.com/howtoforgecom
[1]:https://www.howtoforge.com/tutorial/moving-with-sql-server-to-linux-move-from-sql-server-to-mysql-as-well/#to-have-control-over-the-platform

View File

@ -1,3 +1,5 @@
dongdongmian 翻译中
Uncommon but useful GCC command line options
============================================================

View File

@ -69,7 +69,7 @@ via: https://medium.com/linode-cube/locking-down-your-linux-server-24d8516ae374#
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://medium.com/linode-cube/locking-down-your-linux-server-24d8516ae374#.qy8qq4bx2
[1]:https://www.linode.com/

View File

@ -45,7 +45,7 @@ via: https://opensource.com/article/16/12/password-managers
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://opensource.com/users/jason-baker
[1]:https://opensource.com/users/jason-baker

View File

@ -1,3 +1,5 @@
FSSlc translating
5 Ways to Empty or Delete a Large File Content in Linux
============================================================

View File

@ -110,7 +110,7 @@ via: https://www.linux.com/learn/how-build-email-server-ubuntu-linux
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://www.linux.com/users/cschroder
[1]:https://www.linux.com/licenses/category/creative-commons-zero

View File

@ -1,3 +1,4 @@
ucasFL translating
Uncommon but useful GCC command line options - part 2
============================================================

View File

@ -149,7 +149,7 @@ via: http://www.tecmint.com/httpstat-curl-statistics-tool-check-website-performa
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:http://www.tecmint.com/author/aaronkili/
[1]:http://www.tecmint.com/apache-performance-tuning/

View File

@ -225,7 +225,7 @@ via: http://android.wonderhowto.com/how-to/complete-guide-flashing-factory-image
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:http://creator.wonderhowto.com/dallasthomas/
[1]:http://img.wonderhowto.com/img/original/95/62/63613181132511/0/636131811325119562.jpg

View File

@ -396,7 +396,7 @@ via: https://www.stgraber.org/2016/03/26/lxd-2-0-resource-control-412/
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.stgraber.org/author/stgraber/
[0]: https://www.stgraber.org/2016/03/11/lxd-2-0-blog-post-series-012/

View File

@ -447,7 +447,7 @@ via: https://www.stgraber.org/2016/03/30/lxd-2-0-image-management-512/
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.stgraber.org/author/stgraber/
[0]: https://www.stgraber.org/2016/03/11/lxd-2-0-blog-post-series-012/

View File

@ -201,7 +201,7 @@ via: https://www.stgraber.org/2016/03/19/lxd-2-0-your-first-lxd-container-312/
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.stgraber.org/author/stgraber/
[0]: https://www.stgraber.org/2016/03/11/lxd-2-0-blog-post-series-012/

View File

@ -137,7 +137,7 @@ via: https://www.stgraber.org/2016/04/13/lxd-2-0-docker-in-lxd-712/
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.stgraber.org/author/stgraber/
[0]: https://www.stgraber.org/2016/03/11/lxd-2-0-blog-post-series-012/

View File

@ -117,7 +117,7 @@ via: https://www.stgraber.org/2016/04/14/lxd-2-0-lxd-in-lxd-812/
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.stgraber.org/author/stgraber/
[0]: https://www.stgraber.org/2016/03/11/lxd-2-0-blog-post-series-012/

View File

@ -320,7 +320,7 @@ via: https://www.stgraber.org/2016/03/19/lxd-2-0-your-first-lxd-container-312/
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](https://linux.cn/) 荣誉推出
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 组织翻译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.stgraber.org/author/stgraber/
[0]: https://www.stgraber.org/2016/03/11/lxd-2-0-blog-post-series-012/

View File

@ -1,98 +0,0 @@
安卓编年史
================================================================================
### Android 2.1——动画的大发现(以及滥用)时代 ###
安卓2.1随着Nexus One的发布一同到来这时距安卓2.0的发布仅仅过了三个月。新系统并不是一个大的更新升级所以它仍然使用Éclair泡芙这个名称。安卓的开发以一种闻所未闻的步伐不稳定地进行在过去的15个月中谷歌平均每两个半月就发布一个新版本。
绝大部分得益于威瑞森在市场营销上的努力以及“Droid”产品线安卓日益流行起来。即便如此这个系统还是被认为丑这时的安卓工程师看起来几乎没有接受过正式的设计培训在安卓2.1中他们尝试着通过在所有能用上的地方大量使用动画效果想让东西看起来更整齐一点。这么做的结果就是系统看起来拼命想要证明它可以实现动画效果。许多新增的部分感觉更像是技术的演示demo而不是用户体验的改善。
![安卓2.1和2.0中的锁屏和主屏幕。](http://cdn.arstechnica.net/wp-content/uploads/2014/01/21.png)
安卓2.1和2.0中的锁屏和主屏幕。
Ron Amadeo供图
安卓2.0的旋转拨号式锁屏在仅仅一个版本之后就被踢到路边去了,取而代之的是和来电界面使用的相同的左/右拉标签式解锁。锁屏时钟尝试使用了一种独特的安卓字体,但是相比其它字体来说,它真是丑得可以。
安卓2.1最大的特色之一是“动态壁纸”——可互动的或是动态图片可以被设置为壁纸。默认的动态壁纸是个灰色正方形组成的大方阵不断有蓝色红色黄色以及绿色的光点拖着尾巴穿越屏幕。点击屏幕会使光点以你点击的位置为中心向四个方向射出。尽管动态壁纸看起来很棒并且相对iPhone而言是个独特的特性动画背景对电池和处理器而言可不是什么好事。它似乎让整个系统的运行都变得有点慢了。
在主屏幕上默认的谷歌搜索小部件周围有了更多空间并且现在它位于所在行的正中央。页面指示器现在在屏幕底部的左右角落主屏幕的页数也从3变成了5。底部的应用抽屉标签被替换为一个正方形方阵组成的图标这个对应用列表的暗喻直到今天谷歌也还在使用。
![图片展示了安卓2.1和2.0中的应用抽屉设计以及应用的选择。](http://cdn.arstechnica.net/wp-content/uploads/2014/01/21icons.png)
图片展示了安卓2.1和2.0中的应用抽屉设计以及应用的选择。
Ron Amadeo供图
和新应用抽屉图标一同到来的还有全新的应用抽屉。应用抽屉不再是以前从屏幕底部上拉的带标签容器的样子新界面显示为一个全屏界面。原先的碳纤维编织纹理被去掉了变成了一个纯黑背景——这个决定会一直持续到KitKat。
谷歌决定添加一个浮动的半透明的home图标到应用抽屉的底部好让人们方便地退出全屏的应用列表界面。这个可以看作是安卓4.0中引入的虚拟home键的前身。
应用抽屉同样有个俗气的图形效果。在滚动的时候,在应用列表顶部和底部的图标会向内弯曲并且看起来像是向手机深处移动一样,有点像星球大战开场的滚动字幕。
应用的图标也有不多的改变。“Amazon MP3”和“Alarm Clock”闹钟都去掉了前面那个单词然后他们就从按字母排序的列表的前两个位置退了下来。出现了两个新的应用新闻和天气以及Google Voice这是谷歌的通信服务。由于Nexus One不是威瑞森的定制机威瑞森的可视语音邮件被去掉了。
![修改后的时钟应用。](http://cdn.arstechnica.net/wp-content/uploads/2014/01/clo2ck.png)
修改后的时钟应用。
Ron Amadeo供图
不止是名称的更改,时钟应用还迎来了整体上的重制。点击时钟快捷方式不再会打开闹钟页面;取而代之的是去到“桌面时钟”界面(上方左图),它带有一个和壁纸一致的背景。时钟使用和锁屏一样的字体,并从新的新闻和天气应用中获取天气。
新的闹钟页面清除了许多旧版本中奇怪的设计。模拟时钟和可选择的时钟样式已经不见了。复选框已经被一个带绿色亮光的开关所取代,它比“灰色勾选/绿色勾选”更容易理解。尽管可能从快照很难看出来旧的闹钟设计在时间旁同时显示AM和PM。2.1的设计里取消了这一项只显示相关的AM/PM标记。底部放置了一个数字时钟点击时钟图标会将你带回桌面时钟界面。
![安卓2.1和2.0中的相册和单独图片查看界面。](http://cdn.arstechnica.net/wp-content/uploads/2014/01/gallery1.png)
安卓2.1和2.0中的相册和单独图片查看界面。
Ron Amadeo供图
谷歌想要改进安卓外观的欲望在2.1的相册中最为明显,这里几乎都是大量使用的动画效果和半透明。当应用打开的时候,单独的图片从屏幕顶部飞下并且打乱成小堆组成相册。当打开相册的时候,图片堆各自分离,照片滑开形成方阵的形式。所有你触摸的东西会弹开,压缩,以及拉伸,就像是果冻的弹簧片一样。
相册这里没有一个“标准”的背景。他会从屏幕上随机选择一张图片并深度模糊,然后作为背景图片使用。当这张图片滑出屏幕显示范围后,它会重新选择一张背景图片,所以背景色调总是会和你的图片相匹配。
屏幕的左上角放置了面包屑导航栏。它显示你当前的位置以及你所在位置和主界面之间的任何文件夹——它可以被看作是在安卓3.0中即将推出的“向上”按钮的前身。在右上角是一个相机的链接这还留着相同的在安卓1.6中登场的人造皮革设计——两个设计截然不同。
而相机是另一个奇怪的一次性的设计从来没有哪个安卓应用间随意的UI设计差距能有和新的相册应用间这么明显。它并没有采用安卓的按钮菜单或任何现有的UI规范。它甚至在每个界面隐藏了状态栏——你几乎不能分辨出你正在盯着的是安卓。
在单张照片查看视图你终于可以图片之间滑动切换从而去掉了短粗的左右箭头。出于某种原因这个界面并没有颜色匹配的背景。它是应用中唯一一个背景为黑色的部分。缩放控制在右上方仍然没有捏合缩放可用命令沿着屏幕的底部排成一行。点击“菜单”按钮虚拟或实体键并不会像所有其他的应用一样出现一个2×3格的方阵——仅仅是底部的一行选项从两个变成了另外三个选项。
![充满动画效果的相册应用。](http://cdn.arstechnica.net/wp-content/uploads/2014/01/gallery2.png)
充满动画效果的相册应用。
Ron Amadeo供图
上面第一张图片,显示了一个相册视图。大型相册的话你可以水平滚动,或使用在屏幕底部的快速滚动条。长按上的图片(虽然有点奇怪,或者按实体菜单按钮)会弹出一个“复选框”界面,在这里你可以点击几张照片同时选中它们。你选中照片之后,你可以批量分享,删除或旋转照片。
这个界面和接下来的单张照片查看界面的菜单是半透明语音气泡式的点击各个按钮时它们会跳出来。再重复一遍这和你所得到的正常的安卓体验规范远远不同。相册还是第一个拥有越界效果overscroll的应用之一。当你到达照片墙的底部时整个界面会向滚动的方向扭曲。
2.1的相册是第一个能同时显示您云存储的Picasa照片以及本地照片的客户端。这些照片缩略图的左下角有白色相机快门图标。这后来成为了Google+ Photos。
之前或之后任何安卓应用程序看起来都不像这个相册。有很好的理由解释这是为什么——它不是谷歌做的这个应用外包给了Cooliris他们看样子并没有打算花费精力遵循任何一条现有的安卓UI规范。尽管应用是可用的所有的动画和效果使它看起来像是只注重风格而不注重实质的产物。
![“新闻和天气”应用展示了……新闻和天气。](http://cdn.arstechnica.net/wp-content/uploads/2014/01/newsandweather.png)
“新闻和天气”应用展示了……新闻和天气。
Ron Amadeo供图
来比较下相册应用和另一个全新的安卓2.1应用新闻和天气。相册是个充满透明动画效果的汇聚而新闻和天气则全是深色渐变和对比色。这个应用提供了桌面时钟的天气显示它甚至还带着一个主屏幕小部件。第一张图显示的是当前位置的天气和六天预报。沿着屏幕顶部排列着一些标签城市名称旁有个小小的“i”按钮点击它会打开温度和降水图。你可以在图上滑动以得到指定时间的精确温度和降水信息。
这个应用里最大的创新在于可滑动标签这个想法最终将成为一个标准的安卓UI规范。在天气之后是一些可由用户定制的新闻标签除了点击标签切换之外你还可以在屏幕上水平滑动标签也会跟着切换。新闻标签都显示着一个新闻标题列表它们几乎总是正好截断到你弄不明白这条新闻讲了什么的程度。当你从这个应用打开一个网页时它并不会启动浏览器。相反它会在应用内打开新闻带着个奇怪的白色边框。
![谷歌地图的一些实验性功能新的小部件设计Google Voice里我们能接触到的唯一一个界面以及新的带标签的音乐界面设计。](http://cdn.arstechnica.net/wp-content/uploads/2014/04/ccccombo.jpg)
谷歌地图的一些实验性功能新的小部件设计Google Voice里我们能接触到的唯一一个界面以及新的带标签的音乐界面设计。
Ron Amadeo供图
安卓2.1里的小部件全部经过了重新设计几乎所有东西都带有黑色渐变空间利用上也更加合理。时钟变回了一个圆日历的顶部加上了蓝色着让它和应用变得更加相似。Google Voice可以启动但是登录已经失效了——这是你现在能看到的所有东西了。
人们经常忽视的音乐应用有个小更新。四个按钮的主界面被完全去除,并且在屏幕顶部添加了每个音乐显示模式的标签。这意味着在打开应用的时候,你就能直接看到音乐列表,而不是一个导航页。不同于新闻和天气应用里的标签,这些新增的标签不能滑动切换。
----------
![Ron Amadeo](http://cdn.arstechnica.net/wp-content//uploads/authors/ron-amadeo-sq.jpg)
[Ron Amadeo][a] / Ron是Ars Technica的评论编缉专注于安卓系统和谷歌产品。他总是在追寻新鲜事物还喜欢拆解事物看看它们到底是怎么运作的。
[@RonAmadeo][t]
--------------------------------------------------------------------------------
via:
译者:[alim0x](https://github.com/alim0x) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://arstechnica.com/author/ronamadeo
[t]:https://twitter.com/RonAmadeo

View File

@ -0,0 +1,90 @@
安卓编年史
================================================================================
>让我们跟着安卓从 0.5 版本到 7 的无尽迭代来看看它的发展历史。
### Android Wear
* [
![](https://cdn.arstechnica.net/wp-content/uploads/2016/10/g-watch-150x150.png)
][1]
* [
![](https://cdn.arstechnica.net/wp-content/uploads/2016/10/Untitled-150x150.jpg)
][2]
* [
![](https://cdn.arstechnica.net/wp-content/uploads/2016/10/home-screen33-640x261-150x150.png)
][3]
* [
![](https://cdn.arstechnica.net/wp-content/uploads/2016/10/feature-640x212-150x150.png)
][4]
* [
![](https://cdn.arstechnica.net/wp-content/uploads/2016/10/superlayout2000-150x150.png)
][5]
* [
![](https://cdn.arstechnica.net/wp-content/uploads/2016/10/darker-150x150.png)
][6]
2014 年 6 月安卓装备上了新元素:智能手表。谷歌在 2014 的 Google I/O 上发布了“[Android Wear][10]”,意图在你的手腕上装备一台小电脑。为[一块 1.6 英寸的屏幕][11]进行设计意味着需要从头构思整个界面,所以谷歌精简了安卓 4.4 KitKat并创建出了一个小巧的智能手表操作系统。Android Wear 设备不是独立的计算机。它们依赖于运行着配套 Android Wear 应用的安卓智能手机进行连接,认证,以及应用数据获取。
Android Wear 智能手表主要是一个通知机器。有了安卓 4.3 及以上版本内建的新 API任何手机收到的通知都能同时显示在手表上——无需任何应用支持。通知操作按钮也带到了手表上让用户可以从手表上与通知进行交互。在手表上清除一条通知会同时在手机上将其清除用户无需拿出另一台设备就可以管理通知消息。每个手表还带有一个语音命令系统和一个麦克风让用户可以抬腕唤醒手表说“OK Google”并发出一条命令。你还可以通过语音回复信息。手表上甚至还有一个装有原生手表应用的应用抽屉。
主屏幕上显示的自然是时间了,它还允许用户切换无数不同的表盘风格。通知界面采用了卡片风格设计。一个垂直滚动的通知列表会在手表上堆积,包括一些显示天气或交通信息的 Google Now 卡片。向左滑动能够清除一条通知,向右滑动会一次打开一个操作按钮。在主屏幕点击会打开语音命令系统,在哪里你可以激活设置或应用抽屉。除了这些以外最初的 Android Wear 的主屏幕没有多少内容。
2014 年 Android Wear 设备仅仅发售了 720000 部,从那之后我们就没有从软件或硬件上看到多少发展。时至今日,智能手机的销售[一年不如一年][12],甚至在 [Apple Watch][13] 发布后,没人能够真正确定他们想要让小腕上计算机做什么。明显这种情况会持续到 2017 年 Android Wear 2.0 发布。从 Moto 360 给市场带来圆形设备以来,我们还没从硬件厂商那边看到一些新玩意。
### Android 5.0 Lollipop——有史以来最重要的安卓版本
![](https://cdn.arstechnica.net/wp-content/uploads/2016/10/heade2r-980x479-980x479.jpg)
2014 年 11 月,谷歌发布了 [安卓 5.0 棒棒糖][14]。很多系统更新都被称作“有史以来最大的”,但那些陈词滥调在安卓 5.0 棒棒糖的身上成真了。首先,它改变了安卓发布的方式。谷歌与这个版本的安卓一同开始了“开发者预览”计划,可以以 beta 的形式提前几个月看到新版本。由于版本代号和版本号现在被用作市场营销工具,最终的名称在 beta 期间始终保密,仅以字母指代。在 2014 年的 Google I/O 大会谷歌宣布了“Android L 开发者预览”。
### 延伸阅读
[安卓 5.0 棒棒糖,完全评测][7]
给开发者(以及全世界)四个月的时间接触学习这个版本肯定是有必要的。安卓 L 包含大范围的变动,它们在系统中都是首次亮相,直到今天还能感受到这些变动。棒棒糖引入了 Material Design 设计理念作为修改安卓每个界面的指南。一个新的运行时环境“ART”它代表着驱动安卓应用引擎的完全革新。谷歌的“OK Google”语音命令系统升级到能在任意界面生效在一些设备上它甚至可以在设备锁定的时候工作。多用户系统从平板来到了手机上。棒棒糖还铺设了 Android for Work 的基础,这是一个关注企业与个人双重应用的特性。
#### Material Design 给了安卓以及谷歌的所有产品一个统一
当 Matias Duarte 踏上 I/O 大会的舞台并宣布 Material Design 时他公布的不仅仅是一个安卓的统一设计蓝图还是谷歌的所有产品以及第三方应用生态的统一设计蓝图。这个想法是安卓iOSChrome OS以及 Web 版的谷歌产品都应该有一致的界面风格字体以及行为。它们在不需要在不同尺寸的屏幕上有相同的布局Material Design 提供了有一致行为的构建元素,它们能够基于屏幕尺寸自适应布局。
Duarte 和他的团队在蜂巢中尝试了“电子”风格审美,以及在果冻豆中的“卡片”主题风格,但 Material Design 最终代表了被选中的设计系统应用到谷歌的所有产品线。Material Design 已经超出了一个用户界面设计指南的概念,成为了谷歌作为一个公司的一致性代表。
Material Design 主要的比喻是“纸和墨”。所有的用户界面是“纸”的片层,漂浮于最底端平面之上。阴影用来提供界面的层次结构——用户界面的每个层在 Z 轴上拥有一个位置,并在其之下的元素上投射一个阴影。这是在安卓 4.1 的 Google Now 中使用的“卡片”风格更清晰的进化版本。“墨”是用来指代谷歌推荐开发者在界面的重要项目上使用的泼色。这个概念也引用了真实世界的物体概念,与 Windows 8 和 iOS 7 带来的反拟物化“不惜一切代价扁平化”的趋势相违。
动画也是一个重点,思想是任何东西都不应该“弹出”到屏幕上。组件应该滑进,缩小,或放大。“纸”表面和真实世界中的纸还有点不同,他们可以缩小,扩展,合并以及增大。为了让动画系统协同图像资源工作,阴影不像之前版本中那样整合进用户界面组件——实际上谷歌创造了一个实时的 3D 阴影系统,这样阴影就能够在这些动画和转换中正确渲染。
![棒棒糖的层状界面和阴影的夸张侧视图。](https://cdn.arstechnica.net/wp-content/uploads/2014/07/2014-07-10_21-56-05.jpg)
<figcaption class="caption" style="box-sizing: inherit; position: relative; margin-top: -6px;">棒棒糖的层状界面和阴影的夸张侧视图。[Google I/O 2014 - Material design principles][8]</figcaption>
为了将 Material Design 带到谷歌的其它地方以及应用生态系统,谷歌创建并持续维护着[一个统一的设计指南][15],描述了一切设计的规范。那里有应该与不应该做的,基线,基线网格,色板,库存图解,字体,库,布局建议以及更多内容。谷歌甚至开始定期举办[针对设计的会议][16],来听取设计者的声音以及给他们教学,还成立了[Material Design 奖项][17]。在发布 Material Design 后不久Duarte 离开了安卓团队并成为了谷歌的 Material Design 总监,创建了一个完全专注于设计的部门。
--------------------------------------------------------------------------------
via: http://arstechnica.com/gadgets/2016/10/building-android-a-40000-word-history-of-googles-mobile-os/27/
作者:[RON AMADEO][a]
译者:[alim0x](https://github.com/alim0x)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:http://arstechnica.com/author/ronamadeo
[1]:http://arstechnica.com/gadgets/2016/10/building-android-a-40000-word-history-of-googles-mobile-os/27/#
[2]:http://arstechnica.com/gadgets/2016/10/building-android-a-40000-word-history-of-googles-mobile-os/27/#
[3]:http://arstechnica.com/gadgets/2016/10/building-android-a-40000-word-history-of-googles-mobile-os/27/#
[4]:http://arstechnica.com/gadgets/2016/10/building-android-a-40000-word-history-of-googles-mobile-os/27/#
[5]:http://arstechnica.com/gadgets/2016/10/building-android-a-40000-word-history-of-googles-mobile-os/27/#
[6]:http://arstechnica.com/gadgets/2016/10/building-android-a-40000-word-history-of-googles-mobile-os/27/#
[7]:http://arstechnica.com/gadgets/2014/11/android-5-0-lollipop-thoroughly-reviewed/
[8]:https://www.youtube.com/watch?v=isYZXwaP3Q4
[9]:http://arstechnica.com/gadgets/2014/11/android-5-0-lollipop-thoroughly-reviewed/
[10]:http://arstechnica.com/gadgets/2014/06/android-wear-review/
[11]:http://arstechnica.com/gadgets/2014/06/reviewing-android-wears-first-watches-sometimes-promising-often-frustrating/
[12]:http://www.businesswire.com/news/home/20161024005145/en/Smartwatch-Market-Declines-51.6-Quarter-Platforms-Vendors
[13]:http://arstechnica.com/apple/2015/05/review-the-absolutely-optional-apple-watch-and-watch-os-1-0/
[14]:http://arstechnica.com/gadgets/2014/11/android-5-0-lollipop-thoroughly-reviewed/
[15]:https://design.google.com/resources/
[16]:https://design.google.com/events/
[17]:https://design.google.com/articles/material-design-awards/

View File

@ -84,11 +84,11 @@ DevOps团队应该尽可能将重点放到如何更好的监控服务的运行
--------------------------------------------------------------------------------
via: http://linoxide.com/firewall/pfsense-setup-basic-configuration/
via: http://thenewstack.io/five-principles-monitoring-microservices/
作者:[Apurva Dave][a] [Loris Degioanni][b]
译者:[jiajia9linuxer](https://github.com/jiajia9linuxer)
校对:[校对者ID](https://github.com/校对者ID)
校对:[jasminepeng](https://github.com/jasminepeng)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出

View File

@ -1,40 +0,0 @@
Eclipse Che简介下一代基于Web的IDE
============================================================
![Eclipse Che简介下一代基于Web的IDE](https://opensource.com/sites/default/files/styles/image-full-size/public/images/education/EDU_OSDC_OpenClass_520x292_FINAL_JD.png?itok=ETOrrpcP "Introduction to Eclipse Che, a next-generation, web-based IDE")
>图片来自: opensource.com
即使对于熟练的开发人员,想要去为一个项目贡献代码,正确的安装和配置一个集成开发环境、工作空间或者是构建工具,,都是一个十分艰难和浪费时间的任务。[Codenvy][1]的CEOTyler Jewell也面临着这个问题。当他试图建立一个简单的Java项目然而必须花费时间在处理一些健康问题和项目结构后他才可以开始工作。经过多天的努力Jewell的项目依然无法工作但灵感触击了他。他想让“任何人任何时候都可以为安装软件的项目做贡献”。
正是这个想法引发了[Eclipse Che][2]的发展。
Eclipse Che是一个基于Web的集成开发环境IDE和工作区。Eclipse Che将工作空间与合适的运行时堆栈捆绑在一起提供紧密集成的stack后的IDE。在这些工作空间中的项目具有运行和开发所需的一切工具开发人员不用做什么事情只需要创建工作空间时选择正确的堆栈。
准备好的捆绑stack包括Eclipse Che支持绝大多数现代流行语言。现在已经支持C++, Java, Go, PHP, Python, .NET, Node.js, Ruby on Rails, 和Android等开发.一个Stack库提供了很多选项如果这样还不行还可以选者创建一个定制的Stack提供自定义的环境。
Eclipse Che是一个功能齐全的IDE而不是一个简单的基于Web的文本编辑器。使用Orion和JDT上构建。支持智能感知和调试并集成了Git和Subversion版本控制软件。IDE甚至可以由多个用户共享空间进行结对编程。只需一个Web浏览器开发人员就可以编写和调试他们的代码。但是如果开发人员更喜欢使用基于桌面的IDE更可以使用SSH连接到线上的工作空间。
Eclipse Che的主要技术之一是[Linux容器][3]-Docker。工作空间是同样是使用Docker构建的安装Eclipse Che的本地副本只需要Docker和一个小脚本文件。只需在第一次运行时他运行`che.sh start`就会下载和运行必需的Docker容器。但是如果设置Docker来安装Eclipse Che依然认为是多余的工作Codenvy还提供在线托管的选项。甚至他们为任一的项目贡献者提供4GB的开源项目工作区。使用Codenvy的托管选项或者是另一个在线托管的办法--提供一个URL给潜在的贡献者将自动创建一个包含项目代码的工作区而他们只需点击一下。
除了CodenvyEclipse Che的贡献者包括微软红帽IBM三星和许多其他人或组织。很多贡献者正在为自己的特定目的致力于开发Eclipse Che的定制版本。例如三星的[Artik IDE][4]项目用于物联网领域。基于Web的IDE可能会让一些人失业但Eclipse Che提供很多的offer并且有很多行业大牛参与者值得一试。
* * *
 [CheConf 2016][5] takes place on November 15\. CheConf 2016 is an online conference and registration is free. Sessions start at 11:00 am Eastern time (4:00 pm UTC) and end at 5:30 pm Eastern time (10:30 pm UTC).
如果你有兴趣了解更多关于Eclipse Che[CheConf 2016][5]将会11月15日举行。 CheConf 2016是一个在线会议可以免费注册。会议开始于东部时间上午11点UTC时间下午4:00到东部时间下午5:30UTC时间下午10:30结束。
--------------------------------------------------------------------------------
via: https://opensource.com/life/16/11/introduction-eclipse-che
作者:[Joshua Allen Holm][a]
译者:[Vic020](http://www.vicyu.net/)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://opensource.com/users/holmja
[1]:http://codenvy.com/
[2]:http://eclipse.org/che
[3]:https://opensource.com/resources/what-are-linux-containers
[4]:http://eclipse.org/che/artik
[5]:https://eclipse.org/che/checonf/

View File

@ -0,0 +1,259 @@
Fedora 25 Workstation 安装指南
============================================================
在这篇教程中,我们将会走完在电脑上安装 Fedora 25 workstation 的每一步。该指南包括整个安装过程中的每一步截图,因此,请认真跟着操作。
#### Fedora 25 Workstation 有哪些新特性?
正如大家所期待的那样Fedora 的这个最新版本在基础组件上做了很多的改变以及修复大量的 bugs除此之外它带来了很多新的功能强大的软件如下所示
- GNOME 3.22, 可以重命名多个文件,重新设计的键盘布局工具以及一些用户界面上的改进。
-  使用 Wayland 代替 X11 系统,以满足现代图形硬件设备。
- 支持 MP3 格式解码。
- Docker 1.12。
- Node.js 6.9.1。
- 支持 Rust 系统编程语言。
- 支持多个版本的 Python 编程语言,包括 Python2.6, 2.7, 3.3, 3.4 和 3.5。
- 不再检查 GNOME Shell 扩展与当前的 Shell 版本的兼容性等等。
注意:如果电脑上已安装了前一个版本 Fedora 24或许你可以考虑使用更简单的几个步骤[将 Fedora 24 升级到 Fedora 25][3] 以避免全新的安装过程。
### 安装 Fedora 25 Workstation 版本
从下面的链接下载 ISO 系统镜像开始,本安装教程将使用 64 位的镜像来安装。
-  [下载 Fedora 25 Workstation 64 位版本][1]
-  [下载 Fedora 25 Workstation 32位版本][2]
下载完 Fedora 25 的系统镜像后第一步是创建一个可启动设备DVD 或 USB 设备),使用 [Unetbootin 和 dd 命令][4]来制作 USB 启动工具,或使用其它你想用的方法也行。
1. 创建完成启动设备后插入并从该设备DVD/USB启动此时你应该看到如下图所示的 **Fedora Workstation Live** 的启动界面。
选择 “**Start Fedora-Workstation-Live 25**” 选项,然后单点 Enter 按钮。
[
![Fedora 25 Boot Menu](http://www.tecmint.com/wp-content/uploads/2016/11/Start-Fedora-25.png)
][5]
*Fedora 25 启动菜单*
2. 接下来,你会进入到登录界面,单击“**Live System User**”以 Live user 身份进入系统。
[
![Fedora 25 Live User Login](http://www.tecmint.com/wp-content/uploads/2016/11/Fedora-25-Live-User-Login.png)
][6]
*Fedora 25 Live User 登录
3. 登入系统后,几秒钟后桌面上会出现下面的欢迎界面,如果你想在安装前试用 Fedora 系统,单击 “**Try Fedora**”,否则单击 “**Install to Hard Disk**” 进入到全新安装过程。
[
![Fedora 25 Welcome Screen](http://www.tecmint.com/wp-content/uploads/2016/11/Fedora-25-Welcome-Screen.png)
][7]
*Fedora 25 欢迎界面*
4. 在下面的界面中,选择想要使用的安装语言,然后单击“**Continue**"按钮进入到安装总结页面。
[
![Select Installation Language Type](http://www.tecmint.com/wp-content/uploads/2016/11/Select-Installation-Language-Type.png)
][8]
*选择安装语言类型*
5. 下图是安装总结界面,显示默认的区域及系统设置内容。你可以根据自己的位置和喜好来定制区域及系统设置。
从键盘设置开始。单击“**KEYBOARD**”进入到键盘布局自定义设置界面。
[
![Fedora 25 Installation Summary](http://www.tecmint.com/wp-content/uploads/2016/11/Fedora-25-Installation-Summary.png)
][9]
*Fedora 25 安装总结*
6. 在这个界面中,根据你电脑之前的设置使用`+`号来添加你需要的键盘布局,然后单击“**Done**"返回到安装总结界面。
[
![Set Keyboard Layout](http://www.tecmint.com/wp-content/uploads/2016/11/Set-Keyboard-Layout.png)
][10]
*设置键盘布局*
7. 下一步,单击“**TIME & DATA**"调整系统时间和日期。输入所在地区和城市来设置时区,或者快速从地图上选择。
注意你可以从右上角启用或者停用网络时间。设置完系统时间和日期后,单击“**Done**”返回到安装总结界面。
[
![Set System Timezone](http://www.tecmint.com/wp-content/uploads/2016/11/Set-System-Timezone.png)
][11]
*设置系统时区*
8. 返回到安装总结界面,单击“**NETWORK & HOSTNAME**” 设置网络和主机名。
主机名设置完成后,单击 **Apply** 应用按钮检查主机名是否可用,如果可用,单击“**Done**”。
[
![Set Hostname for Fedora 25](http://www.tecmint.com/wp-content/uploads/2016/11/Set-Hostname-Fedora-25.png)
][12]
*设置 Fedora 25 的主机名*
9. 此时,在安装总结界面,单击“**INSTALLATION DESTINATION**”来为系统文件划分安装空间。
在“**Other Storage Options**(其它存储选项)上选择“**I will configure partitioning**”来执行手动分区,然后单击 “**Done**” 前进至手动分区界面。
[
![Select Installation Destination Drive](http://www.tecmint.com/wp-content/uploads/2016/11/Select-Installation-Destination-Drive.png)
][13]
*选择安装位置*
10. 下面是手动分区界面,选择“**Standard Partition**”(标准分区)为新的分区模式来安装。
[
![Manual Partitioning Selection](http://www.tecmint.com/wp-content/uploads/2016/11/Manual-Partitioning-Selection.png)
][14]
*手动配置分区*
11. 现在通过点`+`号增加一个挂载点来创建一个`/root`分区。
```
Mount Point: /root
Desired Capacity: set appropriate size( eg 100 GB)
```
之后,单击“**Add mount point**”添加刚刚创建的分区/挂载点。
[
![Create New Root Partition](http://www.tecmint.com/wp-content/uploads/2016/11/Create-New-Root-Partition.png)
][15]
创建新的 Root 分区
下图展示为 `/root` 分区设置。
[
![Root Partition Settings](http://www.tecmint.com/wp-content/uploads/2016/11/Root-Partition-Settings.png)
][16]
*Root 分区设置*
12.下一步,通过`+`号创建 swap 分区
Swap 分区是硬盘上的一个虚拟的磁盘空间,用于临时存放那些当前 CPU 不使用的内存数据。
```
Mount Point: swap
Desired Capacity: set appropriate size( eg 4 GB)
```
单击 **Add mount point** 来添加swap分区。
[
![Create Swap Partition](http://www.tecmint.com/wp-content/uploads/2016/11/Create-Swap-Partition.png)
][17]
*创建 Swap 分区*
[
![Swap Partition Settings](http://www.tecmint.com/wp-content/uploads/2016/11/Swap-Partition-Settings.png)
][18]
*Swap 分区设置*
13. 创建完 `root` 分区和 `swap` 分区后,单击“**Done**”按钮来查看这些要对磁盘进行的更改。单击 “**Accept Changes**” 允许执行所有的分区调整。
[
![Accept Partition Changes](http://www.tecmint.com/wp-content/uploads/2016/11/Accept-Partition-Changes.png)
][19]
*接受分区调整*
14. 你最后的安装总结内容应该跟下图显示的差不多。单击“**Begin Installation**”开始真正安装系统。
[
![Final Installation Summary](http://www.tecmint.com/wp-content/uploads/2016/11/Final-Installation-Summary.png)
][20]
*最后的安装总结内容*
15. 系统文件安装开始后,你可以在下面的界面中,创建一个常用的系统用户,并为 root 账号设置密码。
[
![User Configuration Settings](http://www.tecmint.com/wp-content/uploads/2016/11/User-Configuration-Settings.png)
][21]
*用户配置设置*
16. 之后,单击 **ROOT PASSWORD** 来设置 root 账号密码。像之前一样,单击 **Done** 返回到用户配置界面。
[
![Set Root Account Password](http://www.tecmint.com/wp-content/uploads/2016/11/Set-Root-Account-Password.png)
][22]
*设置root账号密码*
17. 之后,在用户配置界面单击 **USER CREATION** 按钮来创建一个常用的系统用户。你也可以勾选“**Make the user administrator**”选项把该用户提升为系统管理员。
再次单击 **Done** 按钮继续。
[
![Create System User Account](http://www.tecmint.com/wp-content/uploads/2016/11/Create-System-User-Account.png)
][23]
*创建系统用户账号*
18. 安装过程将会持续一段时间,你可以去休息会了。安装完成之后,单击 **Quit** 重启系统并弹出你使用的启动设备。终于你可以登录进入新的Fedora 25 Workstation了。 
[
![Fedora 25 Login Screen](http://www.tecmint.com/wp-content/uploads/2016/11/Fedora-25-Login-Screen.png)
][24]
*Fedora 25登录界面*
[
![Fedora 25 Workstation Desktop](http://www.tecmint.com/wp-content/uploads/2016/11/Fedora-25-Workstation-Desktop.png)
][25]
*Fedora 25 Workstation 桌面*
就写到这里吧!请在下面提出相关的问题并发表评论。
--------------------------------------------------------------------------------
via: http://www.tecmint.com/fedora-25-installation-guide/
作者:[Aaron Kili][a]
译者:[rusking](https://github.com/rusking)
校对:[jasminepeng](https://github.com/jasminepeng)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:http://www.tecmint.com/author/aaronkili/
[1]:https://download.fedoraproject.org/pub/fedora/linux/releases/25/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-25-1.3.iso
[2]:https://download.fedoraproject.org/pub/fedora/linux/releases/25/Workstation/i386/iso/Fedora-Workstation-Live-i386-25-1.3.iso
[3]:http://www.tecmint.com/upgrade-fedora-24-to-fedora-25-workstation-server/
[4]:http://www.tecmint.com/install-linux-from-usb-device/
[5]:http://www.tecmint.com/wp-content/uploads/2016/11/Start-Fedora-25.png
[6]:http://www.tecmint.com/wp-content/uploads/2016/11/Fedora-25-Live-User-Login.png
[7]:http://www.tecmint.com/wp-content/uploads/2016/11/Fedora-25-Welcome-Screen.png
[8]:http://www.tecmint.com/wp-content/uploads/2016/11/Select-Installation-Language-Type.png
[9]:http://www.tecmint.com/wp-content/uploads/2016/11/Fedora-25-Installation-Summary.png
[10]:http://www.tecmint.com/wp-content/uploads/2016/11/Set-Keyboard-Layout.png
[11]:http://www.tecmint.com/wp-content/uploads/2016/11/Set-System-Timezone.png
[12]:http://www.tecmint.com/wp-content/uploads/2016/11/Set-Hostname-Fedora-25.png
[13]:http://www.tecmint.com/wp-content/uploads/2016/11/Select-Installation-Destination-Drive.png
[14]:http://www.tecmint.com/wp-content/uploads/2016/11/Manual-Partitioning-Selection.png
[15]:http://www.tecmint.com/wp-content/uploads/2016/11/Create-New-Root-Partition.png
[16]:http://www.tecmint.com/wp-content/uploads/2016/11/Root-Partition-Settings.png
[17]:http://www.tecmint.com/wp-content/uploads/2016/11/Create-Swap-Partition.png
[18]:http://www.tecmint.com/wp-content/uploads/2016/11/Swap-Partition-Settings.png
[19]:http://www.tecmint.com/wp-content/uploads/2016/11/Accept-Partition-Changes.png
[20]:http://www.tecmint.com/wp-content/uploads/2016/11/Final-Installation-Summary.png
[21]:http://www.tecmint.com/wp-content/uploads/2016/11/User-Configuration-Settings.png
[22]:http://www.tecmint.com/wp-content/uploads/2016/11/Set-Root-Account-Password.png
[23]:http://www.tecmint.com/wp-content/uploads/2016/11/Create-System-User-Account.png
[24]:http://www.tecmint.com/wp-content/uploads/2016/11/Fedora-25-Login-Screen.png
[25]:http://www.tecmint.com/wp-content/uploads/2016/11/Fedora-25-Workstation-Desktop.png

View File

@ -1,97 +0,0 @@
在 CentOS 和 RHEL 系统上安装或自动更新安全补丁
============================================================
在 Linux 系统上,其中一个最重要的需求就是保持定期更新最新的安全补丁,或者为相应的 Linux 版本更新可用的安全补丁。
在之前的文章中,我们分享了[如何在 Debian/Ubuntu 上配置自动安全更新][1],在这篇文章中,我们将分享如何在 CentOS/RHEL 7/6 版本中设置自动更新重要的安全补丁,当你需要这样做的时候。
在相同家族的其他 Linux 版本Fedora 或 Scientific Linux中可以用类似的方法进行配置。
### 在 CentOS/RHEL 系统上配置自动安全更新
在 CentOS/RHEL 7/6 系统上,你需要安装下面的安装包:
```
# yum update -y && yum install yum-cron -y
```
#### 在 CentOS/RHEL 7 系统上启用自动安全更新
安装完成以后,打开 /etc/yum/yum-cron.conf然后找到下面这些行内容你必须确保它们的值和下面展示的一样
```
update_cmd = security
update_messages = yes
download_updates = yes
apply_updates = yes
```
第一行表明自动更新命令行应该像这样:
```
# yum --security upgrade
```
而其他的行保证能够通知并自动下载和安装安全升级。
为了使来自 root@localhost 的通知能够通过邮件发送给相同的账户(再次说明,你可以选择其他账户,如果你想这样的话),下面这些行也是必须的。
```
emit_via = email
email_from = root@localhost
email_to = root
```
#### 在 CentOS/RHEL 6 上启用自动安全更新
默认情况下, cron 被配置成立即下载和安装所有更新,但是我们可以通过在 /etc/sysconfig/yum-cron 配置文件中把下面两个参数改为 yes从而改变这种行为。
```
# Don't install, just check (valid: yes|no)
CHECK_ONLY=yes
# Don't install, just check and download (valid: yes|no)
# Implies CHECK_ONLY=yes (gotta check first to see what to download)
DOWNLOAD_ONLY=yes
```
为了启用关于安装包更新的邮件通知,你需要把 MAILTO 参数设置为一个有效的邮件地址。
```
# by default MAILTO is unset, so crond mails the output by itself
# example: MAILTO=root
MAILTO=admin@tecmint.com
```
最后,打开并启用 yum-cron 设备:
```
------------- On CentOS/RHEL 7 -------------
systemctl start yum-cron
systemctl enable yum-cron
------------- On CentOS/RHEL 6 -------------
# service yum-cron start
# chkconfig --level 35 yum-cron on
```
恭喜你,你已经成功的在 CentOS/RHEL 7/6 系统上设置了自动升级。
##### 总结
在这篇文章中,我们讨论了如何保持你的设备定期更新或升级最新的安全补丁。另外,为了保证当新的补丁被应用时你自己能够知道,你也学习了如何配置邮件通知。
如果你有任何关于这篇文章的顾忌,请在下面的评论区留下你的问题。我们期待收到你的来信。
--------------------------------------------------------------------------------
via: http://www.tecmint.com/auto-install-security-patches-updates-on-centos-rhel/
作者:[Gabriel Cánepa][a]
译者:[ucasFL](https://github.com/ucasFL)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:http://www.tecmint.com/author/gacanepa/
[1]:http://www.tecmint.com/auto-install-security-updates-on-debian-and-ubuntu/