Install and configure the samba service on Fedora

Source: Internet
Author: User
Installing and configuring the samba service on Fedora in embedded development often involves transferring files and other data in windows and linux. for example, you can use sourceinsight as a common code editing tool but compile it in linux. The common method is to share the code with wind in linux... installing and configuring the samba service on Fedora in embedded development often involves transferring files and other data in windows and linux. for example, you can use source insight as a common code editing tool, but it is compiled in linux. The common method is to share the code in linux with windows for editing. In linux, you can use the samba service to share files. Using the samba service, you can share tools in linux like sharing functions in windows. The following is your installation record for your reference only. Because the file name is wrong several times based on the configuration of other books, the following instance directory should be as simple as possible. Www.2cto.com environment: [root @ localhost nfs] # lsb_release-aLSB Version: core-3.1-ia32: core-3.1-noarch: graphics-3.1-ia32: graphics-3.1-noarchDistributor ID: fedorade133: Fedora release 9 (Sulphur) Release: 9 Codename: sulphur installation: The installation file of samba is included in the Ora installation disc. 1. use the mount mounted disc to view and install the samba-related RPM installation package on the/mnt/cdrommkdir/mnt/cdrommount/dev/cdrom/mnt/cdromcd/mnt/cdrom/Packages2. View: 0; root @ localhost: /mnt/cdrom/Packages [root @ localhost Packages] # ls | grep samba samba-3.2.0-1.pre3.9.fc9.i386.rpm samba-client-3.2.0-1.pre3.9.fc9.i386.rpm samba-common-3.2.0-1.pre3.9.fc9.i386.rpm samba-winbind-3.2.0-1.pre3.9.fc9.i386.rpm system-config-samba-1.2.63-1.fc9.noarch.rpm use rpm-ivh samba-3.2.0-1.pre3.9.fc9.i386.rpm to install the above five rpm Packages respectively. Error prompt during installation: Error: Missing Dependency: perl (Convert: ASN1) is needed by package samba-3.2.0-1.pre3.9.fc9.i386.rpm here the prompt for installing samba and perl (Convert: ANS1) is dependent, you need to first install: execute rpm-ivh perl-Convert-ASN1-0.21-3.fc9.noarch.rpm at this time and then install samba, smooth sailing, so samba requires the software installed, then perform simple configuration. Configuration: 1. open the samba configuration file vi/etc/samba/smb. if you do not need to configure other conf configurations, you can configure some Global settings in the Global domain, such as network permissions, and set the IP ranges allowed for access. Find the Share Definitions domain, here is the configuration of shared directory information #=========================== Share Definitions = ========================== [samba server] # configure the shared directory name here, in windows, This name comment = This is lzm linux # Note path =/mnt/nfs # shared directory guest OK = yes writable = yes # writable 2 is displayed. add new user adduser smbuser passwd smbusersmbpasswd-a smbuser or/usr/bin/smbpasswd-a smbuser3. restart samba and network service network restart/etc/rc. d/init. d/smb resta Rt4. now all the configurations are OK. in the windows directory bar, enter \ 192.168.1.106 to see the samba server directory. You can use the ING network drive to map files to the local hard disk.

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.