Ask Your Question
0

how to install apache on OpenStack tiny instances

asked 2014-07-25 05:35:07 -0500

kurtina89 gravatar image

Hi, i'm new in Openstack world and searching on the forum site and on openstack wiki i have not found any explanation on how to install apache on my tiny instances on Openstack. I'm working on a project for univsersity. Is someone able to help me? Thanks.

edit retag flag offensive close merge delete

Comments

i know that in the OSs that you have mentioned i could find any type of suggestion (or tutorial) simply by searching on google. But on my instace on OpenStack there is cirrOS that is rarely used and there is no documentation about it. So, i hope that on this site someone can help me

kurtina89 gravatar imagekurtina89 ( 2014-07-25 07:48:25 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
3

answered 2014-07-25 10:01:05 -0500

SGPJ gravatar image
  • Try to upload an OS (Ubuntu desktop .iso) using Horizon dashboard
  • Now launch the instance with this image and appropriate flavor
  • Now give floating IP to it
  • Get to instance console and make sure you have internet access
  • sudo apt-get install apache2
  • Then use it.
edit flag offensive delete link more

Comments

the point is that i should try to install apache on my instances, which have cirrOS, not change the OS.

kurtina89 gravatar imagekurtina89 ( 2014-07-26 07:39:28 -0500 )edit

CirrOS is just a test for Cloud Images. You need to have OS suggested by Antonio.

SGPJ gravatar imageSGPJ ( 2014-07-28 03:27:09 -0500 )edit
1

answered 2014-07-25 06:42:38 -0500

Hi, welcome to ask.openstack.

You first have to determine which operating system your instance is using (Ubuntu, Centos, any other OS). Then you could google for how to install apache on <os>.

For example, in Ubuntu you have to simply run this command:

sudo apt-get install apache2

Note: maybe it is not the correct place to search for a solution on your problem as this group is mainly focused on Openstack ;)

edit flag offensive delete link more

Comments

In my case new instance can only be logged using ssh -i key ubuntu@ip. sudo is not working! after logging into instance.

maruti gravatar imagemaruti ( 2017-01-17 06:55:59 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2014-07-25 05:35:07 -0500

Seen: 2,078 times

Last updated: Jul 25 '14