
# 操作系统限制
LTS日志采集支持多个操作系统，在购买主机时您需选择LTS支持的操作系统和GLIBC版本，否则无法使用LTS对主机日志进行采集。
#### GLIBC版本限制
在主机上安装ICAgent前，必须确认ICAgent版本和GLIBC版本满足要求，详细请参考[表1]。若不满足要求，则无法安装ICAgent。
 表1GLIBC版本要求 
| ICAgent版本  | GLIBC版本              ||
| ICAgent版本  | x86       | arm       |
|:---|:---|:---|
| 7.3.X及以下版本 | 2.12版本及以上 | 2.17版本及以上 |
| 7.4.X      | 2.14版本及以上 | 2.28版本及以上 |
   
1. 建议您在安装前参考如下方法查看GLIBC版本。
   - 方式一：在主机上执行如下命令查看GLIBC版本。例如示例回显GLIBC版本为2.28。（示例仅供参考，请以实际版本号为准）
     ```
     ldd --version
     ```
     ![](https://support.huaweicloud.com/productdesc-lts/zh-cn_image_0000002451313542.png "点击放大")
     
   
   - 方式二：在主机上执行如下命令查看GLIBC版本。例如示例回显GLIBC版本为2.28。（示例仅供参考，请以实际版本号为准）
     ```
     ls -alh /usr/lib64/ | grep -i libc.so.6
     ```
     ![](https://support.huaweicloud.com/productdesc-lts/zh-cn_image_0000002484553001.png "点击放大")
     
   
   - 方式三：在主机上执行如下命令查看GLIBC版本。例如示例回显GLIBC版本为2.28。（示例仅供参考，请以实际版本号为准）
     ```
     ls -alh /lib64/  | grep -i libc.so.6
     ```
     ![](https://support.huaweicloud.com/productdesc-lts/zh-cn_image_0000002451473162.png "点击放大")
     
    
2. 若Linux操作系统的GLIBC版本低于安装ICAgent所需的版本要求，详细请参考[表1]，可以按照以下步骤操作：
   1. 在LTS控制台的"安装ICAgent"页面复制安装命令。
      图1复制安装命令   
      ![](https://support.huaweicloud.com/productdesc-lts/zh-cn_image_0000002484433013.png "点击放大") 
   
   2. 在安装命令 ;set -o history前面增加一个参数-agentVersion XXX，其中XXX在版本列表里面查找满足您节点GLIBC版本的最大的ICAgent版本。 例如GLIBC版本为2.12，安装ICAgent支持GLIBC版本2.12的版本为7.3.X，您可以在版本列表中查找7.3.X的最大版本号，然后进行补充。更多版本信息请参考[查看ICAgent版本说明](https://support.huaweicloud.com/usermanual-lts/lts_02_0014.html#section4)。
      **以下示例仅供参考，请以实际安装命令为准。**
      ```
      set +o history;curl https://xxx/ICAgent_linux/apm_agent_install.sh > apm_agent_install.sh && REGION=xxx bash apm_agent_install.sh -ak {input_your_ak} -sk {input_your_sk} -region xxx -projectid xxx -accessip xxx -obsdomain xxx -accessdomain xxx -amsdomain xxx -alsdomain xxx -aomvpcepurl xxx -ltsvpcepurl xxx -agentVersin xxx;set -o history;
      ```
      
    
 
#### 操作系统限制
- 对于Linux x86_64服务器，详细请参考[表2]。
- 对于Linux ARM服务器，CentOS操作系统仅支持7.4及其以上版本，[表2]所列的其他操作系统对应版本均支持。
- 对于Windows服务器，详细请参考[表3]。
![](https://support.huaweicloud.com/productdesc-lts/public_sys-resources/note_3.0-zh-cn.png)
如果其他版本环境安装异常，请[提交工单](https://support.huaweicloud.com/usermanual-ticket/zh-cn_topic_0127038618.html)联系我们。
 表2LTS支持的操作系统及版本（Linux） 
| 操作系统    | 版本                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
|:---|:---|
| EulerOS | - 2.2 64bit（系统已经EOS，后续不支持）  - 2.3 64bit（系统已经EOS，后续不支持）  - 2.5 64bit  - 2.9 64bit  - 2.10 64bit                                                                                                                                                                                                                                                                        |
| CentOS  | - 6.3 64bit  - 6.5 64bit  - 6.8 64bit  - 6.9 64bit  - 6.10 64bit                                                                                                                                                                                                                                                                               |
| CentOS  | - 7.1 64bit  - 7.2 64bit  - 7.3 64bit  - 7.4 64bit  - 7.5 64bit  - 7.6 64bit  - 7.7 64bit  - 7.8 64bit  - 7.9 64bit   |
| CentOS  | - 8.0 64bit  - 8.1 64bit  - 8.2 64bit                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| Ubuntu  | - 14.04 server 64bit  - 16.04 server 64bit  - 18.04 server 64bit  - 24.04 server 64bit                                                                                                                                                                                                                                                                                                                      |
| Fedora  | - 24 64bit  - 25 64bit  - 29 64bit                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| Debian  | - 7.5.0 32bit  - 7.5.0 64bit  - 8.2.0 64bit  - 8.8.0 64bit  - 9.0.0 64bit  - 11.1.0 64bit  - 12.0.0 64bit                                                                                                                           |
   
 表3LTS支持的操作系统及版本（Windows） 
| 操作系统         | 版本                                      |
|:---|:---|
| Windows（64位） | Windows Server 2019                     |
| Windows（64位） | Windows Server 2016 R2 Datacenter       |
| Windows（64位） | Windows Server 2016 R2 Standard         |
| Windows（64位） | Windows Server 2016 Datacenter English  |
| Windows（64位） | Windows Server 2016 R2 Standard English |
| Windows（64位） | Windows Server 2012 R2 Datacenter       |
| Windows（64位） | Windows Server 2012 R2 Standard         |
| Windows（64位） | Windows Server 2012 Datacenter English  |
| Windows（64位） | Windows Server 2012 R2 Standard English |
| Windows（64位） | Windows Server 2008 R2 Enterprise       |
| Windows（64位） | Windows Server 2008 R2 Standard         |
| Windows（64位） | Windows Server 2008 Enterprise English  |
| Windows（64位） | Windows Server 2008 R2 Standard English |
| Windows（64位） | Windows Server 2022                     |
   
