Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


65 posts

Master Geek
+1 received by user: 1


Topic # 97047 9-Feb-2012 22:28
Send private message

Hi, I'm planning on setting up an intranet site at home, and I was thinking of putting the web-root onto a removable drive. I'm using Ubuntu 10.04 LTS and I'm planning on installing Apache2, PHP5, phpMyAdmin, and Drupal 7. I also want to be able to access a CVS or SVN repository (which will also reside on the removable drive) from it, using WebDAV.

I'm wondering what effect this would have, moving the web-root to a removable drive? I understand that there are ownership permissions to consider. I'm still quite new to "Linuxland" and I'm not sure of the implications of this idea. In the past, when I used to run Windows, I managed to lock myself out of a hard drive using NTFS permissions and then moving the drive to another Windows OS installation (I gather this has something to do with GUID's being unique to an installation) irrespective of having created accounts with identical credentials. Is the same likely to happen under Linux, such that moving the web-root of my intranet onto a removable drive will only allow it to be used from the machine it was originally installed on?

EDIT: I should explain, I used to run an XAMPP server using PortableApps from a USB thumb drive. I'm thinking of something similar under Linux, having a web server on a removable drive.

Create new topic
264 posts

Ultimate Geek
+1 received by user: 95


  Reply # 579817 10-Feb-2012 15:26
Send private message

Linux filesystems (ext2,ext3,ext4,xfs,...) are easly portable. The main problem you will find is that as the ownership of the files (user id and group id) is stored in the filesystem itself, you many need to manually change the ownership of the file using chmod when you mount the filesystem in a different server.



65 posts

Master Geek
+1 received by user: 1


  Reply # 579973 10-Feb-2012 21:25
Send private message

Thanks for the reply. It sounds a lot easier in Linux than the MS way, with the "Take Ownership" feature.

Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.