Opensource.com 的 2017 年最佳开源教程
教程 开源
2017 年，Opensource.com 发布了一系列用于帮助从初学者到专家的教程。让我们看看哪些最好。


![](/data/attachment/album/201802/26/122704kdfp9g9coq9fp227.png)


精心编写的教程对于任何软件的官方文档来说都是一个很好的补充。如果官方文件写得不好，不完整或根本没有，那么这些教程也可以是个有效的替代品。


2017 年，Opensource.com 发布一些有关各种主题的优秀教程。这些教程不只是针对专家们的，它们是针对各种技能水平和经验的用户的。


让我们来看看其中最好的教程。


### 关于代码


对许多人来说，他们第一次涉足开源是为一个项目或另一个项目贡献代码。你在哪里学习编码或编程的？以下两篇文章是很好的起点。


严格来说，VM Brasseur 的[如何开始学习编程](/article-8694-1.html)是新手程序员的一个很好的起点，而不是一个教程。它不仅指出了一些有助于你开始学习的优秀资源，而且还提供了了解你的学习方式和如何选择语言的重要建议。


如果您已经在一个 [IDE](https://en.wikipedia.org/wiki/Integrated_development_environment) 或文本编辑器中敲击了几个小时，那么您可能需要学习更多关于编码的不同方法。Fraser Tweedale 的[函数式编程简介](/article-8869-1.html)很好地介绍了可以应用到许多广泛使用的编程语言的范式。


### 踏足 Linux


Linux 是开源的典范。它运行了大量的 Web 站点，为世界顶级的超级计算机提供了动力。它让任何人都可以替代台式机上的专有操作系统。


如果你有兴趣深入 Linux，这里有三个教程供你参考。


Jason Baker 告诉你[设置 Linux $PATH 变量](https://opensource.com/article/17/6/set-path-linux)。他引导你掌握这一“任何 Linux 初学者的重要技巧”，使您能够告知系统包含了程序和脚本的目录。


感谢 David Both 的[建立一个 DNS 域名服务器](https://opensource.com/article/17/4/build-your-own-name-server)指南。他详细地记录了如何设置和运行服务器，包括要编辑的配置文件以及如何编辑它们。


想在你的电脑上更复古一点吗？Jim Hall 告诉你如何使用 [FreeDOS](http://www.freedos.org/)和 [qemu](https://www.qemu.org) [在 Linux 下运行 DOS 程序](/article-9014-1.html)。Hall 的文章着重于运行 DOS 生产力工具，但并不全是严肃的——他也谈到了运行他最喜欢的 DOS 游戏。


### 3 片（篇）树莓派


廉价的单板计算机使硬件再次变得有趣，这并不是秘密。不仅如此，它们使更多的人更容易接近，无论他们的年龄或技术水平如何。


其中，[树莓派](https://en.wikipedia.org/wiki/Raspberry_Pi)可能是最广泛使用的单板计算机。Ben Nuttall 带我们一起[在树莓派上安装和设置 Postgres 数据库](/article-9056-1.html)。这样，你可以在任何你想要的项目中使用它。


如果你的品味包括文学和技术，你可能会对 Don Watkins 的[如何将树莓派变成电子书服务器](/article-8684-1.html)感兴趣。稍微付出一点努力和一份 [Calibre 电子书管理软件](https://calibre-ebook.com/)副本，你就可以得到你最喜欢的电子书，无论你在哪里。


树莓派并不是其中唯一有特点的。还有 [Orange Pi Pc Plus](http://www.orangepi.org/)，这是一种开源的单板机。David Egts 告诉你[如何开始使用这个可编程的迷你电脑](/article-8308-1.html)。


### 日常的计算机使用


开源并不仅针对技术专家，更多的普通人用它来做日常工作，而且更加效率。这里有三篇文章，可以使我们这些笨手笨脚的人（你可能不是）做任何事情变得优雅。


当你想到微博客的时候，你可能会想到 Twitter。但是 Twitter 的问题很多。[Mastodon](https://joinmastodon.org/) 是 Twitter 的开放的替代方案，它在 2016 年首次亮相。从此， Mastodon 就获得相当大的用户基数。Seth Kenlon 说明[如何加入和使用 Mastodon](https://opensource.com/article/17/4/guide-to-mastodon)，甚至告诉你如何在 Mastodon 和 Twitter 间交替使用。


你需要一点帮助来维持开支吗？你所需要的只是一个电子表格和正确的模板。我关于[要控制你的财政状况](/article-8831-1.html)的文章，向你展示了如何用 [LibreOffice Calc](https://www.libreoffice.org/discover/calc/) （或任何其他电子表格编辑器）创建一个简单而有吸引力的财务跟踪。


ImageMagick 是强大的图形处理工具。但是，很多人不经常使用。这意味着他们在最需要它们时忘记了命令。如果你也是这样，Greg Pittman 的 [ImageMagick 入门教程](/article-8851-1.html)能在你需要一些帮助时候能派上用场。


你有最喜欢的 2017 Opensource.com 发布的教程吗？请随意留言与社区分享。




---


via: <https://opensource.com/article/18/1/best-tutorials>


作者：[Scott Nesbitt](https://opensource.com/users/scottnesbitt) 译者：[zjon](https://github.com/zjon) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
A well-written tutorial is a great supplement to any software's official documentation. It can also be an effective alternative if that official documentation is poorly written, incomplete, or non-existent.

In 2017, Opensource.com published a number of excellent tutorials on a variety of topics. Those tutorials weren't just for experts. We aimed them at users of all levels of skill and experience.

Let's take a look at the best of those tutorials.

## It's all about the code


For many, their first foray into open source involved contributing code to one project or another. Where do you go to learn to code or program? The following two articles are great starting points.

While not a tutorial in the strictest sense of the word, VM Brasseur's [How to get started learning to program](https://opensource.com/article/17/4/how-get-started-learning-program) is a good starting point for the neophyte coder. It doesn't merely point out some excellent resources that will help you get started, but also offers important advice about understanding your learning style and how to pick a language.

If you've logged a more than a few hours in an [IDE](https://en.wikipedia.org/wiki/Integrated_development_environment) or a text editor, you'll probably want to learn a bit more about different approaches to coding. Fraser Tweedale's [Introduction to functional programming](https://opensource.com/article/17/4/introduction-functional-programming) does a fine job of introducing a paradigm that you can apply to many widely used programming languages.

## Going Linux

Linux is arguably the poster child of open source. It runs a good chunk of the web and powers the world's top supercomputers. And it gives anyone an alternative to proprietary operating systems on their desktops.

If you're interested in diving deeper into Linux, here are a trio of tutorials for you.

Jason Baker looks at [setting the Linux $PATH variable](https://opensource.com/article/17/6/set-path-linux). He guides you through this "important skill for any beginning Linux user," which enables you to point the system to directories containing programs and scripts.

Embrace your inner techie with David Both's guide to [building a DNS name server](https://opensource.com/article/17/4/build-your-own-name-server). He documents, in considerable detail, how to set up and run the server, including what configuration files to edit and how to edit them.

Want to go a bit more retro in your computing? Jim Hall shows you how to [run DOS programs in Linux](https://opensource.com/article/17/10/run-dos-applications-linux) using [FreeDOS](http://www.freedos.org/) and [QEMU](https://www.qemu.org). Hall's article focuses on running DOS productivity tools, but it's not all serious—he talks about running his favorite DOS games, too.

## Three slices of Pi

It's no secret that inexpensive single-board computers have made hardware hacking fun again. Not only that, but they've made it more accessible to more people, regardless of their age or their level of technical proficiency.

The [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi) is probably the most widely used single-board computer out there. Ben Nuttall walks us through how to install and set up [a Postgres database on a Raspberry Pi](https://opensource.com/article/17/10/set-postgres-database-your-raspberry-pi). From there, you're ready to use it in whatever project you have in mind.

If your tastes include both the literary and technical, you might be interested in Don Watkins' [How to turn a Raspberry Pi into an eBook server](https://opensource.com/article/17/6/raspberrypi-ebook-server). With a little work and a copy of the [Calibre eBook management software](https://calibre-ebook.com/), you'll be able to get to your favorite eBooks anywhere you are.

Raspberry isn't the only flavor of Pi out there. There's also the [Orange Pi Pc Plus](http://www.orangepi.org/), an open-source single-board computer. David Egts looks at [getting started with this hackable mini-computer](https://opensource.com/article/17/1/how-to-orange-pi).

## Day-to-day computing

Open source isn't just for techies. Mere mortals use it to do their daily work and be more productive. Here are a trio of articles for those of us who have 10 thumbs when it comes to anything technical (and for those who don't).

When you think of microblogging, you probably think Twitter. But Twitter has more than its share of problems. [Mastodon](https://joinmastodon.org/) is an open alternative to Twitter that debuted in 2016. Since then, Mastodon has gained a sizeable base of users. Seth Kenlon explains [how to join and use Mastodon](https://opensource.com/article/17/4/guide-to-mastodon), and even shows you how to cross-post between Mastodon and Twitter.

Do you need a little help staying on top of your expenses? All you need is a spreadsheet and the right template. My article on [getting control of your finances](https://opensource.com/article/17/8/budget-libreoffice-calc) shows you how to create a simple, attractive finance-tracking spreadsheet with [LibreOffice Calc](https://www.libreoffice.org/discover/calc/) (or any other spreadsheet editor).

ImageMagick is a powerful tool for manipulating graphics. It's one, though, that many people don't use as often as they should. That means they forget the commands just when they need them the most. If that's you, then keep Greg Pittman's [introductory tutorial to ImageMagick](https://opensource.com/article/17/8/imagemagick) handy for those times you need some help.

Do you have a favorite tutorial published by Opensource.com in 2017? Feel free to share it with the community by leaving a comment.

## Comments are closed.