Page 1 of 4 123 ... LastLast
Results 1 to 10 of 35

Thread: UEC, Lamp Server in Cloud

  1. #1
    Join Date
    Jan 2011
    Location
    Ahmedabad, India
    Beans
    42

    UEC, Lamp Server in Cloud

    Hello there,
    I am working on academic project in which I need to build Cloud and then deploy a PHP application on it, so others can get the access over it.

    I've build a cloud in my laptop, but this is only command line cloud, no GUI. how to deal with it?
    I am having my code for the php application with mysql database, so how to run apache server and mysql server in cloud?

    Where should I put this code and database?

    Waiting for positive response.

  2. #2
    Join Date
    Aug 2010
    Beans
    261
    Distro
    Ubuntu

    Re: UEC, Lamp Server in Cloud

    Hi!
    Please follow steps 6 and 7 for downloading and starting an instance on your cloud

    https://help.ubuntu.com/community/UEC/CDInstall#STEP 6: Install an image from the store

    Once started, you should ssh into the virtual instance, and deploy your php code like any other Linux server

  3. #3
    Join Date
    Jan 2011
    Location
    Ahmedabad, India
    Beans
    42

    Re: UEC, Lamp Server in Cloud

    Hi Kim0,

    How is it possible?
    Those steps are about to install images of OS (Linux). But I want to run php application with mysql, what to do?

    Do I need to bundle it and make an image of it?
    Any tutorial of it available?

  4. #4
    Join Date
    Aug 2010
    Beans
    261
    Distro
    Ubuntu

    Re: UEC, Lamp Server in Cloud

    Hi there,

    Perhaps you will understand the workflow from my screencast showing how to run wordpress (LAMP app) in 60 seconds

    http://www.youtube.com/ubuntucloud#p/a/u/0/HinDARd72nQ

  5. #5
    Join Date
    Dec 2010
    Beans
    99

    Re: UEC, Lamp Server in Cloud

    Hi ashishrevar,
    you should first know that an Eucalyptus instance is much the same as a normal OS running on some PC (only some small differences ).

    I've build a cloud in my laptop, but this is only command line cloud, no GUI. how to deal with it?
    You dont need a GUI to run a Webserver. It is even highly recommended to run a LAMP( Linux Apache mysql php ) on a server without GUI ( for security ).

    I am having my code for the php application with mysql database, so how to run apache server and mysql server in cloud?


    1-Just run an Instance on your cloud
    2-loggin into your instance
    3- run apt-get update && apt-get upgrade && apt-get -y install apache2 php5 libapache2-mod-php5 mysql-server
    5- Create your mysql database
    6- copy your php code into /var/www and remove /var/www/index.html
    7- Et voila

    To see the result just type http://<ipaddress> to the Browser of your Laptop.

    regards

  6. #6
    Join Date
    Aug 2010
    Beans
    261
    Distro
    Ubuntu

    Re: UEC, Lamp Server in Cloud

    Rock on raymdt

  7. #7
    Join Date
    Feb 2011
    Beans
    1

    Re: UEC, Lamp Server in Cloud

    Don't forget to have the port 80 enabled from your policy.

  8. #8
    Join Date
    Dec 2010
    Beans
    99

    Re: UEC, Lamp Server in Cloud

    Yeah you're right.

  9. #9
    Join Date
    Jan 2011
    Location
    Ahmedabad, India
    Beans
    42

    Re: UEC, Lamp Server in Cloud

    Hello there,

    Thanks to all for sharing your knowledge.
    My question is that I am having totally Non-GUI based environment in my cloud, so how to copy down my php code there?
    Should I use pendrive or something else?

  10. #10
    Join Date
    Jan 2011
    Location
    Ahmedabad, India
    Beans
    42

    Re: UEC, Lamp Server in Cloud

    Hello there,
    I have one doubt about this. If I upload my php application and my MySQL database in cloud, then will it be accessible by outside world?

    If I am running my cloud in my laptop at my home and I want to access that application from my college PC(Different Network) then how to deal with it?

Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •