LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-11-2006, 03:31 AM   #1
randknu
LQ Newbie
 
Registered: Feb 2006
Location: Stavanger, Norway
Distribution: Slackware, Fedora
Posts: 20

Rep: Reputation: 0
How do i set up a fileserver with slacware?


I am new to linux and i need some basic help here, i want to learn linux and i want to use it as a fileserver for my home network. currently the server runs winxp, it has 11 harddrives of 250 & 320 GB sizes 3x IDE and 8x sata. it is physically located in the attic where its cool and noise is not an issue. It does not have a monitor nor a mouse.

Before i go ahead and change it, i want to simulate it on an older machine. an AMD K6-2 400 Mhz processor 256mb pc100 SDram and a 3DFX voodoo3 videocard.

now i have installed it but i need some help with the commands, i installed all defaults because i don't have a clue what half of the different program packages are...

so i need to know if there is a browser so i can find and download programs/updates.
i need to know how to connect to the shared folders on my windooze based systems.
i need a way to edit simple config files. (laugh away, must have missed it somwhere)
"cat" will type the files content but i need to edit it.

is there a gui installed by default? if so how do i start it?
 
Old 02-11-2006, 03:37 AM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
The GUI is started with `startx`. Beforehand, you can choose which GUI you'll use with the `xwmconfig`command. I'd suggest KDE.
Depending on the version you installed you'll find Firefox or at least Mozilla. Both are very good browsers.
Programs are found on www.linuxpackages.net, updates at the main Slackware site.
As a beginner, use one of the GUI editors to edit files, like Kate or KWrite.
 
Old 02-11-2006, 05:18 AM   #3
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
Samba is what you are looking for for filesharing, their wesbite has some
good documentation you can read.

Vim is a CLI text editor and can be easy to use if you ignore the advanced features, print out a vi cheat sheet for the basic commands and refer to that when trying to edit files
 
Old 02-11-2006, 07:02 AM   #4
randknu
LQ Newbie
 
Registered: Feb 2006
Location: Stavanger, Norway
Distribution: Slackware, Fedora
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks, that got me going again. I generally like the CLI because it requires less cpu and memory to perform tasks, though it does demand more of me

One more thing, how do i shut down the computer properly? every time i start it it says that hdd1 was not properly unmounted and checks the drive...

Last edited by randknu; 02-11-2006 at 07:05 AM.
 
Old 02-11-2006, 08:29 AM   #5
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
To shutdown from CLI, use `halt`, `poweroff` or `shutdown -h`.
 
Old 02-11-2006, 08:59 AM   #6
randknu
LQ Newbie
 
Registered: Feb 2006
Location: Stavanger, Norway
Distribution: Slackware, Fedora
Posts: 20

Original Poster
Rep: Reputation: 0
thanks.
Is there anywhere a list of default commands and a short description of what it does?


and how do i format an NTFS partition through linux?

Last edited by randknu; 02-11-2006 at 09:05 AM.
 
Old 02-11-2006, 09:16 AM   #7
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Quote:
Originally Posted by randknu
and how do i format an NTFS partition through linux?
You can't. NTFS access is read-only.
 
Old 02-11-2006, 09:20 AM   #8
dx0r515t
Member
 
Registered: Jan 2005
Location: USA
Distribution: Slackware 10.2 & 11.0
Posts: 155

Rep: Reputation: 30
Quote:
Originally Posted by randknu
thanks.
Is there anywhere a list of default commands and a short description of what it does?


and how do i format an NTFS partition through linux?
This site may be a good reference.
http://www.unixguide.net/linux/linuxshortcuts.shtml
 
Old 02-11-2006, 09:23 AM   #9
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
http://slackbook.org is a good reference. You can easily find tutorial on any web search engine.
Finally, you can use man pages to see the details of a command, run this examples from commandline:
Code:
man man
man cp
man mv
man rm
There are also good tutorials (in a full installation) at: /usr/doc/Linux-HOWTO/

PS: You can create a ntfs partition using ntfs-tools, find it. You can't, however, write files to it, write mode is still not safe from Linux unless you use some special drivers like Captiva.

Last edited by gbonvehi; 02-11-2006 at 09:24 AM.
 
Old 02-11-2006, 09:34 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Quote:
Originally Posted by randknu
thanks.
Is there anywhere a list of default commands and a short description of what it does?


and how do i format an NTFS partition through linux?
Hi,

A good shutdown would be;

shutdown -r now

since a broadcast will be made. If you want to halt then use the halt option.

Look at my sig for some good reference to get you started. If you have the full set of cds' for Slackware then the book is on cd3.

As for formatting the ntfs I use ranish or even win/xp or nt. I think you can use qtparted but I haven't used it for awhile.

BTW, welcome to Slackware!

Last edited by onebuck; 02-11-2006 at 09:36 AM.
 
Old 02-11-2006, 09:54 AM   #11
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Something else you might want to look into is putty. This will allow you to ssh via windows to your boxen. This way you can maintain the system remotely once you have your system setup.

You should look at Sticky's post at the top of this forum.

Even search the installation sub forum.

HTH!
 
Old 02-12-2006, 03:41 PM   #12
lodragan
LQ Newbie
 
Registered: Jan 2006
Location: USA
Distribution: Slackware 13.1, Windows 7 (on game box only), Mac OSX
Posts: 18

Rep: Reputation: 4
If you are going to move your windoze server over to Linux you might also look into setting up your drives as a RAID array - that way you can avoid data loss if you happen to lose a drive.

If you are going that route, I wouldn't worry about NTFS partitioning -- samba will take care of communicating between the client Windows machines and the linux server - so it is irrelevant.

Another thing --- I wouldn't bother loading X (or KDE/Gnome/etc) on the server (or any additional cruft you won't be using). The idea is for the server to be blazingly fast with little overhead.

Finally, if you want to go beyond simple filesharing, you might look into content management systems that allow you to link meta-information to your files - so you can then sort, search and more easily manage your repository. I use Zope/Plone for this purpose.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slacware 9.0 problems... Schizo265 Slackware 14 11-05-2007 11:11 PM
Which is the best set up for a fileserver in the network? thanos155 Linux - Networking 4 11-23-2005 03:25 AM
Plesk for Slacware 9.1 Dakkar Linux - Software 1 06-08-2004 01:48 PM
slacware install CrazyTux Slackware 3 03-25-2003 10:10 PM
Slacware 8 and DSL rayflynn Linux - Software 5 05-02-2002 06:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:41 AM.

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