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

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.

主站蜘蛛池模板: 闽侯县| 政和县| 迁安市| 高清| 临沧市| 洛南县| 淮滨县| 哈巴河县| 边坝县| 奉贤区| 浪卡子县| 中方县| 来安县| 都匀市| 巨野县| 尼勒克县| 通河县| 嵩明县| 嵊泗县| 张家界市| 菏泽市| 大方县| 句容市| 桓仁| 肃宁县| 大余县| 永靖县| 泰来县| 兰溪市| 额尔古纳市| 汶川县| 霍城县| 阿荣旗| 崇义县| 沂源县| 色达县| 元阳县| 甘孜县| 定陶县| 沂水县| 广昌县|