Questions tagged [amazon-linux]

139 questions
0
votes
0 answers

Problems Installing Pacemaker in AWS Amazon Linux

I am trying to install Pacemaker in my Amazon Linux and I couldn't find it in the repo anymore following this tutorial with sudo yum install pacemaker. i then further search and found this, and to no avail the repo link provided in the tutorial does…
0
votes
2 answers

6 EC 2 servers on AWS making it easier to manage software on them

I have 6 ec2 web servers on amazon linux and will be upgrading to php 7.3 soon. It is becoming a pain to upgrade all these servers manually as there are just clones of each other (for the most part) (web servers). (apache,...etc...etc) I use yum…
Chris Muench
  • 487
  • 3
  • 10
  • 31
0
votes
2 answers

install msmtp amazon linux

My goal is to get the PHP mail() function to work on Amazon Linux. So the best option seems to be to install msmtp (found in EPEL repository) but I get a dependency error. I run run sudo yum --enablerepo=epel install msmtp but then get: Loaded…
TheStoryCoder
  • 254
  • 3
  • 13
0
votes
1 answer

How to install svnmucc on Amazon Linux?

I have an AWS Linux machine running Amazon Linux: Linux XXX.XXX.XXX.XXX 4.4.30-32.54.amzn1.x86_64 #1 SMP Thu Nov 10 15:52:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux And I am trying to install "svnmucc" But "yum install subversion" does not install…
0
votes
2 answers

AWS EC2 (Amazon Linux 2018.03) ran instance yum update and now yum gives an error about NSS_3.34

I ran yum update and tomcat was not working. I then tried to downgrade nss but yum is not working at all and gives me the following error PLEASE HELP: There was a problem importing one of the Python modules required to run yum. The error leading to…
Jim Ford
  • 105
  • 6
0
votes
0 answers

How to upgrade from Java 7 to Java 8 on Amazon Linux

I found another thread on this that is outdated and doesn't give a non-interactive way to do this. If you need to upgrade from Java 7 to Java 8 to run Jenkins, or whatever other Java application, you can do that by plugging this into a user_data…
TechDawg270
  • 151
  • 1
  • 2
0
votes
1 answer

Putting Tomcat on Port 80 on Amazon Linux 2 (iptables?)

I'm configuring a new EC2 instance, which will be running Tomcat, and I want it accessible on Port 80. Within Amazon Linux 1, the primary strategy I saw people using was to use iptables to do port forwarding. It's not my ideal strategy, but it has…
0
votes
1 answer

/etc/services file accidentally deleted on Amazon Linux EC2 instance

I accidentally deleted /etc/services file from my ec2 instance on AWS running Amazon Linux. How can I restore this file? In Ubuntu, I found out that this can be done using netbase package, how can this be achieved in Amazon Linux(centOS flavor) ?
0
votes
2 answers

How to allow SSH server to accept inbound traffic from 2 TCP ports?

Brief Allow the following TCP port numbers on SSH server 22 2222 Premises The machine uses an Amazon Linux AMI distribution The SSH installation is based on an SELinux system Details By default, SSH uses TCP port 22. Is it possible to allow the…
0
votes
1 answer

vsftpd passive port configuration doesn't apply

In short: It DOES connect in passive mode, but it just doesn't use the ports that I'm trying to use despite the configuration. Settings on pasv_max_port and pasv_min_port seems to be ignored, but I can't see what's preventing vsftpd from recognizing…
Iorippi
  • 11
  • 1
  • 5
0
votes
1 answer

Amazon Linux + SSL + vhosts

I have a new test instance that I have setup with LAMP and SSL. I have the following in my /etc/httpd/conf/httpd.conf file ServerAdmin webadmin@ohanacruises.com DocumentRoot /var/www/html/blog.ohanacruises.com …
0
votes
0 answers

Cannot mount swap partition at boot on Amazon Linux 2

I am trying to mount swap partition in etc/fstab on Amazon Linux 2, but it doesn't work on the boot-up process. here the steps I have followed: create swap file: dd if=/dev/zero of=/swapfile bs=1024 count=1048576 change permission to 600: chmod 600…
fromthestone
  • 347
  • 4
  • 17
0
votes
1 answer

Amazon Linux 17.09 init.d script not starting when Docker does

I'm probably missing something really silly, but does anyone know why this init script isn't running when Docker starts on Amazon Linux 17.09? #!/bin/sh ### BEGIN INIT INFO # Provides: replicated-docker # Required-Start: docker #…
laverya
  • 1
  • 3
0
votes
1 answer

Error creating SSL cert with LetsEncrypt certbot on Amazon Linux

I'm trying to setup a free LetsEncrypt SSL certificate for a web server (Apache) running on an AWS EC2 instance running Amazon Linux (2017.09) using the certbot software. I can't seem to get it from the repos so I've grabbed it from…
RTF
  • 218
  • 2
  • 11
0
votes
1 answer

How to chroot accounts for using scp in Amazon Linux?

I need to setup an scp server. Suppliers will upload files to that server via scp (not sftp). While configuration was easy for sftp, I really struggle with scp. There are some instructions and how-tos for other operating systems on the web. I tried…
hey
  • 327
  • 1
  • 5
  • 14