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

learn more… | top users | synonyms

-1
votes
0answers
25 views

ssh from aws server to local ubuntu machine

Hey Guys how can i ssh from my aws ec2 instance to my local ubuntu machine using my machine iPaddress 192.168.1.2. I tried port forwarding but don't know exact procedure for my ubuntu 14.10 so did not ...
0
votes
0answers
6 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
24 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
21 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
49 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
0answers
19 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
50 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
94 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 ...
0
votes
0answers
15 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
39 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 ...
1
vote
1answer
31 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 ...
0
votes
1answer
52 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
55 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
30 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
62 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 ...
0
votes
1answer
116 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
33 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
33 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 ...
0
votes
0answers
159 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
91 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
89 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 ...
2
votes
1answer
102 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 ...
0
votes
0answers
126 views

Problem installing honeypots on Ubuntu

I'm relatively new to Unix/linux and the CLI. I'm working on a project to set-up a honeypot Dionaea on Ubuntu 14.04.1 LTS on my Amazon EC2 VPS. For doing that I follow a tutorial. But it seems that ...
1
vote
0answers
109 views

Why `apt-get dist-upgrade` in EC2 image does not update the kernel?

I've built a system running Ubuntu 14.04 on EC2, using the AMI from Ubuntu's cloud-images repository. The AMI includes kernel 3.13.0-37, but 3.13.0-39 is available as an update. After running ...
2
votes
1answer
112 views

How do I install ec2-api-tools in 14.10 utopic?

$ sudo apt-get install ec2-api-tools Reading package lists... Done Building dependency tree Reading state information... Done Package ec2-api-tools is not available, but is referred to by another ...
0
votes
0answers
87 views

How to harden/tune Ubuntu then package it back into an ISO

I am interested in delving into Amazon Web Services (AWS), and would like to create a few EC2 instances from my own hand-tuned instances of Ubuntu Server 14.04.1 LTS. What I would like to do (I ...
0
votes
0answers
98 views

Scheduled Cron Back up from EC2 to S3

I have created a script for scheduling sql back ups and store in Amazon S3. Below is the script that I used for taking backups. DATABASES="testdb" testdb_USER=root testdb_PW=root ...
1
vote
1answer
39 views

CronJob not working as expected

I generated a cronjob line for crontab -e with Crontab Generator: * */2 * * * curl http://www.example.com/cron.php >/dev/null 2>&1 I was expecting that it should run every 2 hours. But in ...
0
votes
0answers
51 views

how to set up group level administrator in linux ubuntu!

In my application there is multiple groups and n number of users. What i need is to assign a particular/multiple user as group administrator. Group level administrator is just a user that has ...
0
votes
1answer
53 views

Mount and external hard drive on an Amazon ec2 Ubuntu server

I'm using the amazon EC2 servers for the first time, so I'm sorry if i'm not understanding something obvious. I alredy created and connected to an EC2 instance with a ssh connection. I'm trying to ...
1
vote
0answers
115 views

initramfs-tools irqbalance apt-get upgrade error

I am getting an error when I do sudo apt-get upgrade. I did a do-release-upgrade and went into a lot of issues. Finally the problem has been reduced to: sudo apt-get upgrade Reading package lists... ...
1
vote
1answer
71 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: ...
2
votes
1answer
176 views

post-receive: No such file or directory

I'm getting an error when trying to push to a remote Amazon EC2 (Ubuntu Linux) instance. I've given all related directories and files full permissions. I'm trying to use a post-receive hook to move ...
0
votes
1answer
105 views

Preview .html file from remote AWS EC2 instance on local machine's browser

From this and this I've gathered that I should ssh into my ec2 instance from my Mac by: ssh -C -c blowfish -X -i user.pem user@hostname.com This accomplishes X11 forwarding. Afterwards, how do ...
0
votes
0answers
135 views

How to configure Postfix, stunnel for AWS SES?

I have been trying to set up SES on our EC2 running ubuntu. I have followed the instructions on their docs page but not able to figure out what's wrong. I'm a newbie that's why i'm looking for a ...
0
votes
0answers
61 views

Apache Virtual Hosts on Ubuntu not working

I have created virtual hosts on amazon instance ec2 by following this tutorial how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts I also created 111.111.111.111 example.com on my windows hosts ...
1
vote
0answers
108 views

installing vmware ova on amazon aws

I am trying to import a vmware ova on amazon aws but experiencing issues. After importing (or my attempt to import), I can no longer access the server via SSH even though the amazon AWS console shows ...
-1
votes
1answer
230 views

Only Terminal windows appear on TightVNC

I use ubuntu server provided by amazon ec2. I want gui so that i install ubuntu-desktop on server and edit xstartup. But when i connect to my server through TightVNC it shows only terminal windows. ...
0
votes
0answers
216 views

Upstart script on first boot with cloud-init

I'm trying to launch an EC2 instance where I need to perform some initial setup of the instance (download and install packages, configure directories, etc.) as well as start a web service. The initial ...
0
votes
0answers
69 views

Natting with Ubuntu 14.04 won't forward the packet to the originator

I have succeeded in creating a VPN on amazon VPC using ubuntu 14.04 with openswan. My subnet on amazon is 192.168.254.0/24. My gateway which is in this case ubuntu 14.04 has 192.168.254.17 IP. The ...
2
votes
1answer
2k views

After install Google Chrome in EC2 won't open from Ubuntu Server 14.04 LTS (HVM) command line [duplicate]

I have installed Google Chrome with following command line: $ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - $ sudo sh -c 'echo "deb ...
0
votes
0answers
153 views

ec2, hdfs and hostnames are not resoving

I am trying to setup cloudera 5 hdfs on ec2. I am using rout53 for dns. Below are my modifications. cat /etc/hostname master.hdfs.cloudera.aws.development.west cat /etc/hosts 127.0.0.1 localhost ...
0
votes
0answers
11 views

Ubuntu-Files become read only in production.App down

I am a newbie and I had posted a question on stackoverflow and I got a satisfactory answer.Now the site is back online. The issue was that the files such as thin.log and all the app files had become ...
0
votes
1answer
279 views

Cant have passworldess ssh between 2 ec2 servers - Permission denied (publickey)

I created 2 aws ubuntu 12.04 servers I uploaded the id_rsa and id_rsa.pub files to both servers I ran the below on both servers chmod 600 id_rsa* eval `ssh-agent -s` ssh-add ~/.ssh/id_rsa What ...
0
votes
0answers
55 views

Default mysql password for Amazon Ubuntu Apache Php MySQL - 25 - 05 - 2013 (ami-3b117a52)

Hi I just launched a new instance of Ubuntu Apache Php MySQL - 25 - 05 - 2013 (ami-3b117a52) Any idea what could be the default username/password of pre installed mysql? I can log into it by typing ...
2
votes
3answers
323 views

Completely Messed up sudoers file and su Operations

I am in a really bad condition right now.I am jotting down the steps I did to get myself into this situation. My objective was to disable sudo on my machine. I am running Amazon Ec2 Ubuntu 12.04 I ...
1
vote
1answer
229 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 ...
1
vote
1answer
706 views

SSH remote commands very slow after migrating from 12.10 to 14.04 on EC2

I had a number of 12.10 machines running on EC2 and provisioned them using scripts built around: ssh scp rsync Now I have replaced most of my 12.10 machines with 14.04 machine and am finding that ...
2
votes
1answer
142 views

RDP to amazon EC2 Ubuntu instance

I've set up an Amazon EC2 instance. I allowed RDP from any ip in the security groups, installed and started xrdp and added a user with a new password. However when I try to remote connect, the ...
2
votes
1answer
407 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 ...