Debian on two servers

Discussion in 'Server Operation' started by LinuxKid, Nov 14, 2013.

  1. LinuxKid

    LinuxKid New Member

    I tend to dabble in Linux, now that I have some free time I want to go a little further.

    I want to be able to setup Apache on one physical machine and Mysql on another. Are there any guides on how to do this.

    AI was only able to find setups for everything on one physical machine.
  2. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    Apache and mysql are not related, so it does not matter if they are on one server.
    It's only relevant to the websites on the webserver, that have to access mysql. There you'll have to enter the db server's ip instead of "localhost" in the database config.
  3. LinuxKid

    LinuxKid New Member

    I thought there would be more

    Thank you. So if Server#1 has apache and Server#2 has MySQL. Server#1 needs to have the IP address of Server#2 in it's apache config.

    Am I missing anything else? I thought there would have to be so much more involved.

    I'm trying to get as much performance as i can, even though this is just a learning environment for me.

    Side Questions:
    Can I have Mysql on Server#2 run with Postgres?
  4. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    I think you got me wrong.
    MySQL has nothing to do with apache, so you do not have to put any mysql ip or something like that in the apache config.

Share This Page