Questions tagged [amazon-linux]

129 questions
4
votes
2 answers

Can't install amazon-linux-extras pm AWS EC2 Amazon Linux AMI instance

I'm trying to install amazon-linux-extras using the instructions here: sudo yum install -y amazon-linux-extras And I get the following error: amzn-main …
Aerodynamika
  • 176
  • 1
  • 1
  • 7
3
votes
1 answer

Per-second billing for custom AMI

In the beginning of October this year Amazon announced per-second billing for EC2 instances. This potentially could be a big cost reduction for me. However Amazon also says this billing is platform dependent: Per-second billing is not currently…
3
votes
2 answers

Can I install a recent gcc from binaries on Amazon Linux?

I'm using Amazon Linux on an EC2 instance started from the most recent 2017.03 AMI (ami-6df1e514). This distribution comes with g++ 4.8.3 from 2013. I need something more recent that can compile C++14. Is there any way to install a more recent gcc…
bcattle
  • 161
  • 2
  • 8
3
votes
2 answers

Ran chkconfig but crond not starting on reboot on Amazon Linux

I am trying to get the cron daemon to start on reboot on an instance of Amazon Linux (Linux version 3.14.57-34.46.amzn1.x86_64). I have run: $ sudo chkconfig crond on If I run: $ chkconfig --list crond I get: crond 0:off 1:off 2:on 3:on …
sohelpme
  • 31
  • 4
3
votes
2 answers

Starting HHVM automatically on Amazon Linux server boot

I'm having trouble getting hhvm to start when my Amazon Linux (which is apparently very similar to Centos) EC2 instance starts. When I reboot the server hhvm doesn't come up, and there's nothing in the error logs. When I use sudo service hhvm…
Tim
  • 30,383
  • 6
  • 47
  • 77
3
votes
1 answer

puppet 3.7 does not install on Amazon linux after the 2015.03 release

hi i am/was using amazon linux and using the RHEL 6 puppetlabs repositories to upgrade the installed puppet client from 2.7 to 3.7. With the latest release of Amazon Linux 2015.03 this process raised the error 25-Mar-2015 13:06:59 …
Graeme
  • 660
  • 1
  • 5
  • 16
3
votes
3 answers

"Unsupported osfamily: Linux" when trying to install Apache using Puppet

I'm trying to setup a simple Puppet setup on AWS EC2 using the latest Amazon Linux AMI. I've followed through the install guide for RHEL and have a puppetmasterd daemon running. When apply the following manifest in…
JoeNyland
  • 225
  • 1
  • 4
  • 12
3
votes
1 answer

Amazon Linux LAMP with php 5.5

I installed PHP 5.5 on my Amazon Linux VPS via the instructions here. The CLI is working fine. I also had apache already installed and running via the httpd package. It was running without any issue. I see that there is no mod_php in the list of…
3
votes
2 answers

Setting up sftp on Amazon Linux 2 with ssh keys, user segregation (sftp vs ssh), different ports, and user directory constraints

TDLR: I have a Catch 22 where, depending on permissions on the user's home directory, I can get the SSH authentication to work, or the user directory constraints, but not both. BTW, I really want to roll my own SFTP server. Please don't recommend I…
Kevin Buchs
  • 313
  • 1
  • 3
  • 19
3
votes
1 answer

Upgrading command line tools to support TLS1.3 on Amazon Linux 2

A server I need to communicate with only allows TLS1.3 traffic. I have thus updated the version of OpenSSL bundled with Amazon Linux 2 to OpenSSL 1.1.1c. Following this guide I am now able to use TLS 1.3 using OpenSSL e.g. openssl s_client -connect…
Anon957
  • 131
  • 3
2
votes
1 answer

Amazon Linux - yum update fails with HTTP Error 403 - Forbidden

I have an Amazon Linux v1 instance in us-west-2 (Oregon) that is failing yum update as per below. This is an old instance that's been working fine for a few years, updated to a t3a.nano a few months ago. It has an S3 gateway in the VPC. I created an…
Tim
  • 30,383
  • 6
  • 47
  • 77
2
votes
2 answers

Does SElinux in enforcing mode cause delays in file access?

I have enabled SElinux in enforcing mode on Amazon Linux and see that the time taken for file access (read/write/update) has increased by an average of 2-4 seconds. The source process is Salt and the file access is related to the file.managed state…
sce
  • 23
  • 3
2
votes
1 answer

Where should init scripts be placed in Amazon Linux 2?

In the Amazon Linux 2 release notes, Amazon advises that initscripts should no longer exist in /etc/init.d Amazon Linux 2 uses the systemd 219 init system to bootstrap userspace and manage system processes. It is available as /sbin/init and…
Jonathan
  • 1,279
  • 2
  • 20
  • 28
2
votes
0 answers

Docker storage re-mounted in read-only mode when container is generating a lot of large file(20G+)

I am getting stuck with an issue for a couple of days, and hope someone here could help or give some hints. So here is the issue: when I am running some docker images which performs large I/O operations, the container become read-only in the middle…
UTS-AnQ
  • 21
  • 1
2
votes
1 answer

How to install samba-tool on Amazon Linux

I am using Amazon Linux on AWS and wish to install the CLI application of samba-tool. On Linux distributions including Ubuntu, this is included by default with installing samba, but does not appear to be available after running yum install samba. It…
Jake
  • 121
  • 4
1
2
3
8 9