Questions tagged [amazon]
27 questions
11
votes
5 answers
Check if file exists in S3 Bucket
This directory /data/files/ has thousands files like:
1test
2test
3test
[...]
60000test
60001test
I'm also sending them to a S3 Bucket (AWS), using AWS CLI. However, sometimes the S3 bucket can be offline and because of that the file is…
Patrick B.
- 119
- 1
- 1
- 5
4
votes
1 answer
Apache can't access file while is has permission
I don't want to allow others read access, so I have added my user and the apache user to a group called apachme and then set that group to all the files and folders I want apache to have access to, including the root of the webpage. I have then…
Craig Mosey
- 43
- 1
- 3
4
votes
2 answers
Check if Apache is Installed in Amazon Linux AMI
How can I check if Apache is installed in my Amazon Linux AMI, which is based on RHEL 6? In Ubuntu, I use:
dpkg --get-selections | grep apache
But that doesn't work in this case. Note, I need to be able to tell if Apache is installed even if it…
Rick Helston
- 141
- 1
- 1
- 4
3
votes
1 answer
headless firefox failed on aws amazon linux
I have followed the procedures as described in [https://lambda-linux.io/blog/2015/01/28/announcing-firefox-browser-support-for-amazon-linux/
However, when I tried to start up firefox, I am still getting
$ firefox
XPCOMGlueLoad error for file…
openbob
- 71
- 1
- 5
2
votes
1 answer
yum IUS in Amazon Linux 2
As I'll need to install the layrst version of Python, will need to install a particular repository - Inline with Upstream Stable (IUS) - that provides rpm packages for new versions of selected software.
If I was using CentOS 7, would run
yum -y…
Tiago Martins Peres
- 75
- 1
- 1
- 9
2
votes
1 answer
How to set email alert for disk space usage for ubuntu instance on AWS?
I have an ubuntu instance on AWS and I want an email when 80% of disk space is consumed. I have checked the cloud watch but there is no such option to monitor disk space. There is only one option which is custom metric…
Neetesh Gangwar
- 23
- 3
2
votes
0 answers
AWS ELB Latency issue
I have two c3.2xlarge EC2 machines with Ubuntu environment both in us-west-2a AZ. Both contains same code with mySQL database from AWS RDS (db.r3.2xlarge). Both instances are added to an ELB. Both has one cron scheduled that runs twice in a day.
ELB…
Thamilhan
- 121
- 5
2
votes
1 answer
How to make the DRM-protected video stream of Amazon Video run on Debian Jessie?
I want to use Amazon Video on Debian Jessie but can't manage it to run.
I have the following hardware setup:
CPU: 2 cores at 3 GHz (Intel Core 2 Duo E8400)
RAM: 6 GB RAM
GPU: NVIDIA GeForce GTX 650 (MSI N650-1GD5)
I am using the sudo command.
For…
Pewpew
- 121
- 1
- 11
1
vote
1 answer
Can't access Webmin from browser after installing
Fresh Webmin install on Ubuntu 20.04 on Amazon Lightsail
I added the line to iptables as per their instructions:
sudo iptables -A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT
I have added port 10000/tcp to ufw also.
When I go to the browser…
pyproper
- 21
- 5
1
vote
2 answers
Why does `pip` throw `ModuleNotFoundError` even though `setuptools` appears to be installed?
On an EC2 instance, I am attempting to install a Python package using pip, but receive an exception that states ModuleNotFoundError: No module named 'setuptools'.
For context, the command I run is
pip install --user mlflow
I attempt to resolve the…
Jubbles
- 145
- 3
- 11
1
vote
1 answer
AWS s3 CLi grep command with special characters
I want to copy the whole log that are stored in the AWS S3 bucket if the following line is present:
\"Key\" : 951332,\n
I've tried escaping by trying this:
aws s3 ls s3://bucket_name | grep "/\"Key/\" : 951332,/\n" --recursive
but not getting…
Samosa
- 71
- 2
- 10
1
vote
0 answers
How to enable ZipArchive PHP class
Recently I have installed a PHP on Amazon Linux to run Chevereto. It's an image hosting service.
When I wanted to install it on my EC2 instance, I got the following error:
Aw, Snap! Your web server lacks some requirements that must be fixed to…
Foxy
- 11
- 2
1
vote
0 answers
Amazon instance automatically creating and resizing partitions after VM Import
I'm using Packer to create a VM with CentOS 7, and exporting it as a .ova file at the final of installation.
By default, Packer creates a 40GB Virtual Disk (.vmdk). After the installation, if I import the .ova file in VirtualBox (just for tests) and…
Eduardo Baitello
- 606
- 7
- 19
1
vote
0 answers
some characters show after put objects on amazon s3
I use libcurl to put objects on amazon s3 service. Here is my original contents in…
yayaya
- 79
- 1
- 10
1
vote
1 answer
iftop, outgoing https to Amazon
When I run iftop -P to see what is coming to/from my interface, I constantly see connections to Amazon, HTTPS protocol:
=> ec2-176-34-135-167.eu-west-1.compute.amazonaws.com:https
<=
=> ec2-52-22-162-249.compute-1.amazonaws.com:https
<=
...
Those…
Kamil
- 1,311
- 2
- 14
- 31