LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-30-2015, 04:05 PM   #1
sraidr69
Member
 
Registered: Mar 2015
Posts: 59

Rep: Reputation: Disabled
Mounts, fileserver and webserver


I have a new ubuntu server that I would like to use as a fileserver and intranet webserver, plus I am using Mint 17.2 for the workstation. I am familiar with the webmin and have some terminal skills. What is the best way to create the mount to do this? Should I mount the /var/www/html directory for website development and the /home drive separately? Or would it be easier to simply mount /? I am the only 1 using this network.
 
Old 11-30-2015, 05:12 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by sraidr69 View Post
Should I mount the /var/www/html directory for website development and the /home drive separately? Or would it be easier to simply mount /? I am the only 1 using this network.
What are really trying to do?
What is the end goal?
 
Old 11-30-2015, 05:29 PM   #3
sraidr69
Member
 
Registered: Mar 2015
Posts: 59

Original Poster
Rep: Reputation: Disabled
I want to use my server to store data and move my websites from my workstation to the server. It will never have it's own outside ip. I am trying to simulate a simple network.
 
Old 11-30-2015, 08:14 PM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
You should spend some time learning at http://www.linuxhomenetworking.com/
 
Old 11-30-2015, 10:56 PM   #5
sraidr69
Member
 
Registered: Mar 2015
Posts: 59

Original Poster
Rep: Reputation: Disabled
There is a lot there, I did not see that one but am checking it out. Thank you.
 
Old 12-09-2015, 02:15 PM   #6
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
For the file server portion, I would recommend just using Samba. On your server, partition your primary mount point ( / ) and your /home partitions separately (this allows you to do future upgrades as new installs, just not formatting the /home partition and simply migrating the data over to the new user accounts). You might want to have a separate mount point for your files that the server will serve up to the network. You can create sub-directories on that mount point that use different permissions in order to prevent guests from over-writing data, etc.

For the Apache web server,... here's a nice explanation from Stack Overflow.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing an Internal Webserver from my Public Webserver rtoney5 Linux - Server 1 12-18-2009 05:41 PM
Looking to use old PC as a fileserver droseman Linux - Hardware 15 12-27-2006 07:06 PM
Router webserver fileserver chuck54 Linux - Distributions 3 08-17-2005 03:10 AM
fileserver ultramagneus Linux - Newbie 1 03-09-2005 07:54 AM
Can't see WebServer from outside... Can see WebServer locally as http://localhost friddick Linux - Networking 13 08-19-2003 06:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration