Linux _ samba

Source: Internet
Author: User
For Linux _ samba, first check whether the samba service is installed in our system: the above shows that the samba service is not installed in our system. Now we start to install the samba service. Preparation: Download: sam-2.2.7a-7.9.0.i386.rmp: http :...
Linux _ samba: first, check whether the samba service is installed in our system:

The above shows that the samba service is not installed in our system. Now we start to install the samba service. Preparation: Download: sam-2.2.7a-7.9.0.i386.rmp: http://files.cnblogs.com/hongten/samba-2.2.7a-7.9.0.i386.zip samba-client-2.2.7a.7.9.0.i386.rpm: http://files.cnblogs.com/hongten/samba-client-2.2.7a-7.9.0.i386.zip www.2cto.com samba-common-2.2.7a.7.9.0.i386.rpm: http://files.cnblogs.com/hongten/samba-common-2.2.7a-7.9.0.i386.zip
Download, decompress, get: sam-2.2.7a-7.9.0.i386.rmp samba-client-2.2.7a.7.9.0.i386.rpm samba-common-2.2.7a.7.9.0.i386.rpm above the three files. step: 1. mount these three files to Linux: mount/mnt/cdrom 2. go to cd/mnt/cdrom 3 in the/mnt/cdrom directory. copy three files to cp sam */home 4 in the/home directory. go to cd/home in the/home directory

5. install a. install first (under the samba-common-2.2.7a.7.9.0.i386.rpm directory): samba-common-2.2.7a.7.9.0.i386.rpm rpm-ivh samba-common-2.2.7a.7.9.0.i386.rpm
B. second installation: samba-client-2.2.7a.7.9.0.i386.rpm rpm-ivh samba-client-2.2.7a.7.9.0.i386.rpm www.2cto.com
C. Final installation: sam-2.2.7a-7.9.0.i386.rmp rpm-ivh sam-2.2.7a-7.9.0.i386.rmp
6. After installation, check whether the installation is successful: rpm-p samba
7. create User: hongten useradd hongten 8. set password: hongten passwd hongten 9. set samba password for hongten: cat/etc/passwd | mksmbpasswd. sh>/etc/samba/smbpasswd passwd hongten www.2cto.com 10. start samba Server Test: service smb start service smb stop service smb restart

11. in windows, ensure that you can ping the Linux where samba is located. The Linux IP address on the virtual machine I set is 192.168.235.88.
Run --> \ 192.168.235.88 user name: hongten password: hongten success... by Hongten

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.