debian5 install and configure samba

2010-11-02  来源:本站原创  分类:OS  人气:111 

Download the latest version of Samba 3.5.6 (gzipped)

http://www.samba.org/

#tar -zxvf samba-3.5.6.tar.gz
#cd /samba-3.5.6/source3
#./configure --prefix=/home/samba
#make && make install

If you experience problems: error while loading shared libraries: libwbclient.so.0

Solution: find the path libwbclient.so.0

#find / -name libwbclient.so.0
#vim /etc/ld.so.conf
 Add the following content  :
#samba lib
/home/samba/lib
 Save Exit
#ldconfig

Note: To make the system dynamic link library for the shared dynamic link libraries needed to run the command ldconfig Management

Configure smb.conf

#cp samba-3.5.6/examples/smb.conf.default /home/samba/smb.conf
#vim /home/samba/lib/smb.conf

As follows:

workgroup = WORKGROUP

[share]
path = /home/share
public = yes
writable = yes

Add access to the user (user must add exists in the system, which has useradd test)

# / Home / samba / bin / smbpasswd-a test

Set access password

Start
#/home/samba/sbin/smbd
#/home/samba/sbin/nmbd
 If you start out, you add the path to the configuration file
#/home/samba/sbin/smbd -s /home/samba/lib/smb.conf

XP to access \ \ 192.168.xxx.xxx, you can see the login user's / home / test folder under the home and the smb.conf, set up a shared folder

相关文章
  • debian5 install and configure samba 2010-11-02

    Download the latest version of Samba 3.5.6 (gzipped) http://www.samba.org/ #tar -zxvf samba-3.5.6.tar.gz #cd /samba-3.5.6/source3 #./configure --prefix=/home/samba #make && make install If you experience problems: error while loading shared librar

  • Install and configure samba on the linux server (linux as file server) 2011-05-06

    Tend to forget this stuff, this time I remember him well, hey start samba service [Root @ linux samba] # service smb start (start the samba service) Starting SMB services: [OK] Starting NMB services: [OK] [Root @ linux samba] # testparm (check the co

  • install and configure cacti 2010-03-24

    mysql, php, apache to see the installation of lamp article Second, rrdtool installation 1. To http://oss.oetiker.ch/rrdtool/download.en.html Download rrdtool 2. Talk to the new packages rrdtool depends on yum-y install cairo-devel libxml2-devel pango

  • Install and configure MySQL 5 with MacPorts 2010-03-16

    Install and configure MySQL 5 with MacPorts I decided to move my MySQL server installation from the server I installed from MySQL.com to macports. Why? I believe MacPorts will simplify future upgrades. I'd also like to keep my LAMP installs in the sa

  • MacPorts: Install and configure MySQL 5 2010-04-01

    macport equivalent under linux yum or aptget other package management software, can easily install the software. The following look at his basic commands Basic commands: Mac Port command Transfer from: http://www.joycodes.com/index.php/mac-port-updat

  • Install and configure the OpenSolaris on Xen 2010-04-04

    Install and configure the OpenSolaris on Xen October 29, 2009 AM 10:25 | On: vpsee OpenSolaris is a killer application ZFS, ZFS and also for many people "have" to use OpenSolaris / Solaris, although now there are ZFS on FreeBSD transplant, but n

  • In the CentOS install and configure Xen 2010-04-04

    In the CentOS install and configure Xen July 23, 2009 PM 58:11 | author: vpsee Laboratories are now equipped with a Masters and a notebook PC, but only with a platform Honours PC, 1 machine to do the project very easy to develop multi-system often us

  • In Ubuntu, install and configure Xen 2010-04-04

    In Ubuntu, install and configure Xen October 16, 2009 AM 51:50 | On: vpsee Server hard drive has been upgraded, and still waiting for memory, memory and hard drive are provided with the goods do not know how not to, finally found the test results the

  • [Change] CentOS5.4 install and configure vsftpd 2010-05-09

    centOS5.4 install and configure vsftpd 1. See if there is to install vsftpd: rpm-qa | grep vsftpd 2.yum install vsftpd: yum install vsftpd 3.rpm install vsftpd: Can be obtained from the following two parts of the RPM package vsftpd latest https: / /

  • MSSQL 2005 can not be com + directory to install and configure an assembly error: -2146233087 2010-06-09

    Com + directory can not install and configure assemblies c: \ program files \ Microsoft SQL Server \ 90 \ DTS \ tasks \ microsoft.sqlserver.MSMQTASK.DLL. Error: -2146233087 sql server installation "in the COM + catalog can not install and configure t

  • Ubuntu install and configure the JDK 2010-07-26

    To install and configure the JDK 5 as an example 1. Download JDK: jdk-1_5_0_22-linux-i586.bin (not to download rpm's) https: / / cds.sun.com / is-bin / INTERSHOP.enfinity / WFS / CDS-CDS_Developer-Site / en_US /-/ USD / ViewFilteredProducts-SingleVar

  • How to install and configure your tomcat5 binding domain 2010-08-31

    How to install and configure your domain name 2007-01-15 11:35 tomcat5 and bound first installation of JDK, download attachments assumed to c: \ jdk Installed and then install tomcat5.0 assume c: \ tomcat Set the following environment variables: Clic

  • install and configure VNC on fedora8 2010-10-08

    install and configure VNC on fedora8 1. Check whether the machine is installed VNC > Rpm-q vnc vnc-server [Root @ cd5. Vnc] # rpm-q vnc vnc-server package vnc is not installed package vnc-server is not installed 2.install vnc > Yum-y install vnc-ser

  • ubuntu install and configure wine 2010-11-19

    ubuntu install and configure wine My ubuntu version is 10.10 of the desktop. Check the version of the installation: > Wine - version root @ carl-VirtualBox: ~ # wine - version wine-1.0.1 Install a compatible program apt-get update apt-get install win

  • Centos install and configure mrtg 2010-12-18

    First, the installed base package To install the MRTG package must first install gcc, perl, gd, libpng, zlib, freetype package and test servers to less loaded three. Compression bag are placed in the ftp. The server can use the command: rpm-qa | grep

  • centos install and configure LAMP extension, ssh, svn, service management 2010-12-29

    Recommended sites http://blog.chinaunix.net/u1/36577/showart_602182.html is very thorough and professional http://mirror.steadfast.net/centos/5.5/isos/i386/CentOS-5.5-i386-bin-DVD.iso Modify the IP ----------------- I. The default system startup conf

  • Linux ubuntu lamp install and configure the environment phpmyadmin 2010-12-30

    Indicate Reprinted: http://farlee.info/archives/linux-ubuntu-lamp-apache-mysql-php-phpmyadmin-install-configuration.html of FarLee PHP development and server operating environment of choice LAMP combination, that Linux + Apache + Mysql + Php / Perl /

  • COM + catalog can not install and configure assemblies microsoft.sqlserver.notificationservices.dll 2011-04-19

    When installing SQL Server 2005, error, error dialog box contents are not recorded, but Summary.txt (Summary.txt located in the% ProgramFiles% \ Program Files \ Microsoft SQL Server \ 90 \ Setup Bootstrap \ LOG \ Hotfix) file the following informatio

  • [Transfer] CentOS5 install and configure the IP Messenger (Ipmsg) perfect finale 2011-05-27

    CentOS5 install and configure the IP Messenger (Ipmsg) perfect finale First, the installation Note: The necessary steps are marked out in green. This blog is a smaller version, if you want to see the original, or you do not have the problem appears b

  • Install and configure Linux, getting started with mysql 2011-06-01

    Install and configure Linux, getting started with mysql