Questions tagged [amazon-linux]

The Amazon Linux AMI is a supported and maintained Linux image provided by Amazon Web Services for use on Amazon Elastic Compute Cloud (Amazon EC2).

312 questions
3
votes
1 answer

How to install lxml<4.0 with python3.7 on Amazon Linux 2

I'm trying to install lxml<4.0 on an Amazon Linux 2 image with python 3.7 sudo pip3 install "lxml<4.0" At first it tries to build the wheel: ... truncated output ... src/lxml/lxml.etree.c: In function ‘__Pyx_PyList_Pop’: …
villasv
  • 6,304
  • 2
  • 44
  • 78
3
votes
1 answer

Node JS Cannot find module 'node-properties-parser' Error while running as normal user in Amazon Linux

I have installed node-properties-parser globally by running npm install -g node-properties-parser as normal user(vaisakh). Then i ran my test.js file with the command node test.js now it's throwing the error Error: Cannot find module…
Vaisakh PS
  • 1,181
  • 2
  • 10
  • 19
3
votes
4 answers

Is it possible to setup a local Kubernetes development environment (Minikube, etc.) from an AWS EC2 instance?

Background : I am trying to learn and experiment a bit on docker and kubernetes in a "development/localhost" environment, that I could later replicate "for real" on some Cloud. But I'm running low on everything (disk capacity, memory, etc.) on my…
3
votes
2 answers

Amazon Linux AMI 2018.03 - google cloud sdk install

Official doc for google cloud sdk said Update YUM with Cloud SDK repo information Install the Cloud SDK But when I followed instruction Error Requires: python2 >= 2.7 occurs. $ sudo yum install google-cloud-sdk Loaded plugins: priorities,…
ruseel
  • 1,578
  • 2
  • 21
  • 41
3
votes
1 answer

Failed to resolve library symbol hostfxr_main_startupinfo on Amazon Linux 2 AMI

I installed .NET Core 2.1.4 by instructions: https://learn.microsoft.com/ru-ru/dotnet/core/linux-prerequisites?tabs=netcore2x#install-net-core-for-centos-71-64-bit--oracle-linux-71-64-bit Next i ran dotnet --version and it shows: Failed to resolve…
Mikhail
  • 357
  • 1
  • 3
  • 17
3
votes
3 answers

Where is /etc/default/docker file on Amazon Linux EC2 server?

I am trying docker examples and wanted to set the DOCKER_OPTS, but not able to find /etc/default/docker on amazon linux machine. Where to look for it?
ExploringApple
  • 1,348
  • 2
  • 17
  • 30
3
votes
4 answers

Is there a way to exclude a directory in AWS CodeDeploy?

We have an auto deployment from BitBucket set up to deploy to one of three EC2 instances. Everything currently works fine except our /data directory (which contains CMS-uploaded images, videos, etc) is not part of the repository. So during…
3
votes
0 answers

pgbouncer ignores pidfile from ini

trying to start pgbouncer I see in log: 2017-04-25 11:18:06.319 7186 FATAL @src/main.c:612 in function check_pidfile(): pidfile exists, another instance running? indeed, it was not deleted by service pgbouncer stop: [root@b ~]# grep pid…
Vao Tsun
  • 47,234
  • 13
  • 100
  • 132
3
votes
3 answers

How to install pdftk on Amazon Linux AMI release 2012.03

I am not able to install the pdftk on Amazon Linux AMI release 2012.03. pdftk requires gcj2.14 and amazon ami provides gcj2.12 package. If I try to install gcj2.14 getting conflicts with the existing gcj package. Please suggest a way to install…
triveni
  • 31
  • 1
  • 3
2
votes
0 answers

AWS CDK / NodejsFunction: beforeInstall, beforeBundling, afterBundling

I'm working on a project with an AWS Infrastructure. I work with aws-cdk-lib for IaC to simplify the whole process. The flow is the following: User upload photo/video to S3 Bucket A lambda is triggered to compress the file with sharp and store it…
2
votes
0 answers

Trusting self signed certificate on Amazon Linux 2

I'm aware this question has been asked like a million times but no answer or comment has helped me so far. I'm running in circles since a full week without any progress. Situation: I am on an Amazon Linux 2 system I have a self-signed certificate…
udondan
  • 57,263
  • 20
  • 190
  • 175
2
votes
0 answers

How to spin up a TURN server in AWS EC2

I need to spin up a TURN/STUN server in Cloud. I feel it a pretty common use case and there are hundreds of related posts in the internet. After several days of failed attempt, I still failed to spin it up. Here is my current step. I keep it simple…
2
votes
2 answers

No package zbar available in lambda layer

trying to create a layer for my lambda function which uses the pyzbar library, which requires the zbar shared library as dependency, to be downloaded separately, and can't be installed with pip. My Dockerfile looks like this: FROM…
2
votes
0 answers

Unable to access files inside docker centos container

I was using centos image quite long time, when trying to build same docker image on different machine, it is throwing permission denied error. ls: cannot access '.': Operation not permitted Tried to change different base centos version. Still same…
2
votes
1 answer

AWS EC2 Amazon Linux 2 AMI PostgreSQL Installation

Have an AWS EC2 instance which is running Amazon Linux AMI 2. Like to install PostgreSQL Server 13 on it. Following the instructions as mentioned here - https://www.postgresql.org/download/linux/redhat/ But, when executing - sudo yum install -y…