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

Change to a Root directory in Amazon Linux

I need to run a file in the /opt folder. I am currently in the /home directory (a root peer of /opt) and cannot seem to do anything there, presumably because the EC2-user account is not a true root account. How can I run a file in the /opt directory…
0
votes
1 answer

Prepare Amazon Linux image for GitLab CI

I am running self-hosted GitLab CE with a GitLab-runner and a Docker executor. I want to build a binary for AWS Lambda, so I'm using the amazonlinux:latest image for my Docker executor. Of course, not all packages that I need for building are…
Thomas Wana
  • 837
  • 2
  • 8
  • 19
0
votes
3 answers

What's the right version of geckodriver for my version of Firefox?

I'm using trying to run nodeJs (node v 8.8.1) automated tests on Amazon Linux with Firefox. Due to some limitations with Amazon Linux, the latest version of firefox taht will actually run is 41. Below are my Firefox and Amazon versions…
Dave
  • 15,639
  • 133
  • 442
  • 830
0
votes
1 answer

TensorFlow slow on AWS p2.xlarge instance

I have implemented VGG network in TensorFlow and it's already trained. I also have Amazon Web Services p2.xlarge instance(Nvidia Tesla K80, 12GB) with installed the Deep Learning AMI for Amazon Linux Version from AWS marketplace. When I am using…
plamba95
  • 11
  • 4
0
votes
1 answer

create_engine in sqlalchemy not working in python 3.6 runtime for aws lambda

I successfully tested pandas, numpy, and sqlalchemy in an Amazon Linux docker image using python 3.6. I was able to import, use, and connect to a database in the virtual environment using create_engine from the sqlalchemy module in python 3.6. I…
0
votes
1 answer

Shibboleth Dependency Error

I'm trying to install Shibboleth on Amazon linux using the repo below. [security_shibboleth] name=Shibboleth…
User9999
  • 3
  • 2
0
votes
0 answers

How to run a cron job in ubuntu that looks for a new file in a particular directory and runs a script when a file is added to a directory

I have a script to convert files, but each time i have to copy that script to the directory where my files are located and open a terminal and run that script every time i need to perform that action. I have an idea of running a cron job to look…
Deepesh M
  • 1
  • 1
0
votes
0 answers

I've a docker images which fail on amazon linux only

I've created a docker images on my local machine which works just fine, but when I upload to my remote machine (a Amazon Linux) each time I try to run it it return standard_init_linux.go:178: exec user process caused "no such file or directory" I…
Bestbug
  • 475
  • 4
  • 13
0
votes
1 answer

How to upgrade OpenSSH from 6.6.1p1 to version 7.2p2 on Amazon Linux?

How to upgrade OpenSSH from 6.6.1p1 to version 7.2p2 on Amazon Linux? The upgrade is required to fix "OpenSSH Xauth Command Injection" vulnerability. Pasting from Scan results from https://pci.qualys.com: Result: SSH-2.0-OpenSSH_6.6.1 detected on…
Andrey
  • 1
  • 1
  • 2
0
votes
3 answers

Unable to monitor Amazon Linux memory with buffers and cache using Amazon CloudWatch Monitoring Scripts

I followed the steps in this article, http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/mon-scripts.html#mon-scripts-systems to monitor my server's memory usage and submit the data to CloudWatch. One of the metrics that can be used is…
Kelvin Low
  • 678
  • 1
  • 10
  • 23
0
votes
1 answer

How to access internet from an EC2 instance running Amazon Linux that is in a VPC?

I created an EC2 instance(using Amazon Linux AMI) in our VPC and am trying to install 3rd party tools like Docker from the command line. I configured HTTP_PROXY, HTTPS_PROXY and NO_PROXY to route the outbound traffic to corporate proxy. I am still…
0
votes
1 answer

Error while Installing MongoDB on AWS Amazon Linux

The error is: Public key for mongodb-org-3.4.4-1.amzn1.x86_64.rpm is not installed I am trying to install MongoDB as mentioned in official MongoDB documentaion HERE.
0
votes
1 answer

how to change the permission of PEM file in ec2-instance?

I created an ec2-instance with amazon-linux as my OS. I use to connect to the instance using PUTTY. everything was fine. now i changed the permission of some files in the instance to 0777 using chmod command. by mistake the permission of .pem file…
0
votes
1 answer

Trying to install package to my home directory results in error

I'm using Amazon Linux. I don't have sudo and want to install a package to my home direcotry. So I'm trying the below, but getting the error, "No matching distribution found for awscii" [myuser@mymachine ~]$ pip install --user…
Dave
  • 15,639
  • 133
  • 442
  • 830
0
votes
1 answer

Why am I unable to send an email in my shell script using sendmail?

I'm having trouble sending an email using bash and sendmail on Amazon Linux. In my bash script I have echo "Subject: My subject" >> /tmp/email.txt echo "" >> /tmp/email.txt cat /tmp/out.txt >> /tmp/email.txt sendmail…
Dave
  • 15,639
  • 133
  • 442
  • 830
1 2 3
20
21