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
5
votes
4 answers

sudo: amazon-linux-extras: command not found

I tried to install sudo amazon-linux-extras install nginx1 but it is not working. I'm using MobaXterm to deploy node.js app to AWS EC2. When I try the command sudo amazon-linux-extras install nginx, it ends up with sudo: amazon-linux-extras: command…
Aswin Shaji
  • 65
  • 1
  • 1
  • 4
5
votes
2 answers

Install node in Amazon Linux 2

I purchased Amazon Linux 2 machine using AWS LightSail and tried to install node on that machine. But after several tries I can't able to install node and got the error shared below. [root@ip-my public ip /]# sudo yum install nodejs Loaded plugins:…
Sarvath S
  • 197
  • 3
  • 9
5
votes
0 answers

How can I update to Amazon Linux 2 ECS optimized container instance?

Since I started using AWS ECS I have followed the AWS ECS reference architecture. This reference architecture uses Amazon Linux, and I would like to update to Amazon Linux 2, but I'm not sure what I'm required to do in order to make this transition…
5
votes
2 answers

Install capyabara-webkit gem on Amazon Linux AMI

I am trying to install the capybara-webkit gem on Amazon Linux AMI release 2017.09. I tried following the install instructions for CentOS (maybe the wrong approach): sudo yum install -y epel-release sudo yum install -y qt5-qtwebkit-devel The first…
Tom Aranda
  • 5,919
  • 11
  • 35
  • 51
5
votes
4 answers

Running CMake on Amazon Linux

I am trying to build OpenJpeg on an AWS Amazon Linux EC2 instance. I installed cmake and gcc and had no issues during installation. When I try to cmake openjpeg I get the following error: -- Check if the system is big endian -- Searching 16 bit…
Zaid Amir
  • 4,727
  • 6
  • 52
  • 101
5
votes
3 answers

How to install PHP 7.1 on EC2 running on Amazon Linux AMI 2018.03 having nginx as web server?

How to install PHP 7.1 on Amazon EC2 t2.micro Instance running Amazon Linux AMI 2018.03 having nginx as web server? Reference to PHP7
Ramratan Gupta
  • 1,056
  • 3
  • 17
  • 39
5
votes
1 answer

Amazon Linux PHP version being reset to 5.6 after installing 7.0

I'm using the Amazon Linux AMI and I uninstall PHP 5.6 and some extensions and then install PHP 7.0 and some extensions. This all works fine for a few weeks and then suddenly PHP 5.6 and the extensions I had before get installed again without me…
Mikhail Janowski
  • 4,209
  • 7
  • 28
  • 40
4
votes
1 answer

Pasting multi line text in AWS SSM connection

I have used both AWS SSM on the web UI and also installing the SSM plugin on my terminal (Using MacOS Monterrey Terminal) and on both I have the same odd behaviour when pasting multi-line text: My source text: "Lorem ipsum dolor sit amet,…
damuz91
  • 1,461
  • 2
  • 21
  • 37
4
votes
3 answers

Installing PHP on Amazon Linux 2 with Argon2 Enabled

I am having a problem with enabling Argon2 for password hashing. I am building PHP from source of Amazon Linux 2 but once the build have finishing and PHP is compiled, the PASSWORD_ARGON2I constant is undefined and the algorithm is not available. I…
Robert Hucks
  • 80
  • 1
  • 7
4
votes
1 answer

How to install GTK3 and Firefox on Amazon Linux (EC2) instance?

I'm trying to install the firefox on amazon linux (ec2) instance.. but this seems very difficult as gtk3 cannot be installed directly via yum. I've seen some articles here. but not very helpful. Thanks,
Ranjith's
  • 4,508
  • 5
  • 24
  • 40
4
votes
1 answer

systemd service is inactive(dead)

[Service] Type = forking PIDFile = /var/run/learninglocker.pid ExecStart = /usr/bin/npm start WorkingDirectory = /opt/learninglocker User = root Group = root EnvironmentFile = /opt/learninglocker/environment StandardOutput = syslog StandardError =…
Balasekhar Nelli
  • 1,177
  • 4
  • 18
  • 30
4
votes
3 answers

DOM extension on PHP 7.2 Amazon Linux 2

I'm getting the error message below from a Symfony 2.8 application running PHP 7.2.8 on an Amazon Linux 2 server. Fatal error: Uncaught RuntimeException: Extension DOM is required. in…
phpd
  • 551
  • 4
  • 10
4
votes
1 answer

Issue getting wkhtmltoimage working on Amazon Linux / Ruby on Rails

It works fine on my development environment (osx), but I can't get it to work on the server. in my gemfile gem 'imgkit' gem 'wkhtmltoimage-binary' When I run: kit = IMGKit.new(html, quality: 100) img_binary = kit.to_img I get this…
Peter R
  • 3,185
  • 23
  • 43
4
votes
0 answers

AWS Cloud9: Python virtual environment is not actually activated. Uses system-wide python

Just starting out with AWS Cloud9. Started a new project (Django with Beanstalk). Opened Cloud9 environment, typed in virtualenv --python=/usr/bin/python3.6 venv then, when i type: sourse venv/bin/activate i see: (venv) USERNAME:$ So, it looks ok,…
Coykto
  • 1,014
  • 9
  • 12
4
votes
4 answers

How To Use Cloud Init To mount an unformatted EBS volume

Context I am using the https://wiki.jenkins.io/display/JENKINS/Amazon+EC2+Plugin for jenkins which allows me to dynamically provision new cloud instances as build slaves in AWS EC2. I am launching ami-d834aba1 (Amazon Linux 2017.09.1). The plugin…
David
  • 7,652
  • 21
  • 60
  • 98
1 2
3
20 21