Results 1 to 8 of 8

Thread: Making A Server Across Multiple Partitions - Is This Good or Bad?

  1. #1
    Join Date
    Jan 2011
    Beans
    4

    Making A Server Across Multiple Partitions - Is This Good or Bad?

    Hello. I'm a first-time ubuntu user with the goal of making a machine into a server that has:

    - a database (mySQL, from what I've heard)
    - a web service (my own creation)

    When installing ubuntu, I found this video. Following the instructions there, I made my 1 TB machine have three total partitions.

    - (16GB) swap area
    - (20 GB) ... OS? Whatever "/" denotes, ext4
    - (all remaining size) non-OS area? Whatever "/home/" denotes, ext4

    To learn about installing and using apache, I'm following this series. However, I saw that /var/www/ is within the "OS" partition.

    Is it possible to have Apache host my webservice such that the database interacted with is populating data stored in the "non-OS area" partition? As it is, it's using the 20GB OS partition. Is this a bad partition model to have in general for what I am aiming for?

    Thank you for your help!
    Last edited by hyliandanny; January 2nd, 2011 at 01:16 AM.

  2. #2
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,630

    Re: Making A Server Across Multiple Partitions - Is This Good or Bad?

    You would need to link it:

    Code:
    sudo ln -s /home/hyliandanny/Website /var/www

    You would also want to look at RootSudo. Ubuntu and Fedora are a little different in that aspect.

  3. #3
    Join Date
    Jan 2011
    Beans
    4

    Re: Making A Server Across Multiple Partitions - Is This Good or Bad?

    Thank you! I'll try that.

    Can someone confirm that this is not an unusual or inefficient model for partitions?

  4. #4
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,630

    Re: Making A Server Across Multiple Partitions - Is This Good or Bad?

    Quote Originally Posted by hyliandanny View Post
    Thank you! I'll try that.

    Can someone confirm that this is not an unusual or inefficient model for partitions?
    Your fine. There's nothing unusual about that. You can have a mutiple partitions:

    /

    /home

    /var

    /boot

    /tmp

    etc...

  5. #5
    Join Date
    Jan 2011
    Beans
    4

    Re: Making A Server Across Multiple Partitions - Is This Good or Bad?

    Quote Originally Posted by wojox View Post
    Your fine. There's nothing unusual about that. You can have a mutiple partitions:

    /

    /home

    /var

    /boot

    /tmp

    etc...
    Thanks again. Does Apache need to be set up to use a certain partition, or does the sudo ln .. command suffice for that?

  6. #6
    Join Date
    Nov 2008
    Location
    Storybrooke
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Making A Server Across Multiple Partitions - Is This Good or Bad?

    Quote Originally Posted by hyliandanny View Post
    Thanks again. Does Apache need to be set up to use a certain partition, or does the sudo ln .. command suffice for that?
    nope, the ln command suffaces.
    It links /var/www to the folder in your home partition
    Ubuntu Forums Moderation Staff
    Okay then. We're relying on mirror dust and fairies but now we have a plan which is progress - Emma

  7. #7
    Join Date
    Jun 2009
    Location
    Indiana
    Beans
    83
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Making A Server Across Multiple Partitions - Is This Good or Bad?

    Just my opinion here...but I don't use multiple partitions unless I am using multiple HD's. I usually leave my partitions the default when doing an install. I am getting very religious about rsyncing my data to multiple locations to make sure I have my HOME directories and files backed up.
    =========================================

    We are drowning in information, but starved for knowledge....

  8. #8
    Join Date
    Jan 2011
    Beans
    4

    Re: Making A Server Across Multiple Partitions - Is This Good or Bad?

    Quote Originally Posted by rbishop View Post
    Just my opinion here...but I don't use multiple partitions unless I am using multiple HD's. I usually leave my partitions the default when doing an install. I am getting very religious about rsyncing my data to multiple locations to make sure I have my HOME directories and files backed up.
    You're the second person I heard from that said they use multiple partitions for multiple HDDs. Thank you all for your input!

    I'll mark this as SOLVED, but if you're viewing this, feel free to reply or PM your recommendations for guides that might help me along my goal! Those resources I mentioned are somewhat outdated and provide a few nuances -- for example, a newbie like myself doesn't know where System > Administration > Services would be found now that it's removed in 10.10.

    Have a great day!

    EDIT: I can't mark it as SOLVED, it seems. Your messages/replies are still welcome.

Tags for this Thread

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
  •