Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-11-2006, 03:31 AM
|
#1
|
LQ Newbie
Registered: Feb 2006
Location: Stavanger, Norway
Distribution: Slackware, Fedora
Posts: 20
Rep:
|
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?
|
|
|
02-11-2006, 03:37 AM
|
#2
|
Senior Member
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507
Rep:
|
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.
|
|
|
02-11-2006, 05:18 AM
|
#3
|
Senior Member
Registered: Oct 2004
Posts: 1,272
Rep: 
|
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
|
|
|
02-11-2006, 07:02 AM
|
#4
|
LQ Newbie
Registered: Feb 2006
Location: Stavanger, Norway
Distribution: Slackware, Fedora
Posts: 20
Original Poster
Rep:
|
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.
|
|
|
02-11-2006, 08:29 AM
|
#5
|
Senior Member
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507
Rep:
|
To shutdown from CLI, use `halt`, `poweroff` or `shutdown -h`.
|
|
|
02-11-2006, 08:59 AM
|
#6
|
LQ Newbie
Registered: Feb 2006
Location: Stavanger, Norway
Distribution: Slackware, Fedora
Posts: 20
Original Poster
Rep:
|
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.
|
|
|
02-11-2006, 09:16 AM
|
#7
|
Senior Member
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507
Rep:
|
Quote:
Originally Posted by randknu
and how do i format an NTFS partition through linux?
|
You can't. NTFS access is read-only.
|
|
|
02-11-2006, 09:20 AM
|
#8
|
Member
Registered: Jan 2005
Location: USA
Distribution: Slackware 10.2 & 11.0
Posts: 155
Rep:
|
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
|
|
|
02-11-2006, 09:23 AM
|
#9
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
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.
|
|
|
02-11-2006, 09:34 AM
|
#10
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,982
|
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.
|
|
|
02-11-2006, 09:54 AM
|
#11
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,982
|
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!
|
|
|
02-12-2006, 03:41 PM
|
#12
|
LQ Newbie
Registered: Jan 2006
Location: USA
Distribution: Slackware 13.1, Windows 7 (on game box only), Mac OSX
Posts: 18
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 06:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|