Skip to content

Commit 5527084

Browse files
committed
Adding package integrity option
1 parent 64b8519 commit 5527084

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

src/docs/setup/build-collector-as-rpm.mdx

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,28 @@ To run ADOT Collector on AWS EC2 Linux host, you can choose to install ADOT Coll
2020
git clone https://github.com/aws-observability/aws-otel-collector.git
2121
make package-rpm
2222
```
23+
24+
Alternatively, you can also choose to download the ADOT Collector rpm package directly from S3:
25+
1. Login on Amazon Linux 2 EC2 host and download ADOT Collector installation file.
26+
```
27+
wget https://aws-otel-collector.s3.amazonaws.com/amazon_linux/amd64/latest/aws-otel-collector.rpm
28+
```
29+
2. (Optional) Verify the package integrity.
30+
```
31+
wget https://aws-otel-collector.s3.amazonaws.com/aws-otel-collector.gpg
32+
sudo rpm --import aws-otel-collector.gpg
33+
rpm --checksig aws-otel-collector.rpm
34+
```
35+
If the package is verified correctly, you'll see output similar to:
36+
```
37+
aws-otel-collector.rpm: digests signatures OK
38+
```
39+
However, if you see output like:
40+
```
41+
aws-otel-collector.rpm: digests SIGNATURES NOT OK
42+
```
43+
You should stop, and try download the rpm package from the official source again.
44+
2345
2. Install aws-otel-collector RPM by the following command on the host
2446
```
2547
sudo rpm -Uvh ./aws-otel-collector.rpm

0 commit comments

Comments
 (0)