Amazon Elastic Compute Cloud (EC2), which allows users to rent virtual computer systems, is part of Amazon Web Services.

learn more… | top users | synonyms (1)

1
vote
0answers
32 views

How to get GNU parallel on Amazon Linux?

Preferably without having to compile it from source. I tried adding repositories I found on Google: CentOS 6 and CentOS 5, but both give me: [ec2-user@ip-10-0-1-202 yum.repos.d]$ sudo yum install ...
5
votes
1answer
45 views

Making environment variables available for downstream processes started within an init.d script

This questions stems from @FrustratedWithFormsDesigner comment. How do I make export environment variables set within an init.d script available to downstream processes started within that same init....
0
votes
0answers
45 views

How can I use two Ethernet cards in AWS Ubuntu LTS 14.0

We are using two Ethernet cards in an AWS Ec2 instance. And trying to ping with both Ethernet card by using ping -I eth0 google.com and ping -I eth0 google.com, we got the response from eth0, and eth1 ...
1
vote
1answer
19 views

Accessing a server's output on EC2

I've just been hired to do work on a company's existing website, which is running on EC2. They gave me the proper credentials to ssh in and I got in successfully. I found out that webpages are being ...
-1
votes
0answers
13 views

Can`t access my EC2 instance via IP/DNS [duplicate]

I have created my first EC2 instance, where I found this VPS have public DNS and IP, but I can`t access it via browser. I have deployment to that instance via deployhq and it works fine. I can even ...
-3
votes
1answer
54 views

Update nginx on Amazon linux (CentOs)

I'm trying to update nginx on a amazon linux instance which I read is compatible with centos repos.On their site there is a little guide to upgrade the repo. However I'm not sure how to translate it ...
1
vote
0answers
35 views

Locked myself out of Amazon EC2 [duplicate]

I'm working with an Amazon EC2 instance and at some point, I wanted to chown a directory recursively, and it looks like I applied the command to the whole file system. As a result, it is possible that ...
1
vote
2answers
64 views

How to move from one filesystem to another without changing directory structure?

/dev/xvda1 is full so I want to move its contents onto my 30GB udev filesystem. Filesystem Size Used Avail Use% Mounted on udev 30G 4.0K 30G 1% /dev tmpfs 5.9G 768K ...
0
votes
0answers
18 views

Resize system partition

I would like to re-size xvda1 to 300G. I am using aws ec2 with Ubuntu 14.04. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 300G 0 disk `-xvda1 202:1 0 8G 0 part / xvdb ...
1
vote
1answer
31 views

Pass Environment Variable to Sudo AWS ec2 sudo node

I am new to linux and AWS. I have a node.js server running on an EC2 instance. I am running the following command to keep it running endlessly and on port 80: $ sudo node app.js & Now when I ...
0
votes
1answer
74 views

limit user to only a single command: “su -”

I have setup a web server that hosts a Play! Framework application, the server is an Amazon Linux EC2. If you are not familiar with Amazon Linux, by default there is a root user and an ec2-user with ...
1
vote
1answer
94 views

Apache server at new AWS EC2 instance is not reachable

I am not able to access my web server I recently set up on Ubuntu AWS EC2 instance: client:~ user$ curl yyy.yyy.yyy.yyyy curl: (7) Failed to connect to yyy.yyy.yyy.yyyy port 80: Operation timed out ...
2
votes
0answers
31 views

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 ...
3
votes
0answers
61 views

Cant SSH in to cloned EC2 server from public network [closed]

I created a new AWS EC2 instance, using the AMI image, configured it to my liking, and saved an image, (Call this svr01). Then I created another EC2 instance, using that same image ((Call this svr02). ...
1
vote
1answer
123 views

Permanent desktop on Amazon EC2 instance with ubuntu server

I'm trying to run a program on an ubuntu 14.04 server instance on Amazon, but it needs a gui. I can install lunbuntu and use x2go to view the desktop, but as soon as there is a hiccup in my internet ...
0
votes
1answer
247 views

How To Install and Configure ImageMagick for PHP and Wordpres on Amazon Linux AMI

I've installed a fresh Wordpress site on my Amazon Linux AMI following the setup instructions listed on the EC2 Tutorials section i.e. "Hosting a WordPress Blog with Amazon Linux". I'm also using the "...
1
vote
1answer
142 views

Linux yum Commands that are Equivalent to these Ubuntu apt-get Commands [closed]

I'm using an AWS EC2 instance and I'm trying to switch from an Ubuntu instance to a Linux (Amazon Linux AMI) instance and in doing so I need to figure out the equivalent apt-get to yum commands and ...
1
vote
1answer
156 views

How do I prevent crashing my ec2 micro instance mysql db?

I have an Amazon ec2 micro instance that holds a WordPress site. Since yesterday, my mysql db keep crashing saying: [ec2-user@ip-xxx-xx-xx-xxx ~]$ sudo service mysqld status mysqld dead but subsys ...
0
votes
1answer
139 views

OPENSSL_1.0.0 not found when running PyPy 4.0.1 on Amazon Linux (AWS EC2)

I want to run PyPy 4.0.1 on Amazon Linux (AWS EC2), and then downloaded and unzipped the tar.bz file. Also, I created the symbolic links to fix problems, such as pypy: error while loading shared ...
0
votes
0answers
86 views

could only be replicated to 0 nodes instead of minReplication (=1). There are 2 datanode(s) running and no node(s) are excluded in this operation

I am trying to run a hadoop map reduce job but getting below exception everytime 16/01/09 15:54:22 INFO mapreduce.Job: Task Id : attempt_1450793371170_0056_m_000001_0, Status : FAILED Error: org....
0
votes
0answers
52 views

AWS linux - How could I install postgreSQL on amazon linux?

I'm really beginner. I want to install postgreSQL on Amazon linux. Please let me know what I should type in regular sequence. I saw some of questions about installing postgreSQL on linux, but there ...
0
votes
0answers
17 views

OpenStack EC2 API url in API access tab

I want to configure open-stack ec2 API , such that the ec2 API url apears in API access tab in project settings as other urls appear , such as urls for other services. Do i need to install some plug-...
0
votes
0answers
156 views

Grey screen when using tightvnc and trying to run xfce4

I have an Amazon ec2 instance. I am attempting to run a dedicated arma 3 server on it. Part of this it to set up a repository on the server. The program I want to use requires a GUI. This is the ...
0
votes
1answer
151 views

Amazon [Ec2 Linux Instance] SSH not working after increasing Open Files / File Descriptors (FD)

I am not able to ssh my ec2 instance [linux based] after I have executed following command. [Before that I am able to ssh to server] # vim /etc/sysctl.conf I have update file-max number to 4000000 ...
0
votes
0answers
61 views

Why does Amazon Linux redirects port 80 to 3000?

I'm running a NodeJS/Express app in Amazon EC2. app.set('port', process.env.PORT || 80); http.createServer(app).listen(app.get('port'), function(){ console.log('Express server listening on port ' ...
1
vote
1answer
116 views

'This webpage is not available' after 'shutdown -r now'

I've been having some MySQL issues so I tried to restart my server with shutdown -r now. I can SSH into it, but any page I try to navigate to now returns: This webpage is not available ...
0
votes
1answer
97 views

Installing Firefox on EC2 using Lambda Linux Project

I'm trying to set up a nodejs+selenium server on ec2. I got node installed and working and I tried to set up Firefox using the tutorial here: https://lambda-linux.io/blog/2015/01/28/announcing-...
0
votes
0answers
30 views

Build fails as the Java not recognized (Amazon EC2)

My java path is set in .bashrc and we had to run source ~./bashrc when we run the build or the build fails saying java is not recognized . Any solution for this with out running the source bashrc ...
0
votes
0answers
33 views

Amazon EC2 gentoo CFLAGS

I have a gentoo running at Amazon EC2 m1.large instance. One instance have following CPU: model name : Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz When i launched another m1.large instance in same ...
0
votes
1answer
186 views

Dovecot auto folder creation “Unknown setting: mailbox”

First off my dovecot info: $ dovecot --version 2.0.9 Running on an Amazon Linux AMI EC2 instance. I've added this in my /etc/dovecot/conf.d/10-mail.conf mail_location = maildir:/var/mail/virtual/%...
0
votes
0answers
1k views

ERROR: CHECK_NRPE: Socket timeout after 10 seconds

getting following error : # /usr/local/nagios/libexec/check_nrpe -H nagios-server-ip CHECK_NRPE: Socket timeout after 10 seconds. But it's working for localhost # /usr/local/nagios/libexec/...
2
votes
3answers
282 views

Accidentally port 22 got closed, how do I fix the SSH access?

Accidentally, Port 22 got closed. I cannot ssh into the instance, though the instance are running well on other desired ports. Getting following error while doing SSH. ssh: connect to host X.X.X.X ...
0
votes
0answers
25 views

Aws RDP cannot login after replacing EBS

I had an old ubuntu machine that i had XRDP installed on it , then i detached the EBS and created a new machine (Ubuntu also same version) and attached the old EBS to the new Ubuntu machine , but when ...
1
vote
0answers
54 views

Proxy Filtering with Squid

I am currently faced with a situation where i would like to deploy a proxy server on amazon EC2 running on Ubuntu. What i am trying to achieve is to have Wifi users in each site have their traffic ...
1
vote
0answers
67 views

installed font not working in ec2 in rails app

I have downloaded font by running wget http://www.fontsquirrel.com/fonts/download/amatic inside my ec2 instance. Then I created a .fonts director and unzipped those files inside it. Then I ls ....
0
votes
0answers
48 views

Ubuntu disk space issue [duplicate]

There is some anonymous space consumption on my disk having Ubuntu. When I run the command df -h it shows me that total consumption is 5.4G. But when I run command du -hscx * on / directory it shows ...
1
vote
1answer
33 views

Keeping services on EC2 alive

I'm using a MySQL database and Apache server with an AWS EC2 instance running AWS Linux. I start them both using the service command, but I am not familiar with any other tool that would come pre-...
0
votes
1answer
210 views

Valid root/user passwords not working on EC2

There is an authentication failure when I'm trying to enter password for any of my accounts after an update using yum. My authentication got broken, while everything else works. The updates were ...
0
votes
1answer
78 views

How do I download log4j on ec2 instance?

The link to download log4j is here. However I have logged into the my EC2 instance. Whats the command line to download this log4j ?
2
votes
1answer
36 views

Specific user's SSH-RSA with root access (via AWS EC2)

Is it possible to set up a specific SSH-RSA key (via another user i.e. "ec2-user") to have ability to sudo into root. I.e. You login with key to "Bob" (ec2-user). Currently user "Bob" can sudo ...
1
vote
0answers
59 views

How do I find out hard disk model and serial number in amazon machine?

when check in local machine /proc/scsi/scsi file it contains Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: ATA Model: ST3160215AS Rev: 3.AA Type: Direct-Access ...
3
votes
2answers
671 views

What is the difference between /sys/block/sda1/stat and /sys/block/xvda1/stat?

On my local machine, I have /sys/block/sda1/stat. On an Amazon machine, I have /sys/block/xvda1/stat. When I run cat /sys/block/sda1/stat or cat /sys/block/xvda1/stat both give 11 fields of output. ...
1
vote
1answer
130 views

How to change FTP home directory in Centos 6

I have created one Linux CentOS 6 instance in Amazon EC2 and installed cPanel on it and started running my websites there. The issue I face was when I try to FTP to the instance with the following ...
0
votes
0answers
229 views

etc/apt/sources.list contents for EC2 Instances upon AWS

When I copy an Ubuntu image between regions, the image is customised slightly in the process. Notably the software sources in /etc/apt/sources.list are altered to "local values". I am aware that ...
1
vote
1answer
351 views

AWS Outbound ACL Rules impact on incoming ssh connections

I am making a bastion ssh server on CentOS 7 in an AWS EC2 instance. When I use the following rules in its ACL, I am able to connect to the server just fine: Inbound Rules Allow traffic on port 22 ...
1
vote
1answer
182 views

Can set up a cron job to copy my server to Amazon S3

I have an Ubuntu 12.04 install on physical hardware. I will then install Geonode on it. The system will be running at a place with variable network capacity. My colleagues will add data and should ...
1
vote
1answer
115 views

Prompting for a password on sudo?

I'm creating users using Puppet. Here's the gist of what I'm doing in Puppet: user { 'ntkay': name => 'ntkay', uid => 10000, home => '/home/ntkay', managehome => true, ...
0
votes
1answer
270 views

Subdomain Creation in Amazon EC2 using Nginx Server [closed]

I am using amazon ec2.... My app is written in Ruby on Rails. I am using Nginx Server. How can I create sub-domain and automate it when a user registers like http://user.mywebsite.com?
1
vote
1answer
2k views

How to convert Ubuntu init script to Amazon Linux AMI init script?

I had a Ubuntu based Amazon EC2 server where I was running my java based application. For this I had written a init script which was running perfectly and as follows #! /bin/sh # set the environment ...
1
vote
1answer
149 views

rsync with weird files name appended

I'm doing rsync every 10 minutes via cronjob with a 3g Dongle outside on a field. The rsync will send data to my EC2 server and there I can check the files being sent. But I encounter the destination ...