Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

Ubuntu Server Creation Help?
The desk in the corner | 02/08/09 | Tennessee_Bob

Posted on 02/08/2009 3:37:20 PM PST by Tennessee_Bob

Ok - let me go through the basic checklist. Logged in to FR? Check Logged into my computer? Check Logged into the server? Check Tin foil hat? On and locked Large grain of salt available? Check (although I'm cutting down on salt)

I have a small network here at the house. Cable modem into a router, router split into three workstations. I inherited an additional box from a friend, and it's been sitting around for a while, so I figured - heck - let's turn it into a local file/printer/web server. Windows Server 2003 or Home Server are way too expensive, but Ubuntu Server is priced just right. It's free.

However, I'm a newbie to Ubuntu and the whole server process. I figured that the easiest thing to do for now would be to have it as a spur off the network, rather than trying to use it as a gateway. So for now, it'll be sitting behind the router with the other workstations.

What I'd like to do would be to get some advice, some fingers pointed in a good direction, and possibly some I could email with any questions regarding getting this thing done.

Ubuntu is installed. I installed it as a LAMP server, and included SAMBA. What I'd like to do now is get it all up so that the rest of my family can access it. I've installed SSH, and am running Putty from the Windows box so I've got access to the command line. I'm considering installing WebMin - it looks like it might make it easier to admin - but any suggestions (including "Go drink another beer") would be appreciated.


TOPICS: Cheese, Moose, Sister; Computers/Internet; Hobbies; Weird Stuff
KEYWORDS: freebeer; linux; pullingmyhairout; server; ubuntu
Navigation: use the links below to view more comments.
first 1-2021-4041-56 next last
Now, ladies and gentlemen - let it rip.
1 posted on 02/08/2009 3:37:21 PM PST by Tennessee_Bob
[ Post Reply | Private Reply | View Replies]

To: ShadowAce

Ping!


2 posted on 02/08/2009 3:38:24 PM PST by rabscuttle385 ("If this be treason, then make the most of it!" —Patrick Henry)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Tennessee_Bob
Ok - let me go through the basic checklist. Logged in to FR? Check Logged into my computer? Check Logged into the server? Check Tin foil hat? On and locked Large grain of salt available? Check (although I'm cutting down on salt)

You've covered all the bases except taking a shower. Now that's critical.

3 posted on 02/08/2009 3:43:26 PM PST by Paul Heinzman
[ Post Reply | Private Reply | To 1 | View Replies]

To: Tennessee_Bob

How do you want them to access it? You said you are set up for file and print. Are you restricting them to certain folders or giving them access to the whole drive?


4 posted on 02/08/2009 3:44:03 PM PST by randomhero97 ("First you want to kill me, now you want to kiss me. Blow!" - Ash)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Tennessee_Bob
This link might help:

settingupsamba
5 posted on 02/08/2009 3:47:35 PM PST by randomhero97 ("First you want to kill me, now you want to kiss me. Blow!" - Ash)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Paul Heinzman

Yesterday was Saturday - I took one then. :)

Seriesly.


6 posted on 02/08/2009 3:49:30 PM PST by Tennessee_Bob (Save the Hispaniolan Solenodon!)
[ Post Reply | Private Reply | To 3 | View Replies]

To: Tennessee_Bob
And this:

howtoforge
7 posted on 02/08/2009 3:50:12 PM PST by randomhero97 ("First you want to kill me, now you want to kiss me. Blow!" - Ash)
[ Post Reply | Private Reply | To 1 | View Replies]

To: randomhero97

I want them to be able to access the entire NTFS drive.

I’ve got two drives, a 120gb that contains Ubuntu, and a 250gb that is formatted to NTFS for the Windows side of the house.

I’m going through the Samba install document that you posted, and so far, that appears to be what I’m looking to do for now. I want the family to be able to access the NTFS (I keep having to correct that - one of the programs I work with is called NFTS, so if you see that, forgive me :) ) drive - if we can do it without them having to use a login/password, that would be great.


8 posted on 02/08/2009 3:56:13 PM PST by Tennessee_Bob (Save the Hispaniolan Solenodon!)
[ Post Reply | Private Reply | To 4 | View Replies]

To: randomhero97

Additionally, one thing I’d like to do would be to host a family website locally - just for those of us in the house. Keep a calendar on it, reminders of upcoming stuff, etc. I figured with the LAMP installation, I could work out how to do the Apache side of it. Right now, I’m wanting to be able to configure the file share side of it.


9 posted on 02/08/2009 3:58:20 PM PST by Tennessee_Bob (Save the Hispaniolan Solenodon!)
[ Post Reply | Private Reply | To 8 | View Replies]

To: Tennessee_Bob; N3WBI3; Ernest_at_the_Beach; ShadowAce; Swordmaker
Get a Windows machine.

(kidding)

10 posted on 02/08/2009 4:10:19 PM PST by martin_fierro (< |:)~)
[ Post Reply | Private Reply | To 1 | View Replies]

To: martin_fierro

The “kidding” was in too small a font!

As for setting up a web server - the first question is, is your Ubuntu box running the web server now?? Just aim a Web browser at the box and see if it serves up the default apache page? http://IP_ADDR_OF_UR_UBUNTU_BOX

To allow this to be seen on the web you need to do a couple of things. 1) Put a hole in your router to allow HTTP requests (port 80) get sent through the router to your Ubuntu box. This will allow anyone from the outside world to see your web page. 2) Get a domain name and set up a DNS server (look at www.granitecanyon.com- free dns services).

Now the problem with doing this and using the box as a Disk server as well is that you have your families files on a web server that may get hacked some time in the future.

Finally - I’ve been using Webmin to administer multiple boxes at my house for about 8 years. I think it is a great tool.


11 posted on 02/08/2009 4:26:30 PM PST by fremont_steve (Milpitas - a great place to be FROM!)
[ Post Reply | Private Reply | To 10 | View Replies]

To: martin_fierro
Get a Windows machine.

And become another slave to Bill? LOL - actually, all the boxes here at the house are Windows machines - including this one. But this one dual boots into Ubuntu. I could run Windows server, but wanted to do something different.

12 posted on 02/08/2009 4:27:55 PM PST by Tennessee_Bob (Save the Hispaniolan Solenodon!)
[ Post Reply | Private Reply | To 10 | View Replies]

To: Tennessee_Bob
> I want them to be able to access the entire NTFS drive. I’ve got two drives, a 120gb that contains Ubuntu, and a 250gb that is formatted to NTFS for the Windows side of the house. I’m going through the Samba install document that you posted, and so far, that appears to be what I’m looking to do for now. I want the family to be able to access the NTFS (I keep having to correct that - one of the programs I work with is called NFTS, so if you see that, forgive me :) ) drive - if we can do it without them having to use a login/password, that would be great.

Linux can't write to NTFS (by default).

Use a Linux native filesystem, such as "ext3". Let Samba take care of making it look Windows-friendly.

AFAIK, an NTFS partition on Ubuntu is read-only at best, unless you fork over $bux$ to somebody for a read-write driver.

I share ext3 to Windows users at my company and at home using Samba. Works just dandy.

13 posted on 02/08/2009 4:29:10 PM PST by dayglored (Listen, strange women lying in ponds distributing swords is no basis for a system of government!)
[ Post Reply | Private Reply | To 8 | View Replies]

To: fremont_steve
I want to keep the outside world away from the website and keep it local.

Took your suggestion and browsed to the server box url, and got the following message: It Works!

Coolness so far :)

14 posted on 02/08/2009 4:33:04 PM PST by Tennessee_Bob (Save the Hispaniolan Solenodon!)
[ Post Reply | Private Reply | To 11 | View Replies]

To: Tennessee_Bob

Bookmarking so I can learn from YOUR adventures before trying it myself! ;-)


15 posted on 02/08/2009 4:59:40 PM PST by Big Giant Head (I should change my tagline to "Big Giant penguin on my Head")
[ Post Reply | Private Reply | To 14 | View Replies]

To: dayglored

Ok - I understand the need to convert the 250gb to EXT3 - I’ve gone looking and can’t find much that indicates I’ll be able to convert to that format on the fly - so once I get the server up to a point where I can access the drive, I’m going to have to convert half of it to EXT3, move everything over to it, convert the other half, and then merge. Quicker/easier than trying to move everything off the share, convert, and move back.


16 posted on 02/08/2009 5:10:50 PM PST by Tennessee_Bob (Save the Hispaniolan Solenodon!)
[ Post Reply | Private Reply | To 13 | View Replies]

To: Tennessee_Bob
> Ok - I understand the need to convert the 250gb to EXT3 - I’ve gone looking and can’t find much that indicates I’ll be able to convert to that format on the fly - so once I get the server up to a point where I can access the drive, I’m going to have to convert half of it to EXT3, move everything over to it, convert the other half, and then merge. Quicker/easier than trying to move everything off the share, convert, and move back.

When you say "convert" filesystems, do you have a magic software utility that will do that for you? Otherwise you've got quite a task ahead. In-place "conversion" from NTFS to ext3 is not something I've seen done before. I have used Partition Magic to shrink an NTFS partition, open up the free space, put the disk on Linux, and format (mkfs) the ext3 partition. But last I knew, Partition Magic didn't deal with non-Microsoft filesystems.

But overall it's MUCH easier and less error-prone to get a separate disk, copy the files to it, repartition/reformat the original disk, and copy back.

Am I correct in assuming that your 250GB NTFS disk has something under 125GB of files on it, so that you can in fact shrink the NTFS partition to half of the physical size of the disk?

17 posted on 02/08/2009 6:11:46 PM PST by dayglored (Listen, strange women lying in ponds distributing swords is no basis for a system of government!)
[ Post Reply | Private Reply | To 16 | View Replies]

To: dayglored

That was the plan, reduce the size of the files on the NTFS partition, create an EXT3 partition and move the NTFS files to it, then convert was left and merge them together.

However, I was able to pull up the NTFS drive in Ubuntu, and read the files located on it. I created a file in the text editor, and was able to save it to the NTFS drive. I’m still looking into it to see what all I can/can’t do. Once I get the share up, I’ll see what we can do from a windows box to the shared drive.


18 posted on 02/08/2009 6:45:32 PM PST by Tennessee_Bob (Save the Hispaniolan Solenodon!)
[ Post Reply | Private Reply | To 17 | View Replies]

To: Tennessee_Bob
> However, I was able to pull up the NTFS drive in Ubuntu, and read the files located on it. I created a file in the text editor, and was able to save it to the NTFS drive. I’m still looking into it to see what all I can/can’t do. Once I get the share up, I’ll see what we can do from a windows box to the shared drive.

Be careful, please. There exist allegedly "write-capable" Linux drivers for NTFS, but none that *in my experience* are guaranteed to work:
a) in all circumstances, and
b) compatibly with Windows client machines sharing the same filesystem

Definitely check the fine print on anything that claims to be able to write NTFS, that is not from Microsoft or one of their licensed driver partners. Be suspicious. I've been burned by this one (writes turned out to be unstable, and if you value your data as I do, "writing" was a mirage).

OTOH, if you really have full read/write on NTFS via Linux, I'm interested in knowing the details if you're willing to share your experience.

19 posted on 02/08/2009 7:10:01 PM PST by dayglored (Listen, strange women lying in ponds distributing swords is no basis for a system of government!)
[ Post Reply | Private Reply | To 18 | View Replies]

To: dayglored

Here’s what I’ve got going on - I’m running server with a GUI. It’s easier for me to deal with that than to go through a straight CLI. Beyond that, I didn’t load anything beyond what came with the OS. I was able to browse to the NTFS drive within the Ubuntu file browser and to open it up. I was able to see files within there, browse directories, and actually listen to audio files I have stored there and to look at a couple video clips that I have in there. PDF files pulled up with no problem.

I did create a root password so I could login to that side of the system and make some changes to the domain name in Samba (and yes, I’m going to get rid of it here in a minute), but other than that, I didn’t make any adds to the system to gain access to the NTFS.

I don’t know if it’s something that was added with 8.10 or not, but it’s there, and right now, I’m copy files from my workstation to the shared drive.


20 posted on 02/08/2009 7:22:52 PM PST by Tennessee_Bob (Save the Hispaniolan Solenodon!)
[ Post Reply | Private Reply | To 19 | View Replies]


Navigation: use the links below to view more comments.
first 1-2021-4041-56 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson