LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-26-2012, 01:04 AM   #1
bk9194
LQ Newbie
 
Registered: Dec 2012
Posts: 5

Rep: Reputation: Disabled
Having problems configuring Samba


I am running Debian on a VM to kind of get my feet wet with linux commands etc. So I am a complete novice at linux and so far have only spend 6-10 hours with it over the last few days.

So I installed Samba using the apt-get install command. I got it to install and began to be prompted with a configuration window. However I was not ready to fool with it at the time so I exited out of it by typing "exit" in terminal. Now I can not seem to get the configuration page back. Can anyone help me configure it?

http://www.debianadmin.com/file-serv...ing-samba.html

First pic is where I exited.
 
Old 12-26-2012, 11:41 AM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Well, I would suggest you take a look at the terminal and review "vi" and look at how to edit files directly as this will be a critical function you will have to perform. If you wish to use the debian configuration menus you can run the following command:


Code:
dpkg-reconfigure packagename
 
1 members found this post helpful.
Old 12-26-2012, 02:21 PM   #3
bk9194
LQ Newbie
 
Registered: Dec 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Well is there a way to almost re-do the whole thing from scratch? I have tried uninstalling the program, maybe I should try and delete all its contents, but I assumed the uninstallation did all this.

EDIT: Alright with a little help from my friends I was able to understand what you are saying. Now I need to figure out how to edit the file. Thanks.

Last edited by bk9194; 12-26-2012 at 02:40 PM.
 
Old 12-26-2012, 02:27 PM   #4
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
The dpkg-reconfigure will walk you through all of the original configuration settings asked by the debian package manager. This seems like it may be a bit of an overwhelming task for a newer user, I would suggest learning the Linux file system standards and get some basic level exposure to bash and file editing. In the Linux world, the terminal is the backbone and is where you will need to spend quite a bit of time. Distributions have included graphical tools to make things easier for us, a great example is the dpkg configuration, that saves us the time of having to edit the configuration files and type in the directives manually. You should still have an understanding of how to do this before you become accustomed to using the graphical tools.


The book at http://www.linuxcommand.org/ is a great place to start as well as tldp.org has a tremendous amount of documentation. The beginners bash scripting guide is plenty more than you would need to feel comfortable doing these sort of tasks.


One last note, Samba can be very troublesome at times, I spend a lot of time dealing with it as a tenured system admin, especially when trying to do CIFS file system mounts. You may want to consider playing around with another app for learning like Apache that is a little less problematic. This is just my opinion.
 
1 members found this post helpful.
Old 12-26-2012, 02:41 PM   #5
bk9194
LQ Newbie
 
Registered: Dec 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Kustom42 View Post
The dpkg-reconfigure will walk you through all of the original configuration settings asked by the debian package manager. This seems like it may be a bit of an overwhelming task for a newer user, I would suggest learning the Linux file system standards and get some basic level exposure to bash and file editing. In the Linux world, the terminal is the backbone and is where you will need to spend quite a bit of time. Distributions have included graphical tools to make things easier for us, a great example is the dpkg configuration, that saves us the time of having to edit the configuration files and type in the directives manually. You should still have an understanding of how to do this before you become accustomed to using the graphical tools.


The book at http://www.linuxcommand.org/ is a great place to start as well as tldp.org has a tremendous amount of documentation. The beginners bash scripting guide is plenty more than you would need to feel comfortable doing these sort of tasks.


One last note, Samba can be very troublesome at times, I spend a lot of time dealing with it as a tenured system admin, especially when trying to do CIFS file system mounts. You may want to consider playing around with another app for learning like Apache that is a little less problematic. This is just my opinion.
I edited my last post, thanks for your help and all the links.

Now apache can be used for home networking even?
 
Old 12-26-2012, 02:52 PM   #6
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Apache is a web server, you can use it to serve anything over the HTTP protocol. This includes within your home network or over a public WAN. I assumed you just picked an application to play with to learn, if you are trying to accomplish something specific let us know and we can give you better advice. I just suggested Apache due to its ease of installation and how large the community is for support on it, you post an Apache related question on LQ you usually have an answer within a few minutes if it's a quick how-to style question.
 
1 members found this post helpful.
Old 12-26-2012, 03:05 PM   #7
bk9194
LQ Newbie
 
Registered: Dec 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Kustom42 View Post
Apache is a web server, you can use it to serve anything over the HTTP protocol. This includes within your home network or over a public WAN. I assumed you just picked an application to play with to learn, if you are trying to accomplish something specific let us know and we can give you better advice. I just suggested Apache due to its ease of installation and how large the community is for support on it, you post an Apache related question on LQ you usually have an answer within a few minutes if it's a quick how-to style question.
Well what I really want to do is create a media server and use it as a network drive on windows.

But I am trying to get familiar with linux as a whole aswell. That linuxcommandline site is really interesting.
 
Old 12-26-2012, 03:20 PM   #8
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Well Samba is what you want to work with for a file share server. It can share media files but doesn't support streaming to say, your PS3 for instance.

You would want to take a look at a DLNA server, heres a good article to read over:

http://www.linux-magazine.com/Online...er-in-a-Minute


Keep in mind that this getting into more of the intermediate to advanced level system admin tasks, you will have to deal with networking and learning a new protocol, although with some google and help form places like LQ you should be able to get there.

Let us know if you have any other specific questions and welcome to LQ.
 
1 members found this post helpful.
Old 12-26-2012, 07:08 PM   #9
bk9194
LQ Newbie
 
Registered: Dec 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Kustom42 View Post
Well Samba is what you want to work with for a file share server. It can share media files but doesn't support streaming to say, your PS3 for instance.

You would want to take a look at a DLNA server, heres a good article to read over:

http://www.linux-magazine.com/Online...er-in-a-Minute


Keep in mind that this getting into more of the intermediate to advanced level system admin tasks, you will have to deal with networking and learning a new protocol, although with some google and help form places like LQ you should be able to get there.

Let us know if you have any other specific questions and welcome to LQ.
Yeah these projects right now are probably a bit over my head right now, but it is something that I would eventually like to do. The linuxcommandline site is really good and well written. I am currently studying computer network over the next few years in college so it will be a good side project.

It seems I am having some issues with minidlna, when I type "apt-get install minidlna" I get an error "E:/unable to locate package minidlna"

Last edited by bk9194; 12-26-2012 at 08:16 PM.
 
  


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
samba 3, Problems configuring ffcnick Linux - Networking 3 10-12-2004 01:34 PM
Configuring Samba sibtay Linux - Networking 3 10-04-2004 12:21 PM
Problems connecting to samba shares from w2k or XP systemafter configuring smb.conf f marvc Linux - Software 0 06-09-2003 07:12 AM
configuring Samba Ice Dragon Linux - Networking 4 08-26-2002 12:07 PM
configuring samba raven Linux - Software 1 06-10-2002 07:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:30 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