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
2
votes
1 answer

Error getting the correct Python3 dependency

I get this error when trying to install HTCondor on Amazon Linux 2 instance: Error: Package: python3-condor-8.8.15-1.el7.x86_64 (htcondor-stable) Requires: libpython3.6m.so.1.0()(64bit) I tried installing python 3.6 on my own (given that the…
Caterina
  • 775
  • 9
  • 26
2
votes
2 answers

Install neofetch and screenfetch on AWS amazon-linux ec2

I want to install neofetch and screenfetch but I have yum as the default package manager in amazon linux and it does not have neofetch and screenfetch repositaries in it for me to install.
HARSHAL RATHORE
  • 103
  • 1
  • 9
2
votes
0 answers

CPU does not support KVM but I want to run andriod emulator in AWS Linux instance

I wanted to run headless android emulator on my EC2 instance - Amazon linux 2, but I am getting this error while executing ./emulator -avd my_avd_31 -no-audio -no-window emulator: ERROR: x86_64 emulation currently requires hardware acceleration! CPU…
Raghu Chahar
  • 1,637
  • 2
  • 15
  • 33
2
votes
0 answers

AWS Lambda Layers - How to export all shared object file dependencies as docker layers

My end goal is to execute a tippecanoe binary on a Lambda. This was possible with older versions of node lambdas (v8) however in the newer versions some shared objects are no longer available on the execution environments. I am able to create and…
RyPope
  • 2,645
  • 27
  • 51
2
votes
1 answer

`sudo yum update` throws Requires ... Removing ... Obsoleted By

I'm on an Amazon Linux box: # this command returns Amazon Linux AMI release 2018.03 cat /etc/system-release When I try to sudo yum update, I get this output. I can't post the full output on SO but here is the part that bombs out: --> Finished…
duhaime
  • 25,611
  • 17
  • 169
  • 224
2
votes
2 answers

"sites-available" and "default" missing in nginx installation path

So I was trying to deploy my python-flask app on AWS. I have rented the server and have setup everything. I was using this to do my work of deploying application on AWS server. Up until Step 6 everything was perfect but then as it said in Step 6, I…
2
votes
1 answer

Node version inconsistent in crontab

I regularly at version 8.4.0, then I installed nvm and used it to upgrade to version 9.11.1. When running the terminal, I have version 9.11.1, however if a conjob runs a script, node 8.4.0 is still used. The same ec2-user is running the cron so for…
maddo7
  • 4,503
  • 6
  • 31
  • 51
2
votes
1 answer

Amazon linux install openvpn3-client

Trying to install openvpn3-client on my amazon Linux followed this documentation, facing below error Packages skipped because of dependency problems: openvpn3-13-0.beta1.el7.x86_64 from copr:copr.fedorainfracloud.org:dsommers:openvpn3 …
Navneet kumar
  • 1,696
  • 1
  • 17
  • 26
2
votes
1 answer

Terraform getting UnsupportedOperation: Microsoft SQL when trying to start an amazon-linux instance

I'm trying to start an instance on aws using terraform and using the amazon-linux-2 image. But I'm getting an Erro for Microsoft SQL Server Entreprise Edition. provider "aws" { version = "~> 2.0" region = "us-east-1" } resource…
Arthur Ávila
  • 69
  • 2
  • 9
2
votes
2 answers

How to install R language version 4 in AWS EMR - Amazon linux 2

We have an AWS EMR cluster. By default it comes with Amazon Linux version 2 R version 3.4.3 (2017-11-30) -- "Kite-Eating Tree" I like to install latest R version 4.. Tried following : yum -y install…
Sairam Krish
  • 10,158
  • 3
  • 55
  • 67
2
votes
1 answer

SQL Server Jdbc driver unable to connect to database using TLS1.2

I would like to connect to my database instance using TLS1.2 from a Linux instance and I am unable to do so. I am using the following configuration Java JDK : Amazon corretto openjdk version : "1.8.0_252" JDBC driver : Microsoft SQL server…
Pooja
  • 23
  • 1
  • 4
2
votes
1 answer

Create a new service in Amazon Linux

I have an Amazon ec2 instance running Amazon Linux AMI 2018.03. I would like to create a startup service but I can't use systemctl as I'm not on Amazon Linux 2. The service is a Python script that I would like to run at startup and be able to…
ScottBot10
  • 153
  • 2
  • 10
2
votes
0 answers

Running static C executable in AWS Lambda

So I want to create a Lambda function that executes a raw C binary as part of the function. I am writing the function in Python with the help of boto3. However I was wondering if this is just as simple as packaging the C executable in the…
HashBr0wn
  • 387
  • 1
  • 11
2
votes
1 answer

Increasing Amazon Linux 2 AMI /tmp size

I'm trying to install tensorflow on a Amazon linux AMI EC2 micro instance, but I keep getting EnvironmentError: [Errno 28] No space left on device even while the disk is empty. On ubuntu server, I fix this increasing the /tmp size with the command…
2
votes
1 answer

Python packages install on AmazonLinux

I'm building AWS Batch jobs. I have python3 package which is built into a AmazonLinux based docker image. I need to install boto3, pandas, s3fs and couple of other modules. I have set commands in the Dockerfile to install the modules along with…