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

Can't run rmarkdown on Amazon Linux 2 due to Pandoc not available

I'm using Amazon Linux 2, t2.large. I understand the reason why I could not run rmarkdown::run() is because pandoc was not installed/configured correctly. After Googling for hours, I tried Sys.getenv("RSTUDIO_PANDOC") (empty result); I tried…
2
votes
2 answers

Permission denied when login to docker hub from AWS linux virtual machine

I'm using AWS Linux virtual machine as my production server. When I try to login to Docker-hub from AWS Linux virtual machine it says permission denied while trying to connect to the docker daemon socket. There are solutions in the internet and…
kevin_Aberathna
  • 441
  • 1
  • 5
  • 13
2
votes
1 answer

gcc with openmp support for Amazon Linux?

I've launched a cluster using Amazon EMR and require gcc at least version 5 in order to compile XGBoost. However, the default version of gcc that comes with Amazon Linux apparently does not support OpenMP for some reason. So is there some way to…
Bar
  • 2,736
  • 3
  • 33
  • 41
2
votes
1 answer

Confusion over where to set CATALINA_OPTS for tomcat7 on amazon Linux

I've got a working tomcat application on an Amazon Linux EC2 and I've noticed some heap space issues recently. I wanted to try to modify the memory issues but I've discovered that this tomcat setup doesn't seem to have things where expected. I can't…
RedXIV
  • 25
  • 7
2
votes
2 answers

How do you output the current value of LimitRequestBody on Apache 2.4

I'm having issues uploading a file (via WordPress) on one of the sites my customer uses. I'm on Apache 2.4.39 (Amazon) & PHP 7.0.33. I've set the LimitRequestBody directive in the /etc/httpd/conf/httpd.conf file to a very large number (like…
pendo
  • 792
  • 2
  • 5
  • 27
2
votes
0 answers

Redis.so not loaded using phpredis, php7.0 and redis5.0.5

I have been trying to install phpredis to my aws ec2 instance, but i keep on encountering same error when running 'sudo make test' in the phpredis folder. PHP Warning: PHP Startup: Unable to load dynamic library…
2
votes
1 answer

How to install Minikube and kubernates on amazon Linux EC2

Anyone having command to install minikube and kubernates on Amazon-linux . I have tried to some linux command but it's not working. Thanks Baharul Islam
Baharul
  • 145
  • 2
  • 16
2
votes
5 answers

Can't install gcloud on Amazon Linux : invalid syntax

I'm trying to install gcloud on my EC2 server running Amazon Linux 4.14.47-56.37 64bits, in interactive mode running the following command : curl https://sdk.cloud.google.com | bash The files download correctly, but the install then fails with the…
Dino
  • 139
  • 1
  • 10
2
votes
1 answer

Adding a new user to docker and limiting its permissions

I am running a docker image of Linux and trying to achieve following: Run a docker Create a user test Stop the user test from internet access 1 and 2 work but I am stuck at #3. What I tried? Run iptables -t mangle -A OUTPUT -o eth0 -m owner…
Saurabh
  • 7,894
  • 2
  • 23
  • 31
2
votes
1 answer

Logstash: NameError: undefined local variable or method `dotfile' for # >

I'm migrating a logstash into a EC2 instance. It's running a AmazonLinux. By the command tail -f /var/log/logstash/logstash-plain.log I'm getting a the follow log cycling/repeating 2017-12-20T15:30:24,742][INFO ][logstash.modules.scaffold]…
wviana
  • 1,619
  • 2
  • 19
  • 47
2
votes
2 answers

How do I get my $PATH in a Jenkins script to match the $PATH under the user in which Jenkins is running?

I'm using Amazon Linux. I have created a jboss user, and after logging in as that user, I can see their $PATH as such [myuser@mymachine ~]$ sudo su - jboss [sudo] password for myuser: Last login: Sun Nov 5 18:19:43 UTC 2017 on…
Dave
  • 15,639
  • 133
  • 442
  • 830
2
votes
0 answers

Strange NGINX throughput when switched from Apache

System information (AWS EC2 Instance (m4.large) behind the ElasticBeanstalk): Region: us-west-1 Memory: 8GB CPU: 2 core / 2.4GHz PHP Version: 7.0.22 (ZTS) with FPM Nginx Version: 1.10.2 There is an API used by web/mobile/other. Each endpoint is…
2
votes
2 answers

Laravel Elastic Beanstalk, cannot install-run npm?

I have my Elastic Beanstalk with Laravel 5.4 here's my 02-node.config: commands: 01-install-node: command: "curl --silent --location https://rpm.nodesource.com/setup_8.x | s$ command: "sudo yum -y install nodejs" And…
Przemek Wojtas
  • 1,311
  • 5
  • 26
  • 51
2
votes
1 answer

Error installing mono on Amazon Linux

Running a standard Amazon RHEL AMI and trying to install Mono by following the instructions here: http://www.mono-project.com/docs/getting-started/install/linux/#centos-fedora-and-derivatives I got the following error: ... --> Processing Dependency:…
knguyen
  • 519
  • 6
  • 13
1
vote
0 answers

I would like to know more about the risks of not verifying the GPG KEY

I would like to know more about the risks of not verifying the GPG KEY. Now I can't install chrome from yum on Amazon Linux2. yum install -y google-chrome-stable gpg key verification fails. Failing package is:…
user7358439
  • 121
  • 5