Friday, January 28, 2011

How i can install samba to unix server ?

How i can install samba to unix server ? .... for example i can install openssh-client in linux by the following command :- apt-get install openssh-client how i can install samba in unix .... by command ??????

  • To install samba with apt-get

    sudo apt-get install samba smbfs

    EDIT

    Solaris 9 may already have samba installed to check run

    pkginfo | grep samba
    

    if it is installed you should see that the following packages are installed

    system SUNWsmbac samba - A Windows SMB/CIFS fileserver for UNIX (client)
    system SUNWsmbar samba - A Windows SMB/CIFS fileserver for UNIX (Root)
    system SUNWsmbau samba - A Windows SMB/CIFS fileserver for UNIX (Usr)
    

    if the packages are not installed then you will need to locate your original SUN installation media. To install the SAMBA packages above.

    Mount the relevant disk in your CD drive then

    cd /cdrom/cdrom0/Solaris_9/Product
    
    pkgadd -d . SUNWsmbac 
    pkgadd -d . SUNWsmbar
    pkgadd -d . SUNWsmbau
    

    I don't think that the bits of samba that you want (smbmount) are installed by default on Solaris though.

    Osama Ahmad : this in linux but how i can do it in unix please :)
    Iain : Which variant of unix ?
    Osama Ahmad : Sun Microsystems Inc. SunOS 5.9 Generic May 2002
    SvenW : Why do you accept an answer that doesn't actually answer your question?
    From Iain
  • solaris has installed samba in hp-ux swinstall -s /path/to/depot/PKGNAME.depot

    Osama Ahmad : i have Sun Microsystems Inc. SunOS 5.9 Generic May 2002
    Alexey Mykhailov : then you already have samba :)

0 comments:

Post a Comment