Find the answer to your Linux question:
Results 1 to 5 of 5
Morning, I have 4 Computer nodes all running a base install of Ubuntu Server x64 I wish to start hosting websites and want to isntall LAMP (Linux+Apache+MySQL+PHP4) and Mail. I ...
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    4

    Ubuntu Server from Scratch

    Morning,
    I have 4 Computer nodes all running a base install of Ubuntu Server x64

    I wish to start hosting websites and want to isntall LAMP (Linux+Apache+MySQL+PHP4) and Mail.
    I will also be using one of the nodes as a file server.
    I will use Webmin as my administration.

    Node 1: Apache+PHP4, phpMyadmin, Webmin
    Node 2:
    Node 3:
    Node 4: BIND9, Webmin

    I will upgrade later as I go along, maybe add new nodes.


    As listed above what should be installed on each of my server to accomplish this goal?
    I might *** a 5th Node for my file server.

    ------------------------------------------------------------
    Background:
    I attempted to so HA+Hearbeat with 2 Nodes and then the other 2 Nodes were Apache webservers. (I was using a howto guide). That worked but it seems like overkill and too much. So I am now looking for recommendations, should I have continued that route or is that a faster cheaper solution...

  2. #2
    Just Joined!
    Join Date
    Aug 2010
    Location
    Italy
    Posts
    35
    It depend on what do you want to get.
    It's acceptable to have a downtime of 1 minute, 1 hour or 1 day (or more)?

    A good solution (overkill ?) could be

    Ha cluster:

    Node 1 - Heartbeat + LVS (active) + mysql (passive)
    Node 2 - Heartbeat + LVS (Passive) + mysql (active)

    Keep the data you need in sync (mysql informations) with DRBD
    Alternative, Use mysql replication

    Farm :

    Node 3 - Apache + php
    Node 4 - Apache + php

    This is a cheap solution to have an environment with a nice uptime

  3. #3
    Just Joined!
    Join Date
    Aug 2010
    Posts
    4
    Its whatever gives me a complete LAMP + mail + FTP + Fileserver result... so do you recommend I continue to HAProxy solution?

  4. #4
    Just Joined!
    Join Date
    Aug 2010
    Location
    Italy
    Posts
    35
    Ha solution + farm is the best to avoid headcache of having 1 server down and stopping all for that, so yes in general i like to use HA and/or service in farm

  5. #5
    Just Joined!
    Join Date
    Aug 2010
    Posts
    4
    thank you for the advise

Posting Permissions

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