如何安装-Linux系统?-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文
阿里云
为了无法计算的价值
打开APP
阿里云APP内打开

如何安装-Linux系统?

2017-10-20 14:58:20 2132 0


支持的系统

  • 支持如下版本的Linux x86-64(64位)服务器Aliyun Linux
  • Ubuntu
  • Debian
  • CentOS
  • OpenSUSE


安装Logtail


覆盖安装模式,如之前已安装过Logtail,那么安装器会先执行卸载、删除 /usr/local/ilogtail 目录后再重新安装。安装后默认启动Logtail。
请根据机器所处的网络环境和日志服务所在Region下载安装器,选择不同参数进行安装。

阿里巴巴集团内部Project请参考 内部安装文档


ECS经典网络


数据通过阿里云内网写入日志服务,不消耗公网带宽。适用于阿里云ECS。
注:新开地域(海外、张北等)默认新开通ECS都是VPC网络,请查看VPC部分介绍。
  • 华北 2(北京)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-bj.oss-cn-beijing-internal.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn_beijing
  • 华北 1(青岛)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-qd.oss-cn-qingdao-internal.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn_qingdao
  • 华东 1(杭州)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release.oss-cn-hangzhou-internal.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn_hangzhou
  • 华东 2(上海)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-sh.oss-cn-shanghai-internal.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn_shanghai
  • 华南 1(深圳)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-sz.oss-cn-shenzhen-internal.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn_shenzhen
  • 华北 3 (张家口)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-zjk.oss-cn-zhangjiakou-internal.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn-zhangjiakou
  • 香港
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-hk.oss-cn-hongkong-internal.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn-hongkong
  • 美国西部 1 (硅谷)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-us-west-1.oss-us-west-1-internal.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install us-west-1
  • 亚太东南 1 (新加坡)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-ap-southeast-1.oss-ap-southeast-1-internal.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install ap-southeast-1
  • 亚太东南 2 (悉尼)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-ap-southeast-2.oss-ap-southeast-2-internal.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install ap-southeast-2
  • 亚太东北 1 (日本)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-ap-northeast-1.oss-ap-northeast-1-internal.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install ap-northeast-1
  • 欧洲中部 1 (法兰克福)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-eu-central-1.oss-eu-central-1-internal.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install eu-central-1
  • 中东东部 1 (迪拜)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-me-east-1.oss-me-east-1-internal.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install me-east-1


ECS 专有网络 VPC


数据通过阿里云专有网络写入日志服务。适用于阿里云 ECS VPC。
  • 华北 2(北京)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-bj.vpc100-oss-cn-beijing.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn_beijing_vpc
  • 华北 1(青岛)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-qd.vpc100-oss-cn-qingdao.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn_qingdao_vpc
  • 华东 1(杭州)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release.vpc100-oss-cn-hangzhou.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn_hangzhou_vpc
  • 华东 2(上海)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-sh.vpc100-oss-cn-shanghai.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn_shanghai_vpc
  • 华南 1(深圳)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-sz.vpc100-oss-cn-shenzhen.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn_shenzhen_vpc
  • 华北 3 (张家口)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-zjk.oss-cn-zhangjiakou-internal.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn-zhangjiakou_vpc
  • 香港
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-hk.vpc100-oss-cn-hongkong.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn-hongkong_vpc
  • 美国西部 1 (硅谷)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-us-west-1.vpc100-oss-us-west-1.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install us-west-1_vpc
  • 亚太东南 1 (新加坡)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-ap-southeast-1.vpc100-oss-ap-southeast-1.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install ap-southeast-1_vpc
  • 亚太东南 2 (悉尼)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-ap-southeast-2.oss-ap-southeast-2-internal.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install ap-southeast-2_vpc
  • 亚太东北 1 (日本)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-ap-northeast-1.oss-ap-northeast-1-internal.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install ap-northeast-1_vpc
  • 欧洲中部 1 (法兰克福)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-eu-central-1.oss-eu-central-1-internal.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install eu-central-1_vpc
  • 中东东部 1 (迪拜)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-me-east-1.oss-me-east-1-internal.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install me-east-1_vpc


公网(自建 IDC 或其它云主机)


数据通过公网写入日志服务,占用公网带宽。适用于非阿里云虚拟机或其它IDC。

日志服务无法获取非阿里云机器的属主信息,请在安装Logtail后手动配置用户标识,参见 非阿里云ECS配置用户标识,否则 Logtail心跳异常、无法收集日志。
  • 华北 2(北京)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release.oss-cn-hangzhou.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn_beijing_internet
  • 华北 1(青岛)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release.oss-cn-hangzhou.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn_qingdao_internet
  • 华东 1(杭州)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release.oss-cn-hangzhou.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn_hangzhou_internet
  • 华东 2(上海)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release.oss-cn-hangzhou.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn_shanghai_internet
  • 华南 1(深圳)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release.oss-cn-hangzhou.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn_shenzhen_internet
  • 华北 3 (张家口)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release.oss-cn-hangzhou.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn-zhangjiakou_internet
  • 香港
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-hk.oss-cn-hongkong.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn-hongkong_internet
  • 美国西部 1 (硅谷)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release.oss-cn-hangzhou.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install us-west-1_internet
  • 亚太东南 1 (新加坡)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release.oss-cn-hangzhou.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install ap-southeast-1_internet
  • 亚太东南 2 (悉尼)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release.oss-cn-hangzhou.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install ap-southeast-2_internet
  • 亚太东北 1 (日本)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release.oss-cn-hangzhou.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install ap-northeast-1_internet
  • 欧洲中部 1 (法兰克福)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release.oss-cn-hangzhou.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install eu-central-1_internet
  • 中东东部 1 (迪拜)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release.oss-cn-hangzhou.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install me-east-1_internet


ECS 金融云

  • 华东 1(杭州)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-hz-finance.oss-cn-hzj bp-a-internal.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn_hangzhou_finance
  • 华东 2(上海)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-sh-finance.oss-cn-shanghai-finance-1-internal.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn-shanghai-finance
  • 华南 1(深圳)
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release-sz-finance.oss-cn-shenzhen-finance-1-internal.aliyuncs.com/linux64/logtail.sh; chmod 755 logtail.sh; sh logtail.sh install cn_shenzhen_finance


卸载Logtail


参考 [backcolor=transparent]安装Logtail 下载安装器 [backcolor=transparent]logtail.sh,shell下以管理员权限执行:
  1. [backcolor=transparent]wget http[backcolor=transparent]:[backcolor=transparent]//logtail-release.oss-cn-hangzhou.aliyuncs.com/linux64/logtail.sh; chmod 755
取消 提交回答
全部回答(0)
相关问答

1

回答

安装linux系统前要准备一些什么呢?

2022-03-30 14:14:46 408浏览量 回答数 1

1

回答

软件开发,安装Linux系统

2016-07-15 17:42:27 2311浏览量 回答数 1

1

回答

关于安装linux 系统

2016-07-15 15:10:04 1616浏览量 回答数 1

1

回答

mware 中安装不了linux 64位系统

2016-07-14 17:30:40 2479浏览量 回答数 1

2

回答

安装wordpress成功后不能进入主页,linux系统

2014-11-14 09:27:59 6518浏览量 回答数 2

1

回答

安装了linux系统能免费给换成windows2003吗

2012-11-10 14:56:47 4488浏览量 回答数 1

1

回答

Linux sed删除命令中 sed '2,$d' file 是什么意思?

2021-12-02 20:54:04 401浏览量 回答数 1

1

回答

Linux的命令tee有什么作用呢?

2021-12-02 20:53:51 92浏览量 回答数 1

1

回答

Linux的命令tail有什么作用呢?

2021-12-02 20:53:37 147浏览量 回答数 1

0

回答

Linux中的env命令是什么?

2021-11-01 15:31:59 388浏览量 回答数 0
+关注
文章
问答
问答排行榜
最热
最新
相关电子书
更多
ECS系统指南之Linux系统诊断
立即下载
Decian GNU/Linux安全合规之路
立即下载
ECS运维指南 之 Linux系统诊断
立即下载