Amazon Elastic Compute Cloud (EC2) is a cloud-based computing platform.
0
votes
0answers
9 views
SSH to a server and clone from git repo on ec2 instance
I'm trying to ssh to a folder in server and clone directly from a Git repo setup on an amazon ec2 instance. When i execute the commands
below, it shows the code is being cloned on the server but when ...
0
votes
1answer
16 views
Create folders in remote server after ssh login using commands
I need to create folders on the remote server, i try to ssh to the server and then create folders.
The logs display that the ssh is successful but it stops after that and the screen stays at the home ...
0
votes
4answers
2k views
Errors running apt-get update and apt-get install mysql-server
Since yesterday I've been trying to run
apt-get update
unsuccessfully in Ubuntu instances I am creating on the EC2.
In specific I've been getting these errors:
Ign http://security.ubuntu.com ...
1
vote
1answer
21 views
juju: deploying lamp charm on ec2 causes instances to terminate
I was running a ubuntu 13.04 instance on ec2. I have juju .7 installed and bootstrapped. when I tried to deploy lamp, it caused the instance to terminate.
ubuntu@ip-10-62-73-113:~$ juju status
...
0
votes
0answers
19 views
getting the latest hadoop image from ec2
When I run:
ec2-describe-images -x all | grep hadoop-images
AWS returns a cool list of hadoop images that I can use.
I am running Hadoop 1.0.4 (the latest stable release).
How do I know which ...
0
votes
0answers
9 views
where are the ec2 / aws variables in hadoop?
I am reading a book that has a tutorial on how to setup hadoop on linux, and it says:
You must configure the single initialization script at
src/contrib/ec2/bin/hadoopec2-env.sh. Inside that ...
1
vote
1answer
42 views
Where is hadoop-ec2-env.sh in the Hadoop packages?
I'm unable to locate the file hadoop-ec2-env.sh.
I've downloaded and intalled hadoop_1.0.4-1_x86_64.deb from http://mirror.olnevhost.net/pub/apache/hadoop/common/stable/
This is the most recent ...
1
vote
0answers
35 views
Permission denied creating file on Ubuntu Server (Amazon EC2 instance)
sudo has been working fine for installing applications and running scripts, but when I try and create a file I am getting a "Permission Denied". I have tried:
sudo cat > file.conf
and
sudo echo ...
2
votes
1answer
171 views
How do I configure Juju to use Amazon Web Services (AWS)?
I'd like to deploy services on AWS, how can I configure Juju to do this?
4
votes
1answer
294 views
How to specify ec2 instance types for different services?
After I have specified a default EC2 instance type for my Juju charm, how do I override that for one of the services?
For instance, the Juju tutorial deploys wordpress and mysql, and I can set the ...
1
vote
0answers
19 views
How do I specify an AMI in Juju? [duplicate]
This solution no longer works How to specify ec2 instance types for different services in a charm? since using the default-image-id option in the environments file has been deprecated.It mentions in ...
5
votes
1answer
3k 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
0answers
53 views
Mail Server: system requirements
I want to create a mail server for personal use. It will be used mainly by me and possibly some family members.
The system load will be in the order of 5-10 IMAP mailboxes, all for "human" use: no ...
2
votes
1answer
53 views
Tried to follow the EC2 Juju guide and it fails
I am evaluating Juju and when following the very basic tutorial https://juju.ubuntu.com/docs/getting-started.html, literally following every single instruction to a T, all I end up when trying to ...
0
votes
1answer
81 views
Problem with Ubuntu 12.04.2 and Amazon Ec2 update from cloud-images.ubuntu.com image [solved] [closed]
Created new Amazon Ec2 instance from http://cloud-images.ubuntu.com/releases/precise/release/
Details:
eu-west-1
32-bit
ebs
micro
After command "apt-get update" or "aptitude update" message in SSH ...
5
votes
1answer
271 views
How do I optimize apt-fast with Amazon Web Services (AWS) mirrors?
I know that Amazon Web Services has hosted mirrors that I can use to update my Ubuntu machines.
I know there is a tool called apt-fast that makes multiple connections to a mirror server to improve ...
1
vote
0answers
140 views
How can I tell if port 465 is open for outbound traffic?
I have an Ubuntu 12.04 server set up on AWS EC2. I'm trying to configure Railo to use Simple Email Service (SES) via an SMTP call (see "Sending Email with the new SMTP Support for Amazon SES" for ...
2
votes
0answers
277 views
Unable to connect FileZilla to ubuntu ec2
I have a micro ubuntu instance on ec2. I have done a passwd to set it to simple password. I have installed vsftpd on the ec2 instance. And imported the ec2 pem file via FileZilla-Settings-SFTP, and ...
1
vote
1answer
46 views
using juju with elastic block storage ( EBS )
Is there a way we can use EBS for ec2 instance with juju. And possibility of scaling the storage after the deployment,
Thanks
1
vote
0answers
99 views
How to repartition an EC2 micro instance under ubuntu 10.10? [closed]
I want to create an instance to run a webserver under EC2 using ubuntu 10.10.
That's actually quite easy, but what I'd want to change how that virtual disk partitioning is made. Using the wizard they ...
10
votes
2answers
2k views
How do I apt-get -y dist-upgrade without a grub config prompt?
Per Make apt-get (or aptitude) run with -y but not prompt for replacement of configuration files?
I did the following:
ec2run ami-3c994355 --region us-east-1 -n 1 -t m1.large -z us-east-1d
On the ...
5
votes
4answers
16k views
Adding SSH Keys to Authorized_Keys
I have an Ubuntu server on Amazon EC2, that I use for development, and today I stupidly cleared everything out of the authorized_keys file for SSH. Luckily I have an SSH open, so I am still ...
1
vote
0answers
70 views
Any Ideas on a Better Browser Enabled Cloud Desktop using Ubuntu 12.04, Gnome and Amazon Web Services?
I am currently using NoMachine's NX Web Companion free product using java as well as FreeNX to access a Gnome GUI Ubuntu 12.04 instance running on Amazon Web Services Free Tier ec2.
What I have ...
0
votes
0answers
94 views
How can I monitor cloud-init for errors, and trigger a script when it fails?
I'm using cloud-init to provision servers in AWS, and would like my servers to send an email when they're done (whether they fail or succeed). For successful cloud-init runs, the solution is trivial. ...
2
votes
0answers
140 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
...
4
votes
1answer
91 views
blocking all outgoing ports and its consequences
Is this the right way to block all outgoing ports? : ufw default deny outgoing
But what are the consequences of doing this on amazon ec2?
I'm running possibly unsafe perl scripts on my instance and ...
0
votes
0answers
67 views
connecting to mysql running on amazon ec2
hi I am trying to connect mysql server running on amazon linux instance but did not succeeded yet .
Scenario : i installed mysql server in amazon's ec2 instance . then I made following changes in ...
0
votes
2answers
155 views
How to give a new user permissions to call sudo without a prompt for sudo password?
I am setting up a server in Amazon EC2. I created an image from Amazon's provided images of Ubuntu x64 12 LTS. My goal is to set up a secure svn server there, where access is only possible by IP ...
2
votes
3answers
3k views
How to install dpkg-reconfigure?
I want to install dpkg-reconfigure in Ubuntu 12.04 LTS install on Amazon EC2? How to go about it?
1
vote
1answer
45 views
“Permission denied (publickey).” error when trying to ssh into server
I am trying to connect to a server via SSH. I am getting the following log from using the command: ssh -vvvT ubuntu@ec2-176-34-121-133.eu-west-1.compute.amazonaws.com.
Please could someone help me ...
1
vote
0answers
183 views
Ubuntu 12.04 failed mysql installation
I have deployed Ubuntu 12.04 on the Amazon Cloud and I am trying to install Nagios and Nconf, while following this guide. When I install the prerequisites, I get this error on installing mysql:
...
0
votes
0answers
51 views
Grub fails to update, apt ignores hold on package
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
It's also an EC2 Instance
$ apt-mark showhold
grub-pc
Today I've ran apt-get upgrade and ...
0
votes
0answers
80 views
Why do I have to run aptitude update twice to install Ruby?
Summary. I have a fresh EC2 Precise 64-bit instance (ami-82fa58eb). After launching the instance, I want to install ruby1.9.1 (among others).
This doesn't work:
aptitude update &&
apt-get -o ...
4
votes
1answer
172 views
Juju instances in agent-state: down after turning them off (and back on) on EC2
I turned my Juju instances off on EC2 for a while and after bringing them back online they seem to be in an odd state:
juju status
2012-11-17 17:06:44,094 INFO Connecting to environment...
...
3
votes
1answer
2k views
“Server refused our key” when logging into Ubuntu on EC2 as a different user
We created an AWS micro instance running Ubuntu 10.04, and we can putty in as the "ubuntu" user using the key pair just fine. Now I've created two new users, but when I try to putty into the instance ...
1
vote
0answers
67 views
Connections to ubuntu server running on EC2
I have a ubuntu EC2 with its default settings. I'm using it for a web application that receives request from iPhone apps. I was trying to do a stress test to see how many connections could be handled ...
4
votes
1answer
152 views
Installing Yaws server on Ubuntu 12.04 (Using a cloud service)
I'm trying to get a Yaws web server working on a cloud service (Amazon AWS). I've compilled and installed a local copy on the server. My problem is that I can't get Yaws to run while running on either ...
0
votes
1answer
81 views
multiple rails applications on same host name with different folders
When i ssh to amazon ec2, then
pwd
/home/ubuntu
ls
app_1 app_2 app_3 app_4
Considering i have mapped my ec2-122** address to some apps.site1.com
How can i have multiple rails applications ...
1
vote
0answers
102 views
Ubuntu mailing services with Magento [closed]
I'm having some issues with sending emails out from Magento. I'm very new to Ubuntu and had been playing with it for the past 2 days. Is there anything I need to do to allow my mail to be sent out? I ...
3
votes
1answer
189 views
How can I stop unattended-upgrades from rebooting the machine?
I just had a look at my Amazon EC2 instance and noticed I had 20 minutes exactly of downtime. I didn't know what caused it so I logged in to SSH and tried upgrading my packages, and saw that the ...
0
votes
1answer
57 views
How do Ubuntu updates appear on Amazon EC2?
I have Ubuntu 12.04 LTS installed in Amazon EC2 machine. Sometimes when I SSH into the machine I see a notice asking me to update some packages. Please see the screenshot image below
My Question
...
0
votes
1answer
473 views
Problem with squid on EC2
I created an instance from the canonical AMI that have ubuntu server 12.04 64bit and install squid.
The only changed to the /etc/squid3/squid.conf file was:
acl localhost src 127.0.0.1/32 ::1
...
3
votes
1answer
437 views
Is there a way to stop and restart a Juju deployment?
I would have thought that juju shutdown would move the instances in the deployment from "running" to "stopped." Instead it actually terminates all instances. Are juju deployments inherently ephemeral? ...
2
votes
3answers
319 views
How do I start an SSH session from the Unity desktop with arguments (-i)?
Using SSH in a GNOME terminal is fine. But I want to use it in a Unity window (the location text field, ctrl+l).
I need to refer to my .PEM x509 certificate for security reasons to connect to my ...
1
vote
1answer
66 views
Does anyone know of a program like Elastics for Linux?
On mac I would use Elastics (http://tundrabot.com/elastics) To kind of, monitor my EC2 instances. Most important to me was that it worked across several accounts and that it allowed me to connect to a ...
1
vote
2answers
284 views
Latest ec2 Ubuntu instance seems broken [duplicate]
Possible Duplicate:
Trouble downloading updates due to “Hash sum mismatch” error
I am using ec2 Ubuntu instances now for some time and never had a problem with. Today I created a new Ubuntu ...
0
votes
0answers
140 views
How to troubleshoot a non-booting EC2 Ubuntu instance?
After upgrading from 12.04 to 12.10, my EC2 Ubuntu instance won't boot. here is the system log:
Fri Oct 26 17:05:57 UTC 2012: shutting down for reboot [up 18892807s].
* Stopping web server apache2 ...
3
votes
2answers
267 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, ...
2
votes
1answer
193 views
Blacklisting grub packages from installing
I am trying to block GRUB packages from being installed (after having purged them). The problem is virtually identical to Blacklisting packages from installing and even involves GRUB which is exactly ...
1
vote
0answers
155 views
When uninstalling all GRUB packages for EC2 AMI build script, how do I bypass prompting?
When I try to uninstall all GRUB packages from the cloud-image version of Ubuntu I use in AWS EC2, I get an interactive prompt. I need put this all in a script under automation, so prompts need to be ...



