Questions tagged [aws]

Amazon Web Services (AWS)

Amazon Web Services is a leading provider of public cloud services.

394 questions
292
votes
7 answers

How to run sudo command with no password?

How does the ubuntu user on the AWS images for Ubuntu Server 12.04 have passwordless sudo for all commands when there is no configuration for it in /etc/sudoers? I'm using Ubuntu server 12.04 on Amazon. I want to add a new user that has the same…
aychedee
  • 8,347
28
votes
6 answers

cURL Received HTTP/0.9 when not allowed, but nghttp2 is installed

I'm trying to setup the wallet RPC for a Monero node, but when I use cURL to that port, I get this error: curl: (1) Received HTTP/0.9 when not allowed However, checking curl --version gives me this: curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0…
Fibericon
  • 283
  • 1
  • 3
  • 6
20
votes
3 answers

How do I get a list of Amazon regions via the command line?

I'd like to see how I can get a list of regions from AWS on the command line so I can quickly look things up, how can I do this?
Jorge Castro
  • 73,717
14
votes
1 answer

multiple owner of same folder

I have changed owner of the /var/www/html folder to www-data. Now I want to grant ownership to ubuntu as well. How can I do that? I don't know which group they belong to. I login to ssh by using ubuntu username and my FTP is also working with…
urfusion
  • 281
  • 1
  • 7
  • 17
14
votes
2 answers

Can I use Amazon Glacier as the backup location?

Amazon Glacier storage is attractively inexpensive. Is there a way to make Backup use it as the backup location?
ændrük
  • 78,496
12
votes
5 answers

16.04.01 LTS on AWS - Redis no longer working

We've been running redis-server on a number of AWS EC2 Ubuntu instances (14.04.4 LTS) with no problems. I spun up a test server to try the upgrade to Ubuntu 16.04.1 LTS, and now redis won't work. If I try to start redis manually, I get this: ~$…
12
votes
3 answers

apt-get returns Not Found when using Amazon's AWS repositories

When I do sudo apt-get upgrade or update, I get the following: Err http://security.ubuntu.com/ubuntu/ saucy-security/main apport all 2.12.5-0ubuntu2.1 404 Not Found [IP: 91.189.91.15 80] Err http://us-east-1.ec2.archive.ubuntu.com/ubuntu/…
murvinlai
  • 221
  • 1
  • 2
  • 3
12
votes
4 answers

Amazon Workspaces Client not working on 22.04

I have the official Amazon client, and I have been using it for years. When I upgraded to 22.04, the client began to crash on every launch. It seems to be an error with OpenSSL $ ./workspacesclient No usable version of libssl was…
Feasoron
  • 526
  • 1
  • 6
  • 22
11
votes
4 answers

Intermittent apt-get install issues when creating an AMI using Packer

I am trying to create an AMI based on ami-3b054701 in the ap-southeast-2 region. The Packer config has one simple provisioner: #!/bin/bash -e info() { echo -e "[INFO] $1\n" } exec_cmd() { echo -e "\n[INFO] $1\n" eval $1 } exec_cmd…
11
votes
2 answers

The mail command hangs on "Cc:" for mail

For some reason, when I send mail with mail -s 'test email' tomyrealemail@myrealwebsite.com It prints out Cc: after I press enter and I can't do anything. I tried pressing . and it still is stuck. I'm trying to setup Amazon SES on Ubuntu
Ryan Glenn
  • 221
  • 3
  • 4
10
votes
2 answers

Ubuntu upgrade from 16.04 to 18.04 in AWS EC2

My AWS EC2 instance is running on Ubuntu 16.04. But recently I got an email from AWS that Canonical - the company that provides the support of Ubuntu 16.04 LTS - will stop its support on April 30, 2021. So should I upgrade my instance to Ubuntu…
9
votes
1 answer

How to attach new EBS volume to Ubuntu machine on AWS?

Disclaimer: I'm probably missing something obvious, sorry in advance. I need more EBS disk space for my Ubuntu 11.04 server running on Amazon EC2, and decided to create new volume in addition to the root volume. (It's an EBS-backed instance, created…
Jonik
  • 7,448
9
votes
1 answer

How can I use an existing S3 bucket in Backup?

I have an existing Amazon S3 bucket in the Oregon region. How can I use it as the backup location in Backup? Details I've enabled the Amazon S3 backup location, but I don't see a way to specify which bucket to use. When I start backups for the…
ændrük
  • 78,496
9
votes
2 answers

How to install aws cli?

What is the best way to install the aws cli? There are a few conflicting resources about this online.
Ulad Kasach
  • 1,866
8
votes
1 answer

"Could not open display `(null)'" error. How can I fix this?

I'm trying to run an appliaction, but when I run it I get a Could not open display `(null'). Error. Why is this? Specifically I was trying to run scratch (which I installed via aws): root@ip-10-251-56-90:/usr/bin# ./scratch Executing:…
1
2 3
26 27