Results 1 to 10 of 10

Thread: Ubuntu VPS, LAMP

  1. #1
    Join Date
    Feb 2009
    Beans
    111
    Distro
    Ubuntu 11.04 Natty Narwhal

    Question Ubuntu VPS, LAMP

    Hi, I've found a provider to rent an Ubuntu VPS from, the VPS only has 256mb ram, is that suitable for Apache PHP and MySQL?

    Thank You.

  2. #2
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    8,717
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Ubuntu VPS, LAMP

    It'll be tight, but it should work. If that's the largest machine available from that provider, I'd look around, though. In the longer run, you'll be better served by a machine with 512 MB that can be increased if your needs expand.

  3. #3
    Join Date
    Feb 2009
    Beans
    111
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Ubuntu VPS, LAMP

    I've notice some VPS sellers offer 128mb ram for a VPS, surely with 128mb ram you couldn't run much else? maybe lighttpd and php?

    Thank You.

  4. #4
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Ubuntu VPS, LAMP

    Which provider were you looking at?

    I've heard Linode is pretty nice.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  5. #5
    Join Date
    Apr 2008
    Location
    Far, far away
    Beans
    2,148
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Ubuntu VPS, LAMP

    It will run ok. But if you get too busy you will be swamped by Apache's threads gobbling up RAM. If there isn't some feature that you must have Apache for then you will find yourself much better off in that size VPS running Nginx instead. Only uses about 2MB independent of how busy it gets. For PHP/MySql alone there isn't any reason not to use Nginx - I've done exactly that for years.

  6. #6
    Join Date
    Apr 2007
    Location
    Lower 48, US
    Beans
    511
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Ubuntu VPS, LAMP

    You guys may be over estimating what servers need. For example, I an the admin for a shared hosting server with a good number of websites on it, many written in PHP, and this is the output of free -m:

    Code:
    # free -m
                 total       used       free     shared    buffers     cached
    Mem:          3996       1883       2112          0        202       1208
    -/+ buffers/cache:        472       3523
    Swap:         4016          1       4014
    I also ran a support ticket system server for a very large high school here, and it only had 256mb of ram, and it was faster then that shared hosting server above...

    I also happen to know that a Debian 6 CLI install with A lamp stack only runs at about 128mb, and thats a lot even...

    In short, yes, your 256mb VPS will do fine for a very large array of projects...

  7. #7
    Join Date
    Apr 2007
    Location
    Lower 48, US
    Beans
    511
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Ubuntu VPS, LAMP

    Quote Originally Posted by GreenDance View Post
    Hi, I've found a provider to rent an Ubuntu VPS from, the VPS only has 256mb ram, is that suitable for Apache PHP and MySQL?

    Thank You.
    If your computer can handle it, setup a virtualbox virtual machine with 256mb of ram, running Ubuntu 10.04.2 server edition, and setup the lamp stack, with whatever PHP stuff you want, and then measure the ram usage, this will be the most accurate way to know how it will do in production...

  8. #8
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Ubuntu VPS, LAMP

    Quote Originally Posted by kevin11951 View Post
    If your computer can handle it, setup a virtualbox virtual machine with 256mb of ram, running Ubuntu 10.04.2 server edition, and setup the lamp stack, with whatever PHP stuff you want, and then measure the ram usage, this will be the most accurate way to know how it will do in production...
    +1 to that.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  9. #9
    Join Date
    Mar 2006
    Location
    The Internet
    Beans
    1,817
    Distro
    Ubuntu

    Re: Ubuntu VPS, LAMP

    I guess it depends more or less on the price. For $20 a month you can get 512MB from linode.com, quad xeon.

  10. #10
    Join Date
    May 2009
    Location
    #Ubuntu-CA
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Ubuntu VPS, LAMP

    jckd.co.uk

    I use them, they resell outa someone, but i don't care, its just so good of a deal.

    50 for the year, i have a burst of a gig and 256 i think.

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
  •