官术网_书友最值得收藏!

Linux

Linux is a hugely popular OS outside of the desktop market. Android (the mobile operating system acquired by Google) is based on it, and it runs on most of the world's smartphones. Sometimes it is the main desktop option, if using a computer with specialized hardware, such as the Raspberry Pi. Linux is very popular on embedded devices, in part because it is lightweight and usually much less demanding on resources than a typical Windows or macOS installation.

Linux is also the most popular operating system for web servers, which is what interests us most here. It could be argued that Linux is the most popular operating system on the planet, although many users won't interact with it directly.

Strictly speaking, Linux only refers to the kernel of the OS. The equivalent part of Windows would be the NT kernel. Many different distributions are built using the Linux kernel at their core, and they bundle it up with many other (often GNU) applications. You can even roll your own stripped-down version, perhaps using something like Buildroot.

Some examples of popular distributions are Ubuntu and CentOS (Community Enterprise OS, a free version of Red Hat Enterprise Linux). Linux distributions can be classified broadly by the type of package management they use. This is useful when trying to find the correct version of software to install, although you can usually get popular applications directly via the distribution's package manager.

If you've not used a package manager before, then you will be amazed at how much easier it is than manually installing software (or even using an App Store) as you'd normally do on Windows or Mac.

Many distributions are based on Debian and these include Mint, Ubuntu, and Raspbian (the official OS for the Raspberry Pi). These use a Debian-based package format and the APT package manager. The latest version of Debian is called Stretch and .NET Core supports it. It also uses it for the official .NET Docker images.

Debian versions are named after Toy Story characters; the previous version was called Jessie.

Other distributions use a Red Hat Enterprise Linux (RHEL) RPM package system and the yum package manager. These include CentOS and YellowDog, just to name a couple. There is also SUSE Linux Enterprise Server (SLES), which is another different distribution, but .NET Core supports it too.

There are many other distributions, far too many to mention here. Linux is not one OS like Windows or Mac. We haven't even covered BSD-based systems, which use a different kernel. These include FreeBSD, OpenBSD, and NetBSD. Even macOS is built on BSD, with its NeXTSTEP heritage (the OS that ran the first web server at CERN).

Most of the instructions here will also work on the command line of Windows and Mac. The tooling is the same; even the graphical tooling in VS uses the same templates as the command-line dotnet utility.

主站蜘蛛池模板: 鹿邑县| 漯河市| 清原| 保康县| 昌邑市| 拜城县| 康定县| 聊城市| 安庆市| 永平县| 吉首市| 阜康市| 汕头市| 通辽市| 峨眉山市| 宁化县| 高台县| 栖霞市| 彩票| 龙川县| 安西县| 理塘县| 襄垣县| 年辖:市辖区| 仁寿县| 边坝县| 洪洞县| 勃利县| 钟山县| 延安市| 额尔古纳市| 浦县| 华安县| 绍兴县| 普安县| 子洲县| 尤溪县| 镇沅| 文山县| 大竹县| 丹江口市|