mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-01-16 22:42:21 +08:00
Merge branch 'master' of https://github.com/LCTT/TranslateProject
This commit is contained in:
commit
110e1bbd54
@ -45,11 +45,12 @@
|
||||
![Webmin 1.690 on server.unixmen.local (Ubuntu Linux 14.04)](http://180016988.r.cdn77.net/wp-content/uploads/2014/05/Webmin-1.690-on-server.unixmen.local-Ubuntu-Linux-14.04-Mozilla-Firefox_011.png)
|
||||
|
||||
就是这样简单。现在你就可以图形化地管理和配置你的Ubuntu服务器了。欢呼吧!
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.unixmen.com/install-webmin-ubuntu-14-04/
|
||||
|
||||
译者:[KayGuoWhu](https://github.com/KayGuoWhu) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
译者:[KayGuoWhu](https://github.com/KayGuoWhu) 校对:[wxy](https://github.com/wxy)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
113
published/20140607 Got Linux--Add Proprietary Code.md
Normal file
113
published/20140607 Got Linux--Add Proprietary Code.md
Normal file
@ -0,0 +1,113 @@
|
||||
为什么不要在Linux上只运行开源软件?
|
||||
================================================================================
|
||||
![](http://www.linuxinsider.com/images/rw661226/linux-enterprise-proprietary-code.jpg)
|
||||
|
||||
> 对于一些产业来讲,在开源的Linux发行版上运行专属(proprietary)软件并不是个例,--相反这很常见。例如,在华尔街,“华尔街上百分之九十九的应用依赖于专属软件。在那些运行在Linux上而有专属许可证的产品中,Oracle是我们非常喜欢的一款”, FSMLabs 的总裁 Victor Yodaiken这样说。
|
||||
|
||||
迁移到Linux平台并不是一个非此即彼的提议。linux作为一个灵活开放的计算平台为用户在软件选择上提供了更多的选项。
|
||||
|
||||
第一个方法是Linux的桌面环境,个人计算用户,小型办公室和企业都可以从众多的企业级Linux发行版中选择。在Windows和被限定在其昂贵硬件的基于unix的苹果OS X之外,Linux桌面系统为用户提供了另外一种零成本或者低成本的选择。
|
||||
|
||||
另一个迁移的办法是,让员工放弃Linux桌面办公,取而代之,企业可以在Linux服务器上运行后台办公系统。在网络应用和云计算领域遍布Linux的足迹,Linux服务器能在各种企业设定中寻找到自己的位置。
|
||||
|
||||
第三个方法是运行一个完整的Linux商店,常用的办公计算、网上浏览、图片编辑工作软件都存放在开源的软件包中。开源的数据库程序连接着后台的软件和服务器,而且Linux不需要特殊的硬件和多余的花销。
|
||||
|
||||
培训员工使用Linux桌面应用仅需要很少的投入。这要感谢职员们对跨平台软件的熟悉,例如LibreOffice 和 Open Office, 当然还有 google Chrome和 Firefox浏览器。先前的办公交流工具真的面临着威胁。
|
||||
|
||||
Linux很灵活。一种新的趋势是编写第三方的特定软件来满足自己的商业需求,商业软件公司可以重新编译打包那些必备的windows或者其他平台的软件。他们也可以结合开源的组件用他们自己特定的代码来编写特定需求的linux应用程序。
|
||||
|
||||
Dayan Jeremiah,[Icewarp Pacific][1]的CEO告诉linuxinsider:“我相信这将是一个新的趋势,企业正在使用可以运行在Linux系统上的第三方软件。让企业走向定制化软件的一个因素就是购买微软授权的经济负担太重。”
|
||||
|
||||
### Linux 上运行专属软件 ###
|
||||
|
||||
很多公司转向其他操作系统面临的问题就是软件和应用程序的兼容性问题,比如转向Linux,那么这家企业必须保证它用的软件必须是兼容Linux操作系统的,jeremiah补充道。
|
||||
|
||||
Linux操作系统有着数量巨大的软件,它们运行在数量众多的linux发行版和桌面环境当中。考虑到行业的特殊性,广大的开源团体或许并没有提供替代一个特定计算任务的替代品。这样的情况下,就不得不花费精力寻找第三方软件开发者的帮助。
|
||||
|
||||
“通过第三方厂商帮助来保证兼容性的问题,比如,我们可以混合和匹配各种软件组件在一起,以便让一个应用程序可以运行在Linux上。”jeremiah这样说。
|
||||
|
||||
### 旧貌换新颜 ###
|
||||
|
||||
越来越多的专属软件公司,比如Icewarp,开发特定的软件来满足企业特定的业务需求,他们将许多开源组件混合在一起使用。
|
||||
|
||||
相比在微软框架下,这样不仅节约了授权费用,也节省了开发代码的费用。
|
||||
|
||||
“我们可以使用现成的软件组件为Linux构建完整的软件解决方案,这个方案非常节省,高效而且稳定。”jeremiah补充道。
|
||||
|
||||
Icewarp开发的特定软件并不是免费的开源项目,并不提供免费版本,需要订购并支付费用,而且售后支持也是收费的。
|
||||
|
||||
### 代码移植的混乱 ###
|
||||
|
||||
[Lucera][2]的CEO Jacob Loveless提到,把一个来自其它平台的软件变成Linux兼容的,一个很大的障碍就是Linux的多样性。Linux操作系统有一个通用的内核,但是不同的发行版有很多不同的特点。
|
||||
|
||||
“当软件公司不得不在多个Linux系统中交叉编译时,问题进一步加深。”除了微软的Exchange数据库之外(LCTT译注:此处疑为笔误,可能是“MS SQL Server”),大部分数据库都在linux上运行的很好,MySQL和PostSQL是其中非常出名的两个开源软件(LCTT译注:此处PostSQL应该是Postgresql)。”
|
||||
|
||||
在软件移植到Linux时的最大挑战,是需要重新编译代码,通常你必须要完成一些平台特定的修改才能让它工作,他说。
|
||||
|
||||
比如,你有特定的基于.Net的代码或者其他的针对Windows的语言代码,Linux上开源的编译器并不总是兼容,所以你有很多的软件工作必须重做,loveless解释说。
|
||||
|
||||
另外一个例子就是数据库,你往往不得不改用其他的数据库或者不同的网页服务器。
|
||||
|
||||
“这确实需要一些工作”loveless说道。
|
||||
|
||||
### 多但不足够 ###
|
||||
|
||||
另外一个转向Linux的兼容性问题就是公司需要的开源软件类型。
|
||||
|
||||
“对于公司特定的计算需求开源软件方案并不完善”ICeWarp的Jeremiah补充说“但是,通常对于Linux来说都是足够的,开源团体无法做到的特定的应用程序可以由第三方来实现。”
比如说,IceWarp最近完成的一个特定的Linux兼容的应用程序就不需要采购额外的硬件也没产生多余的授权费用。
|
||||
|
||||
这个特定的软件包含一个负载均衡的集群,一个运行数据库的集群,另外一个是IP服务器的集群。所有的都运行在RHEL或者CentOS linux发行版当中。
|
||||
|
||||
### 跟钱走! ###
|
||||
|
||||
在一些情况下,有钱才有Linux操作系统的应用,有时候Linux服务器在一个领域很流行,又有些时候只是一个特定的Linux桌面应用程序,有时候两者都有。
|
||||
|
||||
举个例子,例如在华尔街,在金融市场中时间同步是关键。金融网络依靠分布式网络,用户必须在截止时间内完成交易。其它的应用需要在交易前进行精确的计时。[FSMLabs][3] 的总裁 Victor Yodaiken 说,这些功能需要精确的时间同步控制。
|
||||
|
||||
当FSMLabs开始开发时间同步软件时,Yodaiken觉得他们只需要开发一个Windows版本。
|
||||
|
||||
然而,事实证明每一个在使用自动交易或者高频交易的人,甚至以高精度采集数据的人,都运行的是Linux系统,他告诉LinuxInsider。
|
||||
|
||||
### 惜时如金 ###
|
||||
|
||||
FSMLabs在Linux上运行他们的专属代码,Linux上的互联网时间协议(NTP)并不适用于同步时间在纳秒级别的应用,比如那些追踪股票变动,或者交易需求。 windows的不足有另一个原因。
|
||||
|
||||
Yodaiken说道:“(在这方面,)Linux比Windows流行是因为windows没有一个标准的API可以让你在毫秒级之下获取时间,所以Window并不是真的都好,你必须得有特定的API才行。而在Linux下。你不需要在你的应用程序上费力了。”
|
||||
|
||||
金融市场是第一个拥抱Linux的,很多早期的系统管理员来自20世纪80年代的[贝尔实验室][4],因此这是一个很成熟的市场,他补充到。
|
||||
|
||||
### 满足需求 ###
|
||||
|
||||
在某些领域,在开源的Linux发行版上运行有专利的软件并不意外,这是很常见的。
|
||||
|
||||
“华尔街99%的应用都运行在有专利的产品上。在我们在Linux上运行的有专属许可证的产品中,我们很喜欢Oracle。”FSMLab 的 Yodaiken说。
|
||||
|
||||
一些使用Linux的市场需要更多特定的软件,现有的开源软件并不能满足他们,这就是为什么软件开发者们为企业Linux应用提供了商业的解决方案。他补充道。
|
||||
|
||||
“这很平常,开源软件很适合大的市场,这就是为什么他有广泛而且通用的需求,不是很多人需要绝对的微秒级的时间,而且如果没有市场就会发出信号。”他指出。
|
||||
|
||||
### Linux纯粹主义是没有意义的 ###
|
||||
|
||||
在Linux上运行完全免费开源的软件的观念是欠缺的,有时候你要运行专属软件。对于任何特定的行业都是这样。
|
||||
|
||||
当一个专业的计算不需要进入广泛市场时,第三方的软件开发者可以提供特定的,商业的或者闭源的软件解决方案。由于商业需求不断进入Linux系统,绝对的开源将成为过去的事情。
|
||||
|
||||
“在Linux上拥有商业软件是相当普遍的”,Yodaiken说,“商人都不是纯粹主义者,他们只想解决问题。”
|
||||
|
||||
Jack M.Genmain从Apple II和PC时代就开始报道电脑科技,他还有原始的IBM PC-Jr和运行DOS的机器。他留着共享软件和开源软件的linux桌面。他运行着好几种版本的Windows和Linux,经常不能决定是用他的tablet还是netbook还是android智能机,而不是用他的桌面电脑或者笔记本。你可以在google+上联系他。
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.linuxinsider.com/story/80555.html
|
||||
|
||||
作者:Jack M. Germain
|
||||
译者:[jiajia9linuxer](https://github.com/jiajia9linuxer)
|
||||
校对:[wxy](https://github.com/wxy)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:http://www.icewarp.com/
|
||||
[2]:https://lucerahq.com
|
||||
[3]:http://www.fsmlabs.com/
|
||||
[4]:http://www.bell-labs.com/
|
@ -1,14 +1,14 @@
|
||||
“Simple Dock” GNOME Shell扩展乾坤大挪移,钟爱应用桌面展现
|
||||
================================================================================
|
||||
![](http://www.omgubuntu.co.uk/wp-content/uploads/2014/07/screenshot_815_1.jpg)
|
||||
|
||||
**我爱GNOME Shell,但是我痛恨的是费力从隐藏屏幕中找到我所钟爱的应用或者在我正运行的应用间切换。**
|
||||
|
||||
**我爱GNOME Shell,但是我痛恨的是话费力气从隐藏屏幕中找到我所钟爱的应用或者在我正运行的应用间切换。**
|
||||
这么说,听起来就像我是个老古董,像是一个UX勒德分子,也像是某个过分沉溺于Unity可用性瘾君子,但我,像阅读本文的许多人一样,喜欢将app启动器/切换器放到桌面上。这是一个用户所熟悉并且快捷的工作方式。
|
||||
|
||||
这么说,好像听起来我是个老古董,像是一个UX勒德分子,也像是某个过分沉溺于Unity可用性瘾君子,但我,像阅读本文的许多人一样,喜欢将app启动器/切换器放到桌面上。这是一个熟悉、快速的工作方式。
|
||||
而GNOME Shell,从设计上看,却完全是个不同的世界。它将所有这一切隐藏起来 —— 从消息中心和通知,到工作区和应用列表。它弱化了审美效果,包含了这样的道理:帮助用户专注于最重要的部分。
|
||||
|
||||
而GNOME Shell,从设计上看,却完全是个不同的世界。它将所有这一切隐藏起来 —— 从消息中心和通知,到工作区和应用列表。它是最小美学,包含这样的道理:帮助用户专注于最重要的部分。
|
||||
|
||||
但是对我而言,我的桌面需要比一个美化的相框更多的东西。
|
||||
但是对我而言,我的桌面需要的不仅仅是一个美化的相框。
|
||||
|
||||
### GNOME Shell之美 ###
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
- 拖放收藏
|
||||
- 覆盖活动启动按钮
|
||||
|
||||
想要吗?如果你正在Ubuntu 13.10或更高版本上使用GNOME Shell,那么你可以使用它。只需在支持的浏览器(Firefox, GNOME Web之类)中访问下面的链接就可以导航到GNOME扩展页面,然后将页面上开个从“off”拖动到“on”上。
|
||||
你也想要吗?如果你正在Ubuntu 13.10或更高版本上使用GNOME Shell,那么你可以使用它。只需在支持的浏览器(Firefox, GNOME Web之类)中访问下面的链接就可以导航到GNOME扩展页面,然后将页面上开个从“off”拖动到“on”上。
|
||||
|
||||
- [GNOME Shell扩展中的Simple Dock][1]
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
|
||||
via: http://www.omgubuntu.co.uk/2014/07/simple-dock-gnome-shell-extension
|
||||
|
||||
译者:[GOLinux](https://github.com/GOLinux) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
译者:[GOLinux](https://github.com/GOLinux) 校对:[Caroline](https://github.com/carolinewuyan)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
@ -0,0 +1,37 @@
|
||||
小伙伴们,该更新系统啦:Ubuntu 13.10的支持到今天结束
|
||||
================================================================================
|
||||
![](http://www.omgubuntu.co.uk/wp-content/uploads/2014/04/upgrade-available.jpg)
|
||||
|
||||
|
||||
**尽管目前运行良好,在经历了9个月的折腾后,今天官方对Ubuntu 13.10(俏皮蝾螈)的支持正式寿终正寝。**
|
||||
|
||||
> 尽管它的名字叫'俏皮蝾螈',但它所提供的新功能却无比的乏味。
|
||||
|
||||
那些仍然在使用它的用户应该看看最新的发行的稳定版了,Ubuntu 14.04 LTS。在四月推出的这个版本,提供良好的图形化支持,支持期限是到2019年的4月中旬。
|
||||
|
||||
对于Ubuntu 13.10的服务器版的支持,也到今天正式停止。
|
||||
|
||||
### 俏皮蝾螈已然失宠 ###
|
||||
|
||||
Ubuntu 13.10于去年10月发布,Canonical对其桌面版本承诺提供时长9个月的安全和Bug修复更新。截至今年7月17日,所有更新将停止,未来也不再提供。
|
||||
|
||||
Canonical[推荐的升级方案][1]是升级到14.04版本,目前可以直接通过图形化工具去升级,包括使用升级程序,或者在命令行运行‘`do-release-upgrade`‘命令。
|
||||
|
||||
俏皮蝾螈,它的名字非常的好听,但表现平平,13.10在Ubuntu所有的发行版中也不是一个取得卓越成功的版本,[这一点已经被很多网络评论预言到了][2]。
|
||||
|
||||
然而,它曾经让人眼前一亮的是,<del>强加</del>提供了键盘指示符来快速的选择安装语言,这可以让用户简便的在该智能域操作,这也是第一个在安装程序中整合了`Ubuntu One Single Sign-on`的发行版。
|
||||
|
||||
查看13.10版本的所有新功能,请查看完整视频:
|
||||
Youtobe 视频地址:[http://www.youtube.com/embed/1EiRQ-znEcI?feature=oembed][3]
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.omgubuntu.co.uk/2014/07/ubuntu-13-10-support-ends-today
|
||||
|
||||
译者:[nd0104](https://github.com/nd0104) 校对:[ReiNoir](https://github.com/reinoir)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:https://help.ubuntu.com/community/TrustyUpgrades
|
||||
[2]:http://www.omgubuntu.co.uk/2013/10/ubuntu-13-10-press-reaction
|
||||
[3]:http://www.youtube.com/embed/1EiRQ-znEcI?feature=oembed
|
@ -10,9 +10,9 @@
|
||||
虽然,使用浏览器主界面来设置默认浏览器很方便,但是有时,你需要远程来操作。
|
||||
|
||||
要做到这一点,你只需打开终端,然后执行下述命令:
|
||||
```
|
||||
sudo update-alternatives --config x-www-browser
|
||||
```
|
||||
|
||||
sudo update-alternatives --config x-www-browser
|
||||
|
||||
之后输入你想设置为默认浏览器的号码,这样就搞定了!
|
||||
|
||||
截图如下:
|
59
published/20140731 Command Line Somedays--Part Six.md
Normal file
59
published/20140731 Command Line Somedays--Part Six.md
Normal file
@ -0,0 +1,59 @@
|
||||
命令行星期二——第六部分
|
||||
================================================================================
|
||||
|
||||
不管怎样,让我们继续我们今天的日程吧:输入/输出重定向。
|
||||
|
||||
我们已经用过的大多数命令,都把他们的结果张贴到了终端显示中。然而,我们也可以让这些命令的显示放进一个文件、设备中,或者作为其它命令的输入,一切都在**重定向**。
|
||||
|
||||
### 标准输出 ###
|
||||
|
||||
那么,命令行程序主要是怎么工作的呢?它们会将命令的结果丢给一个叫做标准输出的设备,然后,标准输出会将这些结果发送到你的显示设备上,这样你就可以畅快地阅读这些信息了。然而,你也可以让命令的结果显示到一个文本文件中,像这样,用“>”字符(我的例子):
|
||||
|
||||
man zypper > man.txt
|
||||
|
||||
这儿我所干的是, 我想要获得zypper的一个帮助页。但是,我想要把它放到一个文本文件中去,因而我可以在我需要他们的时候(例如,在论坛、IRC寻求帮助时)很方便地读取这些结果。所以,这个命令做的是,保存man zypper输出结果到我的家目录中的man.txt,这样你可以看到,我可以用gedit来打开它:
|
||||
|
||||
![](https://news.opensuse.org/wp-content/uploads/2014/07/Zaslonska-slika-2014-07-30-103144.png)
|
||||
|
||||
如果我重复了该命令,或者使用不同的命令重定向到了同名文件,那么它就会被一次又一次地覆盖。所以,在那种情况下,如果我想要把输出结果重定向并附加到现存文件中,我唯一能做的事情就是下一次使用“>>”来替换“>”。
|
||||
|
||||
### 标准输入 ###
|
||||
|
||||
许多命令也可以接受来自称之为标准输入的设备的输入。默认情况下,输入来自键盘,然而也可以来自一个文件。要重定向它,使用跟前面相反的字符:‘**<**’。
|
||||
|
||||
请看下面的例子:
|
||||
|
||||
sort < man.txt
|
||||
|
||||
### 管道 ###
|
||||
|
||||
要想把多个命令连接到一起,你可以使用管道。管道所要做的是,将一个命令的标准输出注入到另一个命令的标准输入。肖茨先生的最爱:
|
||||
|
||||
ls – l | less
|
||||
|
||||
通过使用‘| less’这个小把戏,你可以让任何命令滚动输出。
|
||||
过滤器
|
||||
|
||||
### 过滤器 ###
|
||||
|
||||
过滤器是管道中常用的程序。过滤器获取标准输入,对它进行操作,然后把结果发送到标准输出。它们可以以一种相当强大的方式处理信息。这儿提供了一个程序列表,大多数都是用作过滤器的。它们可以用于执行、查询,或者将帮助页重定向到它们,然后再重定向到一个文件!
|
||||
|
||||
过滤器:sort, uniq, grep (我们发现这一个东西遍布论坛,因此我建议大家深入研究一下), fmt, pr, head, tail, tr, sed, awk。
|
||||
|
||||
### 结束 ###
|
||||
|
||||
我们只剩下几个课程来阐述CLI的基本用法了,到成熟期的时候,我希望大家都会对CLI兴趣会增多一点了,也希望大家在萧条期也进行一些探索!而在你们动手干的时候,我希望你们……
|
||||
**玩得不亦乐乎!**
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://news.opensuse.org/2014/07/30/command-line-somedays-part-six/
|
||||
|
||||
作者:[Nenad Latinović][a]
|
||||
译者:[GOLinux](https://github.com/GOLinux)
|
||||
校对:[wxy](https://github.com/wxy)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:https://news.opensuse.org/author/holden87/
|
||||
[1]:https://news.opensuse.org/2014/07/29/factory-rolling-release/
|
@ -1,50 +0,0 @@
|
||||
CoreOS Linux ending the upgrade cycle
|
||||
CoreOS Linux结束升级周期
|
||||
================================================================================
|
||||
> CoreOS发布了他的Linux发行版的商用支持版,并且宣称将废除手动更新。
|
||||
|
||||
国际数据集团新闻社消息——CoreOS发布了商用Linux发行版,以期能简化系统管理员的生活。这个Linux发行版可持续进行自动更新,不需要进行重大升级。
|
||||
|
||||
CoreOS提供其同名的Linux发行版做为商业服务,开始为一个月100美元。
|
||||
|
||||
“商家现在可以开始考虑将CoreOS作为他们系统团队的延伸,对于企业Linux客户,这将是他们会需要的最后一次迁移。”CoreOS的创始人和CEO在一份声明中这样说。
|
||||
|
||||
商业Linux订阅并不是什么新鲜事:[Red Hat][2]和[Suse][3]都在为他们各自的发行版提供商业订阅。
|
||||
|
||||
因为这些以Linux为基础的公司使用的应用程序和库都是开源和免费提供的,所以订阅的费用不包括软件本身,而收费来自更新,漏洞修复,集成以及发生问题时的技术支持。
|
||||
|
||||
CoreOS公司声称,CoreOS将会和这些发行版不同,它将不会有重大更新,而这些更新通常需要一次更新更新所有的包。它的更新和新特征将会在就绪后自动。。。。CoreOS will be different from these distributions, the company asserted, in that there will be no major updates, which typically require updating all the packages in the distribution at once. Instead, updates and new features will be streamed automatically to the copy of the OS and applied as soon as they are ready.
|
||||
|
||||
The service offers a dashboard, called CoreUpdate, that provides controls for designating which software packages should get updated, should the administrator not want all the packages to be updated automatically.
|
||||
|
||||
CoreUpdate can manage multiple machines at once, and offers a roll-back capability should an update cause issues.
|
||||
|
||||
Launched last December, CoreOS was designed to [focus][4] on an emerging use of the open-source OS kernel -- that of powering lots of cloud-based virtual servers.
|
||||
|
||||
The average CoreOS instance was designed to consume only less than half of what other Linux distributions typically consume. All applications that run on the distribution run in Docker virtualized containers, so they can be started almost instantaneously.
|
||||
|
||||
The distribution can be updated more easily [due to its novel use of two partitions][5]. One can contain the current version of the OS while the OS is being updated in the other, smoothing the process of upgrading a package, or the entire distribution.
|
||||
|
||||
The CoreOS service can be run on-premises, or through Amazon, Google and Rackspace cloud services.
|
||||
|
||||
CoreOS also announced Monday that it received $8 million in backing from the Kleiner Perkins Caulfield and Byers venture capital firm. The company has previously gotten investment from Sequoia Capital and Fuel Capital.
|
||||
|
||||
----------
|
||||
|
||||
Joab Jackson covers enterprise software and general technology breaking news for The IDG News Service. Follow Joab on Twitter at [@Joab_Jackson][6]. Joab's e-mail address is [Joab_Jackson@idg.com][7]
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.computerworld.com/s/article/9249460/CoreOS_Linux_ending_the_upgrade_cycle?taxonomyId=122
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:https://coreos.com/products/managed-linux/plans/
|
||||
[2]:http://www.redhat.com/about/subscription/
|
||||
[3]:https://www.suse.com/support/programs/subscriptions/
|
||||
[4]:http://www.networkworld.com/article/2177120/cloud-computing/coreos-linux-distro-lands-on-the-google-cloud-platform.html
|
||||
[5]:https://coreos.com/using-coreos/updates/
|
||||
[6]:http://twitter.com/Joab_Jackson
|
||||
[7]:Joab_Jackson@idg.com
|
@ -1,25 +0,0 @@
|
||||
Dwarf Fortress Sees First New Release In 2 Years
|
||||
================================================================================
|
||||
![](http://www.gamingonlinux.com/uploads/articles/tagline_images/399424446id3997gol.png)
|
||||
|
||||
[Dwarf Fortress][1] is a single-player fantasy game. You can control a dwarven outpost or an adventurer in a randomly generated, persistent world. The kicker is that the graphics are all text, no actual graphics. There are of course mods to make it graphical however.
|
||||
|
||||
I have to say I don't get the fuss at all with this one. The interface is confusing and it's not nice to look at, but I am guessing with plenty of graphical mods it could get pretty good considering everything you can do in it. I understand it will have a massive amount of replayability due to generating a new world each time, but it just doesn't look inviting to someone who hasn't played a game like it before.
|
||||
|
||||
This new release is the first in 2 years and has massive changes as you might imagine. See the [full rundown here][1].
|
||||
|
||||
What do people see in it exactly? I know plenty of you play it as the amount of people to email it in was crazy. I'm just going to sit back and let the "omg your crazy" comments come in.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.gamingonlinux.com/articles/dwarf-fortress-sees-first-new-release-in-2-years.3997
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:http://www.bay12games.com/dwarves/index.html
|
@ -1,38 +0,0 @@
|
||||
IPFire 2.13 Core 77 Linux Firewall Distro Brings Major OpenVPN Improvements
|
||||
================================================================================
|
||||
![](http://i1-news.softpedia-static.com/images/news2/IPFire-2-13-Core-77-Linux-Firewall-Distro-Brings-Major-OpenVPN-Improvements-450605-2.jpg)
|
||||
|
||||
**Michael Tremer, a developer for the ipfire.org team, has announced that IPFire 2.13 Core 79, a new stable build of the popular Linux-based firewall distribution, is now out with some exciting new features.**
|
||||
|
||||
IPFire is a modular Linux distribution, which means that it can be deployed as a firewall, a proxy server, or a VPN gateway. The main concern of the developers is security and every step has been taken in order to ensure that users can feel really safe when using this operation system.
|
||||
|
||||
The developers are saying in the official [announcement][1] that the “Core Update 79 is finally arriving with many bug fixes and enhancements. Among the big changes with this update are lots feature enhancements that massively increase the security level of OpenVPN connections, some enhancements of the web user interface and a lot more awesome stuff under the hood.”
|
||||
|
||||
The IPFire devs had another huge release a few months ago and it looks like they have made another one, this time focusing on the improvement of the OpenVPN features and a few other aspects.
|
||||
|
||||
“The certificate authority that can be created on the OpenVPN page now uses much better hashes to protect the integrity of itself. The CA root certificate uses a SHA512 hash and a RSA key with length of 4096 bit. All new created host certificates use a RSA key with 2048 bit length and a SHA256 hash. Additionally, a set of Diffie-Hellman parameters can be generated for better protection of the session keys. The length of the pregenerated DH parameters can be chosen in the web interface,” also noted the devs.
|
||||
|
||||
According to the changelog, the cipher that is used for each net-to-net connection can now be changed, the hash function is now configurable with a few options like SHA2 (512, 384, and 256-bit), Whirpool (512 bit), and SHA1 (160 bit), and the tls-auth option can be enabled, which uses a HMAC function.
|
||||
|
||||
The Linux kernel used by the distribution has also been updated in this release and the OS now packs the 3.10.44 version. This should bring support for new hardware, a number of security fixes, and more stability.
|
||||
|
||||
Also, snort (the Intrusion Detection System) has been updated to version 2.9.6.1, the new firewall GUI now supports blocking access to the GREEN firewall interface, the PIE packet scheduler has been added, and the default size of the root partition has been increased.
|
||||
|
||||
The developers recommend all users of IPFire to upgrade their distributions. More details can be found on the official website.
|
||||
|
||||
Download IPFire 2.13 Core 79:
|
||||
|
||||
- [IPFire 2.15 Core 79][1] (ISO)[iso] [126 MB]
|
||||
- [IPFire 3.0 Alpha 1][2] (ISO)[iso] [76 MB]
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://news.softpedia.com/news/IPFire-2-13-Core-77-Linux-Firewall-Distro-Brings-Major-OpenVPN-Improvements-450605.shtml
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:http://www.ipfire.org/news/ipfire-2-15-core-update-79-released
|
||||
[2]:http://downloads.ipfire.org/releases/ipfire-2.x/2.15-core79/ipfire-2.15.i586-full-core79.iso
|
||||
[3]:http://www.rowie.at/ipfire/iso/ipfire-3.0-alpha1.i686.iso
|
@ -1,28 +0,0 @@
|
||||
LFTP 4.5.3 File Transfer Software Is for People Who Love the Terminal
|
||||
================================================================================
|
||||
![](http://i1-news.softpedia-static.com/images/news2/LFTP-4-5-3-File-Transfer-Software-Is-for-People-Who-Love-the-Terminal-450596-2.jpg)
|
||||
|
||||
**LFTP 4.5.3, a sophisticated file transfer program with a command-line interface that supports FTP, HTTP, FISH, SFTP, HTTPS, and FTPS protocols, has been released and is ready for download.**
|
||||
|
||||
Every operation made with LFTP is reliable, which means that, if any non-fatal error occurs, the operation is retried automatically. The software supports numerous protocols, but it can also handle a few other tasks, such as BitTorrent downloads, SRV DNS records, job queuing, bookmarks, aliases, and many more.
|
||||
|
||||
“lftp has shell-like command syntax allowing you to launch several commands in parallel in background (&). It is also possible to group commands within () and execute them in background. All background jobs are executed in the same single process. You can bring a foreground job to background with ^Z (c-z) and back with command ‘wait’ (or ‘fg’ which is alias to ‘wait’),” reads the official website.
|
||||
|
||||
According to the changelog, a new setting ftp:site has been added, the http body is not uncompressed when the Contrent-Type is compressed, the source address of DHT replies is now checked, and the disconnected torrent peers are now discarded after only a timeout.
|
||||
|
||||
A complete list of changes and improvements can be found in the official [announcement][1].
|
||||
|
||||
Download LFTP 4.5.3:
|
||||
|
||||
- [LFTP 4.5.3 tar.xz][2][sources] [1.40 MB]
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://news.softpedia.com/news/LFTP-4-5-3-File-Transfer-Software-Is-for-People-Who-Love-the-Terminal-450596.shtml
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:http://lftp.yar.ru/news.html
|
||||
[2]:http://lftp.yar.ru/ftp/lftp-4.4.15.tar.xz
|
@ -1,145 +0,0 @@
|
||||
GOG.com Now Supports Linux!
|
||||
================================================================================
|
||||
> 50 games for the free OS available right NOW!
|
||||
|
||||
[![](http://www.gog.com/upload/images/2014/07/7c1e2e42f8c3c101468d4364759e9cdc3a1c01cb_small.jpg)][1]
|
||||
|
||||
A while ago, [we've announced our plans][2] to add Linux support as one of the features of our digital platform, with 100 games on the launch day sometime this fall. We've put much time and effort into this project and now we've found ourselves with over 50 titles, classic and new, prepared for distribution, site infrastructure ready, support team trained and standing by, and absolutely no reason to wait until October or November. We're still aiming to have at least 100 Linux games in the coming months, but we've decided not to delay the launch just for the sake of having a nice-looking number to show off to the press. It's not about them, after all, it's about you. So, one of the most popular site feature requests on our [community wishlist][3] is granted today: Linux support has officially arrived on GOG.com!
|
||||
|
||||
The first 50+ titles we've have in store for you come from all the corners of our DRM-Free catalog. Note that we've got many classic titles coming officially to Linux for the very first time, thanks to the custom builds prepared by our dedicated team of penguin tamers. That's over twenty fan-favorite GOG.com classics, like [FlatOut][4]&[Flatout 2][5], , [Darklands][6], or [Realms of the Haunting][7] we've personally ushered one by one into the welcoming embrace of Linux gamers. That's already quite a nice chunk of our back-catalog, and you can expect more from our dedicated Linux team soon!
|
||||
|
||||
Now, for the recent titles. We've got some indie games with native Linux versions that finally find their well-deserved spot in our store. Among them, debuting on Linux, [CLARC][8] - a well received original comedic Sci-Fi puzzler. On top of that, be on the lookout for two new additions to the GOG.com catalog: [Gods Will Be Watching][9] (coming in a couple of hours) and [Unrest:Special Edition][10] (Linux build coming right up!), both of them very fresh and intriguing. This is the very first time we can provide you with all the PC versions of a premiere game, and we will continue to do so in the future. If there's a Linux version of a title we're releasing, our aim is to deliver it to you Day-1. But enough about us, let's talk about the games. Here's what you can be playing on Linux today:
|
||||
|
||||
- [**Anomaly Warzone Earth**][11]
|
||||
- [**Ascendant**][12]
|
||||
- [**Bionic Dues**][13]
|
||||
- [**Blake Stone: Aliens of Gold**][14] - first time on Linux!
|
||||
- [**Blake Stone: Planet Strike**][15] - first time on Linux!
|
||||
- [**Bloodnet**][16] - first time on Linux!
|
||||
- [**Braveland**][17]
|
||||
- [**CLARC**][18] - first time on Linux!
|
||||
- [**Darklands**][19] - first time on Linux!
|
||||
- [**Darwinia**][20]
|
||||
- [**Defcon**][21]
|
||||
- [**Don't Starve + DLC**][22]
|
||||
- [**Dragonsphere**][23] - first time on Linux!
|
||||
- [**Duke Nukem 3D: Atomic Edition**][24]
|
||||
- [**FlatOut**][25] - first time on Linux!
|
||||
- [**Flatout 2**][26] - first time on Linux!
|
||||
- [**Fragile Allegiance**][27] - first time on Linux!
|
||||
- [**Gemini Rue**][28]
|
||||
- [**Gods Will Be Watching**][29]
|
||||
- [**Hammerwatch**][30]
|
||||
- [**Hocus Pocus**][31] - first time on Linux!
|
||||
- [**Kentucky Route Zero**][32]
|
||||
- [**The Last Federation**][33]
|
||||
- [**Legend of Grimrock**][34]
|
||||
- [**Litil Divil**][35] - first time on Linux!
|
||||
- [**Long Live the Queen**][36]
|
||||
- [**MouseCraft**][37]
|
||||
- [**Multiwinia**][38]
|
||||
- [**Normality**][39] - first time on Linux!
|
||||
- [**Pinball Gold Pack**][40] - first time on Linux!
|
||||
- [**Pinball World**][41] - first time on Linux!
|
||||
- [**Pirates! Gold Plus**][42] - first time on Linux!
|
||||
- [**Realms of the Haunting**][43] - first time on Linux!
|
||||
- [**Rex Nebular and the Cosmic Gender Bender**][44] - first time on Linux!
|
||||
- [**Rise of the Triad: Dark War**][45] - first time on Linux!
|
||||
- [**Shattered Haven**][46]
|
||||
- [**The Shivah HD**][47]
|
||||
- [**Sid Meier's Colonization**][48] - first time on Linux!
|
||||
- [**Sid Meier's Covert Action**][49] - first time on Linux!
|
||||
- [**Sir, You Are Being Hunted**][50]
|
||||
- [**Slipstream 5000**][51] - first time on Linux!
|
||||
- [**Space Pirates and Zombies**][52]
|
||||
- [**Spacechem**][53]
|
||||
- [**Stargunner**][54] - first time on Linux!
|
||||
- [**SteamWorld Dig**][55]
|
||||
- [**Super Hexagon**][56]
|
||||
- [**Surgeon Simulator 2013**][57]
|
||||
- [**Sword of the Samurai**][58] - first time on Linux!
|
||||
- [**Teslagrad**][59]
|
||||
- [**Unrest:Special Edition**][60] (Linux build on the way!)
|
||||
- [**Uplink**][61]
|
||||
- [**VVVVVV**][62]
|
||||
|
||||
As if this wasn't exciting enough, we've put more than half of these titles on a [special promo][63]! Head out to the [promo page][64] and find out which of them you can get up to 75% off until Tuesday, 9:59AM GMT. Of course, all of the games from the list above that you already own will be updated with Linux versions with no additional cost for you, just as you might have expected from GOG.com.
|
||||
|
||||
"OK, but how will Linux support actually work on GOG.com" - you might ask. For both native Linux versions, as well as special builds prepared by our team, GOG.com will provide distro-independent tar.gz archives and support convenient DEB installers for the two most popular Linux distributions: Ubuntu and Mint, in their current and future LTS editions. Helpful and responsive customer support has always been an important part of the GOG.com gaming experience. We wouldn't have it any other way when it comes to Linux, and starting today our helpdesk offers support for our official Linux releases on Ubuntu and Mint systems.
|
||||
|
||||
Diversity and freedom of choice have always been an important part of the GOG.com way. We're very glad that we could improve our service with the addition of the free (and DRM-Free) alternative to the commercial operating systems. Talking with gamers is just as important, so we're counting on your feedback! If you've got any questions, suggestions, or run into any trouble, just tell us in the forum thread below this post. Just please be gentle, this is [our very first time][65] with Linux. Happy launch day, everyone!
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.gog.com/news/gogcom_now_supports_linux
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:http://www.gog.com/promo/linux_launch_promo_240714
|
||||
[2]:http://www.gog.com/news/gogcom_soon_on_more_platforms
|
||||
[3]:http://www.gog.com/wishlist/site#search=linux
|
||||
[4]:http://www.gog.com/game/flatout
|
||||
[5]:http://www.gog.com/game/flatout_2
|
||||
[6]:http://www.gog.com/game/darklands
|
||||
[7]:http://www.gog.com/game/realms_of_the_haunting
|
||||
[8]:http://www.gog.com/game/clarc
|
||||
[9]:http://www.gog.com/game/gods_will_be_watching
|
||||
[10]:http://www.gog.com/game/unrest_special_edition
|
||||
[11]:http://www.gog.com/game/anomaly_warzone_earth
|
||||
[12]:http://www.gog.com/game/ascendant
|
||||
[13]:http://www.gog.com/game/bionic_dues
|
||||
[14]:http://www.gog.com/game/blake_stone_aliens_of_gold
|
||||
[15]:http://www.gog.com/game/blake_stone_planet_strike
|
||||
[16]:http://www.gog.com/game/bloodnet
|
||||
[17]:http://www.gog.com/game/braveland
|
||||
[18]:http://www.gog.com/game/clarc
|
||||
[19]:http://www.gog.com/game/darklands
|
||||
[20]:http://www.gog.com/game/darwinia
|
||||
[21]:http://www.gog.com/game/defcon
|
||||
[22]:http://www.gog.com/game/dont_starve
|
||||
[23]:http://www.gog.com/game/dragonsphere
|
||||
[24]:http://www.gog.com/game/duke_nukem_3d_atomic_edition
|
||||
[25]:http://www.gog.com/game/flatout
|
||||
[26]:http://www.gog.com/game/flatout_2
|
||||
[27]:http://www.gog.com/game/fragile_allegiance
|
||||
[28]:http://www.gog.com/game/gemini_rue
|
||||
[29]:http://www.gog.com/game/gods_will_be_watching
|
||||
[30]:http://www.gog.com/game/hammerwatch
|
||||
[31]:http://www.gog.com/game/hocus_pocus
|
||||
[32]:http://www.gog.com/game/kentucky_route_zero_season_pass
|
||||
[33]:http://www.gog.com/game/last_federation_the
|
||||
[34]:http://www.gog.com/game/legend_of_grimrock
|
||||
[35]:http://www.gog.com/game/litil_divil
|
||||
[36]:http://www.gog.com/game/long_live_the_queen
|
||||
[37]:http://www.gog.com/game/mousecraft
|
||||
[38]:http://www.gog.com/game/multiwinia
|
||||
[39]:http://www.gog.com/game/normality
|
||||
[40]:http://www.gog.com/game/pinball_gold_pack
|
||||
[41]:http://www.gog.com/game/pinball_world
|
||||
[42]:http://www.gog.com/game/pirates_gold_plus
|
||||
[43]:http://www.gog.com/game/realms_of_the_haunting
|
||||
[44]:http://www.gog.com/game/rex_nebular_and_the_cosmic_gender_bender
|
||||
[45]:http://www.gog.com/game/rise_of_the_triad__dark_war
|
||||
[46]:http://www.gog.com/game/shattered_haven
|
||||
[47]:http://www.gog.com/game/the_shivah
|
||||
[48]:http://www.gog.com/game/sid_meiers_colonization
|
||||
[49]:http://www.gog.com/game/sid_meiers_covert_action
|
||||
[50]:http://www.gog.com/game/sir_you_are_being_hunted
|
||||
[51]:http://www.gog.com/game/slipstream_5000
|
||||
[52]:http://www.gog.com/game/space_pirates_and_zombies
|
||||
[53]:http://www.gog.com/game/spacechem
|
||||
[54]:http://www.gog.com/game/stargunner
|
||||
[55]:http://www.gog.com/game/steamworld_dig
|
||||
[56]:http://www.gog.com/game/super_hexagon
|
||||
[57]:http://www.gog.com/game/surgeon_simulator_2013
|
||||
[58]:http://www.gog.com/game/sword_of_the_samurai
|
||||
[59]:http://www.gog.com/game/teslagrad
|
||||
[60]:http://www.gog.com/game/unrest_special_edition
|
||||
[61]:http://www.gog.com/game/uplink_hacker_elite
|
||||
[62]:http://www.gog.com/game/vvvvvv
|
||||
[63]:http://www.gog.com/promo/linux_launch_promo_240714
|
||||
[64]:http://www.gog.com/promo/linux_launch_promo_240714
|
||||
[65]:http://youtu.be/qBxbPts5tOk
|
@ -0,0 +1,52 @@
|
||||
Red Hat aims to standardize Linux for 64-bit ARM servers
|
||||
================================================================================
|
||||
> Red Hat wants Linux for ARM servers to avoid the fragmentation that plagued Unix in decades past
|
||||
|
||||
DG News Service - Red Hat has developed a version of the Linux operating system that can be used to test chips and associated hardware based on the ARMv8-A 64-bit architecture for servers with the aim of standardizing that market.
|
||||
|
||||
Based on the company's Red Hat Enterprise Linux (RHEL), the Linux distribution is part of a [partner program][1] that Red Hat launched Wednesday for potential [ARM hardware vendors][2].
|
||||
|
||||
"We don't call it RHEL, but it is a functional, unsupported, operating system for partners to use in their development activities," said Mark Coggin, Red Hat senior director of platform product marketing.
|
||||
|
||||
Red Hat designed the program to get the hardware manufacturers to settle on a standard implementation of the ARMv8-A specification. ARM does not manufacture its own processors, licensing its designs to chip manufacturers instead.
|
||||
|
||||
A standard implementation would mean that customers could purchase ARMv8-A servers from any manufacturer, knowing that their ARM 64-bit operating systems and software will work no matter who created the chip, Coggin said. Red Hat would like Linux ARM to avoid the fate of AT&T's Unix operating system, which fragmented into a number of different and incompatible versions.
|
||||
|
||||
"We see the importance of stepping in early and ensure that we don't end up with a fragmented approach, where if you wanted to run an AMD implementation of ARM, you'd need one version of Linux, and if you wanted to run a Broadcom implementation of ARM, you'd need another version," Coggin said.
|
||||
|
||||
Some of the work of standardizing ARM for servers has been done through an industry consortium started earlier this year, called the [Server Base System Architecture][3] (SBSA) specification, as well as through ongoing work from the Linaro Enterprise Group. Red Hat's unnamed ARM Linux distribution uses specifications from both groups.
|
||||
|
||||
Red Hat hopes to influence not only the companies that make the chips but also hardware vendors, original equipment manufacturers and original design manufacturers.
|
||||
|
||||
Thus far, manufacturers such as Advanced Micro Devices, American Megatrends, AppliedMicro, Broadcom, Cavium, Dell and Hewlett-Packard have all pledged support to Red Hat's standardization efforts.
|
||||
|
||||
"If ARM is to be a viable competitor in the server space, [hardware providers] have to comply to the common understanding of what is possible to run on this type of server. Customers and users demand that from manufacturers today in the x86 world," said Yan Fisher, Red Hat technical product marketing manager.
|
||||
|
||||
Through the program, Red Hat will learn more about what the manufacturers need from an enterprise Linux distribution for 64-bit ARM, Coggin said. The operating system may one day become the basis for an ARM version of RHEL.
|
||||
|
||||
"We're trying to understand the platform dependencies from a technology requirements perspective," Coggin said. "We don't know if or when this will ever become a product, but we are positioning ourselves in a way that at some point we could enter the market."
|
||||
|
||||
Red Hat's Fedora project has offered an ARM distribution for the past several years and this release, though based on the Fedora work, is configured more toward ARM server use.
|
||||
|
||||
Although ARM processors are used in most mobile devices, only recently [has there been a movement in the industry][4] to use them in data-center servers as well, where their low-power design could cut energy costs.
|
||||
|
||||
Only a handful of ARMv8-A processors and associated hardware are currently available, mostly as early previews for developers or packaged in proprietary systems.
|
||||
|
||||
AMD Opteron A1100-Series ARM processors, designed specifically for servers, were released Wednesday to developers. AMD also offers the ARM Cortex-A57 ARMv8 which was designed for system-on-a-chip architectures.
|
||||
|
||||
AppliedMicro offers production-ready ARM servers, under the X-Gene brand and Hewlett-Packard is prepping its Moonshot line of ARM servers. Motherboard manufacturer American Megatrends offers a BIOS chip to boot ARM processors.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.computerworld.com/s/article/9250061/Red_Hat_aims_to_standardize_Linux_for_64_bit_ARM_servers?taxonomyId=122
|
||||
|
||||
作者:Joab Jackson
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:http://connect.redhat.com/early-access-programs/red-hat-and-64-bit-arm-ecosystem
|
||||
[2]:https://engage.redhat.com/arm-s-201407291033
|
||||
[3]:http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0029/index.html
|
||||
[4]:http://www.networkworld.com/article/2171235/servers/arm-servers-with-64-bit-calxeda-chips-to-ship-next-year.html
|
@ -0,0 +1,34 @@
|
||||
French City Toulouse Saved 1 Million Euro With LibreOffice
|
||||
================================================================================
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/07/FRance_LibreOffice.jpg)
|
||||
|
||||
[Toulouse][1], France’s 4th largest city located in south-west France, has saved one million Euro by migrating to Open Source office suite [LibreOffice][2].
|
||||
|
||||
Migrating to LibreOffice was one of the key project of city’s new digital policy. The migration started in 2012 after the political decision for the switch was taken in 2011. It took one and a half-year for the migration to complete and as of today, 90% of the desktops (used by around 10,000 people working for the city) run LibreOffice.
|
||||
|
||||
As per the city officials, software licenses for office suite costs around 1.8 million Euro every three years. The migration cost about 800,000 Euro. The city already saved around a million Euro.
|
||||
|
||||
It all started after Pierre Cohen was elected as the mayor of Toulouse in 2008. Cohen, an IT professional, started working on a digital policy with special focus on Open Source. It was his and his associate Erwane Monthubert’s efforts that city of Toulouse decided to switch to Open Source in 2011.
|
||||
|
||||
It’s not just LibreOffice. Most of the official web portals of Toulouse like toulouse.fr, toulouse-metropole.fr, data.grandtoulouse.fr are supported by free software. Alfresco is the choice for collaborative tools.
|
||||
|
||||
Switching to Open Source seems to be a trend in European cities. In neighboring Spain Valencia and [Canary Islands ditched Microsoft Office and saved in millions][3]. [French Metropolitan Police developed its own Linux OS][4] based on Ubuntu. List is endless and I hope my current city, Cote de Azur joins this list soon.
|
||||
|
||||
Read full report [here][5].
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://itsfoss.com/french-city-toulouse-saved-1-million-euro-libreoffice/
|
||||
|
||||
作者:[Abhishek][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://itsfoss.com/author/Abhishek/
|
||||
[1]:http://en.wikipedia.org/wiki/Toulouse
|
||||
[2]:http://www.libreoffice.org/
|
||||
[3]:http://itsfoss.com/canary-islands-saves-700000-euro-open-source/
|
||||
[4]:http://itsfoss.com/french-national-police-switch-37000-desktops-to-linux/
|
||||
[5]:https://joinup.ec.europa.eu/elibrary/case/toulouse-saves-1-million-euro-libreoffice
|
@ -0,0 +1,57 @@
|
||||
Open-Source Media Center ‘XBMC’ Announces New Name
|
||||
================================================================================
|
||||
![Beginnings: the project began life as an Xbox video player](http://www.omgubuntu.co.uk/wp-content/uploads/2014/06/89ee51bbc7feb9d64b00913bdfe703c4.png)
|
||||
Beginnings: the project began life as an Xbox video player
|
||||
|
||||
**One of the most popular open-source media center applications that’s available on Linux (and other platforms) is getting a new name.**
|
||||
|
||||
XBMC is no more; as of the next major release, version 14, the project will be known as ‘Kodi’.
|
||||
|
||||
The community project was created back in 2002 as a means to play digital media on the original Xbox console. Since then the project has, by and large, always used a variation of its Xbox-branded roots. Early releases were titled ‘**Xbox Media Player**’, later changed to ‘**Xbox Media Center**’ to represent the growing feature set. After being ported to run on more than just Microsoft’s game console, the project settled on the acronym ‘XBMC’ in 2008.
|
||||
|
||||
Or ‘XMBC’ as I would repeatedly type it as during the early days of this site.
|
||||
|
||||
Why the change of name? Why now? And what does ‘Kodi’ mean, if anything?
|
||||
|
||||
> ‘The software only barely runs on the original Xbox…’
|
||||
|
||||
“*The software only barely runs on the original Xbox, and then only because some clever developers are still hacking on that platform. It has never run on the Xbox 360 or Xbox One,*” explains project manager **Nathan Betzen** on the XBMC blog.
|
||||
|
||||
And with the software now far more featured than ever before, with a diverse market of add-ons, gaming features and streaming support, it’s more encompassing than ‘*a simple Media Center.*’
|
||||
|
||||
For this reason, Betzen concludes, “**XB**” and “**MC**” simply don’t make a whole lot of sense any more.”
|
||||
|
||||
Justifiably to XBMC faithful, the name change also **nixes a number of long standing legal problems** facing the project. “*[We] never had any sort of legal control over the use of its name…*” Betzen notes, adding that the XBMC Foundation, set up in 2009 to better aid and manage development, operated under ‘potential legal threat from other companies’ owning similar trademarks.
|
||||
|
||||
### And so, Kodi ###
|
||||
|
||||
![The (temporary) new logo](http://www.omgubuntu.co.uk/wp-content/uploads/2014/08/kodi-logo.jpg)
|
||||
The (temporary) new logo
|
||||
|
||||
As of the upcoming release of XBMC 14 the project will formally transition over to the new name of ‘Kodi’. It doesn’t appear to have any specific meaning other than sounding quite cool.
|
||||
|
||||
Migration won’t be easy, and XMBC/Kodi developers have a lot of handwork ahead; code has to be adjusted to use the new title throughout, and this has to be tested and double-checked on every platform it supports. Websites, contracts and artwork have to be changed, as will e-mail addresses, developer accounts and more.
|
||||
|
||||
“But,” Betzen concludes, “we believe that with your support and the support of the whole community, Kodi, the media center or entertainment platform or whatever you choose to call it that we’ve all come to love will be even stronger than it was before.”
|
||||
|
||||
Quite right. For the full musings on the moniker migration you can mosey on over to the official website, linked to below.
|
||||
|
||||
- [‘Introducing Kodi 14′ (Official Announcement Post)][1]
|
||||
|
||||
To take the current stable release of the entertainment centre for a whirl you’ll need to add the official project PPA to your software sources.
|
||||
|
||||
- [XBMC Team PPA on Launchpad][2]
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.omgubuntu.co.uk/2014/08/xbmc-renamed-lodi-starting-version-14
|
||||
|
||||
作者:[Joey-Elijah Sneddon][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:https://plus.google.com/117485690627814051450/?rel=author
|
||||
[1]:http://xbmc.org/introducing-kodi-14/
|
||||
[2]:https://launchpad.net/~team-xbmc/+archive/ppa
|
@ -1,126 +0,0 @@
|
||||
Four Awesome Free Alternatives to Ubuntu One Cloud Storage
|
||||
================================================================================
|
||||
![](http://www.omgubuntu.co.uk/wp-content/uploads/2014/04/ass.jpg)
|
||||
|
||||
Be honest: news that [Canonical is shuttering its Ubuntu One cloud storage service][1] came as a shock, right?
|
||||
|
||||
After four years of serving each and every Ubuntu user with a few gigabytes of free space in which to store their documents, music and photos, Canonical have decided to close it down. The service will cease operating as normal from June, and all files will be deleted permanently this July.
|
||||
|
||||
While the reasons behind its closure make sense for the company in lieu of it broader ambitions elsewhere, there’s no getting away from the fact that if you used it daily, you’re going to be left a little peeved.
|
||||
|
||||
> ‘…there is an army of alternatives able to pick up where Ubuntu One has left off’
|
||||
|
||||
Thankfully there is an army of alternatives able to pick up where Ubuntu One has left off. Most, if not all, offer more space, better features and are generally more reliable than Canonical’s aged offering. In fact, it seems like everyone and their pet cat now offers free cloud storage.
|
||||
|
||||
It’s partly because of the fierce competition between these services, what CEO Jane Silber refers to as the “free storage wars”, that the Ubuntu One offering wasn’t able to find its footing.
|
||||
|
||||
But the promise of some free space and a means of syncing to it through the desktop does not mean they’re all equal, or worthy of entrusting with your data. Which alternatives are worth pursuing? Let’s take a look.
|
||||
|
||||
![Dropbox Indicator on Ubuntu – Comes In Handy](http://www.omgubuntu.co.uk/wp-content/uploads/2014/04/Screen-Shot-2014-04-03-at-23.28.26.png)
|
||||
Dropbox Indicator on Ubuntu – Comes In Handy
|
||||
|
||||
### Dropbox ###
|
||||
|
||||
#### Best all rounder ####
|
||||
|
||||
Who hasn’t heard of Dropbox? As the granddaddy of cloud storage, it was the first service to both popularise and implement desktop-to-server syncing in a way that felt productive and not cumbersome.
|
||||
|
||||
Its success was buoyed by a generous referral scheme offering you extra space for signing others up, and extensive cross-platform support. Dropbox makes it easy to hop between devices and OSes and retain access to your files. Other features include public folders that let you share items with other people, regardless of whether they use the service, and near-instantaneous syncing of files as and when they’re changed.
|
||||
|
||||
256-bit AES encryption and two-step verification mean your files are pretty safe and secure.
|
||||
|
||||
For Ubuntu users Dropbox provides a native application that integrates tightly with the default file manager Nautilus. It offers an indicator applet for monitoring, sharing and managing sync; file and folder emblems; and some handy right-click menu options for quick sharing.
|
||||
|
||||
- **2GB** Free Space
|
||||
- Referral Scheme
|
||||
- Paid plans start from $9.99/m for 100GB
|
||||
- **Multi-platform support** (Windows, Mac, iOS, Android, Blackberry & Linux)
|
||||
|
||||
> - [Learn More on the Dropbox Website][2]
|
||||
|
||||
![Insync Integrates Google Drive on Linux](http://www.omgubuntu.co.uk/wp-content/uploads/2012/08/indicator.jpg)
|
||||
Insync Integrates Google Drive on Linux
|
||||
|
||||
### Google Drive ###
|
||||
|
||||
#### Best for space and features ####
|
||||
|
||||
If you use Gmail or Google Docs then you’ll have, at some point or another, interacted with Google Drive. The search giant’s cloud service offers 15GB of free space in which to store your files, folders, photos and the like. These can be accessed from virtually any device with internet access and a fairly recent web browser or through dedicated mobile and desktop apps.
|
||||
|
||||
One of the neat things about Drive is that certain files do not count towards your free space quota; e.g., Google Docs files. Neither do files others have shared with you. Better still, any photos you upload to Google+ that have a resolution less than 2048 x 2048 are also hosted and synced gratis.
|
||||
|
||||
But Drive offers more than just space for your stuff. You also gain tight integration with Google’s own services, like Gmail, Google Docs and Google+.
|
||||
|
||||
While it’s not the easiest alternative to use on Ubuntu owing to a lack of official native support, there are a number of third party tools that allow you to sync your files locally and have all changes made uploaded back. The most popular third part app is InSync. It’s not free (costing a one-off fee of $15 for the basic account) but it is by far the best way to use it.
|
||||
|
||||
- 15GB Free Space
|
||||
- Paid plans start from $2.99/m for 100GB
|
||||
- Official apps for Windows, Mac, iOS and Android
|
||||
- Integrated into Chrome OS
|
||||
- Unofficial applications for Linux
|
||||
|
||||
> - [Learn More on the Google Drive Website][3]
|
||||
|
||||
![Copy running on Ubuntu](http://www.omgubuntu.co.uk/wp-content/uploads/2013/03/copy-indicator.jpg)
|
||||
Copy running on Ubuntu
|
||||
|
||||
### Copy ###
|
||||
|
||||
#### Best for Security Conscious ####
|
||||
|
||||
If popularity was based solely on the number of referral links that are posted in our comments section, then Copy would win the title hands down.
|
||||
|
||||
It may be less well known than other entrants on this list, but Copy, which is run by cloud enterprise giant Barracuda Networks, touts its robust security benefits the loudest.
|
||||
|
||||
Like Dropbox, Copy uses AES 256-bit encryption on all files but, unlike Dropbox, doesn’t not rely on third-party servers as all files are stored on the company’s own servers.
|
||||
|
||||
“With advanced features like secure sharing, source validation, and identity verification, you can breathe easy knowing your content can only be seen by the people you want,” they promise on their website.
|
||||
|
||||
Another of its unique advantages is that shared files and folders can be assigned to a single user so that they don’t count against the data storage limit for other users. Or, if preferred, the load can be shared between parties so that, for example, a 10GB file shared between 4 people would count as 2.5GB/each, rather than, as on Dropbox, 10GB each.
|
||||
|
||||
Google Drive offers something similar in that only the ‘sharer’ of a file has it count against their storage.
|
||||
|
||||
For desktop integration Copy spoil Linux users. The service supports native integration with **Nautilus, Thunar** and **Caja**, including sync folders and right-click options. An indicator applet/system tray item provides further control options, including a handy list of recently changed files.
|
||||
|
||||
- 15GB Free Space
|
||||
- Referral scheme
|
||||
- Paid plans start from $9.99/m for 250GB
|
||||
- Multi-platform support (Windows, Mac, iOS, Android & Linux)
|
||||
|
||||
> - [Learn More on the Copy Website][4]
|
||||
|
||||
![Manage File Sync Yourself](http://www.omgubuntu.co.uk/wp-content/uploads/2014/04/files-tile.jpg)
|
||||
Manage File Sync Yourself
|
||||
|
||||
### ownCloud ###
|
||||
|
||||
#### Best for privacy ####
|
||||
|
||||
If you’d rather not trust your data in other people’s hands but still want the convenience of a “personal cloud”, ownCloud is a free and open source cloud storage platform you can host yourself.
|
||||
|
||||
Like with other cloud storage services, ownCloud lets you sync and share your files across Windows, OS X, Linux, Android, and iOS. It also comes with calendar integration, photo gallery sharing, built-in support for (mounting) additional storage devices/services – e.g., FTP servers, Dropbox and Amazon S3 – and a slew of “apps” that can be added for additional features in the web interface, including a PDF viewer, text editor, and version control.
|
||||
|
||||
Packages are available for a number of distributions, including Ubuntu from 12.04 to 13.10.
|
||||
|
||||
> - [Learn More on the ownCloud Website][5]
|
||||
|
||||
Chances are some of you reading this will have you own favourite, so don’t take the four picks above as set in stone. Other options worth exploring before committing include [SpiderOak][6], Microsoft [OneDrive][7] and [Box][8].
|
||||
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.omgubuntu.co.uk/2014/04/three-alternatives-ubuntu-one
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:http://www.omgubuntu.co.uk/2014/04/canonical-axe-ubuntu-one-file-music-services-grab-data-now
|
||||
[2]:http://dropbox.com/
|
||||
[3]:http://drive.google.com/
|
||||
[4]:https://www.copy.com/home/
|
||||
[5]:http://owncloud.org/
|
||||
[6]:https://spideroak.com/
|
||||
[7]:https://onedrive.live.com/
|
||||
[8]:https://www.box.com/
|
@ -1,178 +0,0 @@
|
||||
Raspberry Pi In Schools
|
||||
================================================================================
|
||||
> Teaching the world to code is a noble goal, but how is it going to work in practice?
|
||||
|
||||
Two years ago, when the Raspberry Pi launched, it was with the intention of improving IT education in the UK. Since then more powerful, better connected or cheaper boards have come onto the market, but the Pi retains its position as the white knight of ICT teaching.
|
||||
|
||||
Why? Because of the community of users that has grown up around it. To find out more we travelled west to Manchester, venue for the second annual Jamboree – a festival of educators, makers and messer-abouters focussed on highlighting how engaging the Pi can be. There, we met 75% of the Raspberry Pi Foundation’s education team – Ben Nuttall, Clive Beale and Carrie Anne Philbin – to discuss IT teaching in the UK.
|
||||
|
||||
![](http://www.linuxvoice.com/wp-content/uploads/pi-top-img-4.jpg)
|
||||
|
||||
**LV**: So, Raspberry Pi education team, we were saying earlier that the obvious place to start is with the UK government’s Year of Code initiative, but that seems far too negative to being with!
|
||||
|
||||
**Carrie Anne**: Yeah, but there’s so much to say about it!
|
||||
|
||||
**Clive**: I think it’s a fantastic initiative, which just represents everything we stand for, blah, blah, blah, blah, blah!
|
||||
|
||||
**LV**: Should we just leave that then?
|
||||
|
||||
**Clive**: I mean the main issue is how the media portray computing, which is a brilliant, creative, rigorous, hard, challenging, fun thing, to just reduced to ‘this code’. ‘We must learn to code.’ ‘You better learn code or you’re a rubbish teacher.’ Which of course is not the case at all, it’s so much more than that. And so the teachers are running around now thinking the sky’s falling because they think that by September 2014, if they can’t code, then they’ve failed and they’ll think their kids have failed, and it’s a really bad message. There hasn’t been a simple message to say this is not the case, get out into the playground with some chalk and make a maze and do some computing, to teach them how to use a computer. No politician has stepped in to say this is not the case and they haven’t asked teachers who would tell them this isn’t the case. And that’s the problem. Where are the teachers? Where are the people that are actually teaching?
|
||||
|
||||
**LV**: As you’ve just left teaching to join the Raspberry Pi Foundation, what are your thought Carrie Anne?
|
||||
|
||||
**Carrie Anne**: It feels like a lot longer than two months, it feels like an eternity!
|
||||
|
||||
**Clive**: Is that bad?
|
||||
|
||||
**Carrie Anne**: No no, not at all! Because teachings so fast paced in that you’re seeing the results of what you’re doing in class straight away, whereas being out of the classroom for the past two months and working the Foundation, I can’t actually see the impact I’m having, but obviously people are talking to me and saying I am having an impact. It’s just very different to what I was seeing before. Clive always said there’s a massive difference between teaching and being a teacher. There are a lot of people we talk to who run Raspberry Jams, workshops, CoderDoJos and that kind of thing, and they always say ‘Oh, it’s really easy, you just do this, this and this.’ And it’s like, great, but you’ve got kids coming to you that *want* to learn this stuff. Imagine a class where you’ve got a bunch of kids who aren’t interested or engaged by this subject and actually teaching is much harder…
|
||||
|
||||
**Clive**: Maybe 15 year olds on a Friday afternoon…
|
||||
|
||||
**Carrie Anne**: Yes, a six-period day, end of the week…
|
||||
|
||||
**Clive**: Ofsted saying, ‘Why haven’t your kids developed after 20 minutes in your lesson? Why haven’t they progressed?’. It’s very different.
|
||||
|
||||
**Carrie Anne**: It’s very different, yep.
|
||||
|
||||
**LV**: So you have some idea of how things should be done because of your recent experience?
|
||||
|
||||
**Carrie Anne**: Yes.
|
||||
|
||||
> The Raspberry Jams have done an excellent job of bringing people together from all walks of life
|
||||
|
||||
**LV**: Are we, in general as a society, doing the right things?
|
||||
|
||||
**Carrie Anne**: I think so. I think what’s been really nice about the Raspberry Pi community is that is gives back to the community. So there are experts, there are people who love what they do, who are reaching out to teachers and reaching out to children by running workshops and clubs and things. And it’s actually that collaboration that produces the best materials and produces the best way to move forward with the new curriculum. I mean, the work I did as a teacher producing the Sonic Pi was a team of work. That was because I worked with, yes an academic, but he was an expert. He wanted to develop a teaching environment that I could use with my students to teach tech-based programing in a fun and engaging way, that engaged both genders and engaged both low ability students and high ability students. It’s a tech-based programming language, which is important at Key Stage 3 where you need to not just be able to teach Scratch, you need to teach a tech-based language that’s nice bridge between Starch and something like Python, which we can teach later on. So, yeah, I think we are moving in the right direction. It would be nicer if the powers that be…
|
||||
|
||||
**Clive**: It would be nice to see that as a microcosm of how these things actually happen. So as an academic has a brilliant idea and they’re very good at what they do, and then they come to a teacher and say ‘How can we make this useful in the classroom?’, ‘How can we get assessment in there?’, which schools needs frankly, ‘How do we make it robust?’, ‘How can we test it?’. And isn’t that a weird idea, to actually ask the people that teach how we should do that? It hasn’t happened really. But, yes, as Carrie says, we’re going in the right direction, certainly. The community and third parties are doing more to push it along.
|
||||
|
||||
**LV**: From someone outside a little bit, it kind of looks like this community has sort of spontaneously developed around the Raspberry Pi. Has this always been there or has it just become more obvious now?
|
||||
|
||||
**Carrie Anne**: I think it’s always been there. I was a teacher so when Raspberry Pi first came out I got one. It got it and then I was like, this is brilliant! Someone’s developed something for education. A Linux box that we can use in the classroom. It’s cheap, it’s brilliant!
|
||||
|
||||
**Clive**: And mess about with.
|
||||
|
||||
**Carrie Anne**: Yeah, it’s going to be great! And then I was like, right, so where are the resources to go with it? Ah, there aren’t any. Then I was like, so where can I go and find some? The first obvious place was Raspberry Jam. There are people running events where they’re doing stuff. So I thought I’ll go along and speak to some people, and see what’s available. And it was through that that I met people to work with, and they’d formed that themselves, the enthusiasts from throughout the community around the Raspberry Pi.
|
||||
|
||||
**Clive**: It’s been a focus, hasn’t it? There’s been a lot of people sort of hanging around, saying ‘Look, I like tinkering, I like messing, I like coding, I like making’, and this thing appeared which was cheap and cheerful and fantastic to play around with, and I think it was a focus. It was waiting to happen really.
|
||||
|
||||
![Carrie Ann Philbin, The Raspberry Pi Foundation’s Education Pioneer](http://www.linuxvoice.com/wp-content/uploads/carrie-ann-1.jpg)
|
||||
Carrie Ann Philbin, The Raspberry Pi Foundation’s Education Pioneer
|
||||
|
||||
**LV**: Was there anything equivalent to Raspberry Jams before the Raspberry Pi came along for people and teachers to come together?
|
||||
|
||||
**Carrie Anne**: Well teachers tend to generally get together through things like TeachMeets and through Twitter, and those kinds of chat tools. There are ways that you can get together, but that’s more talking about teaching practice. Like the different ways you can use a sentence. It’s very teachery, it wasn’t specific to teaching computing.
|
||||
|
||||
**Clive**: I think hardware-wise, Raspberry Pi was in the right place and the right time.
|
||||
|
||||
**Ben**: The Jams done a really good job of bringing people together. The people, like myself, who were attending user groups that are interested in tech and really passionate about it, have got a chance to share that interest with the wider community. There were families coming in, teachers coming in, and they were just sharing what they were doing. And the skills they already had, and I was already programming in Python and things like that just on the desktop, and the Pi came along and it opened up this way of plugging into the real world and all the other things the Pi brings with it. Just being about to use those skills and pass them on, I got myself involved in Education through that.
|
||||
|
||||
**LV**: So you weren’t a teacher before then?
|
||||
|
||||
**Ben**: No, I was a software developer.
|
||||
|
||||
**Carrie Anne**: This is what’s great about the education team at Raspberry Pi. It’s 50% ex-teachers and 50% software developers. We need people like Ben and Dave (Honess).
|
||||
|
||||
**Ben**: Yes, some people have ideas for things and think this could be an engaging exercise, but they may not know exactly how to deliver it, or how it’s going to work. They might not know how exactly a teacher is supposed to produce something to use that, but they have an end goal and working with someone else can help achieve that.
|
||||
|
||||
**Clive**: Yeah, you’re right, the real key is the mix. So you’re getting teachers and engineers and developers and families. Before, they might have been on a Linux user group, they might have been a teacher group, and you’re just bringing a bunch of different people together and that just (to use a horrible word!) synergizes stuff.
|
||||
(Everyone LOL)
|
||||
|
||||
**Clive**: Yes, I did it! I said synergizes! I’m buying a copy of the magazine now.
|
||||
|
||||
**Carrie Anne**: There’s something that comes about from getting all those different types of people together is that it breeds this wonderful learning environment that you cannot reproduce. Like, you were running a Picamera workshop this morning. So that was run by people who run Jams who are from industry. And what was really nice is that there were teachers and there were people who had come for the Jamboree from industry that were helping the teachers do stuff. And there was this environment that was like, it’s ok to not know something, it’s ok to ask a question, it’s ok to get it wrong and make mistakes. And that’s really powerful because sometimes teachers are afraid perhaps of saying they don’t know.
|
||||
|
||||
**Ben**: So at this workshop, we gave people an intro to building a real application around the camera. So it’s not just ‘Oh, there’s a camera and you can take pictures’. It was ‘Ok, let’s plug in a button, and attach that to the Pi and let’s make that be the button for the camera’. And just a simple intro like that opens up a world of possibilities. Sometimes a lot of these things like the Jam, just gives you a lot of inspiration. Or if you see something in a magazine or online, or on Twitter, and you think somebody’s done that with the Pi, I’d really like to do that project in my garden or I’d like to do that myself and twist it and use some of the libraries they’ve used or used some of the codebase they’ve used and take it in their own direction.
|
||||
|
||||
**Clive**: Like it’s not a button, it’s a sensor for when your parents walk into your bedroom, it then tweets it as they walk in.
|
||||
|
||||
**Ben**: And everyone’s got a different way of thinking. If you’re in classroom of 30 kids and you show them how to make a button do this, each of them is thinking ‘Oh I can make a such and such’. They’ll all have a different idea. And some of them will just go straight home and make one. And some of them would need a lot more guidance.
|
||||
|
||||
> Every teacher needs more time off their timetable to develop their skills
|
||||
|
||||
**LV**: Are there some kids that just don’t get it at all?
|
||||
|
||||
**Ben**: I think there’s something for everyone, but they might not find it straight away. If you delivered a term’s worth of content for a class, with a good scope of different projects, I’d be surprised if there was one kid that wasn’t interested in any of it or didn’t find any of it engaging.
|
||||
|
||||
**Clive**: It’s almost an antidote for kids not getting it. With teaching music, you’ll have people that are level 5 or 6 while others can’t read music. Because computing is creative and engaging, we don’t all have to become master coders. With Scratch, it’s a visual language and you’ll find that quite often you’ll get what are classed as low ability kids that just rip into that and do fantastic things because it’s the first time they’ve been allowed to get ideas out of their heads and make something with it. And before, if they’ve had problems with writing and numeracy, they haven’t been able to do that. There are case studies with young boys that aren’t very good at reading and writing but they start telling stories when you give them an environment where they can actually do these things. So it’s brilliant tool to actually fight the opposite. It’s not that they don’t get it. There’s something for everybody.
|
||||
|
||||
![Linux Voice’s Andrew Gregory asks Clive Beale a tough question](http://www.linuxvoice.com/wp-content/uploads/pi-clive-1.jpg)
|
||||
Linux Voice’s Andrew Gregory asks Clive Beale a tough question
|
||||
|
||||
**LV**: Pre-Raspberry Pi, in the dark ages of about 5 years ago, before the ICT revolution, what would those children be doing? Would they have responded to ICT at all?
|
||||
|
||||
**Carrie Anne**: In a classroom, you have a network of computers that are all on lockdown. You’ve got your network administrator and team of technicians, and they do a wonderful job and I certainly wouldn’t slate them – I was a technician once. But we were living in a time where you had to lock down the internet, which I disagree with, I think it should be open. And all the computers, you can’t execute any files on them, so you can’t actually teach any programming on them. So that was a problem for me.
|
||||
|
||||
**LV**: Is that changing?
|
||||
|
||||
**Carrie Anne**: I think it is changing, and will change with the new curriculum. For me as a teacher, what was great when the Raspberry Pi came along is that I don’t actually need those computers around the outside any more.
|
||||
|
||||
**LV**: So you don’t need permission.
|
||||
|
||||
**Carrie Anne**: Here’s my box full of Pis, let’s just get them out.
|
||||
|
||||
**Clive**: I’ll install what you want, do what I want.
|
||||
|
||||
**Carrie Anne**: Yeah, you can break it. And that’s ok, you just flash it and start again.
|
||||
|
||||
**Clive**: In 1997, they put the C back in ICT and suddenly it became this thing that you had to teach. The curriculum wasn’t really that bad. A lot of people moan about it, but if you actually sat down and read it, it was quite flexible and did let you do take control and make programming and coding interesting. But because resources are so important to schools, you just ended up doing the easy things.
|
||||
|
||||
**LV**: But when you said about kids using Scratch and becoming motivated to do other things, that would never have happened before the Raspberry Pi came along.
|
||||
|
||||
**Clive**: Yes, it was more just following what the teacher said, ‘And now we’re going to write a letter to the cinema’ or something. That’s like giving someone a Ferrari and saying you’ve just got to drive in this room for half an hour. So you’ve given them this fantastic tool for exploration and creativity, and you’re saying we’ve got to do this. Whereas with the computing thing, especially things like Scratch, just lets them think, ‘Ok, I can do a movie, I can do a little flip frame animation, or you know what, I can actually make a game’. And then suddenly they’re doing stuff that they haven’t had the opportunity to do.
|
||||
|
||||
**Carrie Anne**: Yeah, and I think that ICT curriculum was about 12 years out of date. It was created and it wasn’t updated.
|
||||
|
||||
> you can break it. And that’s ok, you just flash it and start again
|
||||
|
||||
**LV**: Obviously quite a lot has changed in computing education according to the media over the last couple of years in the UK. Broadly speaking, it is getting better?
|
||||
|
||||
**Carrie Anne**: Yes.
|
||||
|
||||
**LV**: What are the parts that pushed it to be better.
|
||||
|
||||
**Carrie Anne**: I think the teachers. They’re the ones in the classroom that have to teach the curriculum. When I became a teacher, I was already working in a school and I kept putting it off becoming a teacher because the curriculum bored me. But then I realised that, when I actually got into the classroom, I was able to put my own spin on it. I think it started with the teachers. Those people saying we want a new curriculum, we want to teach this and it’s engaging the kids and they’re learning something. I think it started there and then I think industry picked up on the fact that that was happening and they wanted more industry experts. And then the government got involved and it snowballed really.
|
||||
|
||||
**Clive**: Scratch was a big word-of-mouth thing wasn’t it. It was about mid-2000 when it came out, and suddenly you just found that any teacher worth their salt was using it for their ICT curriculum because it taught about control.
|
||||
|
||||
**Carrie Anne**: HTML as well. HTML has been on the curriculum for years. We’ve been teaching HTML in Notepad for years.
|
||||
|
||||
**LV**: What are going to be the big things pushing it forward over the next few years?
|
||||
|
||||
**Carrie Anne**: I think more of the same really. It’ll be teachers, it’s always the teachers. They’re the ones that come to the Jamboree and this kind of thing, and learn from people like Ben and that sort of collaboration. That’s where it starts. The teachers see what can be done, and they start doing it, and they’ll be more of that. And there are initiatives like code clubs and the Master Teachers are great.
|
||||
|
||||
**Clive**: Teachers are meeting up more when before may not have been getting together.
|
||||
|
||||
**Ben**: And as well as there being a more content, I think they’ll be convergence of a lot of this stuff. So, because the Raspberry Pi doesn’t have any official resources right now, some people are going off and writing their own. I think they’ll be a convergence of people pulling their ideas together and there’ll be a more centralised system for that. And we’ll be helping the community out with that.
|
||||
|
||||
**Clive**: ‘We’ll be at the forefront of that’, is that quote!
|
||||
|
||||
**LV**: You haven’t mentioned government policy, or anything like that at all. Is that a negative thing or just by-the-by?
|
||||
|
||||
**Clive**: I was at the Westminster forum yesterday and they had a chap from the DFE there, and I couldn’t resist it, so I got the mic and said you haven’t really taken it seriously have you? He turned round and said, we have *really* take it seriously. This idea that we can just bring in a new program of study and saying ‘Oh, aren’t we wonderful’, because Eric Schmidt’s speech and going over that, and suddenly we’re made it all better for you. But you haven’t, you just seemed to have done something that a lot of teachers are now scared of. So there’s a lot of work to do, and we’re really positive. But no, the government have not, in my personal opinion, given the money or the support or the thought behind this. If you go to Jersey, it’s such a great contrast. 6 million pounds, 100 thousand people on the island – the size of Cambridge. Compared to the 53 million in England and parts of the UK. This is in England initially, it’s not in Scotland and Wales. They’re got the infrasture, fibre to the door in every school, linking into businesses, £2 million CPD for teachers, well that’s practically what the government pay for the whole of England. So, have you taken it seriously, no. I think they’ve completing underestimated what’s involved. They thought the teachers would just pick it up and have the time and resources, which we don’t have the time for.
|
||||
|
||||
**Carrie Anne**: Maggie Philbin has been leading a UK digital skills taskforce, of which I’m part the team. We’re looking at where the skill shortages are and what are digital skills. Because there’s going to a whole group of kids who are now 14 to 16 who are going to leave the education system who haven’t had new programs like these. They were on the old program, so we’re looking at who will be deskilled and what we can do about that. So hopefully that report will inform government policy.
|
||||
|
||||
**Ben**: There must be a generation of people that don’t have their own website.
|
||||
|
||||
**LV**: If there’s one thing you could change about government policy, what would it be?
|
||||
|
||||
**Clive**: It really is to do with support for teachers. This idea that teachers would be able to, especially primary school teachers where you have to teach a range of subjects, suddenly go off, and even the guy yesterday said, well there’s loads of third party resources, but you’ve still got to go out and get them and try them out and learn and bring them all together.
|
||||
|
||||
**Carrie Anne**: Time. One of the biggest recommendations that I would say is time. Every teacher needs more time off their timetable to develop their skills, especially in an area like this that they perhaps think they’re weak. Because it takes a while to set things up and start your learning. As a teacher, you get like a 30 period timetable, you’re teaching for about 22 lessons of that with about 7 free periods, but some of those you’ll be covering for another lesson and some of those I need to plan my lesson and mark. They need time.
|
||||
|
||||
**Clive**: If you look at science, so if you’re a chemistry or biology teacher at secondary, there’s a scheme where you can re-skill to physics and they will give you free periods, huge bursary, and they’ll also take you off timetable one day a week to go off and go to other schools and retrain, and maybe pay for the cover. And this is the government doing this, and if you do this, this and this, you come out as an accredited physics teacher. So they took that seriously, but yet here’s a brand new subject and they’re expecting people just to pick up and run with it, and it’s completely inadequate.
|
||||
|
||||
**Carrie Anne**: But it’s not just time to learn something, it’s also time to go and meet industry people. Like go to a company and be in there and work and learn from them, and see what the world is like. Because some people, they went through education, went to university and became a teacher, so they’ve never left this school environment and they’ve got no idea of what the world of work is like.
|
||||
|
||||
**Ben**: I think there are some people in the current government that seem to think there should just be this package, and this is what you should deliver as your syllabus this year. Everyone is treated the same. Each teacher has their own class, and they’re all different, with different ways of engaging their interest. It needs to be tailored, so the teacher needs to take that material, and perhaps look on our site in the next year and say, well this one looks quite suitable for my class, or this one might be a good one to do.
|
||||
|
||||
**Clive**: It’s so long term. The government also do not understand that this is long term. So if you’re going to start teaching at 5 about algorithms and a bit of code and Scratch, what happens further down the line. The secondary school teacher will be saying, I can’t teach them Scratch anymore, which is what we do in Year 7 at the moment. So it’s actually quite a long term thing and things will continue to change over the next several years until that pipeline becomes full. And they’ve unbelievably said here’s £2 million, do some training for September 2014. What’s 2014 got to do with it? This is five, six, seven years down the line.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.linuxvoice.com/education-education-education/
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
@ -1,49 +0,0 @@
|
||||
Translating by toknow-gh Out in the Open: The Little-Known Open Source OS That Rules the Internet of Things
|
||||
================================================================================
|
||||
![](http://www.wired.com/wp-content/uploads/2014/06/Contiki-ipv6-rpl-cooja-simulation.png)
|
||||
Image: Adnk/[Wikipedia][1]
|
||||
|
||||
You can connect almost anything to a computer network. Light bulbs. Thermostats. Coffee makers. Even badgers. Yes, badgers.
|
||||
|
||||
Badgers spend a lot of time underground, which make it difficult for biologists and zoologists to track their whereabouts and activities. GPS, for example, doesn’t work well underground or in enclosed areas. But about five years ago, University of Oxford researchers Andrew Markham and Niki Trigoni [solved that problem][2] by inventing a wireless tracking system that can work underground. Their system is clever, but they didn’t do it alone. Like many other scientists, they turned to open source to avoid having to rebuild fundamental components from scratch. One building block they used is an open source operating system called [Contiki][3].
|
||||
|
||||
“Contiki was a real enabler as it allowed us to do rapid prototyping and easily shift between different hardware platforms,” says Markham, now an associate professor at the University of Oxford.
|
||||
|
||||
Contiki isn’t nearly so well-known as Windows or OS X or even Linux, but for more than a decade, it has been the go-to operating system for hackers, academics, and companies building network-connected devices like sensors, trackers, and web-based automation systems. Developers love it because it’s lightweight, it’s free, and it’s mature. It provides a foundation for developers and entrepreneurs eager to bring us all the internet-connected gadgets the internet of things promises, without having to develop the underlying operating system those gadgets will need.
|
||||
|
||||
Perhaps the biggest thing Contiki has going for it is that it’s small. Really small. While Linux requires one megabyte of RAM, Contiki needs just a few kilobytes to run. Its inventor, Adam Dunkels, has managed to fit an entire operating system, including a graphical user interface, networking software, and a web browser into less than 30 kilobytes of space. That makes it much easier to run on small, low powered chips–exactly the sort of things used for connected devices–but it’s also been ported to many older systems like the Apple IIe and the Commodore 64.
|
||||
|
||||
![Adam Dunkels. Photo: Sara Arnald](http://www.wired.com/wp-content/uploads/2014/06/Adam_Dunkels.jpg)
|
||||
Adam Dunkels. Photo: Sara Arnald
|
||||
|
||||
Contiki will soon face competition from the likes of Microsoft, which recently [announced Windows for the Internet of Things][4]. But while Microsoft’s new operating system will be free for devices less than 9 inches in size, it won’t be open source. And Contiki has an 11-year head start.
|
||||
|
||||
Contiki started in 2003, but its roots stretch to Dunkels’ days as a computer science student at Mälardalen University in Sweden. In 2000, he was working on a project to use wireless sensors to track hockey players’ vital signs and display them on a screen the crowd could see. “We convinced them to have this thing up their nose so we could measure their breathing rates,” Dunkels recalls.
|
||||
|
||||
To make the sensors work correctly, Dunkels had to write software would enable them to interact with a computer network. He called the resulting code [LwIP][5], for “light weight internet protocol.” Although LwIP is still used in many microcontrollers and other products today, Dunkels decided it wasn’t quite lightweight enough. In 2003, he created microIP, which evolved into Contiki. The OS was an immediate hit with researchers and hobbyists, and has in recent years attracted commercial users including [Rad-DX][6] radiation detection devices and [Zolertia][7] noise monitoring system.
|
||||
|
||||
While Nest, the web connected thermostat company [Google acquired for $3.2 billion][8] in January, has come to define the Internet of Things, Dunkels notes that many companies have been using network-connected devices for years in applications including industrial and building automation. “With something like CES you see all the consumer stuff, but there are just so many different aspects of this,” Dunkel says.
|
||||
|
||||
But consumer technology companies are beginning to embrace Contiki as well. The [LiFX][9] “smart light bulb” is using the operating system, for example, as is the Nest competitor [Tado][10].
|
||||
|
||||
To help support the burgeoning commercial usage of Contiki, Dunkels left his job as a professor at the Swedish Institute of Computer Science and founded [Thingsquare][11], a startup focused on providing a cloud-based back-end for Contiki devices. The idea is to make it easy for developers to connect their hardware devices with smartphones and the web. Thingsquare manages the servers, and provides all the software necessary to manage a device over the web.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.wired.com/2014/06/contiki/
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:http://en.wikipedia.org/wiki/File:Contiki-ipv6-rpl-cooja-simulation.png
|
||||
[2]:http://www.cs.ox.ac.uk/projects/WILDSENSING/
|
||||
[3]:http://www.contiki-os.org/
|
||||
[4]:http://www.wired.com/2014/04/free-windows/
|
||||
[5]:https://savannah.nongnu.org/projects/lwip/
|
||||
[6]:http://www.dtectsystems.com/rad-DX_page.html
|
||||
[7]:http://zolertia.com/home
|
||||
[8]:http://www.wired.com/2014/01/googles-3-billion-nest-buy-finally-make-internet-things-real-us/
|
||||
[9]:http://lifx.co/
|
||||
[10]:http://www.tado.com/de-en/
|
||||
[11]:http://www.thingsquare.com/
|
@ -1,39 +0,0 @@
|
||||
GitHub redesigns its Windows app to put your work front and center, adds emoji and gif support
|
||||
================================================================================
|
||||
![](http://cdn1.tnwcdn.com/wp-content/blogs.dir/1/files/2012/05/2012-05-21_10h05_58-657x245.jpg)
|
||||
|
||||
GitHub today [released][1] version 2.0 of its Windows app, which it markets as “the easiest way to use Git and GitHub on Windows.” The new version features a more streamlined design, new GitHub local features, and some general speed improvements. You can grab the new version now directly form [windows.github.com][2] (if you already have GitHub for Windows, it will update automatically).
|
||||
|
||||
GitHub released its Windows app back in [May 2012][3], and has made improvements in three minor releases since. Today’s major 2.0 release comes more than two years after the app’s debut, and aims to inject new life into the app.
|
||||
|
||||
GitHub executives told me they saw a major bump in terms of interest for the client with the 1.3 release that was more of an overall increase rather than just a spike associated with new versions. They are naturally hoping for a repeat of this jump with the 2.0 release.
|
||||
|
||||
GitHub 2.0 for Windows is supposed to be simpler and cleaner, and aims to put more focus and the developer and their work. For the sake of comparison, here’s how the previous 1.3 version looked like:
|
||||
|
||||
![](http://cdn1.tnwcdn.com/wp-content/blogs.dir/1/files/2014/06/GitHub-for-Windows-1_3_3-screenshot.png)
|
||||
|
||||
Here is the 2.0 release (the company emphasizes that your work is now ” front and center”):
|
||||
|
||||
![](http://cdn1.tnwcdn.com/wp-content/blogs.dir/1/files/2014/06/GitHub-for-Windows-2.0-screenshot.png)
|
||||
|
||||
Previously, there were two different views available. The company has slimmed that down so developers no longer need to move back and forth between their projects.
|
||||
|
||||
This is largely accomplished by adding a sidebar that reduces the need to navigate through menus and options. In short, your local repositories are always available on the left, plus you can create, clone, and publish repositories without having to navigate to a new screen. Your repositories are also grouped by where they originated from, so work projects (think GitHub Enterprise) are easy to distinguish from personal ones, and you can easily switch between them.
|
||||
|
||||
The new design aside, GitHub for Windows now lets you pick an ignore file template for your project when you create a repository. It also supports including emoji and gifs in your commit messages.
|
||||
|
||||
It’s worth noting that the aforementioned performance improvements should be felt around the app in general. Unfortunately, GitHub wasn’t able to share any benchmarks regarding the speed bumps.
|
||||
|
||||
All in all, this is a big redesign aimed at improving the user experience. GitHub executives tell TNW the new design language aims is a “GitHub Metro style” that takes the “best parts of Metro as well as Android and iOS.” Whether or not that’s a good thing will likely come down to personal preference.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://thenextweb.com/dd/2014/06/09/github-redesigns-windows-app-put-work-front-center-adds-emoji-gif-support/?tnw_rfl=tw
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:https://github.com/blog/1844-say-hello-to-github-for-windows-2-0
|
||||
[2]:http://windows.github.com/
|
||||
[3]:http://thenextweb.com/apps/2012/05/21/github-releases-its-windows-app-at-last/
|
@ -1,3 +1,5 @@
|
||||
[translated by blueabysm]
|
||||
|
||||
Linux System Administration Skills are Changing
|
||||
================================================================================
|
||||
When was the last time you compiled a kernel? For many of the latest generation of Linux admins, the answer is really simple: never. I am one of those, provided we don't count a few times I tried it just for fun, then couldn't see why I would need a custom kernel and went back to my out-of-the-box kernel.
|
||||
@ -47,4 +49,4 @@ via: http://www.linux.com/news/enterprise/systems-management/780956-linux-system
|
||||
[1]:http://olindata.com/
|
||||
[2]:http://puppetlabs.com/
|
||||
[3]:http://jenkins.org/
|
||||
[4]:http://www.olindata.com/training/upcoming?technology=295
|
||||
[4]:http://www.olindata.com/training/upcoming?technology=295
|
||||
|
@ -1,45 +0,0 @@
|
||||
diff -u: What's New in Kernel Development
|
||||
================================================================================
|
||||
Once in a while someone points out a POSIX violation in Linux. Often the answer is to fix the violation, but sometimes Linus Torvalds decides that the POSIX behavior is broken, in which case they keep the Linux behavior, but they might build an additional POSIX compatibility layer, even if that layer is slower and less efficient.
|
||||
|
||||
This time, *Michael Kerrisk* reported a POSIX violation that affected file operations. Apparently, reading and writing to files during multithreaded operations could hit race conditions and overwrite each other's changes.
|
||||
|
||||
There was some discussion over whether this was really a violation of POSIX, but ultimately, who cares? Data clobbering is bad. After Michael posted some code to reproduce the problem, the conversation focused on what to do to fix it. But Michael did make an argument that "Linux isn't consistent with UNIX since early times. (E.g., page 191 of the 1992 edition of Stevens APUE discusses the sharing of the file offset between the parent and child after fork(). Although Stevens didn't explicitly spell out the atomicity guarantee, the discussion there would be a bit nonsensical without the presumption of that guarantee.)"
|
||||
|
||||
Al Viro joined Linus in trying to come up with a fix. Linus tried introducing a simple mutex to lock files so that write operations couldn't clobber each other, and Al offered his own refinements that improved on Linus' patch.
|
||||
|
||||
At one point, Linus explained the history of the bug itself. Apparently, once upon a time the file pointer, which told the system where to write into the file, had been locked in a semaphore so only one process could do anything to it at a time. But, they took it out of the semaphore in order to accommodate device files and other non-regular files that ran into race conditions when users were barred from writing to them whenever they pleased.
|
||||
|
||||
That was what introduced the bug. At the time, it slipped through undetected, because that actual reading and writing to regular files was still handled atomically by the kernel. It was only the file pointer itself that could get out of sync. And, because high-speed threaded file operations are a pretty rare need, it took a long time for anyone to run into the problem and report it.
|
||||
|
||||
An interesting little detail is that, while Linus and Al were hunting for a fix, Al at one point complained that the approach Linus was taking wouldn't support certain architectures, including *ARM* and *PowerPC*. Linus' response was, "I doubt it's worth caring about. [...] If the ARM/PPC people end up caring, they could add the struct-return support to gcc."
|
||||
|
||||
It's always interesting to see how corner cases crop up and get dealt with. In some cases, part of the fix has to happen in the kernel, part in GCC and part elsewhere. In this particular instance, Al felt the whole thing could be done in the kernel, and he was inspired to write his own version of the patch, which Linus accepted.
|
||||
|
||||
*Andi Kleen* wanted to add low-level CPU event support to *perf*. The problem was that there could be tons of low-level events, and it varied widely from CPU to CPU. Even storing the possible events in memory for all CPUs would significantly increase the kernel's running size. So, hard-coding this information into the kernel would be problematic.
|
||||
|
||||
He pointed out that the *OProfile* tool relied on publicly available lists of these events, though he said the OProfile developers didn't always keep their lists up to date with the latest available versions.
|
||||
|
||||
To solve these issues, Andi submitted a patch that allowed perf to identify which event-list was needed for the particular CPU on the given system, and automatically download the latest version of that list from its home location. Then perf could interpret the list and analyze the events, without overburdening the kernel.
|
||||
|
||||
There was various feedback to Andi's code, mostly to do with which directory should house the event-lists, and what the filenames should be called. The behavior of the code itself seemed to get a good reception. One detail that may turn out to be more controversial than the others was Andi's decision to download the lists to a subdirectory of the user's own home directory. Andi said that otherwise users might be encouraged to download the event-lists as the root user, which would be bad security practice.
|
||||
|
||||
Sasha Levin recently posted a script to translate the *hexadecimal offsets *from stack dumps into meaningful line numbers that pointed into the kernel's source files. So something like "ffffffff811f0ec8" might be translated into "fs/proc/generic.c:445".
|
||||
|
||||
However, it turned out that Linus Torvalds was planning to remove the hex offsets from the stack dumps for exactly the reason that they were unreadable. So Sasha's code was about to go out of date.
|
||||
|
||||
They went back and forth a bit on it. At first Sasha decided to rely on data stored in the System.map file to compensate, but Linus pointed out that some people, including him, didn't keep their System.map file around. Linus recommended using /usr/bin/nm to extract the symbols from the compiled kernel files.
|
||||
|
||||
So, it seems as though Sasha's script may actually provide meaningful file and line numbers for debugging stack dumps, assuming the stack dumps provide enough information to do the calculations.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.linuxjournal.com/content/diff-u-whats-new-kernel-development-0
|
||||
|
||||
原文作者:[Zack Brown][a]
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://www.linuxjournal.com/user/801501
|
486
sources/talk/20140731 Top 10 Free Linux Games.md
Normal file
486
sources/talk/20140731 Top 10 Free Linux Games.md
Normal file
@ -0,0 +1,486 @@
|
||||
Top 10 Free Linux Games
|
||||
================================================================================
|
||||
If the term “Can I game on it?” has been bothering you while thinking to switch on Linux from Windows platform, then here is an answer for that – “Go for it!”. Thanks to the Open source community who has been consistently developing different genre games for Linux OS and the online content distribution platform – Steam, there is no dearth of good commercial games which are as fun to play on Linux as on its other counterparts (like Windows).
|
||||
|
||||
We present to you the list of 10 best free games for Linux for this year which have been selected based on their popularity, their free-to-play title, and easy installation.
|
||||
|
||||
**NOTE** – Interested in First Person Shooter games, read our article on [10 popular first person shooter Linux games][1].
|
||||
|
||||
### 1. Team Fortress 2 ###
|
||||
|
||||
![](http://mylinuxbook.com/wp-content/uploads/2014/07/Team-fortress-2.jpg)
|
||||
|
||||
Team Fortress 2 is a team-based first-person shooter multiplayer video game developed by Valve Corporation, and is a sequel to the original 1996 Quake modification, Team Fortress. The game was first released on October 10, 2007 for Windows and the Xbox 360, and was later released as a standalone package for Linux on February 14, 2013. The game was announced in 1998, and was initially powered by Valve’s GoldSrc engine but the launch was much delayed due to updates in its design during its 9 years long development cycle. The game became a free-to-play title on June 23, 2011.
|
||||
|
||||
It has received critical acclaim and many awards, mainly due to its artistic direction, balanced gameplay, humour, and graphical style. Unlike other games with ultra-realistic graphics such as Call of Duty, Half-Life franchises, this game’s set up looks like cartoons brought to life.
|
||||
|
||||
**Gameplay**: Like the original game, Team Fortress 2 is set around 2 opposing teams; RED (Reliable Excavation & Demolition) and BLU (Builders League United), both competing for a combat-based primary objective.
|
||||
Players can opt out of 9 character classes namely, Scout, Soldier, Pyro, Demoman, Heavy, Engineer, Medic, Sniper, and Spy, each one with its own unique weapons, strengths and weaknesses.
|
||||
|
||||
#### System Requirements: ####
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td><b>Recommended Requirements</b></td>
|
||||
<td><b>Minimum requirements</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>CPU</b></td>
|
||||
<td>Pentium 4 or Athlon XP or better</td>
|
||||
<td>Pentium 4 or Athlon XP or better</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>CPU Speed</b></td>
|
||||
<td>3.0 GHz processor</td>
|
||||
<td>1.7 GHz</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>RAM</b></td>
|
||||
<td>1 GB</td>
|
||||
<td>512 MB</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>Video Card</b></td>
|
||||
<td>DirectX 9 compatible video card (NVIDIA GeForce 7900+ / ATI Radeon X1900+)</td>
|
||||
<td>DirectX 8.1 compatible video Card (NVIDIA GeForce4+ / ATI Radeon 8500+)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>Sound Card</b></td>
|
||||
<td>Yes</td>
|
||||
<td>Yes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>Free disk space</b></td>
|
||||
<td>5 GB</td>
|
||||
<td>5 GB</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
### 2. Dota 2 ###
|
||||
|
||||
![](http://mylinuxbook.com/wp-content/uploads/2014/07/Dota-2.jpg)
|
||||
|
||||
Dota 2, a sequel to the Defence of the Ancients, is a multiplayer online battle arena video game developed by Valve Corporation. Dota 2 was released as a free-to-play title for Windows on July 9, 2013 and for Linux on July 18, 2013, and is available exclusively through Valve’s online content-distribution platform Steam. The game was applauded by video game critics, who praised it for its pleasing gameplay, improved production quality. Though it was also criticized for its steep learning curve.
|
||||
|
||||
**Gameplay**: A standard match of Dota 2 is independent and involves 2 opposing groups, the Radiant and the Dire, each team having 5 players. Both the teams occupy a stronghold at a corner of the map and located at each stronghold is a building named “Ancient”. In order to win, a team must destroy the opponent’s Ancient. There are 9 game modes and 107 “Heroes” in Dota 2 to choose from. Each player controls a “Hero” character and aims on levelling up, acquiring items, collecting gold, and fighting against enemy team to gain victory.
|
||||
|
||||
#### System Requirements: ####
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td><b>Recommended Requirements</b></td>
|
||||
<td><b>Minimum requirements</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>CPU</strong></td>
|
||||
<td>Intel core 2 duo 2.4GHz</td>
|
||||
<td>Pentium 4 3.0GHz</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>CPU Speed</strong></td>
|
||||
<td>2.4 GHz processor</td>
|
||||
<td>3.0 GHz</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>RAM</strong></td>
|
||||
<td>1 GB</td>
|
||||
<td>1 GB</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Video Card</strong></td>
|
||||
<td>DirectX 9 compatible video card with Shader model 3.0. NVidia 7600, ATI X1600 or better</td>
|
||||
<td>DirectX 9 compatible video card with 128 MB, Shader model 2.0. ATI X800, NVidia 6600 or better</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Sound Card</strong></td>
|
||||
<td>Yes</td>
|
||||
<td>Yes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Free disk space</strong></td>
|
||||
<td>2.5 GB</td>
|
||||
<td>2.5 GB</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
### 3. Urban Terror ###
|
||||
|
||||
![](http://mylinuxbook.com/wp-content/uploads/2014/07/UrbanTerror.jpg)
|
||||
|
||||
Urban Terror, abbreviated as UrT, is a free-to-play multi-player FPS video game developed by FrozenSand. It was released as a free standalone game in 2007 utilizing ioquake3 (a game engine project to act as a clean base package for more advanced graphical and audio features) as an engine.
|
||||
|
||||
The official game motto’s ‘Fun over realism’ is true to its word as it is a well packaged product with simple installation, adequate graphics, low requirements, and a balanced gameplay, which makes it a unique, enjoyable and addictive game. Urban Terror was nominated to the 2007 Mod DB’s Mod of the Year Award.
|
||||
|
||||
**Gameplay**: The game billed as “Hollywood tactical shooter”, blends elements from games such as Quake III Arena, Unreal Tournament, and Counter-Strike. The realism in the mod is introduced through a number of changes like the weapons available are real-life, have recoil, are less accurate if fired while movement, and require reloading when a magazine has been utilized. Damage is also realistic such as wounds require bandaging, leg or feet wounds slow down the player.
|
||||
|
||||
#### System Requirements: ####
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td><strong>Recommended Requirements</strong></td>
|
||||
<td><strong>Minimum requirements</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>CPU</strong></td>
|
||||
<td>Pentium 4 1.2 GHz or higher</td>
|
||||
<td>Pentium 4 1.2 GHz</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>CPU Speed</strong></td>
|
||||
<td>1.2 GHz</td>
|
||||
<td>1.2 GHz</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>RAM</strong></td>
|
||||
<td>512 MB</td>
|
||||
<td>256 MB</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Video Card</strong></td>
|
||||
<td> NVidia or ATI card with 256MB or more</td>
|
||||
<td> NVidia or ATI card with 128MB RAM</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>HDD</strong></td>
|
||||
<td>50 GB or more</td>
|
||||
<td>50 GB</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
### 4. Alien Arena 2008 ###
|
||||
|
||||
![](http://mylinuxbook.com/wp-content/uploads/2014/07/AlienArena2008.jpg)
|
||||
|
||||
Alien Arena is a standalone 3D first-person online deathmatch shooter video game based on source code of Quake II and Quake III, released by id software. The game developed by COR entertainment was released in October 2004, and has been free-to-play title since its commencement, with currently no plans to change it to pay-to-play format.
|
||||
|
||||
Features comprising new particle engine and effects, 32 bit graphics, reflective water, light blooms, high resolution textures and skins, stain maps, and more, make up for it to be an addictive game. This game has come a long way from its original version “CodeRED: Alien Arena”, with all new player characters, nearly 2 dozen new maps, new weapon models, and many substantial engine enhancements and optimizations.
|
||||
|
||||
**Gameplay**: Alien Arena features 37 levels, has fast and smooth gameplay with a high-tech atmosphere. The players can play online against one another or against the built in CodeRED bots, which feature multiple skill levels like rocket jumping and strafe jumping. The game also offers CTF (Capture The Flag), AOA (All Out Assault) modes, in which players can climb into vehicles to do battle, Deathball, and Team Core Assault.
|
||||
|
||||
#### System Requirements: ####
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td><strong>Recommended Requirements</strong></td>
|
||||
<td><strong>Minimum requirements</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>CPU</strong></td>
|
||||
<td>Intel Pentium 4 1.7 GHz or AMD Athlon XP 1800</td>
|
||||
<td>Pentium 3 @ 800MHz</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>CPU Speed</strong></td>
|
||||
<td>1.7 GHz</td>
|
||||
<td>800MHz (or 1 GHz)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>RAM</strong></td>
|
||||
<td>512 MB</td>
|
||||
<td>256 MB</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Video Card</strong></td>
|
||||
<td>BFG GeForce 7800 GS OC</td>
|
||||
<td>NVIDIA GeForce 4400+ or ATI Radeon 8500+ (32 MB)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Video Memory</strong></td>
|
||||
<td>64 MB</td>
|
||||
<td>32 MB</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Sound Card</strong></td>
|
||||
<td>DirectX compatible</td>
|
||||
<td>DirectX compatible</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>DirectX</strong></td>
|
||||
<td>9.0c</td>
|
||||
<td>9.0c</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>HDD</strong></td>
|
||||
<td>500 MB</td>
|
||||
<td>500 MB</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
### 5. Nexuiz ###
|
||||
|
||||
![](http://mylinuxbook.com/wp-content/uploads/2014/07/nexuiz.jpg)
|
||||
|
||||
Nexuiz is an Arena first-person shooter 3D deathmatch video game developed and published by Alientrap on May 31, 2005, and is build on a modified Quake 1 Engine named DarkPlaces, whose features include Quake3bsp support, coronas, new particle effects, real time World and Dynamic lighting and shadowing, advanced menu system, and Md3 model support. It is intended to be played on the Internet or over a local network.
|
||||
|
||||
**Gameplay**: The gameplay is deathmatch with the most exorbitant possible speeds and weapons, providing extremely fast paced action. Other than deathmatch, there are several game modes like team deathmatch, domination, capture the flag, multiple mutators, and weapon options like rocket arena and instagib. Although, Nexuiz is mainly multiplayer but it includes a full single-player campaign, which lets one to play through various multiplayer game types and maps with bots.
|
||||
|
||||
#### System Requirements: ####
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><strong>Recommended Requirements</strong></td>
|
||||
<td><strong>Minimum requirements</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>CPU</strong></td>
|
||||
<td>Intel Core 2 Duo at 2Ghz, or AMD Athlon 64 x2 2ghz, or better</td>
|
||||
<td>1 Ghz Pentium III or AMD Athlon</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>RAM</strong></td>
|
||||
<td>2 GB</td>
|
||||
<td>512 MB</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Video Card</strong></td>
|
||||
<td>NVidia 8800GT with 512Mb RAM, ATI 3850HD with 512Mb RAM, or better</td>
|
||||
<td>GeForce 2 or equivalent</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>HDD</strong></td>
|
||||
<td>3 GB</td>
|
||||
<td>400 MB</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
### 6. Tremulous ###
|
||||
|
||||
![](http://mylinuxbook.com/wp-content/uploads/2014/07/Tremulous.jpg)
|
||||
|
||||
Tremulous is a free and open source game that incorporates a team-based FPS game with real-time strategy elements. The game developed by Dark Legion Development, released on August 11, 2005 and is based on the ioquake2 game engine. Although it originated as a mod for Quake 3, but ultimately went standalone.
|
||||
|
||||
Tremulous won the Mod Database “Mod of the Year” 2006 competition under the category of “Player’s Choice Standalone Game of the year”, and also came in first in a “Best free game based on GPL Quake source?” poll on the Planet Quake website.
|
||||
|
||||
**Gameplay**: The game is presumably set in the future, where humans fight against spider-like aliens. Players can choose from 2 unique races, aliens and humans, and each of the team players can build working structures during the game like a Real Time Strategy game. The most significant structure is ‘spawn’, which provides each team with supplements to replace players who have been killed.
|
||||
|
||||
#### System Requirements: ####
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td><strong>Recommended Requirements</strong></td>
|
||||
<td><strong>Minimum requirements</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>CPU</strong></td>
|
||||
<td>Pentium 4 3.46GHz or Athlon 64 3800+</td>
|
||||
<td>Pentium 4 1.8GHz or Athlon XP 1700+</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>RAM</strong></td>
|
||||
<td>2 GB</td>
|
||||
<td>256 MB</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Video Card</strong></td>
|
||||
<td>Nvidia GeForce GT 120 , AMD Radeon HD 4550</td>
|
||||
<td>Nvidia GeForce 210 , AMD Radeon X600 Series</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>DirectX version</strong></td>
|
||||
<td>DX 9.0c</td>
|
||||
<td>DX 9.0c</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>HDD space</strong></td>
|
||||
<td>4 GB</td>
|
||||
<td>125 MB</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
### 7. Warsow ###
|
||||
|
||||
![](http://mylinuxbook.com/wp-content/uploads/2014/07/warsow.jpg)
|
||||
|
||||
Warsow is a First Person Shooter (FPS) video game designed for online play, inspired by the fast paced shooters of the late 1990’s and early millennium. Warsow’s codebase is free and open source software, distributed under the terms of General Public License, and is built upon Qfusion, an advanced modification of the Quake II engine. Warsow stands out as a unique experience as its development team has strived to create a fun, fast, and action-packed game focused on speed, trickjumps, art of movement. This title uses cell-shaded graphics in a cartoon-ish style to fuse themes including cyberpunk, industrial, and sci-fi.
|
||||
|
||||
**Gameplay**: This fast-paced 3D ego-shooter focuses heavily on movement and trickjumps, where many of the tricks originate from the Quake series, including circle-jumping, bunny hopping, strafe-jumping, double jumping, ramp-sliding, and rocket jumping. Apart from these tricks, Warsow also allows the players to dash, dodge or wall jump, which were originally possible in the Urban Terror.
|
||||
|
||||
### System Requirements: ###
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><strong>Minimum Requirements</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>CPU</strong></td>
|
||||
<td>Pentium II 300 Mhz or greater</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>RAM</strong></td>
|
||||
<td>64 MB</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Video Card</strong></td>
|
||||
<td>16 MB (Riva TNT or better)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>HDD</strong></td>
|
||||
<td>400 MB</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
**Note** – The recommended requirements for this game weren’t directly available. This is what we got from some discussion forums:
|
||||
|
||||
- CPU – Intel Pentium 4 (3.00 GHz)
|
||||
- RAM - 512 MB
|
||||
- Video Card - 256 MB (nVidia GeForce 5500 FX)
|
||||
- HDD - 2 GB
|
||||
|
||||
### 8. Open Arena (OA) ###
|
||||
|
||||
![](http://mylinuxbook.com/wp-content/uploads/2014/07/open-arena.jpg)
|
||||
|
||||
Open Arena is an open-source multiplayer FPS game based on the ioquake3 fork of the id tech 3 engine. It is developed by the OpenArena Team and released under the GNU General Public License V2.0 (GPLv2). The game’s official site includes downloads for GNU/Linux, Microsoft Windows and Mac OS X Operating systems and is also available from the default repositories of Linux distributions, like Debian, Gentoo, Fedora, Arch, Mandriva, and Ubuntu. OpenArena can be played freely, offline or online, and users are also able to run their own LAN or internet server.
|
||||
|
||||
**Gameplay**: OpenArena’s gameplay is precisely same as Quake III Arena: Win the game by scoring frags with the help of a balanced set of weapons designed for different situations. Every match happens in an “arena”, a map where players try to kill each other; arenas are designed for gametypes such as deathmatch, Tournament, Team Deathmatch, and Capture the Flag. Due to violent and mature content, it’s unsuitable for children under the age of 17.
|
||||
|
||||
#### System Requirements: ####
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><strong>Recommended Requirements</strong></td>
|
||||
<td><strong>Minimum Requirements</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>CPU</strong></td>
|
||||
<td>Pentium III 700MHz / AMD Athlon XP 2800+</td>
|
||||
<td>Pentium II 233MHz / AMD K6-2 300MHz or equally powerful processor</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>RAM</strong></td>
|
||||
<td>256 MB</td>
|
||||
<td>64 MB</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Video Card</strong></td>
|
||||
<td>Geforce 4 Ti 4400</td>
|
||||
<td>16 MB (with OpenGL acceleration)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Free Disk Space</strong></td>
|
||||
<td>270 MB</td>
|
||||
<td>50 MB</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
### 9. Freecol ###
|
||||
|
||||
![](http://mylinuxbook.com/wp-content/uploads/2014/07/Freecol.jpg)
|
||||
|
||||
FreeCol is a free and open source turn-based strategy video game, which is imitation of the old game Colonization, and is similar to Civilization. The game was initially released on January 2, 2003, but its stable release came out 17 months ago, on January 7, 2013. It remains same in terms of mechanics and gameplay as the original game, but with newly added set of redesigned graphics.
|
||||
|
||||
**Gameplay**: The objective of the game is to colonize the New World. The game starts in 1492 with a vessel and some colonists, and the player builds up colonies in the New World, struggling for power with other colonies from rival Europeans. The expansion of colonies continues with help from the European king until no help is required from Europe, meaning that colonies can stand alone without any exterior help, and declares independence from the King. If the colonies are able to resist attacks of the King’s forces, then victory is obtained.
|
||||
|
||||
#### System Requirements: ####
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><strong>Recommended Requirements</strong></td>
|
||||
<td><strong>Minimum Requirements</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>CPU</strong></td>
|
||||
<td>Intel(R) Core(TM)2 Duo CPU P8700 2.53 GHz</td>
|
||||
<td>Pentium 3 1GHz</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>RAM</strong></td>
|
||||
<td>512 MB</td>
|
||||
<td>256 MB</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Java Version</strong></td>
|
||||
<td>Java Runtime Environment 7</td>
|
||||
<td>Java Runtime Environment 5 (or JRE 6)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Resolution</strong></td>
|
||||
<td>1024 X 768</td>
|
||||
<td>1024 X 768</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
### 10. Extreme Tux Racer ###
|
||||
|
||||
![](http://mylinuxbook.com/wp-content/uploads/2014/07/Extreme_Tux_Racer.jpg)
|
||||
|
||||
Extreme Tux Racer, originally named Tux Racer, is a free software 3D computer game which lets a player take on the role of the Linux mascot, Tux the penguin. The game was released on October 2, 2000 by Jasmin Patry, a student studying at the University of Waterloo in Ontario, Canada. An original Linux game, it is a very fun and simple racing game, without any complexity or violence, which makes it suitable for all age groups.
|
||||
|
||||
**Gameplay**: In the game, Tux slides down various courses of steep, snow- and ice- covered mountains, to achieve the best time and the best score. The score can be increased by collecting herring while racing and sliding down the course. Sliding on snow allows more manoeuvrability, sliding on ice makes Tux go faster and sliding on rocky patches slows down Tux.
|
||||
|
||||
### System Requirements: ###
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><strong>Recommended Requirements</strong></td>
|
||||
<td><strong>Minimum Requirements</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>CPU</strong></td>
|
||||
<td>400 MHz CPU or better</td>
|
||||
<td>Pentium 200MMX</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>RAM</strong></td>
|
||||
<td>128 MB</td>
|
||||
<td>64 MB</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Video Card</strong></td>
|
||||
<td>TNT2/Voodoo3-class 3D graphics card or better</td>
|
||||
<td>3D graphics card with full OpenGL support</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Sound Card</strong></td>
|
||||
<td>16-bit</td>
|
||||
<td>16-bit</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>HDD</strong></td>
|
||||
<td>20 MB</td>
|
||||
<td>20 MB</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Have something to say? Leave a comment below.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://mylinuxbook.com/top-10-free-linux-games/
|
||||
|
||||
作者:[Himanshu Arora][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://mylinuxbook.com/author/himanshuc/
|
||||
[1]:http://mylinuxbook.com/10-popular-fps-linux-games/
|
@ -0,0 +1,37 @@
|
||||
$2400 Valued Introduction To Linux Course Is Available For Free On edX
|
||||
================================================================================
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/07/Introduction_Linux_edX.jpg)
|
||||
|
||||
Probably you have already heard it. [Linux Foundation][1] has tied up with [edX][2] (a major online learning platform founded by MIT and Harvard University) to provide its Introduction to Linux course, which usually costs $2400, for free.
|
||||
|
||||
edX has over 200 courses from over 50 elite universities, corporations and organizations worldwide. Over 2.5 million users attend these online courses across the globe.
|
||||
|
||||
**Introduction to Linux course is starting from 1st August**. There are three ways one can take this course (or most other edX courses):
|
||||
|
||||
- **Audit the course**: Simple register for **free** and get access to study material. Participate in course as per your own pace. There is no compulsion or penalty if you cannot complete the course.
|
||||
- **Honor code certificate**: It certifies that you have successfully completed the course, however, it doesn’t verify your identity. This too is for free.
|
||||
- **Verified certificate of achievement**: This certificates validates your identity and costs $250 for **Introduction to Linux** course.
|
||||
|
||||
Introduction to Linux requires a working knowledge of computers and common software. Program aims to provide experienced computer users, who may or may not have previous Linux experience, a good working knowledge of Linux, from both a graphical and command line perspective. It consists a course work of 40 to 60 hours and is designed by Dr. Jerry Cooperstein, who manages training content at Linux Foundation.
|
||||
|
||||
If you are planning to attend Introduction to Linux, it is advised to have Linux installed on your computer beforehand. Linux Foundation has [prepared a guide to set up the computer][3] to help users out.
|
||||
|
||||
What are you waiting for? If you ever wanted to learn Linux, this is the time and best of all, it’s FREE! Sign up to the course with the link below:
|
||||
|
||||
- [Introduction to Linux course at edX][4]
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://itsfoss.com/introduction-linux-free-edx/
|
||||
|
||||
作者:[Abhishek][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://itsfoss.com/author/Abhishek/
|
||||
[1]:http://www.linuxfoundation.org/
|
||||
[2]:https://www.edx.org/
|
||||
[3]:https://training.linuxfoundation.org/images/pdfs/Preparing_Your_Computer_for_LFS101x.pdf
|
||||
[4]:https://www.edx.org/course/linuxfoundationx/linuxfoundationx-lfs101x-introduction-1621#.U9gJ5nWSyb8
|
@ -0,0 +1,73 @@
|
||||
20 Amazing Linux Blogs For Beginners!
|
||||
================================================================================
|
||||
Whether you're a newbie looking to venture into the world of Linux and open source or a pro in search for some inspiration, well, blogs are the one stop shop to all your needs. Blogs are an excellent resource of information coming in from real time users like you and me who are looking to help other fellow users grasp concepts in simple language and easy format.
|
||||
|
||||
1.[Ubuntux][1]
|
||||
|
||||
2.[Mark shuttleworth's Official Blog][2]
|
||||
|
||||
3.[Ubuntu Living][3]
|
||||
|
||||
4.[Planet Gnome][4]
|
||||
|
||||
5.[Planet KDE][5]
|
||||
|
||||
6.[Linux Tracker][6]
|
||||
|
||||
7.[Linux Watch][7]
|
||||
|
||||
8.[Mandriva Blog][8]
|
||||
|
||||
9.[Linux Security][9]
|
||||
|
||||
10.[Linux on Desktop][10]
|
||||
|
||||
11.[LinuxBSDos][11]
|
||||
|
||||
12.[All for Linux][12]
|
||||
|
||||
13.[Linux from Scratch][13]
|
||||
|
||||
14.[RootPrompt][14]
|
||||
|
||||
15.[Linux Home Networking][15]
|
||||
|
||||
16.[YoLinux][16]
|
||||
|
||||
17.[Librenix][17]
|
||||
|
||||
18.[Linux Journal][18]
|
||||
|
||||
19.[Linux Street][19]
|
||||
|
||||
20.[Linux Hub][20]
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.efytimes.com/e1/fullnews.asp?edid=144715
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:http://www.ubuntux.org/
|
||||
[2]:http://www.markshuttleworth.com/
|
||||
[3]:http://ubuntuliving.blogspot.in/
|
||||
[4]:http://planet.gnome.org/
|
||||
[5]:http://planetkde.org/
|
||||
[6]:http://linuxtracker.org/
|
||||
[7]:http://efytimes.com/e1/www.linux-watch.com
|
||||
[8]:http://blog.mandriva.com/en/
|
||||
[9]:http://www.linuxsecurity.com/
|
||||
[10]:http://linuxondesktop.blogspot.in/
|
||||
[11]:http://www.linuxbsdos.com/
|
||||
[12]:http://allforlinux.com/
|
||||
[13]:http://www.linuxfromscratch.org/
|
||||
[14]:http://rootprompt.org/
|
||||
[15]:http://www.linuxhomenetworking.com/
|
||||
[16]:http://www.yolinux.com/TUTORIALS/
|
||||
[17]:http://librenix.com/
|
||||
[18]:http://www.linuxjournal.com/
|
||||
[19]:http://www.linuxstreet.net/
|
||||
[20]:http://linuxhub.net/
|
318
sources/talk/20140804 Group Test--Linux Text Editors.md
Normal file
318
sources/talk/20140804 Group Test--Linux Text Editors.md
Normal file
@ -0,0 +1,318 @@
|
||||
Group Test: Linux Text Editors
|
||||
================================================================================
|
||||
> Mayank Sharma tests five supercharged text editors that can crunch more than just words.
|
||||
|
||||
If you’ve been using Linux long, you know that whether you want to edit an app’s configuration file, hack together a shell script, or write/review bits of code, the likes of LibreOffice just won’t cut it. Although the words mean almost the same thing, you don’t need a word processor for these tasks; you need a text editor.
|
||||
|
||||
In this group test we’ll be looking at five humble text editors that are more than capable of heavy-lifting texting duties. They can highlight syntax and auto-indent code just as effortlessly as they can spellcheck documents. You can use them to record macros and manage code snippets just as easily as you can copy/paste plain text.
|
||||
|
||||
Some simple text editors even exceed their design goals thanks to plugins that infuse them with capabilities to rival text-centric apps from other genres. They can take on the duties of a source code editor and even an Integrated Development Environment.
|
||||
|
||||
Two of most popular and powerful plain text editors are Emacs and Vim. However, we didn’t include them in this group test for a couple of reasons. Firstly, if you are using either, congratulations: you don’t need to switch. Secondly, both of these have a steep learning curve, especially to the GUI-oriented desktop generation who have access to alternatives that are much more inviting.
|
||||
|
||||
### The contenders: ###
|
||||
|
||||
#### Gedit ####
|
||||
|
||||
- URL:http://projects.gnome.org/gedit/
|
||||
- Version: 3.10
|
||||
- Licence: GPL
|
||||
- Is Gnome’s default text editor up to the challenge?
|
||||
|
||||
#### Kate ####
|
||||
|
||||
- URL: www.kate-editor.org
|
||||
- Version: 3.11
|
||||
- Licence: LGPL/GPL
|
||||
- Will Kate challenge fate?
|
||||
|
||||
#### Sublime Text ####
|
||||
|
||||
- URL: www.sublimetext.com
|
||||
- Version: 2.0.2
|
||||
- Licence: Proprietary
|
||||
- Proprietary software in the land of free with the heart of gold.
|
||||
|
||||
#### UltraEdit ####
|
||||
|
||||
- URL: www.ultraedit.com
|
||||
- Version: 4.1.0.4
|
||||
- Licence: Proprietary
|
||||
- Does it do enough to justify its price?
|
||||
|
||||
#### jEdit ####
|
||||
|
||||
- URL: www.jedit.org
|
||||
- Version: 5.1.0
|
||||
- Licence: GPL
|
||||
- Will the Java-based editor spoil the party for the rest?
|
||||
|
||||
![There’s a fine balance between stuffing an app with features and exposing all of them to the user. Geddit keeps most of its features hidden.](http://www.linuxvoice.com/wp-content/uploads/2014/07/gedit-web.png)
|
||||
There’s a fine balance between stuffing an app with features and exposing all of them to the user. Geddit keeps most of its features hidden.
|
||||
|
||||
### The crucial criteria ###
|
||||
|
||||
All the tools, except Gedit and jEdit, were installed on Fedora and Ubuntu via their recommended installation method. The former already shipped with the default Gnome desktop and the latter stubbornly refused to install on Fedora. Since these are relatively simple apps, they have no esoteric dependencies, the only exception being jEdit, which requires Oracle Java.
|
||||
|
||||
Thanks to the continued efforts of both Gnome and KDE, all editors look great and function properly irrespective of the desktop environment they are running on. That not only rules it out as an evaluation criterion, it also means that you are no longer bound by the tools that ship with your favourite desktop environment.
|
||||
|
||||
In addition to their geekier functionality, we also tested all our candidates for general-purpose text editing. However, they are not designed to mimic all the functionality of a modern-day word processor and weren’t evaluated as such.
|
||||
|
||||
![Kate can double up as a versatile can capable integrated development environment (IDE).](http://www.linuxvoice.com/wp-content/uploads/2014/08/kate-web.png)
|
||||
|
||||
Kate can double up as a versatile can capable integrated development environment (IDE).
|
||||
|
||||
### Programming language support ###
|
||||
|
||||
UltraEdit does syntax highlighting, can fold code and has project management capabilities. There’s also a function list, which is supposed to list all the functions in the source file, but it didn’t work for any of our test code files. UltraEdit also supports HTML5, and has a HTML toolbar with which you can add commonly-used HTML tags.
|
||||
|
||||
Even Gnome’s default text editor, Gedit, has several code-oriented features such as bracket matching, automatic indentation, and will also highlight syntax for various programming languages including C, C++, Java, HTML, XML, Python, Perl, and many others.
|
||||
|
||||
If you’re looking for more programming assistance, look at Sublime and Kate. Sublime supports several programming languages and (as well as the popular ones) is able to highlight syntax for C#, D, Dylan, Erlang, Groovy, Haskell, Lisp, Lua, MATLAB, OCaml, R, and even SQL. If that isn’t enough for you, you can download add-ons to support even more languages.
|
||||
|
||||
Furthermore, its syntax highlighting ability offers several customisable options. The app will also match braces, to ensure they are all properly rounded off, and the auto-complete function in Sublime works with variables created by the user.
|
||||
|
||||
Just like Komodo IDE, sublime also displays a scrollable preview of the full source code, which is really handy for navigating long code files and lets you jump between different parts of the file.
|
||||
|
||||
One of the best features of Sublime is its ability to run code for certain languages like C++, Python, Ruby, etc from within the editor itself, assuming of course you have the compiler and other build system tools installed on your computer. This helps save time and eliminates the need to switch out to the command line.
|
||||
|
||||
You can also enable the build system in Kate with plugins. Furthermore, you can add a simple front-end to the GDB debugger. Kate will work with Git, Subversion and Mercurial version control systems, and also provides some functionality for project management.
|
||||
|
||||
It does all this in addition to highlighting syntax for over 180 languages, along with other assistance like bracket matching, auto-completion and auto-indentation. It also supports code folding and can even collapse functions within a program.
|
||||
|
||||
The only disappointment is jEdit, which bills itself as a programmer’s text editor, but it struggled with other basic functions such as code folding and wouldn’t even suggest or complete functions.
|
||||
|
||||
**Verdict:**
|
||||
|
||||
- Gedit:3/5
|
||||
- Kate:5/5
|
||||
- Sublime:5/5
|
||||
- UltraEdit3/5
|
||||
- jEdit:1/5
|
||||
|
||||
![If you don’t like Sublime’s Charcoal appearance, you can choose one of the other 22 themes included with ti.](http://www.linuxvoice.com/wp-content/uploads/2014/08/sublime-web.png)
|
||||
|
||||
If you don’t like Sublime’s Charcoal appearance, you can choose one of the other 22 themes included with ti.
|
||||
|
||||
### Keyboard control ###
|
||||
|
||||
Users of an advanced text editor expect to control and operate it exclusively via the keyboard. Furthermore, some apps even allow their users to further customise the key bindings for the shortcuts.
|
||||
|
||||
You can easily work with Gedit using its extensive keyboard shortcut keys. There are keys for working with and editing files as well as invoke tools for common tasks such as spellchecking a document. You can access a list of default shortcut keys from within the app, but there’s no graphical way to customise them. Similarly, to customise the keybindings in Sublime, you need to make modifications in its XML keymap files. Sublime has been criticised for its lack of a graphical interface to define keyboard shortcuts, but long-term users have defended the current file-based mechanism, which gives them more control.
|
||||
|
||||
UltraEdit is proud of its “everything is customisable” motto, which it extend to keyboard shortcuts. You can define custom hotkeys for navigating the menus and also define your own multi-key key-mappings for accessing its plethora of functions.
|
||||
|
||||
In addition to its fully customisable keyboard shortcuts, jEdit also has pre-defined keymaps for Emacs. Kate is equally impressive in this respect. It has an easily accessible window to customise the key bindings. You can change the default keys, as well as define alternate ones. Furthermore, Kate also has a Vi mode which will let users operate Kate using Vi keys.
|
||||
|
||||
**Verdict:**
|
||||
|
||||
- Gedit:2/5
|
||||
- Kate:5/5
|
||||
- Sublime:3/5
|
||||
- UltraEdit:4/5
|
||||
- jEdit:5/5
|
||||
|
||||
### Snippets and macros ###
|
||||
|
||||
Macros help you cut down the time spent on editing and organising data by automating repetitive steps, while Snippets of code extend a similar functionality to programmers by creating reusable chunks of source code. Both have the ability to save you time.
|
||||
|
||||
The vanilla Gedit installation doesn’t have either of these functionalities, but you can enable them via separate plugins. While the Snippets plugin ships with Gedit, you’ll have to manually download and install the macro plugin (it’s called gedit-macropy and is hosted on GitHub) before you can enable it from within Gedit.
|
||||
|
||||
Kate takes the same plugins route to enable the snippets feature. Once added, the plugin also adds a repository of snippets for PHP, Bash and Java. You can display the list of snippets in the sidebar for easier access. Right-click on a snippet to edit its contents as well as its shortcut key combination. However, very surprisingly, it doesn’t support macros – despite repeated hails from users since 2002!
|
||||
|
||||
jEdit too has a plugin for enabling snippets. But it can record macros from user actions and you can also write them in the BeanShell scripting language (BeanShell supports scripted objects as simple method closures like those in Perl and JavaScript). jEdit also has a plugin that will download several macros from jEdit’s website.
|
||||
|
||||
Sublime ships with inbuilt ability to create both snippets and macros, and ships with several snippets of frequently used functions for most popular programming languages.
|
||||
|
||||
Snippets in UltraEdit are called Smart Templates and just like with Sublime you can insert them based upon the kind of source file you’re editing. To complement the Macro recording function, UltraEdit also has an integrated javascript-based scripting language to automate tasks. You can also download user-submitted macros and scripts from the editor’s website.
|
||||
|
||||
**Verdict:**
|
||||
|
||||
- Gedit:3/5
|
||||
- Kate:1/5
|
||||
- Sublime:5/5
|
||||
- UltraEdit:5/5
|
||||
- jEdit:5/5
|
||||
|
||||
![UltraEdit’s UI is highly configurable — you can customise the layout of the toolbars and menus just as easily as you can change many other aspects.](http://www.linuxvoice.com/wp-content/uploads/2014/08/ultraedit-web.png)
|
||||
|
||||
UltraEdit’s UI is highly configurable — you can customise the layout of the toolbars and menus just as easily as you can change many other aspects.
|
||||
|
||||
### Ease of use ###
|
||||
|
||||
Unlike a bare-bones text editor, the text editors in this feature are brimming with features to accommodate a wide range of users — from document writers to programmers. Instead of stripping features from the apps, their developers are looking for avenues to add more functionality.
|
||||
|
||||
Although at first glance most apps in this group test have a very similar layout, upon closer inspection, you’ll notice several usability differences. We have a weak spot for apps that expose their functionality and features by making judicious use of the user interface, instead of just overwhelming the user.
|
||||
|
||||
### Gedit: 4/5 ###
|
||||
|
||||
Gedit wears a very vanilla look. It has an easy interface with minimal menus and buttons. This is a two-edged sword though, as some users might fail to realise its true potential.
|
||||
|
||||
The app can open multiple files in tabs that can be rearranged and moved between windows. Users can optionally enable panels on the side and bottom for displaying a file browser and the output of a tool enabled by a plugin. The app will detect when an open file is modified by another application and offers to reload that file.
|
||||
|
||||
The UI has been given a major overhaul in the latest version of the app yet to make its way into Gnome. However it isn’t yet stable, and while it maintains all features, several plugins that interact with the menu will need to be updated.
|
||||
|
||||
### Kate: 5/5 ###
|
||||
|
||||
Although a major part of its user interface resembles Gedit, Kate tucks in tabs at either side and its menus are much fuller. The app is approachable and invites users to explore other features.
|
||||
|
||||
Kate can transparently open and save files over all protocols supported by KDE’s KIO including HTTP, FTP, SSH, SMB and WebDAV. You can use the app to work with multiple files at the same time. But unlike the traditional horizontal tab switching bar in most app, Kate has tabs on either side of the screen. The left sidebar will display an index of open files. Programmers who need to see different parts of the same file at the same time will also appreciate its ability to split the interface horizontally as well as vertically.
|
||||
|
||||
### Sublime: 5/5 ###
|
||||
|
||||
Sublime lets you view up to four files at the same time in various arrangements. There’s also a full-screen distraction free mode that just displays the file and the menu, for when you’re in the zone.
|
||||
|
||||
The editor also has a minimap on the right, which is useful for navigating long files. The app ships with several snippets for popular functions in several programming languages, which makes it very usable for developers. Another neat editing feature, whether you are working with text documents or code, is the ability to swap and shuffle selections.
|
||||
|
||||
### UltraEdit: 3/5 ###
|
||||
|
||||
UltraEdit’s interface is loaded with several toolbars at the top and bottom of the interface. Along with the tabs to switch between documents, panes on either side and the gutter area, these leave little room for the editor window.
|
||||
|
||||
Web developers working with HTML files have lots of assistance at their fingertips. You can also access remote files via FTP and SFTP. Advanced features such as recording a macro and comparing files are also easily accessible.
|
||||
|
||||
Using the app’s Preferences window you can tweak various aspects of the app, including the colour scheme and other features like syntax highlighting.
|
||||
|
||||
### jEdit: 3/5 ###
|
||||
|
||||
In terms of usability, one of the first red-flags was jEdit’s inability to install on RPM-based distros. Navigating the editor takes some getting used to, since its menus aren’t in the same order as in other popular apps and some have names that won’t be familiar to the average desktop user. However, the app include detailed inbuilt help, which will help ease the learning curve.
|
||||
|
||||
jEdit highlights the current line you are on and enables you to split windows in multiple viewing modes. You can easily install and manage plugins from within the app, and in addition to full macros, jEdit also lets you record quick temporary ones.
|
||||
|
||||
![Thanks to its Java underpinnings, jEdit doesn’t really feel at home on any desktop environment](http://www.linuxvoice.com/wp-content/uploads/2014/08/jedit-web.png)
|
||||
|
||||
Thanks to its Java underpinnings, jEdit doesn’t really feel at home on any desktop environment
|
||||
|
||||
### Availability and support ###
|
||||
|
||||
There are several similarities between Gedit and Kate. Both apps take advantage of their respective parent project, Gnome and KDE, and are bundled with several mainstream distros. Yet both projects are cross-platform and have Windows and Mac OS X ports as well as native Linux versions.
|
||||
|
||||
Gedit is hosted on Gnome’s web infrastructure and has a brief user guide, information about the various plugins, and the usual channels of getting in touch including a mailing list and IRC channel. You’ll also find usage information on the websites of other Gnome-based distros such as Ubuntu. Similarly, Kate gets the benefit of KDE’s resources and hosts detailed user information as well as a mailing list and IRC channel. You can access their respective user guides offline from within the app as well.
|
||||
|
||||
UltraEdit is also available for Windows and Mac OS X besides Linux, and has detailed user guides on getting started, though there’s none included within the app. To assist users, UltraEdit hosts a database of frequently asked questions, a bunch of power tips that have detailed information about several specific features, and users can engage with one another other on forum boards. Additionally, paid users can also seek support from the developers via email.
|
||||
|
||||
Sublime supports the same number of platforms, however you don’t need to buy a separate licence for each platform. The developer keeps users abreast with ongoing development via a blog and also participates actively in the hosted forums. The highlight of the project’s support infrastructure is the freely available detailed tutorial and video course. Sublime is lovely.
|
||||
|
||||
Because it’s written in Java, jEdit is available on several platforms. On its website you’ll find a detailed user guide and links to documentation of some plugins. However, there are no avenues for users to engage with other users or the developer.
|
||||
|
||||
**Verdict:**
|
||||
|
||||
- Gedit: 4/5
|
||||
- Kate: 4/5
|
||||
- Sublime: 5/5
|
||||
- UltraEdit: 3/5
|
||||
- jEdit: 2/5
|
||||
|
||||
### Add-on and plugins ###
|
||||
|
||||
Different users have different requirements, and a single lightweight app can only do as much. This is where plugins come into the picture. The apps rely on these small pluggable widgets to extend their feature set and be of use to even more number of users.
|
||||
|
||||
The one exception is UltraEdit. The app has no third-party plugins, but its developers do point out that third-party tools such as HtmlTidy are already installed with UltraEdit.
|
||||
|
||||
Gedit ships with a number of plugins installed, and you can download more with the gedit-plugins package. The project’s website also points to several third-party plugins based on their compatibility with the Gedit versions.
|
||||
|
||||
Three useful plugins for programmers are Code Comment, Terminal Plugin, which adds a terminal in the bottom panel, and the Session Saver. The Session Saver is really useful when you’re working on a project with multiple files. You can open all the files in tabs, save your session and when you restore it with a single click it’ll open all the files in the same tab order as you saved them.
|
||||
|
||||
Similarly, you can extend Kate by adding plugins using its built-in plugin manager. In addition to the impressive projects plugins, some others that will be of use to developers include an embedded terminal, ability to compile and debug code and execute SQL queries on databases.
|
||||
|
||||
Plugins for Sublime are written in Python, and the text editor includes a tool called Package Control, which is a little bit like apt-get in that it enables the user to find, install, upgrade and remove plugin packages. With plugins, you can bring the Git version control to Sublime, as well as the JSLint tool to improve JavaScript. The Sublime Linter plugin is a must have for coders and will point out any errors in your code.
|
||||
|
||||
jEdit boasts the most impressive plugin infrastructure. The app has over 200 plugins, which can be browsed in the dedicated site of their own. The website lists plugins under various categories such as File Management, Version Control, Text, etc. You’ll find lots of plugins housed under each category.
|
||||
|
||||
Some of the best plugins are the Android plugin, which provides utilities to work on Android projects; the TomcatSwitch plugin, using which you can create and control an external Jakarta Tomcat server process; and the Vimulator plugin, for Vi-like capabilities. You can install these plugins using jEdit’s using its plugin manager.
|
||||
|
||||
**Verdict**
|
||||
|
||||
- Gedit: 3/5
|
||||
- Kate: 4/5
|
||||
- Sublime: 4/5
|
||||
- UltraEdit: 1/5
|
||||
- jEdit: 5/5
|
||||
|
||||
### Plain ol’ text editing ###
|
||||
|
||||
Despite all their powerful extra-curricular activities that might even displace full-blown apps across several genres, there will be times when you just need to use these text editing behemoths to read, write, or edit plain and simple text. While you can use all of them to enter text, we are evaluating them for access to common text-editing conveniences.
|
||||
|
||||
Gedit which is Gnome’s default text editor, supports an undo and redo mechanism as well as search and replace. It can spellcheck documents in multiple languages and can also access and edit remote files using Gnome GVFS libraries.
|
||||
|
||||
You can spellcheck documents with Kate as well, which also lets you perform a Google search on any highlighted text. It’s also got a line modification system which visually alerts users of lines which have modified and unsaved changes in a file. In addition, it enables users to set bookmarks within a file to ease navigation of lengthy documents.
|
||||
|
||||
Sublime has a wide selection of editing commands, such as indenting text and formatting paragraphs. Its auto-save feature helps prevent users from losing their work. Advanced users will appreciate the regex-based recursive find and replace feature, as well as the ability to select multiple non-contiguous spans of text and act on them collectively.
|
||||
|
||||
UltraEdit also enables the use of regular expressions for its search and replace feature and can edit remote files via FTP. One unique feature of jEdit is its support for an unlimited number of clipboard which it calls registers. You can copy snippets of text to these registers which are available across editing sessions.
|
||||
|
||||
**Verdict:**
|
||||
|
||||
- Gedit: 4/5
|
||||
- Kate: 5/5
|
||||
- Sublime: 5/5
|
||||
- UltraEdit: 4/5
|
||||
- jEdit: 4/5
|
||||
|
||||
### Our verdict ###
|
||||
|
||||
All the editors in this feature are good enough to replace your existing text editor for editing text files and tweaking configuration files. In fact, chances are they’ll even double up as your IDE. These apps are chock full of bells and whistles, and their developers aren’t thinking of stripping features, but adding more and more and more.
|
||||
|
||||
At the tail end of this test we have jEdit. Not only does it insist on using the proprietary Oracle Java Runtime Environment, it failed to install on our Fedora machine, and the developer doesn’t actively engage with its users.
|
||||
|
||||
UltraEdit does little better. This commercial proprietary tool focuses on web developers, and doesn’t offer anything to non-developer power users that makes it worth recommending over free software alternatives.
|
||||
|
||||
On the third podium position we have Gedit. There’s nothing inherently wrong with Gnome’s default editor, but despite all its positive aspects, it’s simply outclassed by Sublime and Kate. Out of the box, Kate is a more versatile editor than Gedit, and outscores Gnome’s default editor even after taking their respective plugin systems into consideration.
|
||||
|
||||
Both Sublime and Kate are equally good. They performed equally well in most of our tests. Whatever ground it lost to Sublime for not supporting macros, it gained for its keyboard friendliness and its ease of use in defining custom keybindings.
|
||||
|
||||
Kate’s success can be drawn from the fact that it offers the maximum number of features with minimal learning curve. Just fire it up and use it as a simple text editor, or easily edit configuration file with syntax highlighting, or even use it to collaborate and work on a complex programming project thanks to its project management capabilities.
|
||||
|
||||
We aren’t pitching Kate to replace a full-blown integrated development environment such as [insert your favourite specialised tool here]. But it’s an ideal all-rounder and a perfect stepping stone to a specialised tool.
|
||||
|
||||
Kate is designed for moments when you need something that’s quick to respond, doesn’t overwhelm you with its interface and is just as useful as something that might otherwise be overkill.
|
||||
|
||||
### 1st Kate ###
|
||||
|
||||
- Licence LGPL/GPL Version 3.11
|
||||
- www.kate-editor.org
|
||||
- The ultimate mild-mannered text editor with super powers.
|
||||
- Kate is one of the best apps to come out of the KDE project.
|
||||
|
||||
### 2nd Sublime Text ###
|
||||
|
||||
- Licence Proprietary Version 2.0.2
|
||||
- www.sublimetext.com
|
||||
- A professionally done text editor that’s worth every penny – easy to use, full of features and it looks great.
|
||||
|
||||
### 3rd Gedit ###
|
||||
|
||||
- Licence GPL Version 3.10
|
||||
- http://projects.gnome.org/gedit
|
||||
- Gets it done from Gnome. It’s a wonderful text editor and does an admirable job, but the competition here is too great.
|
||||
|
||||
### 4th UltraEdit ###
|
||||
|
||||
- Licence Proprietary Version 4.1.0.4
|
||||
- www.ultraedit.com
|
||||
- Focuses on bundling conveniences for web developers without offering anything special for general users.
|
||||
|
||||
### 5th jEdit ###
|
||||
|
||||
- Licence GPL Version 5.1.0
|
||||
- www.jedit.org
|
||||
- A lack of support, lack of working on Fedora and a lack of looking nice relegate jEdit to the bottom slot.
|
||||
|
||||
### You may also wish to try… ###
|
||||
|
||||
The default text editor that ships with your distro will also be able to assist you with some advanced tasks. There’s KDE’s KWrite and Raspbian’s Nano, for instance. KWrite inherits some of Kate’s features thanks to KDE’s katepart component, and Nano has sprung back into limelight thanks to its availability for Raspberry Pi.
|
||||
|
||||
If you wish to follow the steps of Linux gurus, you could always try the revered text editors Emacs and Vim. First time users who want to get a taste for the power of Vim might want to consider gVim, which exposes Vim’s power via a graphical interface.
|
||||
|
||||
Besides jEdit and Kate, there are other editors that mimic the usability of veteran advanced editors like Emacs and Vim, such as the JED editor and Joe’s Own Editor, both of which have an emulation mode for Emacs. On the other hand, if you are looking for lightweight code editors check out Bluefish and Geany. They exist to fill the niche between text editors and full-fledged integrated development platforms.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.linuxvoice.com/text-editors/
|
||||
|
||||
作者:[Ben Everard][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://www.linuxvoice.com/author/ben_everard/
|
@ -0,0 +1,28 @@
|
||||
Microsoft’s Raspberry Pi Will Cost $300
|
||||
================================================================================
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Sharks_Cove_Microsoft.jpg)
|
||||
|
||||
I presume that you have heard of [Raspberry Pi][1]. A $35 microcomputer that has revolutionized the low cost computing and has cult following among hardware hobbyist and do-it-yourself enthusiasts. Several other followed in the footsteps of Raspberry Pi to provide low cost micro computers, [Arduino][2] is one of the successful examples.
|
||||
|
||||
Microsoft has decided to enter the world of “System on Chip” and to come up with its “own Raspberry Pi”. Teamed up with Intel and [CircuitCo][3], [Microsoft will be launching a micro computer named “Sharks Cove“][4].
|
||||
|
||||
Sharks Cove boasts of Intel Atom Z3735G, a quad-core chip with speeds up to 1.83GHz, 1GB of RAM, 16GB of flash storage and a MicroSD slot among many other things. You can read the full specifications [here][5]. The main aim of Shark Cove is to provide a platform to develop hardware and drivers for Windows and Android.
|
||||
|
||||
Everything sounds fine till it comes to price. Sharks Cove will cost $299 with a Windows 8.1 license. While Arduino costs around $55 and Raspberry Pi $35, I don’t think there will be many buyers for such a high price in a domain which is dominated by low cost Linux based devices. What do you think?
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://itsfoss.com/microsofts-raspberry-pi/
|
||||
|
||||
作者:[Abhishek][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://itsfoss.com/author/Abhishek/
|
||||
[1]:http://www.raspberrypi.org/
|
||||
[2]:http://www.arduino.cc/
|
||||
[3]:http://www.circuitco.com/
|
||||
[4]:http://blogs.msdn.com/b/windows_hardware_and_driver_developer_blog/archive/2014/07/26/the-sharks-cove-is-now-available-for-pre-order.aspx
|
||||
[5]:http://www.sharkscove.org/docs/
|
@ -0,0 +1,94 @@
|
||||
Nostalgic Gaming On Linux With Good Old Games
|
||||
================================================================================
|
||||
![](http://thelinuxrain.com/content/01-articles/70-nostalgic-gaming-on-linux-with-good-old-games/headimage.jpg)
|
||||
|
||||
**Thanks to the recent Linux support provided by DRM-free classic games provider, GOG.com, getting that nostalgic kick on Linux has never been easier. In this article I'll also detail a few of my favourite classic games that are now available to play in Linux.**
|
||||
|
||||
It's not all nostalgia, though. Some of the classic games you might think of are genuinely classic, amazing games no matter their age. Others, you might need to imagine you're back in, say, 1995 and look at the game from that point of view to appreciate how good it must have seemed at that time. Whatever the case though, there's no shortage of these old games out there to enjoy and thankfully it's recently gotten even easier with [GOG.com][1] recently announcing Linux support.
|
||||
|
||||
A lot of these old classic games actually run in [DOSBox][2], so a seasoned Linux gamer who has experience with such games may bring up the point that you could play a lot of these games provided by services such as GOG.com for years already, well before that recent announcement. Which is correct, I've done the same thing myself, but it does involve a bit of fiddling with files, so at the very least we now have a "turn-key" solution even with the DOSBox powered games - you download them, you launch them, they should just work. If you just want to purchase a game and play it right away, that's no bad thing.
|
||||
|
||||
Then there's the non-DOS games. A lot of old Windows 95/98 games do often work fine in WINE, but not always, or perhaps need workarounds to be manually applied or even a special version of WINE itself. Some old games just won't work at all no matter what you try, even on modern versions of Windows itself! So again, having an alternative available that is designed to work out-of-the-box (and DRM-free, no less) is a nice thing.
|
||||
|
||||
GOG.com initially provided 50 Linux compatible games on their penguin-friendly launch, but that number is and will keep growing. In coming months they say they hope to reach 100 games, and who knows how many thereafter, but it should grow to be a fairly considerable library.
|
||||
|
||||
Here are a few of my favourites so far, that are available right now:
|
||||
|
||||
### Rise Of The Triads Dark War (1994) ###
|
||||
|
||||
![](http://thelinuxrain.com/content/01-articles/70-nostalgic-gaming-on-linux-with-good-old-games/rott.png)
|
||||
|
||||
If you crave some 90's style shoot-em-up action where you get to blow the hell out of, well, everything and everyone, Rise Of The Triads (ROTT) is one of the best choices and a favourite to many.
|
||||
|
||||
If you know these kinds of shooters, you probably know what to expect. There is a storyline, but really it's about blowing everything up and/or riddling enemies full of bullet holes. As a member of an elite group of operatives you are sent to a remote island to stop a mad cult leader, where typically everything goes pear-shaped and you have to kill everything and successfully navigate levels to save the day and get out alive in the process.
|
||||
|
||||
True to the arcade-style shooter of this vintage, weapons are all about being big, high-tech and fun. You might be in an elite operations group, but you ain't stuck with peashooters and standard rifles - no there's duel pistols all the way to heat seeking missiles and the Flamewall cannon and many more. It's all about genuine fun and doesn't take itself too seriously.
|
||||
|
||||
*Verdict: A blast (literally)*
|
||||
|
||||
### Realms Of The Haunting (1996) ###
|
||||
|
||||
![](http://thelinuxrain.com/content/01-articles/70-nostalgic-gaming-on-linux-with-good-old-games/roth.png)
|
||||
|
||||
This one is actually fairly new to me and isn't a game I remember from years back. Which is my loss really, as I can imagine this game must have seemed pretty incredible all the way back in 1996.
|
||||
|
||||
Realms Of The Haunting is something of a first-person shooter/point-and-click adventure combination. The controls at first seem a bit strange because of this (keyboard to control movement and attack etc. Mouse to move the context indicator/cursor around the screen and interact with objects) but you soon get used to it. The storyline, although I have not experienced all of it yet myself, is apparently very good and certainly my impressions of it have been good. This is also one of those classic games that uses good old FMV (Full Motion Video) for cutscenes.
|
||||
|
||||
![](http://thelinuxrain.com/content/01-articles/70-nostalgic-gaming-on-linux-with-good-old-games/roth1.png)
|
||||
|
||||
Basically you play as a young man who receives a suitably vague letter from your recently deceased father about a strange deserted mansion and it's curious happenings inside. Naturally, said young man decides to visit the mansion and discovers his father's spirit being held captive by the forces of evil and then sets out to try free him. That sounds like a pretty standard storyline at first but the difference lays in the execution and how it progresses.
|
||||
|
||||
From the moment the main character picks up a lantern and gazes around the dark, creepy surroundings of the mansion, it actually reminds me a bit of Amnesia: The Dark Descent. Sure, the gameplay and amount of actual combat means the comparison somewhat ends after that, but ROTH does also have it's fair share of exploration and puzzles. Despite a very dated looking graphics engine (it is based on the DOOM engine after all!) it strikes me how much attention to detail the game creators managed to pack into the environment, which further adds to the atmosphere and immersion despite the constant pixel party happening on screen.
|
||||
|
||||
All in all, Realms Of The Haunting is a creepy but very intriguing old game that is very much worth checking out. And if you love games that feature old-school FMV, there is heaps on offer here too.
|
||||
|
||||
*Verdict: Ahead of it's time?*
|
||||
|
||||
### Sid Meier's Colonization (1994) ###
|
||||
|
||||
![](http://thelinuxrain.com/content/01-articles/70-nostalgic-gaming-on-linux-with-good-old-games/colonization.jpg)
|
||||
|
||||
Think Civilization, but with a colonial twist. Instead of building a nation from a mound of dirt in the middle of nowhere, Colonization tasks you with controlling either the forces of England, France, Spain or The Netherlands as you set about managing expansion across the Atlantic for your nation of choice. The aim of the game, as far as winning goes, is to achieve independence from your mother country and defeat the angry Royal Expeditionary Force that comes your way.
|
||||
|
||||
If big chunky pixels, even in text, is something that hurts your eyes you may want to avoid this one but the simple old graphics belie the actual gameplay and depth available here. If you have experience with the more modern Sid Meier turn-based strategy games like the Civilization series, you may be surprised just how much familiar elements and gameplay there is in this old game.
|
||||
|
||||
It may appear ancient and a little clunky, but like most of the classic Sid Meier games, you can sink hours upon hours into this game. Which considering it's price nowadays, no more than a piece of cake and a coffee, is fantastic value that is hard to beat. Do try it.
|
||||
|
||||
*Verdict: Superb turn-based strategy, all the way from 1994*
|
||||
|
||||
### Sword Of The Samurai (1989) ###
|
||||
|
||||
![](http://thelinuxrain.com/content/01-articles/70-nostalgic-gaming-on-linux-with-good-old-games/sots.png)
|
||||
|
||||
This one is a little more obscure and may surprise. For me, and this will sound a little cliché given the Japanese theme and setting, but there is something rather Zen about Sword Of The Samurai. A product in the year 1989, the graphics are obviously simple and have a very limited colour palette. Yet, I think even today the graphics work for this particular game and add to its charm and, again, the Zen.
|
||||
|
||||
Describing SOTS is difficult though. It's sort of... a strategy, war, dating, stealth, melee, dueling, diplomacy, choose-your-own adventure Samurai sim.
|
||||
|
||||
Seriously.
|
||||
|
||||
Somehow this old game, which weighs in less than 20 megabytes, fits in an incredible amount of different gameplay (and surprisingly smart artificial intelligence) and approaches you can take to achieve your goal. The core goal is get a very important thing called Honor. In the world of feudal Japan, Honor is a big, big thing and you must get more Honor any way you can in order to achieve the goal of unifying Japan under your rule, as Shogun.
|
||||
|
||||
While you can of course be the "good guy" and do everything you think is right to get Honor, the game is inherently deep and clever enough to allow you to achieve Honor even with, shall we say, more underhanded tactics.
|
||||
|
||||
It's difficult to truly describe all the ways you can play this game but my advice is to simply do so - play it, let it wash over you and soak in the Japanese culture and atmosphere that the game exudes in a really classy way, without being over-the-top. And yes, the game can also be educational! You can't beat that.
|
||||
|
||||
*Verdict: An under-appreciated masterpiece*
|
||||
|
||||
### Get your game on ###
|
||||
|
||||
So there we have it, there's some of my favourites that I've been (re)playing recently, on my Fedora 20 system no less. Some of these games may be older than Linux (the kernel) itself, but thanks to the likes of GOG.com and especially emulators like DOSBox, you can still enjoy the classic titles you remember from years gone by.
|
||||
|
||||
What are some of your favourite classic games? Are you also playing them now in your favourite Linux distro? Let us know in the comments!
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://thelinuxrain.com/articles/nostalgic-gaming-on-linux-with-good-old-games
|
||||
|
||||
作者:Andrew Powell
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:http://gog.com/
|
||||
[2]:http://www.dosbox.com/
|
@ -1,3 +1,5 @@
|
||||
alim0x translating
|
||||
|
||||
The history of Android
|
||||
================================================================================
|
||||
![Android 0.9 showing off a horizontal home screen—a feature that wouldn’t make it to later versions.](http://cdn.arstechnica.net/wp-content/uploads/2013/12/horizontal.png)
|
||||
@ -72,4 +74,4 @@ via: http://arstechnica.com/gadgets/2014/06/building-android-a-40000-word-histor
|
||||
|
||||
[1]:http://www.tat.se/
|
||||
[a]:http://arstechnica.com/author/ronamadeo
|
||||
[t]:https://twitter.com/RonAmadeo
|
||||
[t]:https://twitter.com/RonAmadeo
|
||||
|
@ -1,500 +0,0 @@
|
||||
2q1w2007翻译中
|
||||
搭建并运行OpenVPN,享受你的隐私生活
|
||||
================================================================================
|
||||
![](http://parabing.com/assets/uploads/2014/06/openVPN-featured.jpg)
|
||||
|
||||
> 我们支持保护隐私,不为我们有自己的秘密需要保护,只是我们认为保护隐私应该成为一项基本人权。所以我们坚信无论谁在什么时候行使这项权利,都应该不受拘束的获取必须的工具和服务。OpenVPN就是这样一种服务并且有多种工具(客户端) 来让我们利用并享受这种服务。
|
||||
|
||||
By establishing a connection to an [OpenVPN][1] server, we basically create a secure communications channel between our device and the remote host OpenVPN runs on. Although traffic flowing between these two end-points can be intercepted, it is strongly encrypted and thus practically useless to the interceptor. In addition to the OpenVPN acting as the facilitator of this encrypted channel (or tunnel), we may configure the server to also play the role of our Internet gateway. By doing so, we can for example hook up to any open, inherently insecure WiFi network, then immediately connect to the remote OpenVPN server and start using any Internet-enabled application without worrying of prying eyes or bored administrators. (Note though that we still need to trust any administrator in the vicinity of the OpenVPN server. But more on that towards the end of the post.)
|
||||
|
||||
This article is a step-by-step guide on how to setup OpenVPN on [Ubuntu Server 14.04 LTS][2]. The OpenVPN host computer may be a VPS in the cloud, a virtual machine running on one of our computers at home, or even that somewhat aged box we tend to forget we have.
|
||||
|
||||
### Step 01 -- System Preparation ###
|
||||
|
||||
We gain access to a command shell in the Ubuntu Server host, for example by remotely connecting to it via SSH, and immediately refresh the local repository database:
|
||||
|
||||
sub0@delta:~$ sudo apt-get update
|
||||
|
||||
To perform any upgrades for all installed packages and the operating system itself, we type:
|
||||
|
||||
sub0@delta:~$ sudo apt-get dist-upgrade
|
||||
|
||||
If a new kernel gets pulled in, a system reboot will be required. After refreshing and upgrading, it’s time to install OpenVPN:
|
||||
|
||||
sub0@delta:~$ sudo apt-get -y install openvpn easy-rsa dnsmasq
|
||||
|
||||
Notice that we installed three packages with apt-get:
|
||||
|
||||
- openvpn provides the core of OpenVPN
|
||||
- easy-rsa contains some handy scripts for key management
|
||||
- dnsmasq is the name server we’ll be using later on, when our OpenVPN server box/VM will assume the role of a router for all OpenVPN clients`
|
||||
|
||||
### Step 02 -- Master certificate and private key for the Certificate Authority ###
|
||||
|
||||
The most important –and admittedly the most crucial– step during the setup of an OpenVPN server, is the establishment of a corresponding Public Key Infrastructure (PKI). This infrastructure comprises the following:
|
||||
|
||||
- A certificate (public key) and a private key for the OpenVPN server
|
||||
- A certificate and a private key for any OpenVPN client
|
||||
- A master certificate and a private key for the Certificate Authority (CA). This private key is used for signing the OpenVPN certificate as well as the client certificates.
|
||||
|
||||
Beginning with the latter, we create a convenient working directory
|
||||
|
||||
sub0@delta:~$ sudo mkdir /etc/openvpn/easy-rsa
|
||||
|
||||
and then copy easy-rsa’s files to it:
|
||||
|
||||
sub0@delta:~$ sudo cp -r /usr/share/easy-rsa/* /etc/openvpn/easy-rsa
|
||||
|
||||
Before we actually create the keys for the CA, we open /etc/openvpn/easy-rsa/vars for editing (we like the nano text editor but this is just our preference):
|
||||
|
||||
sub0@delta:~$ sudo nano /etc/openvpn/easy-rsa/vars
|
||||
|
||||
Towards the end of the file we assign values to a set of variables which are read during the creation of the master certificate and private key. Take a look at the variables we assigned values to:
|
||||
|
||||
export KEY_COUNTRY="GR"
|
||||
export KEY_PROVINCE="Central Macedonia"
|
||||
export KEY_CITY="Thessaloniki"
|
||||
export KEY_ORG="Parabing Creations"
|
||||
export KEY_EMAIL="nobody@parabing.com"
|
||||
export KEY_CN="VPNsRUS"
|
||||
export KEY_NAME="VPNsRUS"
|
||||
export KEY_OU="Parabing"
|
||||
export KEY_ALTNAMES="VPNsRUS"
|
||||
|
||||
It goes without saying that you may assign different values, more appropriate for your case. Also take particular note of the last line, in which we set a value to the KEY_ALTNAMES variable. This line is not part of the original vars file but we nevertheless append it at the end of said file, or the build-ca script we’re going to run next will fail.
|
||||
|
||||
To save the changes in vars we hit [CTRL+O] followed by the [Enter] key. To quit nano we hit [CTRL+X]. Now, we gain access to the root account and move on to building of the master certificate and private key:
|
||||
|
||||
sub0@delta:~$ sudo su
|
||||
root@delta:/home/sub0# cd /etc/openvpn/easy-rsa
|
||||
root@delta:/etc/openvpn/easy-rsa# source vars
|
||||
NOTE: If you run ./clean-all, I will be doing a rm -rf on /etc/openvpn/easy-rsa/keys
|
||||
root@delta:/etc/openvpn/easy-rsa# sh clean-all
|
||||
root@delta:/etc/openvpn/easy-rsa# sh build-ca
|
||||
Generating a 1024 bit RSA private key
|
||||
...++++++
|
||||
................++++++
|
||||
writing new private key to 'ca.key'
|
||||
-----
|
||||
You are about to be asked to enter information that will be incorporated
|
||||
into your certificate request.
|
||||
What you are about to enter is what is called a Distinguished Name or a DN.
|
||||
There are quite a few fields but you can leave some blank
|
||||
For some fields there will be a default value,
|
||||
If you enter '.', the field will be left blank.
|
||||
-----
|
||||
Country Name (2 letter code) [GR]:
|
||||
State or Province Name (full name) [Central Macedonia]:
|
||||
Locality Name (eg, city) [Thessaloniki]:
|
||||
Organization Name (eg, company) [Parabing Creations]:
|
||||
Organizational Unit Name (eg, section) [Parabing]:
|
||||
Common Name (eg, your name or your server's hostname) [VPNsRUS]:
|
||||
Name [VPNsRUS]:
|
||||
Email Address [nobody@parabing.com]:
|
||||
root@delta:/etc/openvpn/easy-rsa#
|
||||
|
||||
In our example the default answers were used for all the questions. After the build-ca script finishes we have the file for the master certificate (keys/ca.crt) and also the file for the private key (keys/ca.key). The latter must be kept secret at all costs.
|
||||
|
||||
### Step 03 -- Certificate and private key for the OpenVPN server ###
|
||||
|
||||
Before we make a certificate and private key for our OpenVPN server, we need to pick a name for it. We decided to name ours “delta” and then ran the build-key-server script to get the keys:
|
||||
|
||||
root@delta:/etc/openvpn/easy-rsa# sh build-key-server delta
|
||||
Generating a 1024 bit RSA private key
|
||||
....++++++
|
||||
...++++++
|
||||
writing new private key to 'delta.key'
|
||||
-----
|
||||
You are about to be asked to enter information that will be incorporated
|
||||
into your certificate request.
|
||||
What you are about to enter is what is called a Distinguished Name or a DN.
|
||||
There are quite a few fields but you can leave some blank
|
||||
For some fields there will be a default value,
|
||||
If you enter '.', the field will be left blank.
|
||||
-----
|
||||
Country Name (2 letter code) [GR]:
|
||||
State or Province Name (full name) [Central Macedonia]:
|
||||
Locality Name (eg, city) [Thessaloniki]:
|
||||
Organization Name (eg, company) [Parabing Creations]:
|
||||
Organizational Unit Name (eg, section) [Parabing]:
|
||||
Common Name (eg, your name or your server's hostname) [delta]:
|
||||
Name [VPNsRUS]:deltaVPN
|
||||
Email Address [nobody@parabing.com]:
|
||||
|
||||
Please enter the following 'extra' attributes
|
||||
to be sent with your certificate request
|
||||
A challenge password []:
|
||||
An optional company name []:
|
||||
Using configuration from /etc/openvpn/easy-rsa/openssl-1.0.0.cnf
|
||||
Check that the request matches the signature
|
||||
Signature ok
|
||||
The Subject's Distinguished Name is as follows
|
||||
countryName :PRINTABLE:'GR'
|
||||
stateOrProvinceName :PRINTABLE:'Central Macedonia'
|
||||
localityName :PRINTABLE:'Thessaloniki'
|
||||
organizationName :PRINTABLE:'Parabing Creations'
|
||||
organizationalUnitName:PRINTABLE:'Parabing'
|
||||
commonName :PRINTABLE:'delta'
|
||||
name :PRINTABLE:'deltaVPN'
|
||||
emailAddress :IA5STRING:'nobody@parabing.com'
|
||||
Certificate is to be certified until Apr 7 08:06:02 2024 GMT (3650 days)
|
||||
Sign the certificate? [y/n]:y
|
||||
|
||||
1 out of 1 certificate requests certified, commit? [y/n]y
|
||||
Write out database with 1 new entries
|
||||
Data Base Updated
|
||||
root@delta:/etc/openvpn/easy-rsa#
|
||||
|
||||
The script successfully finished and we got a certificate (keys/delta.crt) as well as a private key (keys/delta.key) for our server. Note that the server certificate is signed by the CA’s private key.
|
||||
|
||||
### Step 04 -- Diffie-Hellman parameters ###
|
||||
|
||||
The secure passing of keys over an insecure communications channel is made possible thanks to a well-known technique involving the so called Diffie-Hellman parameters. To generate those we just type
|
||||
|
||||
root@delta:/etc/openvpn/easy-rsa# sh build-dh
|
||||
Generating DH parameters, 2048 bit long safe prime, generator 2
|
||||
This is going to take a long time
|
||||
.......................+.....................................+..
|
||||
...........................+..+.....................+...........
|
||||
..............................................+.................
|
||||
.......................+........................................
|
||||
................................................+...............
|
||||
.......................................++*++*++*
|
||||
root@delta:/etc/openvpn/easy-rsa#
|
||||
|
||||
The certificates, private keys and the file containing the Diffie-Hellman parameters we just generated, are all stored into the /etc/openvpn/easy-rsa/keys directory. So up until now we have five files in total and in our case they are as follows:
|
||||
|
||||
1. **ca.crt** – the certificate of the Certificate Authority
|
||||
2. **ca.key** – the private key of the CA
|
||||
3. **delta.crt** – the certificate of the OpenVPN server
|
||||
4. **delta.key** – the private key of the OpenVPN server
|
||||
5. **dh2048.pem** – the Diffie-Hellman parameters file
|
||||
|
||||
In all likelihood, the keys for your own OpenVPN server are named differently. We now need to copy all files but the ca.key over to the /etc/openvpn directory:
|
||||
|
||||
root@delta:/etc/openvpn/easy-rsa# cd keys
|
||||
root@delta:/etc/openvpn/easy-rsa/keys# cp ca.crt delta.crt delta.key dh2048.pem /etc/openvpn
|
||||
root@delta:/etc/openvpn/easy-rsa/keys# cd ..
|
||||
root@delta:/etc/openvpn/easy-rsa#
|
||||
|
||||
### Step 05 -- Certificates and private keys for the OpenVPN clients ###
|
||||
|
||||
Let’s assume we’d like to connect to the OpenVPN server from our laptop. That’s actually a very common scenario and in order to be able to do so we first need to generate a certificate as well as a private key for the client, i.e. our laptop. There’s a script for that and it lives in the /etc/openvpn/easy-rsa directory:
|
||||
|
||||
root@delta:/etc/openvpn/easy-rsa# source vars
|
||||
NOTE: If you run ./clean-all, I will be doing a rm -rf on /etc/openvpn/easy-rsa/keys
|
||||
root@delta:/etc/openvpn/easy-rsa# ./build-key laptop
|
||||
Generating a 1024 bit RSA private key
|
||||
.......................................++++++
|
||||
...................................................................................................++++++
|
||||
writing new private key to 'laptop.key'
|
||||
-----
|
||||
You are about to be asked to enter information that will be incorporated
|
||||
into your certificate request.
|
||||
What you are about to enter is what is called a Distinguished Name or a DN.
|
||||
There are quite a few fields but you can leave some blank
|
||||
For some fields there will be a default value,
|
||||
If you enter '.', the field will be left blank.
|
||||
-----
|
||||
Country Name (2 letter code) [GR]:
|
||||
State or Province Name (full name) [Central Macedonia]:
|
||||
Locality Name (eg, city) [Thessaloniki]:
|
||||
Organization Name (eg, company) [Parabing Creations]:
|
||||
Organizational Unit Name (eg, section) [Parabing]:
|
||||
Common Name (eg, your name or your server's hostname) [laptop]:
|
||||
Name [VPNsRUS]:
|
||||
Email Address [nobody@parabing.com]:
|
||||
|
||||
Please enter the following 'extra' attributes
|
||||
to be sent with your certificate request
|
||||
A challenge password []:
|
||||
An optional company name []:
|
||||
Using configuration from /etc/openvpn/easy-rsa/openssl-1.0.0.cnf
|
||||
Check that the request matches the signature
|
||||
Signature ok
|
||||
The Subject's Distinguished Name is as follows
|
||||
countryName :PRINTABLE:'GR'
|
||||
stateOrProvinceName :PRINTABLE:'Central Macedonia'
|
||||
localityName :PRINTABLE:'Thessaloniki'
|
||||
organizationName :PRINTABLE:'Parabing Creations'
|
||||
organizationalUnitName:PRINTABLE:'Parabing'
|
||||
commonName :PRINTABLE:'laptop'
|
||||
name :PRINTABLE:'VPNsRUS'
|
||||
emailAddress :IA5STRING:'nobody@parabing.com'
|
||||
Certificate is to be certified until Apr 7 18:00:51 2024 GMT (3650 days)
|
||||
Sign the certificate? [y/n]:y
|
||||
|
||||
1 out of 1 certificate requests certified, commit? [y/n]y
|
||||
Write out database with 1 new entries
|
||||
Data Base Updated
|
||||
root@delta:/etc/openvpn/easy-rsa#
|
||||
|
||||
The base name we chose for the keys was “laptop”, so after the build-key finished we got keys/laptop.crt (certificate) and keys/laptop.key (private key). Those two keys for the particular client along with the CA’s certificate file go together, and it’s a good idea to copy them to a directory where our user (sub0) has full access to. We can, for example, create a new directory in the user’s home directory and copy those three files there:
|
||||
|
||||
root@delta:/etc/openvpn/easy-rsa# mkdir /home/sub0/ovpn-client
|
||||
root@delta:/etc/openvpn/easy-rsa# cd keys
|
||||
root@delta:/etc/openvpn/easy-rsa/keys# cp ca.crt laptop.crt laptop.key /home/sub0/ovpn-client
|
||||
root@delta:/etc/openvpn/easy-rsa/keys# chown -R sub0:sub0 /home/sub0/ovpn-client
|
||||
root@delta:/etc/openvpn/easy-rsa/keys# cd ..
|
||||
root@delta:/etc/openvpn/easy-rsa#
|
||||
|
||||
The directory ovpn-client must be securely copied to our laptop. We are allowed to distribute those three files to more than one clients, as long as they are all ours. Of course, should we need a different certificate-private key couple, we run the build-key script again.
|
||||
|
||||
### Step 06 -- OpenVPN server configuration ###
|
||||
|
||||
In a little while our OpenVPN server will be up and running. But first, there are some configuration changes that need to be made. There’s a sample configuration file in /usr/share/doc/openvpn/examples/sample-config-files which is excellent for our setup. That file is named server.conf.gz:
|
||||
|
||||
root@delta:/etc/openvpn/easy-rsa# cd /etc/openvpn
|
||||
root@delta:/etc/openvpn# cp /usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz .
|
||||
root@delta:/etc/openvpn# gunzip -d server.conf.gz
|
||||
root@delta:/etc/openvpn# mv server.conf delta.conf
|
||||
root@delta:/etc/openvpn#
|
||||
|
||||
As you can see, we copied server.conf.gz into the /etc/openvpn directory, uncompressed it and renamed it to delta.conf. You may choose any name you like for your OpenVPN server’s configuration file, as long as it has the “.conf” extension. Whatever the base name, we now open the configuration file with nano:
|
||||
|
||||
root@delta:/etc/openvpn# nano delta.conf
|
||||
|
||||
Here are the changes and additions we should make.
|
||||
|
||||
- First, we locate the lines
|
||||
|
||||
cert server.crt
|
||||
key server.key
|
||||
|
||||
and make sure they reflect the names of our OpenVPN server’s certificate and private key. In our case, those lines were changed into
|
||||
|
||||
cert delta.crt
|
||||
key delta.key
|
||||
|
||||
- We locate the line
|
||||
|
||||
dh dh1024.pem
|
||||
|
||||
and replace “1024″ with “2048″:
|
||||
|
||||
dh dh2048.pem
|
||||
|
||||
- At the end of the configuration file we add the following two lines:
|
||||
|
||||
push "redirect-gateway def1"
|
||||
push "dhcp-option DNS 10.8.0.1"
|
||||
|
||||
Those last two lines instruct the clients to use OpenVPN as the default gateway to the Internet, and also use 10.8.0.1 as the server to deal with DNS requests. Notice that 10.8.0.1 is the IP address of the tunnel network interface OpenVPN automatically creates upon startup. If the clients were to use any other server for name resolution, then we would have a situation in which all DNS requests were served from a possibly untrustworthy server. To avoid such DNS leaks, we instruct all OpenVPN clients to use 10.8.0.1 as the DNS server.
|
||||
|
||||
We start our OpenVPN server like this:
|
||||
|
||||
root@delta:/etc/openvpn# service openvpn start
|
||||
|
||||
By default, OpenVPN listens for connections on port 1194/UDP. One way to see that is with the netstat tool:
|
||||
|
||||
root@delta:/etc/openvpn# netstat -anup
|
||||
Active Internet connections (servers and established)
|
||||
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
|
||||
udp 0 0 0.0.0.0:54149 0.0.0.0:* 555/dhclient
|
||||
udp 0 0 0.0.0.0:1194 0.0.0.0:* 3024/openvpn
|
||||
udp 0 0 0.0.0.0:53 0.0.0.0:* 2756/dnsmasq
|
||||
udp 0 0 0.0.0.0:68 0.0.0.0:* 555/dhclient
|
||||
udp6 0 0 :::60622 :::* 555/dhclient
|
||||
udp6 0 0 :::53 :::* 2756/dnsmasq
|
||||
|
||||
All is well, though we have no properly configured DNS server for the clients yet.
|
||||
|
||||
### Step 07 -- A DNS service for OpenVPN clients ###
|
||||
|
||||
That’s why we’ve installed dnsmasq for. We open up its configuration file
|
||||
|
||||
root@delta:/etc/openvpn# nano /etc/dnsmasq.conf
|
||||
|
||||
locate this line
|
||||
|
||||
#listen-address=
|
||||
|
||||
and change it into the following one:
|
||||
|
||||
listen-address=127.0.0.1, 10.8.0.1
|
||||
|
||||
We also locate this line
|
||||
|
||||
#bind-interfaces
|
||||
|
||||
and delete the hash character on the left:
|
||||
|
||||
bind-interfaces
|
||||
|
||||
To make dnsmasq take these changes into account, we just restart the service:
|
||||
|
||||
root@delta:/etc/openvpn# service dnsmasq restart
|
||||
* Restarting DNS forwarder and DHCP server dnsmasq [ OK ]
|
||||
root@delta:/etc/openvpn#
|
||||
|
||||
As it is now, dnsmasq listens for DNS requests from the loopback (lo) and also from the tunnel (tun0) interface. The output of netstat confirms that:
|
||||
|
||||
root@delta:/etc/openvpn# netstat -anup
|
||||
Active Internet connections (servers and established)
|
||||
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
|
||||
udp 0 0 0.0.0.0:57219 0.0.0.0:* 638/dhclient
|
||||
udp 0 0 0.0.0.0:1194 0.0.0.0:* 911/openvpn
|
||||
udp 0 0 127.0.0.1:53 0.0.0.0:* 1385/dnsmasq
|
||||
udp 0 0 10.8.0.1:53 0.0.0.0:* 1385/dnsmasq
|
||||
udp 0 0 0.0.0.0:68 0.0.0.0:* 638/dhclient
|
||||
udp6 0 0 :::39148 :::* 638/dhclient
|
||||
|
||||
### Step 08 -- Router functionality ###
|
||||
|
||||
We want the VM/box our OpenVPN server runs on to behave like a router, and that means that IP forwarding must be enabled. To enable it right now, from the root account we just type
|
||||
|
||||
root@delta:/etc/openvpn# echo "1" > /proc/sys/net/ipv4/ip_forward
|
||||
|
||||
To make this setting persistent across reboots we open up /etc/sysctl.conf
|
||||
|
||||
root@delta:/etc/openvpn# nano /etc/sysctl.conf
|
||||
|
||||
locate the line
|
||||
|
||||
#net.ipv4.ip_forward=1
|
||||
|
||||
and remove the hash character on the left:
|
||||
|
||||
net.ipv4.ip_forward=1
|
||||
|
||||
There are also some iptables-related rules we should activate:
|
||||
|
||||
root@delta:/etc/openvpn# iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
|
||||
root@delta:/etc/openvpn# iptables -A FORWARD -s 10.8.0.0/24 -j ACCEPT
|
||||
root@delta:/etc/openvpn# iptables -A FORWARD -j REJECT
|
||||
root@delta:/etc/openvpn# iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
|
||||
root@delta:/etc/openvpn#
|
||||
|
||||
And of course we want these rules activated every time Ubuntu boots up, so we add them inside /etc/rc.local:
|
||||
|
||||
#!/bin/sh -e
|
||||
#
|
||||
# rc.local
|
||||
#
|
||||
# This script is executed at the end of each multiuser runlevel.
|
||||
# Make sure that the script will "exit 0" on success or any other
|
||||
# value on error.
|
||||
#
|
||||
# In order to enable or disable this script just change the execution
|
||||
# bits.
|
||||
#
|
||||
# By default this script does nothing.
|
||||
|
||||
iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
|
||||
iptables -A FORWARD -s 10.8.0.0/24 -j ACCEPT
|
||||
iptables -A FORWARD -j REJECT
|
||||
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
|
||||
|
||||
service dnsmasq restart
|
||||
|
||||
exit 0
|
||||
|
||||
Please notice the line before the last one:
|
||||
|
||||
service dnsmasq restart
|
||||
|
||||
> This is crucial: During system startup dnsmasq tries to come up before OpenVPN does. But without OpenVPN there is no tunnel interface (tun0) present so naturally dnsmasq fails. A bit later, when /etc/rc.local is read the tun0 interface is present, so at this point we restart dnsmasq and everything is as it's supposed to be.
|
||||
|
||||
### Step 09 -- Client configuration ###
|
||||
|
||||
In Step 05 we created the directory ovpn-client inside our user’s home directory (/home/sub0, in our example). In there we have the CA certificate plus the client certificate and private key. There’s only one file missing and that’s the configuration file for the client. A sample file we can use is inside /usr/share/doc/openvpn/examples/sample-config-files:
|
||||
|
||||
root@delta:/etc/openvpn# exit
|
||||
exit
|
||||
sub0@delta:~$ cd ~/ovpn-client
|
||||
sub0@delta:~/ovpn-client$ cp /usr/share/doc/openvpn/examples/sample-config-files/client.conf .
|
||||
sub0@delta:~/ovpn-client$
|
||||
|
||||
We open up client.conf for editing and immediately locate the following line:
|
||||
|
||||
remote my-server-1 1194
|
||||
|
||||
This “my-server-1″ string is a placeholder and we are now going to replace it for our server’s public domain name or public IP. If we do have a public domain name already assigned to the server, then there’s nothing more to do than put it in place of my-server-1. Things get a tiny bit more involved if there’s no public domain name for our server. What’s the public IP for it? One way to find out is by typing the following:
|
||||
|
||||
sub0@delta:~/ovpn-client$ curl ipecho.net/plain ; echo
|
||||
|
||||
(If instead of a numeric IP address you get an error, just wait a few seconds and try again.) So now we know our server’s public IP, but is it static or dynamic? Well, if we’re dealing with a server at home or even at the office, chances are it has a dynamic IP address. In that case it is advisable to use a free dynamic DNS service, such as the one provided by http://www.noip.com. In the case of NoIP, assuming we have chosen the free domain dnsalias.net then we may end up with a line like this
|
||||
|
||||
remote ovpn.dnsalias.net 1194
|
||||
|
||||
where “ovpn” is the hostname we’ve given to the server. On the other hand, if our server is hosted in the cloud then it probably has a static public IP address. In that case, the remote directive inside client.conf will look like the following:
|
||||
|
||||
remote 1.2.3.4 1194
|
||||
|
||||
There are two more lines we need to modify:
|
||||
|
||||
cert client.crt
|
||||
key client.key
|
||||
|
||||
In our case, the certificate and private key files for the client are named laptop.crt and laptop.key respectively, so our client.conf contains these two lines:
|
||||
|
||||
cert laptop.crt
|
||||
key laptop.key
|
||||
|
||||
After making sure the changes to client.conf are saved, we need to securely transfer the whole ovpn-client directory to the client. One way to do so is by using the scp command (secure copy or copy over SSH). An alternative is provided by the excellent and free FileZilla, which supports FTP over SSH connections (SFTP).
|
||||
|
||||
### Step 10 -- Connecting and testing ###
|
||||
|
||||
![](http://parabing.com/assets/uploads/2014/06/01-Firewall.png)
|
||||
|
||||
|
||||
So how do we actually connect to the remote OpenVPN server? It all depends on the type of the device we have in hand and of course on the operating system is runs. In a bit we are going to examine the cases of four different OS families — or OS categories, if you will: Linux, Windows, OS X and iOS/Android. Note though that no matter the device or the OS, for the connection to be successful we need to be outside of the OpenVPN server’s local network. In addition, if there’s a firewall in front of the server –and it probably is– then we ought to put a new rule in place which essentially states something like this:
|
||||
|
||||
*Redirect all incoming UDP packets for port 1194 to port 1194/UDP of the server’s public-facing network interface.*
|
||||
|
||||
That’s some simple firewall rule, don’t you think? And without further ado, let’s establish our first connection to the fabulous OpenVPN server of ours.
|
||||
|
||||
**Linux**. All we need is the openvpn package installed. One way to connect to the remote OpenVPN server is to fire up a terminal, change to the ovpn-client directory and from the root user account –or with the assistance of sudo– type something like this:
|
||||
|
||||
/usr/sbin/openvpn --config client.conf
|
||||
|
||||
Anytime we want to terminate the connection we just hit [CTRL+C].
|
||||
|
||||
**Windows**. A free OpenVPN client is the so called [OpenVPN Desktop Client][3]. The configuration file client.conf must be renamed to client.ovpn and that’s the file we should give to the OpenVPN Desktop Client. The application will read client.ovpn and create a new connection profile for the OpenVPN server.
|
||||
|
||||
![](http://parabing.com/assets/uploads/2014/06/02-Connected.jpg)
|
||||
|
||||
**OS X**. A free OpenVPN client for OS X is [tunnelblick][4]. There is also [Viscosity][5] which is commercial and happens to be our favorite. Viscosity will read client.conf and create a new connection profile for the remote server.
|
||||
|
||||
iOS/Android. An excellent choice is OpenVPN connect. It is free of charge and available from the [App Store][6] as well as the Google [Play store][7].
|
||||
|
||||
Regardless of the computing platform, sometimes we’d like to check if we’re actually using the OpenVPN server we think we’re using. One way to do that is by following this simple 4-step procedure:
|
||||
|
||||
Prior to connecting to the OpenVPN server we…
|
||||
|
||||
- visit a site such as [whatip.com][8] and take note of our public IP
|
||||
- visit [dnsleaktest.com][10, perform the standard test, take note of the name servers we’re using
|
||||
|
||||
![](http://parabing.com/assets/uploads/2014/06/03-DNS.png)
|
||||
|
||||
After connecting to the OpenVPN server we repeat the above two steps. If we get two different public IPs, this means we do go out on the net through the remote OpenVPN server. In addition, if we get two different sets of name servers, then there are no DNS leaks.
|
||||
|
||||
### Final thoughts ###
|
||||
|
||||
I use three different OpenVPN servers, all custom-made. One of them runs on the pfSense router at my home office in Thessaloniki, Greece. I use this server when I’m out of office and want secure access to the home LAN. The other two OpenVPN servers are hosted on two different VPSes, one in Reykjavik, Iceland, and the other in New Jersey, USA. Whenever I’m out and about and feel like using a random WiFi hotspot, I don’t even have to think of the security implications: I simply connect to the Reykjavik server and start surfing the web normally. There are also some times when I want to casually check out a service which is geographically restricted to the US. In these not-so-common cases the New Jersey server comes in handy, for when I connect to it I get a public IP from the U, S of A and hence access to that otherwise restricted service. It is worth noting that some service providers maintain blacklists with numerous well-known VPN companies. And that’s *exactly* one of the advantages of setting up your own OpenVPN server on a VPS provider of your choosing: It’s unlikely that this provider is blacklisted.
|
||||
|
||||
No matter where the physical location of your server is, OpenVPN ensures that the traffic flow between the client and the server is strongly encrypted. What happens to the traffic leaving the OpenVPN server is another story. Depending on the application-layer protocol it may still be encrypted, but it could be unencrypted as well. So unless you have absolute control of the OpenVPN server and of the local network it belongs to, you cannot fully trust the administrator at the other end. The moral of this is apparent: If you really care about your privacy, then you should keep in mind that your own behavior may indeed undermine it.
|
||||
|
||||
One example will hopefully get the point across. You have a well configured OpenVPN server in the cloud. You use any random WiFi hotspot anytime you feel like it and without the slightest bit of worry, thanks to that heroic OpenVPN server. Then you fire up your favorite mail client to get your email from this good, old mail server which still uses plain SMTP. Guess what? Your username and password leave the OpenVPN server in plain text, i.e. unencrypted. At the same time a bored administrator in the vicinity of the OpenVPN server could be easily sniffing-out your credentials and storing them in their ever-growing list named “random happy people.txt”.
|
||||
|
||||
So what do you do? Simple. You continue using your OpenVPN server, but refrain from using applications which talk old and/or insecure protocols.
|
||||
|
||||
Enjoy your brand new OpenVPN server!
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://parabing.com/2014/06/openvpn-on-ubuntu/
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:http://en.wikipedia.org/wiki/Openvpn
|
||||
[2]:http://www.ubuntu.com/server
|
||||
[3]:http://swupdate.openvpn.net/downloads/openvpn-client.msi
|
||||
[4]:https://code.google.com/p/tunnelblick
|
||||
[5]:https://www.sparklabs.com/viscosity
|
||||
[6]:https://itunes.apple.com/us/app/openvpn-connect/id590379981?mt=8
|
||||
[7]:https://play.google.com/store/apps/details?id=net.openvpn.openvpn
|
||||
[8]:http://www.whatip.com/
|
||||
[9]:https://dnsleaktest.com/
|
@ -1,3 +1,4 @@
|
||||
(translated by runningwater)
|
||||
Test read/write speed of usb and ssd drives with dd command on Linux
|
||||
================================================================================
|
||||
### Drive speed ###
|
||||
@ -129,7 +130,7 @@ Php developer, blogger and Linux enthusiast. He can be reached at [m00n.silv3r@g
|
||||
|
||||
via: http://www.binarytides.com/linux-test-drive-speed/
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
译者:[runningwater](https://github.com/runningwater) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
|
@ -1,36 +0,0 @@
|
||||
Fix Missing Speaker Icon From Moka Icon Theme [Quick Tip]
|
||||
================================================================================
|
||||
[Moka][1] is a beautiful icon theme. It has been constantly featured among the [best icon themes available for Ubuntu][2]. But there is little issue with Moka in Ubuntu 14.04. If you use Moka icons in Ubuntu 14.04 with Unity, you’ll find that speaker icon used for sound is missing:
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/07/Moka_Missing_Sound_Icon.jpeg)
|
||||
|
||||
### Fix missing sound icon while using Moka icon theme ###
|
||||
|
||||
Though you might have already added official Moka PPA but for the sake of checking, add it again:
|
||||
|
||||
sudo add-apt-repository ppa:moka/stable
|
||||
sudo apt-get update
|
||||
|
||||
Now, next step is to install monochrome panel icons. Use the following command to install it:
|
||||
|
||||
sudo apt-get install faba-mono-icons
|
||||
|
||||
Once you have installed the Faba monochrome icons, change your icon theme from Moka to Faba. This will give you Moka icon theme along with beautiful monochrome icons in the top panel in Unity:
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/07/Moka_With_Sound_Icons.jpeg)
|
||||
|
||||
I hope this helped you to fix the missing sound icon. Enjoy every bit and every sip of the Moka.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://itsfoss.com/fix-missing-speaker-icon-from-moka/
|
||||
|
||||
原文作者:[Abhishek][a]
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://itsfoss.com/author/Abhishek/
|
||||
[1]:http://mokaproject.com/
|
||||
[2]:http://itsfoss.com/best-icon-themes-ubuntu-1404/
|
@ -1,89 +0,0 @@
|
||||
How to access SoundCloud from the command line in Linux
|
||||
================================================================================
|
||||
If you enjoy music streaming and originally-created sounds, you cannot have missed [SoundCloud][1]. Based in Germany, this cloud streaming service is now famous and well-established for any music adventurer. And naturally, as a Linux enthusiast, you might wonder how to join your passion for Linux with your love for music. As a solution, I advise you to check out Soundcloud2000, **a command line client for SoundCloud** born out of the [Music Hack Day Stockholm '13][2].
|
||||
|
||||
### Installation ###
|
||||
|
||||
For Debian or Ubuntu users, install via:
|
||||
|
||||
$ sudo apt-get install portaudio19-dev libmpg123-dev libncurses-dev ruby1.9.1-dev
|
||||
$ sudo gem install soundcloud2000
|
||||
|
||||
For Archlinux users, the package is available in [AUR][3].
|
||||
|
||||
For Fedora users, install via:
|
||||
|
||||
$ sudo yum install portaudio-devel libmpg123-devel ncurses-devel ruby-devel
|
||||
$ sudo gem install soundcloud2000
|
||||
|
||||
For CentOS users, install or upgrade to the [latest Ruby/RubyGems][4] (1.9 and higher), enable [Repoforge repo][5], and install via:
|
||||
|
||||
$ sudo yum install portaudio-devel mpg123-devel
|
||||
$ sudo gem install curses soundcloud2000
|
||||
|
||||
And finally, go to the official github page for the sources.
|
||||
|
||||
### Usage ###
|
||||
|
||||
Soundcloud2000 is very easy to pick up. Some might even say simplistic. I like it for that sobriety and the effort of the three authors and contributors. Launch it via:
|
||||
|
||||
$ soundcloud2000
|
||||
|
||||
From there, you will be welcomed with a splash screen:
|
||||
|
||||
![](https://farm4.staticflickr.com/3919/14658085706_71c9094e4f_z.jpg)
|
||||
|
||||
and then a list of songs:
|
||||
|
||||
![](https://farm4.staticflickr.com/3888/14494626757_3e788482d5_z.jpg)
|
||||
|
||||
You can scroll through the list via the up and down keys, play a song with enter, pause/resume with the space bar, and fast forward/rewind with the right and left arrow keys. As you can see, nothing groundbreaking but definitely ergonomic.
|
||||
|
||||
If the random list is too long to scroll through, you have an option to see all the tracks for a particular user by hitting the 'u' key and then typing his name.
|
||||
|
||||
![](https://farm4.staticflickr.com/3861/14494436719_b5536f7b67_z.jpg)
|
||||
|
||||
That is probably one of the major defaults of Soundcloud2000. While the navigation is not optimized, I have high hopes for improvements and support as the software is still very young.
|
||||
|
||||
### Bonus ###
|
||||
|
||||
Another alternative as a bonus: if you like the idea of using SoundCloud from a terminal, but do not want to install any additional software (or maybe you cannot), I advise you to go to [cmd.fm][6]. The website is a kind of camouflage for SoundCloud, as it hides it behind a shell interface.
|
||||
|
||||
[![](https://farm6.staticflickr.com/5580/14494448218_a16b05e3ee_z.jpg)][7]
|
||||
|
||||
Type "help" for a list of commands, which is a lot longer than for Soundcloud2000. As examples, I noticed:
|
||||
|
||||
- _genres to list all genres
|
||||
- _play random to play a random track
|
||||
- _pause to pause the current track
|
||||
- _playlist new to make a new playlist
|
||||
- _loop to loop current track
|
||||
- _cinema to watch and ASCII version of Star Wars which completely blew my mind.
|
||||
|
||||
And it even supports auto-completion via the tabulation key for genres.
|
||||
|
||||
To conclude, Soundcloud2000 is a neat program that does exactly what it is supposed to. We can forgive its current flaws as they are surely tied to its youth. I really hope that it will grow and include more features (and potentially get inspiration from cmd.fm).
|
||||
|
||||
If you like the idea, I invite you to support the programmers, and if you like these kinds of initiatives, support [Music Hack Day][8] which mixes software development and music.
|
||||
|
||||
What do you think of using SoundCloud from the command line? Please let us know in the comments.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://xmodulo.com/2014/07/access-soundcloud-command-line-linux.html
|
||||
|
||||
原文作者:[Adrien Brochard][a]
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://xmodulo.com/author/adrien
|
||||
[1]:https://soundcloud.com/
|
||||
[2]:https://www.hackerleague.org/hackathons/music-hack-day-stockholm-13/
|
||||
[3]:https://aur.archlinux.org/packages/ruby-soundcloud2000/
|
||||
[4]:http://ask.xmodulo.com/upgrade-ruby-centos.html
|
||||
[5]:http://xmodulo.com/2013/01/how-to-set-up-rpmforge-repoforge-repository-on-centos.html
|
||||
[6]:https://cmd.fm/
|
||||
[7]:https://www.flickr.com/photos/xmodulo/14494448218/
|
||||
[8]:http://new.musichackday.org/
|
@ -1,3 +1,4 @@
|
||||
disylee来占坑~~
|
||||
Top 10! Fun On The Command Line
|
||||
================================================================================
|
||||
**If you just love making 'top 10'-type lists but are a little embarrassed to say so, tell people you're passionate about data exploration. To impress them even more, explain that you do your data exploration on the command line. But don't ruin the impression by telling them how easy that is!**
|
||||
@ -113,4 +114,4 @@ via: http://thelinuxrain.com/articles/top-10-fun-on-the-command-line
|
||||
[3]:http://www.rinkworks.com/words/letterfreq.shtml
|
||||
[4]:http://www.thelinuxrain.com/articles/building-a-gazetteer-table-from-kml-files
|
||||
[5]:https://zenodo.org/record/10481
|
||||
[6]:http://parlinfo.aph.gov.au/parlInfo/search/display/display.w3p;db=CHAMBER;id=chamber%2Fhansards%2F232fa1a8-d7e8-4b22-9018-1a99b5a96812%2F0025;query=Id%3A%22chamber%2Fhansards%2F232fa1a8-d7e8-4b22-9018-1a99b5a96812%2F0000%22
|
||||
[6]:http://parlinfo.aph.gov.au/parlInfo/search/display/display.w3p;db=CHAMBER;id=chamber%2Fhansards%2F232fa1a8-d7e8-4b22-9018-1a99b5a96812%2F0025;query=Id%3A%22chamber%2Fhansards%2F232fa1a8-d7e8-4b22-9018-1a99b5a96812%2F0000%22
|
||||
|
@ -1,96 +0,0 @@
|
||||
How to access Linux command cheat sheets from the command line
|
||||
================================================================================
|
||||
The power of Linux command line is its flexibility and versatility. Each Linux command comes with its share of command line options and parameters. Mix and match them, and even chain different commands with pipes and redirects. You get yourself literally hundreds of use cases even with a few basic commands, and it's hard even for seasoned system admins to get used to them all. That's when command line cheat sheets come to our rescue.
|
||||
|
||||
[![](https://farm6.staticflickr.com/5562/14752051134_5a7c3d2aa4_z.jpg)][1]
|
||||
|
||||
I know man pages are still our best friend, but we want to be efficient and strategic by having quick reference cards at our disposal. Your ultimate cheet sheets could be hanging on your office wall with pride, or secretly stored in your hard drive as PDF files, or even be the background image on your desktop.
|
||||
|
||||
Alternatively, use yet(!) another command to access your favorite command line cheat sheets. That is, use [cheat][2]. Which is a command line tool allowing you to access, create or update cheat sheets from the command line. The concept is really simple, yet cheat turns out to be quite useful. This tutorial is about how to use cheat command on Linux. You don't need a cheat sheet for using cheat command. It's that simple.
|
||||
|
||||
### Installing Cheat on Linux ###
|
||||
|
||||
First install Git if you haven't:
|
||||
|
||||
$ sudo apt-get install git (Debian-based system)
|
||||
$ sudo yum install git (RedHat-based system)
|
||||
|
||||
Also install [Python package installer pip[3].
|
||||
|
||||
Finally, install cheat using the following commands.
|
||||
|
||||
$ sudo pip install docopt pygments
|
||||
$ git clone https://github.com/chrisallenlane/cheat.git
|
||||
$ cd cheat
|
||||
$ sudo python setup.py install
|
||||
|
||||
### Configuring Cheat ###
|
||||
|
||||
There is not much to configure for cheat command.
|
||||
|
||||
One thing to recommend is to enable command-line autocompletion. That way, when you look up a cheat sheet, you can use [TAB] key to auto-complete the name of the command you want to check. Here is how to enable autocompletion for bash.
|
||||
|
||||
$ wget https://github.com/chrisallenlane/cheat/raw/master/cheat/autocompletion/cheat.bash
|
||||
$ sudo cp cheat.bash /etc/bash_completion.d/
|
||||
|
||||
They provide autocompletion scripts for other shells such as zsh and fish as well.
|
||||
|
||||
Another thing is to define an EDITOR environment variable. This variable should point to a text editor that you want to use when creating or updating a cheat sheet. For example, if you want to use Vim editor, put the following in ~/.bashrc.
|
||||
|
||||
export EDITOR=/usr/bin/vim
|
||||
|
||||
Log out and log back in to activate autocompletion and updated .bashrc.
|
||||
|
||||
### Basic Usage of Cheat ###
|
||||
|
||||
One cool thing about the cheat command is that it comes with pre-built cheat sheets for more than 90 popular Linux commands. To get a list of available cheat sheets:
|
||||
|
||||
$ cheat -l
|
||||
|
||||
![](https://farm3.staticflickr.com/2932/14754370585_7133cbbc8c_z.jpg)
|
||||
|
||||
To access a cheat sheet of a specific command, simply run cheat with the name of the command:
|
||||
|
||||
$ cheat <command-name>
|
||||
|
||||
![](https://farm4.staticflickr.com/3899/14567722899_8b86c312ca_z.jpg)
|
||||
|
||||
You can search all the cheat sheets that contain a specific keyword by using "-s" option:
|
||||
|
||||
$ cheat -s <keyword>
|
||||
|
||||
In many cases, cheat sheets that are useful to some folks may not that helpful to others. To personalize pre-built cheat sheets, cheat command allows you to create a new cheat sheet or update existing ones. To do so, cheat command can keep local copies of cheat sheets in ~/.cheat directory.
|
||||
|
||||
To take advantage of cheat's editing feature, first make sure that the EDITOR environment variable is set to the full path of your default text editor. Then copy (non-editable) built-in cheat sheets to ~/.cheat directory. You can find where the built-in cheat sheets are by running the following command. Once you know where they are, simply copy them over to ~/.cheat directory.
|
||||
|
||||
$ cheat -d
|
||||
|
||||
----------
|
||||
|
||||
/usr/lib/python2.6/site-packages/cheat/cheatsheets
|
||||
|
||||
----------
|
||||
|
||||
$ cp /usr/lib/python2.6/site-packages/cheat/cheatsheets/* ~/.cheat
|
||||
|
||||
Now you can create or update a cheat sheet by using "-e" option:
|
||||
|
||||
$ cheat -e openssl
|
||||
|
||||
As you can imagine, the cheat's editing feature is very useful to tailor a local cheat sheet repository to meet your needs. If you believe in sharing knowledge, you are more than welcome to contribute your cheat sheets to the cheat command's [official Git repository][4], so everyone can benefit from them.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://xmodulo.com/2014/07/access-linux-command-cheat-sheets-command-line.html
|
||||
|
||||
作者:[Dan Nanni][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://xmodulo.com/author/nanni
|
||||
[1]:http://xkcd.com/1168/
|
||||
[2]:https://github.com/chrisallenlane/cheat
|
||||
[3]:http://ask.xmodulo.com/install-pip-linux.html
|
||||
[4]:https://github.com/chrisallenlane/cheat
|
@ -1,131 +0,0 @@
|
||||
How to use awk command in Linux
|
||||
================================================================================
|
||||
Text processing is at the heart of Unix. From pipes to the /proc subsystem, the "everything is a file" philosophy pervades the operating system and all of the tools built for it. Because of this, getting comfortable with text-processing is one of the most important skills for an aspiring Linux system administrator, or even any power user, and awk is one of the most powerful text-processing tools available outside general-purpose programming languages.
|
||||
|
||||
The simplest awk task is selecting fields from stdin; if you never learn any more about awk than this, you'll still have at your disposal an extremely useful tool.
|
||||
|
||||
By default, awk separates input lines by whitespace. If you'd like to select the first field from input, you just need to tell awk to print out $1:
|
||||
|
||||
$ echo 'one two three four' | awk '{print $1}'
|
||||
|
||||
> one
|
||||
|
||||
(Yes, the curly-brace syntax is a little weird, but I promise that's about as weird as it gets in this lesson.)
|
||||
|
||||
Can you guess how you'd select the second, third, or fourth fields? That's right, with $2, $3, and $4, respectively.
|
||||
|
||||
$ echo 'one two three four' | awk '{print $3}'
|
||||
|
||||
(Yes, the curly-brace syntax is a little weird, but I promise that's about as weird as it gets in this lesson.)
|
||||
|
||||
Can you guess how you'd select the second, third, or fourth fields? That's right, with $2, $3, and $4, respectively.
|
||||
|
||||
$ echo 'one two three four' | awk '{print $3}'
|
||||
|
||||
> three
|
||||
|
||||
Often when text munging, you need to create a specific format of data, and that covers more than just a single word. The good news is that awk makes it easy to print multiple fields, or even include static strings:
|
||||
|
||||
$ echo 'one two three four' | awk '{print $3,$1}'
|
||||
|
||||
> three one
|
||||
|
||||
----------
|
||||
|
||||
$ echo 'one two three four' | awk '{print "foo:",$3,"| bar:",$1}'
|
||||
|
||||
> foo: three | bar: one
|
||||
|
||||
Ok, but what if your input isn't separated by whitespace? Just pass awk the '-F' flag with your separator:
|
||||
|
||||
$ echo 'one mississippi,two mississippi,three mississippi,four mississippi' | awk -F , '{print $4}'
|
||||
|
||||
> four mississippi
|
||||
|
||||
Occasionally, you may find yourself working with data with a varied number of fields, and you just know you want the *last* one. awk prepopulates the $NF variable with the *number of fields*, so you can use it to grab the last element:
|
||||
|
||||
$ echo 'one two three four' | awk '{print $NF}'
|
||||
|
||||
> four
|
||||
|
||||
You can also do simple math on $NF, in case you need the next-to-last field:
|
||||
|
||||
$ echo 'one two three four' | awk '{print $(NF-1)}'
|
||||
|
||||
> three
|
||||
|
||||
Or even the middle field:
|
||||
|
||||
$ echo 'one two three four' | awk '{print $((NF/2)+1)}'
|
||||
|
||||
> three
|
||||
|
||||
$ echo 'one two three four five' | awk '{print $((NF/2)+1)}'
|
||||
|
||||
> three
|
||||
|
||||
While this is all very useful, you can get away with forcing sed, cut, and grep into a form to get these results, as well (albeit with a lot more work).
|
||||
|
||||
So, I'll leave you with one last introductory feature of awk, maintaining state across lines.
|
||||
|
||||
$ echo -e 'one 1\ntwo 2' | awk '{print $2}'
|
||||
|
||||
> 1
|
||||
>
|
||||
> 2
|
||||
|
||||
$ echo -e 'one 1\ntwo 2' | awk '{sum+=$2} END {print sum}'
|
||||
|
||||
> 3
|
||||
|
||||
(The END indicates that we should only perform the following block **after** we finish processing every line.)
|
||||
|
||||
The case where I've used this is to sum up bytes from web server request logs. Imagine we have an access log that looks like this:
|
||||
|
||||
$ cat requests.log
|
||||
|
||||
> Jul 23 18:57:12 httpd[31950]: "GET /foo/bar HTTP/1.1" 200 344
|
||||
>
|
||||
> Jul 23 18:57:13 httpd[31950]: "GET / HTTP/1.1" 200 9300
|
||||
>
|
||||
> Jul 23 19:01:27 httpd[31950]: "GET / HTTP/1.1" 200 9300
|
||||
>
|
||||
> Jul 23 19:01:55 httpd[31950]: "GET /foo/baz HTTP/1.1" 200 6401
|
||||
>
|
||||
> Jul 23 19:02:31 httpd[31950]: "GET /foo/baz?page=2 HTTP/1.1" 200 6312
|
||||
|
||||
We know the last field is the number of bytes of the response. We've already learned how to extract them using print and $NF:
|
||||
|
||||
$ < requests.log awk '{print $NF}'
|
||||
|
||||
> 344
|
||||
>
|
||||
> 9300
|
||||
>
|
||||
> 9300
|
||||
>
|
||||
> 6401
|
||||
>
|
||||
> 6312
|
||||
|
||||
And so we can sum into a variable to gather the total number of bytes our webserver has served to clients during the timespan of our log:
|
||||
|
||||
$ < requests.log awk '{totalBytes+=$NF} END {print totalBytes}'
|
||||
|
||||
> 31657
|
||||
|
||||
If you're looking for more to do with awk, you can find used copies of [the original awk book][1] for under 15 USD on Amazon. You may also enjoy Eric Pement's [collection of awk one-liners][2].
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://xmodulo.com/2014/07/use-awk-command-linux.html
|
||||
|
||||
作者:[James Pearson][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://xmodulo.com/author/james
|
||||
[1]:http://www.amazon.com/gp/product/020107981X/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=020107981X&linkCode=as2&tag=xmodulo-20&linkId=6NW62B2WBRBXRFJB
|
||||
[2]:http://www.pement.org/awk/awk1line.txt
|
@ -1,67 +0,0 @@
|
||||
Use Pushbullet Indicator In Ubuntu To Send Files To Android Or iOS Devices
|
||||
================================================================================
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/07/Pushbullet_Logog.jpg)
|
||||
|
||||
[Pushbullet][1] is an app available for iOS and Android devices that lets you send files, links, images from your desktop to your mobile device and vice versa. Pushbullet can be used in any OS by installing extensions in Firefox or Chrome.
|
||||
|
||||
If you are not fan of browser extensions and want to use something more of a desktop app for **Pushbullet in Ubuntu 14.04**, you can use **Pushbullet Indicator** developed by [Atareao][2]. Pushbullet Indicator is in development stage at the moment and doesn’t have all the functionality of the official Windows desktop app but it still has enough to get you started.
|
||||
|
||||
### Install Pushbullet Indicator in Ubuntu 14.04 and Linux Mint 17 ###
|
||||
|
||||
Open a terminal and use the following commands:
|
||||
|
||||
sudo add-apt-repository ppa:atareao/atareao
|
||||
sudo apt-get update
|
||||
sudo apt-get install pushbullet-indicator
|
||||
|
||||
The above PPA won’t work on Ubuntu 13.10.
|
||||
|
||||
### Using Pushbullet Indicator in Ubuntu 14.04 and Linux Mint 17 ###
|
||||
|
||||
- Create an account on [Pushbullet][3].
|
||||
- Install the Pushbullet app on your Android or iOS device.
|
||||
- After installing Pushbullet Indicator in Ubuntu or Linux Mint, start it. On the first launch, it will give the option to connect to your Pushbullet account:
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/07/Pushbullet_Indicator_start.png)
|
||||
|
||||
- Once connected, you should also name your device, from the device tab in the above picture. If you want Pushbullet to autostart at each boot, you can choose it do so by going in preference and turn on the Autostart button (shown in the picture above).
|
||||
- Once you are done with this, you will see the Pushbullet indicator in Unity panel.
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/07/Use_Pushbullet_indicator_Ubuntu.jpeg)
|
||||
|
||||
- To send something to your smartphone, click on the indicator and select the device (linked to your Pushbullet account). It’s as simple as that.
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/07/Pushbullet_Indicator_In_Ubuntu.png)
|
||||
|
||||
- You’ll get a notification on the other device of receiving a file. You can access them all from the Pushbullet app.
|
||||
- Android devices can also get notifications for phone calls, text messages and other notifications.
|
||||
- If you send a file from your mobile device to your desktop, you will be notified about it:
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/07/Pushbulet_Indicator_Notification.jpeg)
|
||||
|
||||
- The files are not automatically saved to a certain directory. To get the file sent from other device, go to Show last push from the indicator menu, it will show you the last push available. Click on it to download the file to a directory of your choice.
|
||||
|
||||
### Install Nautilus extension for Pushbullet: ###
|
||||
|
||||
Alternatively, you can also install Nautilus extension for Pushbullet to send files directly from right click menu. Use the following command:
|
||||
|
||||
sudo apt-get install nautilus-pushbullet
|
||||
|
||||
You’ll have to authenticate it again after restarting.
|
||||
|
||||
Do share your experience with Pushbullet Indicator in comment section. Ciao ![](http://itsfoss.itsfoss.netdna-cdn.com/wp-includes/images/smilies/icon_smile.gif)
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://itsfoss.com/pushbullet-indicator-ubuntu/
|
||||
|
||||
作者:[Abhishek][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://itsfoss.com/author/Abhishek/
|
||||
[1]:https://www.pushbullet.com/
|
||||
[2]:http://www.atareao.es/
|
||||
[3]:https://www.pushbullet.com/
|
@ -0,0 +1,80 @@
|
||||
Translating by GOLinux ...
|
||||
Easy Steps to Make GNOME 3 More Efficient
|
||||
================================================================================
|
||||
Few Linux desktops have brought about such controversy as GNOME 3. It’s been ridiculed, scorned, and hated since it was first released. Thing is, it’s actually a very good desktop. It’s solid, reliable, stable, elegant, simple... and with a few minor tweaks and additions, it can be made into one of the most efficient and user-friendly desktops on the market.
|
||||
|
||||
Of course, what makes for an efficient and/or user-friendly desktop? That is subject to opinion -- something everyone has. Ultimately, my goal is to help you gain faster access to the apps and the files you use. Simple. Believe it or not, stepping GNOME 3 up into the world of higher efficiency and user-friendliness is quite an easy task -- you just have to know where to look and what to do. I am here to point you in the right directions.
|
||||
|
||||
I decided to go about this process by first installing a clean [Ubuntu GNOME][1] distribution that included GNOME 3.12. With the GNOME-centric desktop ready to go, it’s time to start tweaking.
|
||||
|
||||
### Add window buttons ###
|
||||
|
||||
For some unknown reason, the developers of GNOME decided to shrug off the standard window buttons (Close, Minimize, Maximize) in favor of a single Close button. I get the lack of a Maximize button (since you can simply drag the window to the top of the screen to maximize) and you can also gain access to the minimize/maximize actions by right-clicking the titlebar and selecting either Minimize or Maximize. This behavior simply adds steps, so the lack of a minimize button is a bit confounding. Fortunately, there’s an easy fix for this. Here’s how:
|
||||
|
||||
By default, you should have the GNOME Tweak Tool installed. With this tool you can turn on either/or the Maximize or Minimize buttons (Figure 1).
|
||||
|
||||
![Figure 1: Adding the minimize button back to the GNOME 3 windows.](http://www.linux.com/images/stories/41373/gnome3-max-min-window.png)
|
||||
Figure 1: Adding the minimize button back to the GNOME 3 windows.
|
||||
|
||||
Once added, you’ll see the Minimize button, to the left of the close button, ready to serve. Your windows are now more easy to manage.
|
||||
|
||||
From the same tweak tool, you can configure a number of other helpful aspects of GNOME:
|
||||
|
||||
- Set window focus mode
|
||||
- Set system fonts
|
||||
- Set the GNOME theme
|
||||
- Add startup applications
|
||||
- Add extensions.
|
||||
|
||||
### Add extensions ###
|
||||
|
||||
One of the best features of GNOME 3 are shell extensions. These extensions bring all sorts of handy features to GNOME. With shell extensions, there’s no need to install from the package manager, you either visit the [GNOME Shell Extension][2] site, search for the extension you want to add, click on the extension listing, click the On button, and then okay the installation of the extension or you add them from within the GNOME Tweak Tool (you’ll find more available extensions through the web site).
|
||||
|
||||
NOTE: You may have to allow the installation of extensions through your browser. If this is the case, you’ll be given a warning when you first visit the GNOME Shell Extension site. Just click Allow when prompted.
|
||||
|
||||
One of the more impressive (and handy extensions) is [Dash to Dock][3]. This extension moves the Dash out of the application overview and turns it into a fairly standard dock (Figure 2).
|
||||
|
||||
![Figure 2: Dash to Dock adds a dock to GNOME 3.](http://www.linux.com/images/stories/41373/gnome3-dash.png)
|
||||
Figure 2: Dash to Dock adds a dock to GNOME 3.
|
||||
|
||||
As you add applications to the Dash, they will also be added to the Dash to Dock. You also get quick access to the applications overview, by clicking the 6-dotted icon at the bottom of the Dock.
|
||||
|
||||
There are plenty of other extensions focused on making GNOME 3 a more efficient desktop. Some of the better extensions include:
|
||||
|
||||
- [Recent items][4]: Add a drop-down menu of recently used items to your panel.
|
||||
- [Search Firefox Bookmarks Provider][5]: Search (and launch) your bookmarks from the Overview.
|
||||
- [Quicklists][6]: Add a quicklist popup menu to Dash icons (which allows you to quickly open new documents associated with the application, and more).
|
||||
- [Todo List][7]: Adds a drop-down in the panel that allows you to add items lists.
|
||||
- [Web Search Dialog][8]: Allows you to quickly search the web by hitting Ctrl+Space and entering a string of text (results appear in a new browser tab).
|
||||
|
||||
### Add a complete dock ###
|
||||
|
||||
If the Dash to Dock is too limiting for you (say you want a notification area and more), one of my favorite docks is [Cairo Dock][9] (Figure 3). This amazing addition to GNOME 3 will go a long way to up the efficiency of the desktop. With it, you can add/remove applications, get quick access to shortcuts (folders such as Documents, Downloads, Music, and Videos), add applets (such as RSS reader, wi-fi indicator, netspeed, drop-to-share, and more). Cairo also allows themes and OpenGL hardware acceleration support.
|
||||
|
||||
![Figure 3: Cairo Dock ready for action.](http://www.linux.com/images/stories/41373/gnome3-Cairo-dock.png)
|
||||
Figure 3: Cairo Dock ready for action.
|
||||
|
||||
With Cairo Dock added to GNOME 3, your experience will be made exponentially better. Install this great dock from within your distribution’s package manager.
|
||||
|
||||
GNOME 3 doesn’t have to be seen as an inefficient, user UN-friendly, desktop. With just a tiny bit of tweaking, GNOME 3 can be made as powerful and user-friendly as any desktop available.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.linux.com/learn/tutorials/781916-easy-steps-to-make-gnome-3-more-efficient
|
||||
|
||||
作者:[Jack Wallen][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://www.linux.com/community/forums/person/93
|
||||
[1]:http://ubuntugnome.org/
|
||||
[2]:https://extensions.gnome.org/
|
||||
[3]:https://extensions.gnome.org/extension/307/dash-to-dock/
|
||||
[4]:https://extensions.gnome.org/extension/72/recent-items/
|
||||
[5]:https://extensions.gnome.org/extension/149/search-firefox-bookmarks-provider/
|
||||
[6]:https://extensions.gnome.org/extension/322/quicklists/
|
||||
[7]:https://extensions.gnome.org/extension/162/todo-list/
|
||||
[8]:https://extensions.gnome.org/extension/549/web-search-dialog/
|
||||
[9]:http://glx-dock.org/index.php
|
@ -0,0 +1,106 @@
|
||||
What are better alternatives to basic command line utilities
|
||||
================================================================================
|
||||
The command line can be scary especially at the beginning. You might even experience some command-line-induced nightmare. Over time, however, we all realize that the command line is actually not that scary, but extremely useful. In fact, the lack of shell is what gives me an ulcer every time I have to use Windows. The reason for the change in perception is that the command line tools are actually smart. The basic utilities, what you are given to work with on any Linux terminal, are very powerful. But very powerful is never enough. If you want to make your command line experience even more pleasant, here are a few applications that you can download to replace the default ones, and will provide you with far more features than the originals.
|
||||
|
||||
### dfc ###
|
||||
|
||||
As an LVM user, I really like to keep an eye on my hard drive memory usage. I also never really understood why in Windows we have to open the file explorer to know this basic information. Hopefully on Linux, we can use the command.
|
||||
|
||||
$ df -h
|
||||
|
||||
![](https://farm4.staticflickr.com/3858/14768828496_c8a42620a3_z.jpg)
|
||||
|
||||
which gives you the size, usage, free space, ratio, and mount point of every volume on your computer. Notice that you have to pass in the "-h" argument to get all the data in human readable format (gigabytes instead of kilobytes). But you can replace completely df with [dfc][1], which can, without any additional arguments, get you everything that df showed, and throw in a usage graph for each device, and a color code, which makes it a lot easier to read.
|
||||
|
||||
![](https://farm6.staticflickr.com/5594/14791468572_a84d4b6145_z.jpg)
|
||||
|
||||
As a bonus, you can sort the volumes using the argument "-q", define the units that you want to see with "-u", and even export to csv or html format with "-e"
|
||||
|
||||
### dog ###
|
||||
|
||||
Dog is better than cat. At least that is what this program declares. You have to give it credit for once. Everything that the cat command does, [dog][2] does it better. Beyond just outputting some text stream to the console, dog is capable of filtering that stream. You can for example find all images in a web page by using the syntax:
|
||||
|
||||
$ dog --images [URL]
|
||||
|
||||
![](https://farm6.staticflickr.com/5568/14811659823_ea8d22d045_z.jpg)
|
||||
|
||||
Or all the links with:
|
||||
|
||||
dog --links [URL]
|
||||
|
||||
![](https://farm4.staticflickr.com/3902/14788690051_7472680968_z.jpg)
|
||||
|
||||
Besides, dog commands can also do other smaller tasks, like convert to upper or lower case, use different encoding, display the line numbers, and deal with hexadecimal. In short, dog is a must-have to replace cat.
|
||||
|
||||
### advcp ###
|
||||
|
||||
One of the most basic command in Linux is the copy command: cp. It is probably as basic as cd. Yet it cruelly lacks feedback. You can enable the verbose mode to see which files are being copied in real time, but if one of the files is very big, you will be left waiting in front of your screen with no idea of what is really happening behind the scenes. An easy way to fix that is to add a progress bar: what advcp (short for advanced cp) does! Available as a [patched version][3] of the [GNU coreutils][4], advcopy provides you with the acp and amv commands, which are "advanced" versions of cp and mv. Use the syntax:
|
||||
|
||||
$ acp -g [file] [copy]
|
||||
|
||||
to copy a file to another location, and display a progress bar.
|
||||
|
||||
![](https://farm6.staticflickr.com/5588/14605117730_fe611fc234_z.jpg)
|
||||
|
||||
I also advise using an alias in your .barshrc or .zshrc
|
||||
|
||||
alias cp="acp -g"
|
||||
alias mv="amv -g"
|
||||
|
||||
### The Silver Searcher ###
|
||||
|
||||
Behind this atypical name, [the silver searcher][5] is a utility designed as a replacement for grep and [ack][6]. Intended to be faster than ack, and capable of ignoring files unlike grep, the silver searcher scrolls through your text file looking for the piece that you want. Among other features, it can spit out a colored output, follow symlink, use regular expressions, and even ignore some patterns.
|
||||
|
||||
![](https://farm4.staticflickr.com/3876/14605308117_f966c77140_z.jpg)
|
||||
|
||||
The developers' website provides us with some benchmark statistic on the search speed which, if they are still true, are quite impressive. And cherry on the cake: you can include the utility in Vim in order to call it with a simple shortcut. In two words, smart and fast.
|
||||
|
||||
### plowshare ###
|
||||
|
||||
All fans of the command line like to use wget or one of its alternatives to download things from the internet. But if you use a lot of file sharing websites, like mediafire or rapidshare, you will be glad to know that there is an equivalent to wget dedicated to those websites, which is called [plowshare][7]. Once you install it, you can download files with:
|
||||
|
||||
$ plowdown [URL]
|
||||
|
||||
or upload them with:
|
||||
|
||||
$ plowup [website name] [file]
|
||||
|
||||
given that you have an account for that file sharing website.
|
||||
|
||||
Finally, it is possible to gather information, such as a list of links contained in a shared folder with:
|
||||
|
||||
$ plowlist [URL]
|
||||
|
||||
or the filename, size, hash, etc, with:
|
||||
|
||||
$ plowprobe [URL]
|
||||
|
||||
plowshare is also a good alternative to the slow and excruciating jDownloader for those of you who are familiar with these services.
|
||||
|
||||
### htop ###
|
||||
|
||||
If you use top command regularly, chances are you will love [htop][8] command. Both top and htop offer a real-time view of running processes, but htop boasts of a number of user-friendly features lacking in top command. For example, with htop, you can scroll process list vertically or horizontally to see full command lines of every process, and can do basic process management (e.g., kill, (re)nice) using mouse clicks and arrow keys (without entering numeric PIDs).
|
||||
|
||||
![](https://farm6.staticflickr.com/5581/14819141403_6f2348590f_z.jpg)
|
||||
|
||||
To conclude, these kinds of tools, which efficiently replace basic command line utilities, are like little pearl of usefulness. They are not always easy to find, but once you've got one, you always wonder how you survived for so long without it. If you know any other utility fitting this description, please share in the comments.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://xmodulo.com/2014/07/better-alternatives-basic-command-line-utilities.html
|
||||
|
||||
作者:[Adrien Brochard][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://xmodulo.com/author/adrien
|
||||
[1]:http://projects.gw-computing.net/projects/dfc
|
||||
[2]:http://archive.debian.org/debian/pool/main/d/dog/
|
||||
[3]:http://zwicke.org/web/advcopy/
|
||||
[4]:http://www.gnu.org/software/coreutils/
|
||||
[5]:https://github.com/ggreer/the_silver_searcher
|
||||
[6]:http://xmodulo.com/2014/01/search-text-files-patterns-efficiently.html
|
||||
[7]:https://code.google.com/p/plowshare/
|
||||
[8]:http://hisham.hm/htop/
|
@ -0,0 +1,173 @@
|
||||
Cheat – An Ultimate Command Line ‘Cheat-Sheet’ for Linux Beginners and Administrators
|
||||
================================================================================
|
||||
What you do when you are not sure of the command you are running especially in case of complex commands which uses a lot of options. We use man pages to get some help in such situation. Some of the other options may include commands like ‘**help**‘, ‘**whereis**‘ and ‘**whatis**‘. But all has their Pros and Cons.
|
||||
|
||||
While going through **man pages** for options and help, the description in man pages are too lengthy to understand specially in short span of time.
|
||||
|
||||
![Linux Man Pages](http://www.tecmint.com/wp-content/uploads/2014/07/Linux-Man-Pages.jpeg)
|
||||
Linux Man Pages
|
||||
|
||||
Similarly, ‘**help**‘ command may not give you desired output.
|
||||
|
||||
![Help Command](http://www.tecmint.com/wp-content/uploads/2014/07/help-command.jpeg)
|
||||
Help Command
|
||||
|
||||
A ‘**whereis**‘ command hardly tells anything other than the location of Installed Binaries (May be Important at time).
|
||||
|
||||
![Whereis Command](http://www.tecmint.com/wp-content/uploads/2014/07/whereis-command.jpeg)
|
||||
Whereis Command
|
||||
|
||||
A ‘**whatis**‘ command gives strict and one liner answer which is not much helpful other than acknowledging the purpose of the command, Moreover it never says a single word about the available options.
|
||||
|
||||
![Whatis Command](http://www.tecmint.com/wp-content/uploads/2014/07/whatis-command.jpeg)
|
||||
Whatis Command
|
||||
|
||||
We have used all these options till date to solve our issue in the dilemma but here comes an interactive cheat-sheet application ‘**cheat**‘ which is going to lead all the rest.
|
||||
|
||||
### What is cheat? ###
|
||||
|
||||
**Cheat** is an interactive cheat-sheet application released under GNU General Public License for Linux Command line users which serves the purpose of showing, use cases of a Linux command with all the options and their short yet understandable function.
|
||||
|
||||
![Cheat: Provides Easy Command Options](http://www.tecmint.com/wp-content/uploads/2014/07/cheat-sheet.jpeg)
|
||||
Cheat: Provides Easy Command Options
|
||||
|
||||
### Installing ‘Cheat’ in Linux Systems ###
|
||||
|
||||
‘**Cheat**‘ has two major dependency – ‘**python**‘ and ‘**pip**‘. Make sure you have installed python and pip before installing ‘**cheat**‘ on the system.
|
||||
|
||||
#### Install Python ####
|
||||
|
||||
# apt-get install Python (On Debian based Systems)
|
||||
# yum install python (On RedHat based Systems)
|
||||
|
||||
Install Pip
|
||||
|
||||
# apt-get install python-pip (On Debian based Systems)
|
||||
# yum install python-pip (On RedHat based Systems)
|
||||
|
||||
**NOTE**: pip is an easy install replacement and is intended to be an improved Python package installer.
|
||||
|
||||
### Download and Install Cheat ###
|
||||
|
||||
We will be downloading ‘cheat’ from Git. Make sure you have package ‘git’ installed, if not better install this first.
|
||||
|
||||
# apt-get install git (On Debian based Systems)
|
||||
# yum install git (On RedHat based Systems)
|
||||
|
||||
Next, install the required python dependencies by running following command.
|
||||
|
||||
# pip install docopt pygments
|
||||
|
||||
Now, clone the [Git repository][1] of cheat.
|
||||
|
||||
# git clone https://github.com/chrisallenlane/cheat.git
|
||||
|
||||
Move to the cheat directory and run ‘**setup.py**‘ (a python script).
|
||||
|
||||
# cd cheat
|
||||
# python setup.py install
|
||||
|
||||
If installation goes smoothly, you should be able to see a cheat version installed on the system.
|
||||
|
||||
# cheat -v
|
||||
cheat 2.0.9
|
||||
|
||||
### Required Configuration for Cheat ###
|
||||
|
||||
You must have an ‘**EDITOR**‘ environment variable set in ‘~/.bashrc’ file. Open the user ‘**.bashrc**‘ file and add the following line to it.
|
||||
|
||||
export EDITOR =/usr/bin/nano
|
||||
|
||||
You can use your favourite editor here in place of ‘**nano**‘. Save the file and logout. Again Login to make the changes taken into effect.
|
||||
|
||||
Next, add the cheat autocompletion feature to enable command-line autocompletion for different shells. To enable autocompletion, simply clone the ‘**cheat.bash**‘ script and copy the script to the appropriate path in your system.
|
||||
|
||||
# wget https://github.com/chrisallenlane/cheat/raw/master/cheat/autocompletion/cheat.bash
|
||||
# mv cheat.bash /etc/bash_completion.d/
|
||||
|
||||
**NOTE**: The team has uploaded other shell’s auto completion scrip to Git, which may be cloned and used in case of respective Shell. Use the following link for other shell’s auto completion script.
|
||||
|
||||
- [Auto Completion Script for Various Shells][2]
|
||||
|
||||
Optionally, you can also enable syntax highlighting, if desired. To active syntax highlighting feature, add a **CHEATCOLORS** environment variable in your ‘**.bashrc**‘ file.
|
||||
|
||||
export CHEATCOLORS=true
|
||||
|
||||
The Cheat application default program only serves the basic and most used commands. The content of cheat-sheet resides at location **~/.cheat/.** Manual Cheatsheets can be added to this location to make the application rich.
|
||||
|
||||
# cheat -e xyz
|
||||
|
||||
This will open xyz cheat-sheet if available. If not it will create one. The cheat-sheet will be opened in the default **EDITOR**, we set in **.bashrc** in the configuration stage, above.
|
||||
|
||||
### Usage of Cheat with Some Commands ###
|
||||
|
||||
A tarball may be *.gz or *.bz2 or *.zip or *.xz. So, what option to be used where?
|
||||
|
||||
![tar command options](http://www.tecmint.com/wp-content/uploads/2014/07/cheat-tar.jpeg)
|
||||
tar command options
|
||||
|
||||
I never run **dd** command, no matter how much sure I am about the command before consulting and cross checking it at more than one location. The things seems to be easy now.
|
||||
|
||||
![dd command options](http://www.tecmint.com/wp-content/uploads/2014/07/cheat-dd.jpeg)
|
||||
dd command options
|
||||
|
||||
A ‘**uname**‘ command help.
|
||||
|
||||
![uname command options](http://www.tecmint.com/wp-content/uploads/2014/07/uname-command.jpeg)
|
||||
uname command options
|
||||
|
||||
A short **ifconfig** command line tutorial, in action.
|
||||
|
||||
![ifconfig command options](http://www.tecmint.com/wp-content/uploads/2014/07/ifconfig-command.jpeg)
|
||||
ifconfig command options
|
||||
|
||||
A ‘top‘ command, one of the most important command for Admin and Normal User.
|
||||
|
||||
![top command options](http://www.tecmint.com/wp-content/uploads/2014/07/top-command.jpeg)
|
||||
top command options
|
||||
|
||||
How about Cheating the cheat command (though the other sense)? Get a list of available commands, the cheat-sheet of which is installed in the System.
|
||||
|
||||
![List All Linux Commands](http://www.tecmint.com/wp-content/uploads/2014/07/linux-commands.jpeg)
|
||||
List All Linux Commands
|
||||
|
||||
Search Cheat-sheet with specific keyword.
|
||||
|
||||
![Search Cheat Sheet](http://www.tecmint.com/wp-content/uploads/2014/07/search-cheat-sheet.jpeg)
|
||||
Search Cheat Sheet
|
||||
|
||||
See the location of built-in cheat-sheets for all the commands.
|
||||
|
||||
$ cheat -d
|
||||
|
||||
/home/avi/.cheat
|
||||
/usr/local/lib/python2.7/dist-packages/cheat/cheatsheets
|
||||
|
||||
Copy the in-built cheat-sheet to your native directory.
|
||||
|
||||
# cp /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/* /home/avi/.cheat/
|
||||
|
||||
### Conclusion ###
|
||||
|
||||
This wonderful project is a life Saviour in many-a-situation. It just gives you information that is required, nothing extra, nothing vague and to the point. This is a must tool for everyone. Easy to build, easy to install, easy to run and easy to understand, this project seems promising.
|
||||
|
||||
This Git project has added a wonderful **gag** which I am not going to explain but leave on you to interpret.
|
||||
|
||||
![Linux Gag](http://www.tecmint.com/wp-content/uploads/2014/07/linux-gag.jpeg)
|
||||
Linux Gag
|
||||
|
||||
That’s all for now. I’ll be here again with another interesting article you people will love to read. Till then stay tuned and connected to Tecmint. Don’t forget to provide us with your valuable feedback in the comment section below.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.tecmint.com/cheat-command-line-cheat-sheet-for-linux-users/
|
||||
|
||||
作者:[Avishek Kumar][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://www.tecmint.com/author/avishek/
|
||||
[1]:http://www.tecmint.com/install-git-to-create-and-share-your-own-projects-on-github-repository/
|
||||
[2]:https://github.com/chrisallenlane/cheat/tree/master/cheat/autocompletion
|
@ -0,0 +1,108 @@
|
||||
How to install and configure Nvidia Optimus driver on Ubuntu
|
||||
================================================================================
|
||||
Nvidia Optimus is a hybrid GPU system which utilises what is known as "discrete switching" and has been long associated with headaches and limitations on Linux systems. After years of wait, Ubuntu 14.04 with its shiny new kernel finally shipped with proprietary driver compatibility that can be installed easily. This article will guide you through the installation process after quick background of Nvidia Optimus for the unfamiliar readers. For the seasoned destroyer of Xorg configuration, you can quickly jump to the installation section below.
|
||||
|
||||
### Background ###
|
||||
|
||||
To those who aren't aware of Nvidia Optimus, it essentially alternates between using the onboard Intel graphics chipset and the more powerful NVIDIA card on demand using a process referred to as "GPU switching". Its purpose is to prolong battery life in notebooks, allowing the Nvidia GPU to switch off when there is no need for it. The benefits are obvious, allowing say 8 hours of battery life if simply typing in a word processor, or 3 hours if watching HD videos. That is if you are using Windows.
|
||||
|
||||
![](https://farm6.staticflickr.com/5581/14612159387_2e89a52085_z.jpg)
|
||||
|
||||
A couple of years ago I purchased a netbook (Asus VX6), and made the stupid mistake of not checking for Linux driver compatibility because it had never really been an issue before - especially for a netbook sized device. Even if a driver didn't work straight out of the box, I could always get it working one way or another whether installing a proprietary module or using backports. This was a first for me - my device came equipped with an Nvidia ION2 graphics card.
|
||||
|
||||
At the time Nvidia's Optimus hybrid GPU hardware was a relatively new thing, and I did not foresee the limitations I encountered running Linux on this machine. If you're reading this, are experienced with Linux systems and have purchased a notebook in the past for years, you might be familiar with this pain also.
|
||||
|
||||
The [Bumblebee][1] project was until recently as good as it gets in terms of Linux support for hybrid graphics. It was actually possible if configured correctly to utilise the Nvidia card for a desired application via CLI (i.e. 'optirun vlc'), but getting things like HDMI to work was a different story.
|
||||
|
||||
I used the phrase 'if configured correctly' because actually getting it working more often than not just broke your Xorg configuration on first few attempts. If you hadn't used ppa-purge or run 'dpkg-reconfigure -phigh xserver-xorg' before, then I can assure you that tinkering with Bumblebee taught them to you pretty quickly.
|
||||
|
||||
[![](https://farm6.staticflickr.com/5588/14798680495_947c38b043_o.png)][2]
|
||||
|
||||
It's been a very long wait for Nvidia to release Linux driver support for Optimus, and we still don't have the actual support for discrete switching. However, now with Ubuntu 14.04, nvidia-prime and the nvidia-331 driver, one can choose between the Intel or Nvidia card easily. Unfortunately it is still limited further by requiring restarting X11 (achieved by logout and login) for the change to take effect.
|
||||
|
||||
To make this slightly less inconvenient, there is an applet for quick switching, which can I'll get to later, but installation of the driver is a breeze and HDMI works so that's enough to satisfy me.
|
||||
|
||||
### Install Nvidia Optimus Driver ###
|
||||
|
||||
To run through the process quickly, I'll be assuming you've got a fresh install of Ubuntu 14.04 or Mint 17 ready to go.
|
||||
|
||||
Working as a sysadmin, I find 90% of Linux tasks these days quicker via CLI, but this time I recommend simply using the 'Additional Drivers' application that you're probably familiar with for installing proprietary NIC or sound drivers.
|
||||
|
||||
![](https://farm4.staticflickr.com/3886/14795564221_753f9e2d99_z.jpg)
|
||||
|
||||
**NOTE: All commands shown below preceded by ~# need to be run as root. Be sure to either 'sudo su' before running commands, or run with sudo at beginning of command.**
|
||||
|
||||
You can also do it via CLI by installing:
|
||||
|
||||
~# apt-get install nvidia-331 nvidia-settings nvidia-prime
|
||||
|
||||
followed by a reboot. Make sure you don't have any packages like Bumblebee or other loaded Nvidia drivers, otherwise it'll probably just break your X11. In case you aren't working with a clean install and did previously install Bumblebee etc, run the following before installing nvidia-331 and nvidia-prime:
|
||||
|
||||
~# apt-get purge libvdpau-va-gl1 bumblebee* nvidia*
|
||||
|
||||
### Switch between Nvidia non-Nvidia Cards ###
|
||||
|
||||
You can switch between Nvidia and non-Nvidia (e.g., Intel) cards by pressing Alt+F2 or typing from terminal:
|
||||
|
||||
~$ nvidia-settings
|
||||
|
||||
#### NOTE: ~$ means do not run as root user. ####
|
||||
|
||||
Chose the desired card, then log out and log back in.
|
||||
|
||||
![](https://farm4.staticflickr.com/3921/14796320814_de5c9882c2_z.jpg)
|
||||
|
||||
You can also use CLI to set which card to use as default:
|
||||
|
||||
~# prime-select intel (or nvidia)
|
||||
|
||||
As well as switch cards using:
|
||||
|
||||
~# prime-switch intel (or nvidia)
|
||||
|
||||
Both commands require restarting X11 to take effect, which can also be achieved by simply logging out and back in. A reboot will also suffice.
|
||||
|
||||
For Ubuntu users:
|
||||
|
||||
~# service lightdm restart
|
||||
|
||||
For Mint users:
|
||||
|
||||
~# service mdm restart
|
||||
|
||||
To verify which card is running:
|
||||
|
||||
~# prime-select query
|
||||
|
||||
And lastly you can install the prime-indicator package from ppa:nilarimogard/webupd8 which allows for a quick switch from the tool bar which restarts your Xserver session for you as well. To install it, simply run:
|
||||
|
||||
~# add-apt-repository ppa:nilarimogard/webupd8
|
||||
~# apt-get update
|
||||
~# apt-get install mesa-utils prime-indicator
|
||||
|
||||
### Summary ###
|
||||
|
||||
In conclusion, it's still not ideal, but at least it's nice and simple with proper proprietary support. Many people often still opt for Bumblebee over this setup because they find using the Nvidia driver only runs their battery dead in no time. For my personal usage this setup is the better way to go as I only use the Nvidia card for HDMI out, which implies that I will have it plugged into power. Otherwise Intel suffices for my portable usage as I don't require anything beyond LibreOffice, Chromium and Terminator on the go.
|
||||
|
||||
If you would prefer the idea of running Intel as default and specifying to run specific applications utilising Nvidia card, instead direct your reading to the many Bumblebee tutorials out there. I advise in the instance of Bumblebee once you finally get it working properly to document the commands and process used to configure for your device as there is nothing worse than doing a clean install 9 months later and forgetting what was done to get it working last time.
|
||||
|
||||
It may also be worthwhile checking out [this script][3] I stumbled across, which serves to easily switch between Bumblebee and Nvidia-Prime, but I must stress that I have not tested it myself.
|
||||
|
||||
Finally, I feel it is a massive shame that it's taken this long to get proprietary support for this cards on Linux and still no support for discrete switching, considering that hybrid graphics appear to be the future for portable devices. Normally AMD are associated with dropping the ball for driver support on Linux, but in my eyes Optimus is by far the worse hardware support issue I have encountered.
|
||||
|
||||
Regardless of whether this is ideal for your usage, it is the easiest way to go utilising that NVIDIA card. Try running the newest Unity on the Intel card alone and decide for yourself whether 2-3 hours battery life is worthy trade off.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://xmodulo.com/2014/08/install-configure-nvidia-optimus-driver-ubuntu.html
|
||||
|
||||
作者:[Christopher Ward][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://xmodulo.com/author/christopher
|
||||
[1]:http://bumblebee-project.org/
|
||||
[2]:http://xkcd.com/963
|
||||
[3]:https://devtalk.nvidia.com/default/topic/705993/easy-switch-between-bumblebee-and-nvidia-prime/
|
@ -0,0 +1,52 @@
|
||||
Linux FAQs with Answers--How to enable and configure desktop sharing on Linux Mint Cinnamon desktop
|
||||
================================================================================
|
||||
> **Question**: I was trying to enable desktop sharing via Vino VNC server (vino-server) on Linux Mint 17 Cinnamon desktop. However, I notice that vino-preferences tool which allows us to configure vino-server (e.g., sharing option, security, notification on/off) no longer exists. Also, I cannot find desktop sharing menu on Cinnamon desktop. How can I configure desktop sharing via vino-server on the latest Linux Mint 17 Cinnamon desktop?
|
||||
|
||||
The latest Linux Mint Cinnamon desktop comes with vino-server pre-installed for VNC desktop sharing, but it's reported that desktop sharing configuration menu is missing.
|
||||
|
||||
An alternative way to configure vino-server and enable desktop sharing is to use dconf-editor's graphical interface.
|
||||
|
||||
First install dconf-editor:
|
||||
|
||||
$ sudo apt-get install dconf-editor
|
||||
|
||||
Launch dconf-editor.
|
||||
|
||||
$ dconf-editor
|
||||
|
||||
Navigate to "org->gnome->desktop->remote-access" on the left panel of dconf-editor. Then you will see various desktop sharing options.
|
||||
|
||||
![](https://farm4.staticflickr.com/3916/14843965473_e68598b01b_z.jpg)
|
||||
|
||||
Most importantly, click on "enabled" to activate desktop remote access. Besides this, you can customize other options.
|
||||
|
||||
For example, you can enable VNC password authentication by changing the following fields:
|
||||
|
||||
- **authentication-methods**: set it to ['vnc']
|
||||
- **vnc-password**: change it to Base64-encoded string of a preferred password.
|
||||
|
||||
In this example, we choose VNC password as "password", and its Base64-encoded string is "cGFzc3dvcmQ=".
|
||||
|
||||
Optionally, you can enable other options:
|
||||
|
||||
- notify-on-connect: shows a desktop notification when vino-server receives a connection request.
|
||||
- prompt-enabled: a remote user is not allowed to access a desktop via VNC until the VNC request is approved by the desktop owner.
|
||||
|
||||
### Troubleshoot ###
|
||||
|
||||
1. I am getting the following error when attempting to start vino-server.
|
||||
|
||||
** (vino-server:4280): WARNING **: The desktop sharing service is not enabled, so it should not be run.
|
||||
|
||||
To enable desktop sharing service, use dconf-editor as described above. Alternatively, run the following command.
|
||||
|
||||
# gsettings set org.gnome.Vino enabled true
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://ask.xmodulo.com/enable-configure-desktop-sharing-linux-mint-cinnamon-desktop.html
|
||||
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
@ -0,0 +1,50 @@
|
||||
CoreOS Linux结束升级周期
|
||||
================================================================================
|
||||
> CoreOS发布了他的Linux发行版的商用支持版,并且宣称将废除手动更新。
|
||||
|
||||
国际数据集团新闻社消息——CoreOS发布了商用Linux发行版,以期能简化系统管理员的生活。这个Linux发行版可持续进行自动更新,不需要进行重大升级。
|
||||
|
||||
CoreOS提供其同名的Linux发行版做为商业服务,开始为一个月100美元。
|
||||
|
||||
“商家现在可以开始考虑将CoreOS作为他们系统团队的延伸,对于企业Linux客户,这将是他们会需要的最后一次迁移。”CoreOS的创始人和CEO在一份声明中这样说。
|
||||
|
||||
商业Linux订阅并不是什么新鲜事:[Red Hat][2]和[Suse][3]都在为他们各自的发行版提供商业订阅。
|
||||
|
||||
因为这些以Linux为基础的公司使用的应用程序和库都是开源和免费提供的,所以订阅的费用不包括软件本身,而收费来自更新,漏洞修复,集成以及发生问题时的技术支持。
|
||||
|
||||
CoreOS公司声称,CoreOS将会和这些发行版不同,它将不会有重大更新,而在那些发行版中这些更新通常需要一次更新所有的包。在CoreOS中,它的更新和新特征将会在就绪后自动安装入操作系统中。
|
||||
|
||||
服务中提供了一个叫做CoreUpdate的仪表盘,如果管理员不想自动更新所有包,它可用于标明选取哪些软件包获取更新。
|
||||
|
||||
CoreUpdate可以同时管理多个机器,而且提供了滚回功能——在更新引起问题可使用。
|
||||
|
||||
CoreOS于去年十二月发布,它的设计旨在[关注][4]开源操作系统内核的新兴使用——用于大量基于云计算的虚拟服务器。
|
||||
|
||||
CoreOS的设计使其平均消耗要少于其他Linux发行版通常消耗的一半。系统中所有的程序运行在Docker虚拟化容器中,所以它们几乎可以在瞬间就开始运行。
|
||||
|
||||
[由于CoreOS分为两部分的新用法][5]使其更新更为容易。一部分放置当前版本的系统,而另一部分系统来进行升级,平滑地进行升级包或者整个系统。
|
||||
|
||||
CoreOS服务可以运行在本地,或者在Amazon,Google和Rackspace云服务上。
|
||||
|
||||
CoreOS周一还宣布他们收到了来自Kleiner Perkins Caulfield and Byers风险投资公司的800万美元的支持。他们此前还收到了红杉资本和斐然资本的投资。
|
||||
|
||||
----------
|
||||
|
||||
Joab Jackson负责IDG新闻服务机构中企业软件和通用技术的新闻。Twitter上关注Joab[@Joab_Jackson][6]。Joab的电子邮箱地址是[Joab_Jackson@idg.com][7]
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.computerworld.com/s/article/9249460/CoreOS_Linux_ending_the_upgrade_cycle?taxonomyId=122
|
||||
|
||||
译者:[linuhap](https://github.com/linuhap) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:https://coreos.com/products/managed-linux/plans/
|
||||
[2]:http://www.redhat.com/about/subscription/
|
||||
[3]:https://www.suse.com/support/programs/subscriptions/
|
||||
[4]:http://www.networkworld.com/article/2177120/cloud-computing/coreos-linux-distro-lands-on-the-google-cloud-platform.html
|
||||
[5]:https://coreos.com/using-coreos/updates/
|
||||
[6]:http://twitter.com/Joab_Jackson
|
||||
[7]:Joab_Jackson@idg.com
|
@ -1,31 +0,0 @@
|
||||
小伙伴们,该更新系统啦:Ubuntu 13.10的支持到今天结束
|
||||
================================================================================
|
||||
![](http://www.omgubuntu.co.uk/wp-content/uploads/2014/04/upgrade-available.jpg)
|
||||
|
||||
|
||||
**尽管目前运行良好,在经历了9个月的折腾,今天官方对Ubuntu 13.10(俏皮蝾螈)的支持正式寿终正寝。**
|
||||
|
||||
> 尽管它的名字叫'俏皮蝾螈',但它所以提供的新功能却无比的乏味。
|
||||
那些仍然在使用的用户应该好好看看最新的发行的稳定版,Ubuntu 14.04 LTS,在四月推出的,提供良好的图形化支持,支持期限是到2019年的4月中旬。
|
||||
对于Ubuntu 13.10的服务器版本到今天正式的停止支持。
|
||||
### 俏皮蝾螈已然失宠 ###
|
||||
|
||||
Ubuntu 13.10在去年10月开始对桌面版本提供时常9个月的安全和Bug修复更新。截至到今年7月17日,所有更新将停止,未来也不再提供。
|
||||
[推荐的做法][1]是升级到14.04版本,目前可以直接通过图形化工具去升级,包括使用升级程序,或者在命令行运行‘`do-release-upgrade`‘命令。
|
||||
俏皮蝾螈,它的名字非常的好听,但其表现并不如人意,13.10在Ubuntu所有的发行版中也不是一个取得卓越成功的版本,[这一点已经被很多网络评论预言到了][2]。
|
||||
It was, however, notable for inflicting(注:这个单词原文有删除线) introducing Smart Scopes to the Unity Dash,
|
||||
然而,依然让人眼前一亮的是,它添加了键盘指示符来快速的选择安装语言,这可以让用户简便的在该智能域操作,这也是第一个在安装程序中整合了`Ubuntu One Single Sign-on`的发行版。
|
||||
查看13.10版本的所有新功能,请查看完整视频:
|
||||
Youtobe 视频地址:[http://www.youtube.com/embed/1EiRQ-znEcI?feature=oembed][3]
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.omgubuntu.co.uk/2014/07/ubuntu-13-10-support-ends-today
|
||||
|
||||
译者:[nd0104](https://github.com/nd0104) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:https://help.ubuntu.com/community/TrustyUpgrades
|
||||
[2]:http://www.omgubuntu.co.uk/2013/10/ubuntu-13-10-press-reaction
|
||||
[3]:http://www.youtube.com/embed/1EiRQ-znEcI?feature=oembed
|
60
translated/news/20140731 Minimal Linux Live.md
Normal file
60
translated/news/20140731 Minimal Linux Live.md
Normal file
@ -0,0 +1,60 @@
|
||||
最精简Linux Live CD版本:Minimal Linux Live
|
||||
================================================================================
|
||||
|
||||
最精简Linux Live是一系列基于[linux内核][1] 和 [BusyBox][2]的自动生成最精简 Live Linux 系统linux shell脚本。所有所需的源码已经自动地被下载,而且所有的生成操作已经完全被封装在脚本中了。
|
||||
|
||||
如果你想定制属于自己的最精简Linux Live 的ISO镜像文件,以下是你需要做的:
|
||||
|
||||
- 从[下载][3]区域获得最新的脚本。
|
||||
|
||||
- 把脚本解压到文件夹下。
|
||||
|
||||
- 确保所有的脚本都可执行(可以使用命令chmod +x *.sh 添加可执行属性)
|
||||
|
||||
- 在开始生成过程之前,取决于你使用什么Linux系统,可能会有一个或者多个依赖库(也可能不需要,或者更多)需要处理.如果使用Ubuntu的话,以下命令应该足以生成所有需要的依赖库:
|
||||
|
||||
----------
|
||||
|
||||
sudo apt-get install wget
|
||||
sudo apt-get install make
|
||||
sudo apt-get install gcc
|
||||
sudo apt-get install bc
|
||||
sudo apt-get install syslinux
|
||||
sudo apt-get install genisoimage
|
||||
|
||||
- 执行脚本 **build_minimal_linux_live.sh** 然后等待完成。如果你已经处理好所有的生成依赖库,那么在一台现代计算机上全部的过程耗费时间应该不超过30分钟。如果由于某些原因生成失败,最可能的应该是没有处理好生成依赖库。一些用户反应到生成所必需的包将会处理所有ubuntu上未知的生成依赖问题。如果使用Linux Mint 而且正在尝试安装 g++ 包,如果你依然遇到很多问题,那么你可以尝试安装必需包。在Fedora系统上你可能需要安装 glibc-static包。
|
||||
|
||||
请记得所有的生成依赖库由于你使用的Linux操作系统和已经安装的软件不同将会发生很大的变化。
|
||||
|
||||
如果依然有问题,请检查失败信息然后在google上搜索一下。如果你找不到解决方案,你可以询问一些更有经验的linux专家(如果你认识的话),或者另外一个选择是联系我们。请确保在发送给我们之前,你已经提前研究过这个问题。
|
||||
|
||||
- 当脚本完成它们的工作,你将会在执行脚本的同目录下发现一个新创建的**minimal_linux_live.iso** 文件。你可以烧录iso镜像到CD/DVD,通过[Universal USB Installer][4]工具安装到USB闪存设备,或者直接在PC的虚拟机上运行,例如[VirtualBox][5]。
|
||||
|
||||
生成的ISO镜像文件包括使用默认选项编译的linux内核,使用默认选项编译的BusyBox和非常轻量级的initramfs。这意味着你不需要 另辟蹊径去获得windows支持,也不需要使用任何花哨的桌面环境。你所需要的只是一个支持BusyBox applets 的shell控制台,和……好吧。这些就够了。这就是为什么称它为 "最精简"。
|
||||
|
||||
最好的消息是不仅操作系统很小很简单,而且生成脚本也同样的小巧玲珑。你可以很轻松地从脚本学习,并且修改他们去包含更多内容(我是很鼓励你这样做).在你学习完这些基础以后你将会拥有所有所必须的工具和技能去创造你自己功能完善的linux操作系统!完全从零开始!是不是帅呆了!?:)
|
||||
|
||||
这篇教程提供了更详细的脚本内部结构以及全部的生成过程,我鼓励你们如果有时间的话就去通读这个文档。
|
||||
|
||||
下面你会看到一些屏幕截图,它们展示了当你启动你的新一代 Minimal Linux Live 操作系统时的环境情况。
|
||||
|
||||
![](http://minimal.linux-bg.org/images/screen1.png)
|
||||
|
||||
![](http://minimal.linux-bg.org/images/screen2.png)
|
||||
|
||||
![](http://minimal.linux-bg.org/images/screen3.png)
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://minimal.linux-bg.org/
|
||||
|
||||
译者:[lfzark](https://github.com/lfzark)
|
||||
校对:[Caroline](https://github.com/carolinewuyan)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:http://kernel.org/
|
||||
[2]:http://busybox.net/
|
||||
[3]:http://minimal.linux-bg.org/#
|
||||
[4]:http://www.pendrivelinux.com/
|
||||
[5]:http://virtualbox.org/
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user