0
votes
1answer
66 views

Ubuntu Cron ec2-create-snapshot

I have a new ec2 Ubuntu instance running. I have properly set up the ec2-api tools. I want to create a daily backup using the ec2-create-snapshot command. Just to test it, I have my script, which is ...
0
votes
0answers
15 views

ec2 enable su for user ubuntu

I am trying to enable rstudio-server login with ubuntu on ec2, but it fails. I think it uses the same auth mechanism as su. So I did sudo passwd su someotheruser su ubuntu But even though I know ...
-1
votes
1answer
75 views

Sample (working) configuration for openvpn in AWS

I've been trying to set up openvpn on AWS EC2 instance and I'm having lots of trouble with that... I followed the guide on ubuntu help center but it either blocks all connections or doesn't work ...
2
votes
1answer
142 views

Redmine install on Apache2/Ubuntu 12.04 EC2 instance

Can someone point me to a guide or guides that explain how to get Redmine running on Ubuntu 12.04? From installing Ruby to setting up Passenger? I've tried a handful of times and have never been ...
3
votes
1answer
30 views

Provide access to another user on EC2 instance.

A friend of mine, wants me to access his ec2 instance. He does not want to share his secret file. I advised him to put my public ssh keys, in the ~/.ssh/authorized_keys of his ec2 instance. If ...
0
votes
1answer
76 views

putting a backgroung job on ubuntu on ec2 which will work forever

I want to put a job on amazon ec2 which is something like delayed job for rails server. The job has to run even when my local machine get disconnected from ec2. Is there any way I can do that. I try ...
0
votes
0answers
355 views

How do I change a linux kernel for an EC2 friendly version?

I have to get an old image from a physical ubuntu (dapper) box into AWS. The software stack and applications are not exactly contemporary so I have tried to do a P2V to AWS dd'd the /dev/sda volume ...
2
votes
1answer
79 views

puzzling DNS behaviour (ubuntu)

(All IPs and names have been censored, hopefully) This morning we had some connectivity problems in one of our servers. It turns out that changing our connection configuration to be IP-based (not ...
1
vote
2answers
202 views

Linux/SSH - get EC2 instance to read local .bashrc file

I have a custom .bashrc file with color codes locally on my Linux machine running Ubuntu 12.04 for both my user and root. I connect to Amazon EC2 instances daily running the same distro and would ...
0
votes
1answer
211 views

/mnt permissions keep changing on EC2 instances

I have a few Ubuntu instances on EC2 where I use the /mnt instance storage to keep logs and other fungible stuff. In order to store user logs the /mnt directory needs to have 777 permissions: $ sudo ...
0
votes
0answers
176 views

Amazon EC2 setup vsftpd users correclty

I am starting to use Amazon EC2. A couple of days ago I managed to setup vsftpd and created some users, each of who was linked to a folder with its name... eg: /home/user1, /home/user2 It works ...
1
vote
3answers
104 views

Use latest version of package in bash script

The installed package libnet-amazon-ec2-perl uses v0.14.1. How do I update this package to use the latest stable release v0.22.1? When I try sudo apt-get --only-upgrade install ...
0
votes
1answer
41 views

Multiple user directories on EC2

Im trying to set up multiple user directories on EC2 running Ubuntu, but im not sure how to set it up correctly so that i can serve files in the following format: http://<ec2 ip ...
0
votes
2answers
210 views

Unable to find source of mounted volume on AWS EC2 instance

I have an Amazon EC2 instance running Ubuntu with a mount, /mnt/resources. When I run df -h, I can see the following: /dev/sdb 414G 238G 155G 61% /mnt I can't seem to figure out ...
1
vote
3answers
922 views

Unable to use sudo su - command

I am new in ubuntu, i am trying to run following command sudo su - Bu i am getting following message sudo: unable to open /etc/sudoers: Permission denied sudo: no valid sudoers sources found, ...
1
vote
0answers
306 views

mysql remote connection on Amazon ec2 ubuntu

I installed a MySQL server in an Amazon EC2 instance. Then, I made the following changes in /etc/mysql/my.cnf: bind-address = 0.0.0.0 #skip-external-locking After restarting the server, I executed ...
2
votes
1answer
2k views

Allowing multiple users SSH access to Ubuntu instance running on Amazon Web Services

It seems as if similar questions have been asked before, but the issue that I am having hasn't been raised or answered as a part of the answers provided to the other questions. So... I'm using an ...
0
votes
1answer
316 views

Autostart for ubuntu server

Here is the first part of my question. Splitted it because of rule "One topic - one question". My third and main question is about configuring autostart for webserver and database. init.d scripts ...
2
votes
1answer
99 views

User management for linux server

Here is the first part of my question. Should I set up two user accounts; one for the database and another for the web server? Or is it better to have one root user for all purposes?
1
vote
2answers
106 views

Where should I install binaries that don't come as .deb?

I'm going to run EC2 instance for dev purposes on AWS. Most likely Ubuntu (once had it on my laptop). I am Java developer, so I need JDK, Tomcat, Maven, Git and MongoDB on the server. But software in ...
0
votes
1answer
177 views

How to add IP restrictions to my amazon ec2 instance installed with ubuntu 12

I have to add IP restrictions to my amazon EC2 instance , The reason for doing it is , I dont want to allow to do ssh from all places , it should be allowed only from my ip address. I am new to amazon ...
1
vote
2answers
520 views

Recompiling Ubuntu kernel 12.04 on EC2

I have to recompile the Ubuntu 12.04 kernel for 1000Hz and I am following the documentation available here but its for Lucid and has a specific ec2 branch. Is is possible to recompile the precise ...
4
votes
2answers
135 views

What can I do to give some more love and disk space to my database on Ubuntu?

I'm new to linux. I've deployed a db to ubuntu server on amazon and found out I'm low on disk space. did df (see below) - and found out that I'm 89% capacity on one file system, but less on others. ...
2
votes
1answer
3k views

EC2 ubuntu AMI ssh password default without key

I have a problem getting past the prompt after setting my first EC2 instance. The ubuntu LTS AMI supposed has ubuntu as the default user name. I set up the instance without keypairs when asked during ...
1
vote
2answers
1k views

How Does One Connect to an Amazon EC2 Ubuntu Instance from Windows 7?

I would like to use VNC or similar to connect to my Ubuntu 11.10 EC2 instance similar to the way one logs into a windows server using remote desktop and while I've installed Xorg, I've not been able ...
2
votes
0answers
392 views

creating a VPN connection between AWS EC2 Ubuntu server and Ubuntu client

Setting up VPN server-client connection seems to be tricky. I have a sever on Amazon EC2 and would like to join it to my network at home. What is the simplest & quickest way to do it? Which ...
5
votes
2answers
2k views

Why can't I ssh-copy-id to an EC2 instance?

I have a ubuntu Natty instance on EC2, and I can SSH into it by ssh -v -i ec2-keypair ubuntu@ubuntu@XXXX.compute-1.amazonaws.com But I'd like to set up password less sshing. So I tried these ...
2
votes
2answers
705 views

Git push from windows pc to aws ec2 machine fails

I've followed the steps in this tutorial: http://cuppster.com/2011/05/12/diy-node-js-server-on-amazon-ec2 but when I came to the step "push our local code changes to the remote repository" I got an ...
0
votes
2answers
406 views

Extra memory on EC2 [closed]

So, i'm looking at amazons high-cpu on demand instances, they have an 8 virtual core extra large high-cpu instance, but it only has 8GB of RAM. http://aws.amazon.com/ec2/instance-types/ I'm trying ...
0
votes
1answer
2k views

Adding Webmin to Bitnami Lamp Stack

I'm running Bitnami on my free tier amazon bitnami-lampstack-3.0.6-0-linux-ubuntu-10.04-ebs (ami-aa8cf5f8) Description: BitNami Lampstack 3.0.6-0 EBS AMI Status: available Platform: Ubuntu Image ...
0
votes
1answer
967 views

Installing Gitosis on EC2/Ubuntu

I'm trying to get gitosis to work on my Ubuntu instance on EC2. I'm having a problem with getting the right key to work. I SSH to my server using the key provided in the AWS console: it's a public ...
0
votes
1answer
235 views

Pros and Cons of virtualized dev environment

Because I was sick and tired of installing the same dev tools for the different machines I used, I figured why not try to stick it all into an EC2 instance that I can remote desktop into from any ...
0
votes
3answers
3k views

No /etc/init.d/sshd file? (Ubuntu / EC2)

On a fresh EC2 instance running Ubuntu, I see that there's no /etc/init.d/sshd file. I tried sudo apt-get install openssh-server And it shows that openssh-server is already the newest version. How ...
1
vote
2answers
2k views

Meaning of FDSize in /proc/PID/status

I'm looking for a way to find out the open FD limit under Ubuntu machines which doesn't have the /proc/PID/limits, namely EC2 machines. I have been looking into /proc/PID/limits, and found the the ...