Amazon Elastic Compute Cloud (EC2) is a cloud-based computing platform.

learn more… | top users | synonyms

0
votes
3answers
36 views

Is it safe (secure) to change the owner of the html/ folder in Apache?

I know how to use chmod and stuff so that is not the question. I have a little server (Ubuntu LTS ) running with Apache on it with the standard folder in /var/www/html/. By default root is the owner ...
0
votes
1answer
11 views

ECS not an option in AWS CLI?

I'm just getting started with Amazon EC2 Container Service and I'm trying to follow this guide: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_AWSCLI.html I'm on puTTY (ubuntu) and I ...
14
votes
1answer
18k views

Not enough disk space '/' in AWS instance

i am running Ubuntu 11.04 instance for my Web Server on AWS cloud, now i am getting there is no disk space in / partition of my server. df -ah say this Filesystem Size Used Avail Use% ...
0
votes
0answers
8 views

Latest cloud images does not seem to be available on AWS

The latest Trusty cloud images published at https://cloud-images.ubuntu.com/trusty/current/ do not appear to be available on AWS. We normally use this link to locate the latest successful nighly ...
0
votes
0answers
18 views

Permissions issue when running Ghost blog using forever

I am trying to run a Ghost blog on an Amazon AWS Ubuntu server using forever so that I can close the terminal window & leave the blog running. I think it is not running due to a permissions issue ...
9
votes
3answers
2k views

what can be causing /etc/cron.daily/apt to hang?

Lately I've been getting a mail from the server every day, Subject Cron <root@host> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) Body ...
2
votes
1answer
4k views

Need help with getting NoMachine working on Ubuntu 14.04

I’m trying to get NoMachine working on a AWS EC2 instance with 14.04 Trusty Tahr. I’ve used the instructions from: https://help.ubuntu.com/community/NomachineNX ...
1
vote
1answer
54 views

Accidentally run command rm -R in Amazon EC2. Unable to login

I'm using Amazon EC2 for Magento website and WinScp to access SFTP. Sometimes I'm using terminal in WinScp to execute command. Today I need to delete some files so I used rm -R /* and forget to ...
1
vote
1answer
164 views

EC2 instances failing to reach eu-west-1.ec2.archive.ubuntu.com [closed]

I'm trying to setup a few EC2 instances on AWS in the eu-west-1 region with a VM created from Ubuntu 14.04 x64 (ami-b17a12c6) AMI. When I do attempt to update the source list sudo apt-get update ...
0
votes
2answers
168 views

ssh with .pem file to amazon instance Permission denied (publickey)

I am trying to login to instance on amazon using, my ".pem" file has 600 privileges: ssh -v -i FTPServer.pem ec2-user@ec2-xx-xxx-xxx-xxx.compute-1.amazonaws.com i tried all possible users ...
0
votes
0answers
49 views

Amazon EC2 Ubuntu Server 14.04 apt doesn't work can't install

I have an Amazon instance set up running Ubuntu Server 14.04. Was working perfect. But recently I logged on and anytime I try to do any apt command I get the error E: Sub-process /usr/bin/dpkg ...
2
votes
0answers
3k views

VSFTPD not working

I followed instructions and other instructions too but because it is not user-friendly, the ftp server is not working. # This option specifies the location of the RSA key to use for SSL # encrypted ...
1
vote
1answer
48 views

PHP/Apache runs as which user on Ubuntu Server

I have a PHP script (in /var/www) that is supposed to write down the logs of operation in a file deploy.log (also in /var/www) and perform operations on a file situated in other directories of the ...
1
vote
2answers
327 views

Nginx and pagespeed installation issues in ubuntu

I have put my app (implemented a website with the help of angularjs) on amazon EC2 and have installed nginx and thin on it I am having issues with angularjs with respect to performance. So I decide ...
2
votes
1answer
308 views

Ubuntu EC2 compatible kernels

I am trying to create an Ubuntu 13.10 64 bit AMI with the paravirtual type of virtualization. I have not had problems with the hvm virtualization. I can't figure out what kernel I need to use. For the ...
0
votes
0answers
53 views

Installing Xampp on an amazon Ubuntu Instance: GUI Issue on XFCE4 and Mate Desktop environments

I am using Microsoft Remote Desktop connection to connect to an Ubuntu Instance on Amazon. After downloading the .run file of Xampp and executing it using sudo ./xampp-linux-***-installer.run ...
2
votes
2answers
724 views

LAMP server installation stops at 79% configuring MySQL (EC2 BitNami AMI)

I have created an ubuntu 10.04 cloud server on the Amazon cloud (EC2) I am encountering a stalled LAMP install each time I try it. I've created about 5 fresh instances. Each time The installation ...
0
votes
0answers
62 views

ixgbevf network interface not available during initramfs (ec2)

I'm working on a base AMI for Amazon EC2 that formats any ephemeral disks into a RAID-0 array, and then uses that filesystem for system use (basically a big data partition, and a partition for ...
3
votes
2answers
570 views

How do I configure Mediawiki on EC2 if anonymous browsing is disabled?

So I have new MediaWiki instance install on a brand new Amazon EC2 instances. All is going swimmingly, until I have to log in via the web browser to configure it. Since I'm running on a hosted server, ...
0
votes
0answers
33 views

Sharing a drive on AWS between two ubuntu 14.04 servers running Rails

This is a multi-part question: How do I create a stand-alone drive on Amazon Web Services? How can get two different Ubuntu 14.04 servers to have read/write access to that drive? This is for a ...
1
vote
2answers
33 views

Why do Ubuntu AMIs only have 8gig on root

I've created an EC2 instance from an Ubuntu AMI but the instance storage is split, with 8gig on the root and the rest mounted at /mnt Why is this? How do I get it all mounted on the root?
0
votes
0answers
81 views

Connect with postgresql remotely. Postgresql Installed in Amazon EC2 micro instance

I installed the Amazon EC an instance Ubuntu 14.04 and Postgresql database. Trying to connect remotely to the base and the pgAdmin III program but can not connect. I've tried many of the solutions ...
0
votes
0answers
64 views

Cannot Rsync to ec2 instance

This seems like the problem with the ubuntu user permission on ec2 server , cannot rsync successfully. Steps Taken: Generated public key from origin server (a normal ubuntu droplet with root user ...
1
vote
0answers
38 views

Allowing Ubuntu user on ec2 to upload and manage files in public web folder

Just created a new ec2 ubuntu instance, and i'm forced to login as ubuntu rather root. While Its ok as of standard security practice but it creates additional problems that ubuntu user cannot upload ...
0
votes
1answer
224 views

vsftpd PASV configuration set up, yet still not working

So, I've been researching FTP/FTPS, and have been trying to set up a working FTPS server. To use FTP(S), I've been using the service vsftpd, and the my server is an amazon EC2 instance running Ubuntu ...
0
votes
1answer
111 views

ec2 SSH tunnel not working? [closed]

I'm trying to set up a node following Creating a Personal Privoxy/Tor/Proxy EC2 Instance using Ubuntu 14.04 LTS on Amazon EC2. I've gotten to: $ ssh ubuntu@ec2-blah.amazonaws.com -i ...
0
votes
0answers
34 views

Trying to run an Rscript from the command line but I'm running into namespace errors

I'm fairly new to Linux and I'm running into some major problems. I'm trying to run an Rscript from the command line instead of RStudio on amazon EC2 ubuntu instance. My script makes use of couple of ...
0
votes
1answer
118 views

Where is /etc/rc.local

I'm trying to follow this tutorial. I am working with an Ubuntu 14.04 instance on amazon EC2: At the end of the tut, it discusses: "The last step is to make it all happen automatically at system ...
0
votes
1answer
1k views

How to set python 3 as default interpreter in ubuntu 14.4

I am working with ubuntu 14.4 LTS on EC2. I want to change the default python interpreter from python 2.7 to 3.4.0 which is installed by default. When I do: /home/ubuntu$ which python ...
4
votes
4answers
9k views

Run a script only at the very first boot

Is there an idiomatic way in Ubuntu to run a script only the first time a machine is booted? (EC2).
0
votes
0answers
24 views

Failure to contact privoxy proxy on ec2 node

I'm trying to set up a tor node following http://sickbits.net/creating-a-personal-privoxytorproxy-ec2-instance/ using ubuntu 14.4 lts on ec2. I'm using git-bash on win7. Following the directions, I ...
0
votes
1answer
172 views

AWS EC2 set up key and non key authentication at same time

I want to set up password based authentication (non key) on AWS EC2 ubuntu instance. But at the same time I want to keep the key based authentication also on the same instance. Will it be possible and ...
1
vote
1answer
33 views

AllowTcp in ssh function

I'm trying to set up a tor node following http://sickbits.net/creating-a-personal-privoxytorproxy-ec2-instance/ using ubuntu 14.4 lts on ec2. I've gotten to: $ grep AllowTcp /etc/ssh/sshd_config ...
3
votes
1answer
710 views

Create a snapshot/Backup of my Amazon Ubuntu Instance

Hi all I want to backup my amazon instance currently running on ubuntu 10.4 LTS, anyone know how to do that? I also have a Cent-OS instance which I bakup and restore by creating snapshots and images ...
1
vote
1answer
95 views

cannot add swap with fallocate on EC2

I'm trying to setup the swap in /etc/rc.local this way: sudo fallocate -l 8192M /mnt/swapfile1 sudo mkswap /mnt/swapfile1 sudo swapon /mnt/swapfile1 This however returns an error: fallocate: ...
21
votes
2answers
16k views

Ubuntu 12.04 on Amazon EC2: /dev/xvda1 will be checked for errors at next reboot?

I'm running the lastest Ubuntu 12.04 AMI (ami-a29943cb) from Canonical on Amazon EC2 and quite often when I log in I get the message: *** /dev/xvda1 will be checked for errors at next reboot *** I ...
1
vote
1answer
90 views

How configure the upstart in ubuntu in my ec2 [node.js]

I am using an amazon ec2 instance with ubuntu to host my node.js application, i already made all the configurations, and is working good when i type: nodemon ./bin/www ./bin/www is the file that ...
1
vote
0answers
66 views

HTTPS on Ubuntu instance Amazon EC2

I have a question which I hope somebody can answer for me. My situation: I have an Ubuntu Server running Apache2 on a EC2 Amazon instance, which is serving an OwnCloud instance. My goal: I want to ...
0
votes
1answer
208 views

Do I need to make a partition on an EBS volume? What is better?

I'm adding a new EBS volume to an existent Ubuntu server on AWS EC2. I created the volume and it's attached to the server, I can see it there, all is OK. What are the bonus/onus of creating a ...
2
votes
1answer
705 views

Synchronise clocks on ubuntu running in EC2?

I've got three servers running on AWS EC2 using official Ubuntu AMIs using paravirtualisation. I have noticed their clocks are out of sync by about a minute. NTP is not installed by default in the ...
0
votes
1answer
256 views

How to install OpenStack/Eucalyptus on AWS using EC2 instances

I would like to build a private cloud platform on AWS using either Openstack or Eucalyptus, but don't have a lot of experience in neither. How should I proceed?
0
votes
1answer
46 views

Release upgrade for Ubuntu EC2 AMI launches SSH on a different port

sudo do-release-upgrade on a Ububtu EC2 AMI shows the following warning message, is it safe to continue or what would be the preferred procedure. cat /etc/lsb-release DISTRIB_ID=Ubuntu ...
1
vote
0answers
76 views

Erlang disappeared from /usr/bin/erl

The setting I have downloaded rabbitMQ and used it on an EC2 14.04 machine for a few days. The setting was simple - I downloaded the Binary .tar.gz, opened it, and typed: sbin/rabbitmq-server ...
2
votes
1answer
529 views

NTP: Use unprivileged ports

I have had some trouble with ntdpate on EC2, which was solved by using the -u argument for unprivileged ports: $ sudo ntpdate -u ntp.nasa.gov time-b.nist.gov I know that ntpd is better than a ...
9
votes
4answers
5k views

How do I know what Ubuntu AMI to launch on EC2?

When I want to launch an instance of Ubuntu on EC2, how do I find the right one? There are thousands of public images that have "Ubuntu" in their name. I am only interested in running the Official ...
0
votes
0answers
186 views

EC2.micro nginx php-fpm error “upstream timed out”

I've been setting up a new server on AWS using a t2.micro instance and Ubuntu. After setting everything up the site worked fine, but now it's throwing errors. There is no traffic on the site at the ...
1
vote
1answer
126 views

Recursive display of remote desktop screen

I tried to set up remote desktop to connect to an Amazon EC2 ubuntu instance. The steps are: (1) sudo apt-get install --no-install-recommends lightdm lubuntu-desktop tightvncserver (2) create a file ...
1
vote
1answer
155 views

Is /etc/X11/xinit/xinitrc. supposed not to exist?

I'm trying to connect to Amazon EC2 Ubuntu 14.04 instance through VNC but always fail (only grey background). Some articles say we should have a line in .vnc/xstartup which reads exec sh ...
0
votes
1answer
791 views

unable to send email

I'm getting an error message: mail: cannot send message: Process exited with a non-zero status Command date | mail -s "test" -r some@myemail.com some@myemail.com mailutils install via this ...
2
votes
1answer
128 views

Apt-get wants me to remove packages (from r-cran) that I need

Why is apt-get telling me to remove packages that I need? And how do I tell it to shut up? I'm running an EC2 with Ubuntu 14.04 and R 3.1.2 and Rstudio-server. I just ran apt-get update and upgrade ...