IronBarCode Linux兼容性和设置指南
IronBarcode完全支持Linux在各种发行版上的.NET Standard、.NET Core和.NET Framework应用程序。
在 Linux 上运行 IronBarcode 无需更改代码。 一般来说,IronBarcode 开箱即用,这要归功于我们工程师数百小时的测试和配置。
由于当今许多云服务都在 Linux 上运行,因此对 Linux 的支持非常重要。 在 Iron Software,我们经常使用这些云工具,并了解到我们的许多企业和 SaaS 客户也是如此。
官方支持的Linux发行版
我们正式支持并推荐以下最新的64位Linux发行版,以便 "零配置 "安装 IronBarcode:
- Ubuntu ≥18
- Debian ≥10
CentOS ≥7
部分支持其他 Linux 发行版,但可能需要额外的手动配置。
Ubuntu 兼容性
Ubuntu 是我们测试最多的 Linux 操作系统。 这是因为在支持我们持续测试和部署的 Azure 基础设施中大量使用了这些工具。 该平台还提供 Microsoft .NET 官方支持和官方 Docker 映像。
乌班图 20
官方 Microsoft Docker 镜像:
- .NET标准
Ubuntu 20 安装
要运行 IronBarcode,首先确保您拥有 sudo 管理权限,然后将这些命令添加到您的 Dockerfile 中:
运行 apt 更新
运行 apt install -y libgdiplus
### Ubuntu 18
<div class="main-content__small-images-inline">
<img src="https://img.icons8.com/color/48/000000/microsoft.png" alt="微软">
<img src="https://img.icons8.com/color/48/000000/ubuntu--v1.png" alt="乌班图">
<img src="https://img.icons8.com/color/48/000000/chrome--v1.png" alt="铬">
<img src="https://img.icons8.com/color/48/000000/safari--v1.png" alt="野生动物园">
<img src="https://img.icons8.com/color/48/000000/docker.png" alt="Docker">
<img src="https://img.icons8.com/fluency/48/000000/azure-1.png" alt="Azure">
</div>
**微软官方 Docker 映像**
* [.NET标准](https://hub.docker.com/r/microsoft/dotnet-runtime/)
* [ASP.NET Core](https://hub.docker.com/r/microsoft/dotnet-aspnet/)
**Ubuntu 18 安装**
要运行 IronBarcode,首先确保您拥有 _sudo_ 管理权限,然后将这些命令添加到您的 Dockerfile 中:
运行 apt 更新
运行 apt install -y libgdiplus
### Debian 11
<div class="main-content__small-images-inline">
<img src="https://img.icons8.com/color/48/000000/debian.png" alt="Debian">
<img src="https://img.icons8.com/color/48/000000/microsoft.png" alt="微软">
<img src="https://img.icons8.com/color/48/000000/chrome--v1.png" alt="铬">
<img src="https://img.icons8.com/color/48/000000/safari--v1.png" alt="野生动物园">
<img src="https://img.icons8.com/color/48/000000/docker.png" alt="Docker">
<img src="https://img.icons8.com/fluency/48/000000/azure-1.png" alt="Azure">
</div>
**微软官方 Docker 映像**
* [.NET标准](https://hub.docker.com/r/microsoft/dotnet-runtime/)
* [ASP.NET Core](https://hub.docker.com/r/microsoft/dotnet-aspnet/)
**Debian 11 设置**
要运行 IronBarcode,首先确保您拥有 _sudo_ 管理权限,然后将这些命令添加到您的 Dockerfile 中:
运行 apt 更新
运行 apt install -y libgdiplus
### Debian 10
<div class="main-content__small-images-inline">
<img src="https://img.icons8.com/color/48/000000/debian.png" alt="Debian">
<img src="https://img.icons8.com/color/48/000000/microsoft.png" alt="微软">
<img src="https://img.icons8.com/color/48/000000/chrome--v1.png" alt="铬">
<img src="https://img.icons8.com/color/48/000000/safari--v1.png" alt="野生动物园">
<img src="https://img.icons8.com/color/48/000000/docker.png" alt="Docker">
<img src="https://img.icons8.com/fluency/48/000000/azure-1.png" alt="Azure">
</div>
**微软官方 Docker 映像**
* [.NET标准](https://hub.docker.com/r/microsoft/dotnet-runtime/)
* [ASP.NET Core](https://hub.docker.com/r/microsoft/dotnet-aspnet/)
**Debian 10 设置**
要运行 IronBarcode,首先确保您拥有 _sudo_ 管理权限,然后将这些命令添加到您的 Dockerfile 中:
运行 apt 更新
运行 apt install -y libgdiplus
### CentOS
**CentOS 7 安装**
要运行 IronBarcode,首先确保您拥有 _sudo_ 管理权限,然后将这些命令添加到您的 Dockerfile 中:
运行 yum install epel-release -y
运行 sudo yum install mono-complete -y
运行 sudo yum install libgdiplus libc6-dev -y