How do i install samba, terminal says segmentation faulty tree
I recently installed ubuntu 9.04 on a computer and need to figure out how to connect it to the domain. I have tried a few programs such as samba and Open Live or something like that and cant seem to figure it out. Whenever I try to install samba it doesnt seem to install correctly. Am I looking for an icon on the desktop or what. I am used to windows not linux. Also I tried with Open Live but at 93% it had an error with Post installation. Then I tried to find it on my computer but nothing. Even if you cant answer all of the question any information is welcome.
|
Are you using the package manager to install samba? Not sure on Ubuntu (I am a Debian user. Ubuntu is Debian based), but on my system it is under System emnu -> administration -> Synaptic Package amanger. Unlike windows, Linux has a nice package manager. You let it deal with installing most programs. When you install your base OS, it has only what it needs to run. Many other pieces of software that other programs need may not be installed. The package manager will install them for you. Alternately, you can use the command line.
Open a terminal as the root user (Applications->Accessories->Root terminal and enter your root password when asked) type Code:
apt-get install samba Hope this helps. I had a lot of trouble with the same thing when I made the switch. |
I tried to do it that way but it didnt seem to work. It still had a problem. Even under su.
|
You're not going to have an icon that executes some application named samba. Samba is a service that runs in the background and provides file and print services to all manner of SMB/CIFS clients, including the numerous versions of Windoze. Once you have Samba properly installed (using your package manager as discussed by dpeterson3) and configured, Samba shares (including directories you choose to share on your Windoze machine) will be accessible via a command line client or your favorite GUI file browser (Nautilus on an Ubuntu machine).
Feel free to refer to the Samba documentation to help you get your configuration set up correctly. If you're having problems installing Samba, you'll need to provide more information for someone to help you. See the link in #4 in my signature below to help you provide the information needed. |
I am sorry. I am new to ubuntu and therefore almost know nothing. So I guess my next question is whether or not to use Samba. Which program would you refer?
|
I tried to follow the instructions in the howto4.txt but it still didnt seem to work for me. It says to put in
$ cd samba4/source $ ./configure $ make and after the first command it says bash: no such file or directory |
You mentioned you needed to join a domain. Can you download files from the internet to that machine? If not, there is your problem. If your connection is fine, post your sources.list file. It controls where the manager gets packages from.
Code:
gedit /etc/apt/sources.list https://help.ubuntu.com/community/Repositories/Ubuntu You shouldn't have to use the make command if you install from the package manager. |
I installed gedit which is the program that it requested that I install after I typed in the command that you gave me. it then pulled up a page with a bunch of information that makes no sense to my windows mind. It mainly talks about how Jaunty is restricted and to see the site for details. Any info on this? My terminal is also working again. I rebooted the system and it works. Thank you.
|
Sorry about the gedit thing. Most commands translate directly from Debian to Ubuntu, but not all. Post a copy of that file. If it has errors in it, it might have a clue as to why you can't install samba correctly. Just open it with the command above, copy it, and paste it here.
|
The first time it showed all of the files and unfortunately now it shows a blank file. I do not know what happened.
|
Did you run it as root? Shouldn't matter, but to be sure. Secondly, make sure you typed or copyed the command exactly. If not, gedit will create a new file with the new name. If both are correct, type this into a terminal.
Code:
cd /etc/apt |
Okay I will give it a try
|
It worked this time. Thanks
apt.conf.d sources.list trustdb.gpg trusted.gpg~ secring.gpg sources.list.d trusted.gpg #deb cdrom:[Xubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)]/ jaunty main multiverse restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://us.archive.ubuntu.com/ubuntu/ jaunty main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu/ jaunty universe deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty universe deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates universe deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse ## Uncomment the following two lines to add software from the 'backports' ## repository. ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. # deb http://us.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse # deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. # deb http://archive.canonical.com/ubuntu jaunty partner # deb-src http://archive.canonical.com/ubuntu jaunty partner deb http://security.ubuntu.com/ubuntu jaunty-security main restricted deb-src http://security.ubuntu.com/ubuntu jaunty-security main restricted deb http://security.ubuntu.com/ubuntu jaunty-security universe deb-src http://security.ubuntu.com/ubuntu jaunty-security universe deb http://security.ubuntu.com/ubuntu jaunty-security multiverse deb-src http://security.ubuntu.com/ubuntu jaunty-security multiverse |
I found this yesterday but have no idea what it means. I hope you someone here does. It seems to mean that my version of Ubuntu Jaunty Jackalope is restricted and not a full thing for some reason.
|
Sorry about the slow reply. I have been dealing with a PSP that doen't want to play nice.
Your sources.list looks fine. The restricted is susposed to be there. Not sure exactly what it means, but I think it is there to make sure you don't get testing or unstable packages. Try this: Code:
su If that doesn't work try this Code:
su |
All times are GMT -5. The time now is 08:59 AM. |