How to install samba in linux

Source: Internet
Author: User
For details about how to install samba in linux-general Linux technology-Linux technology and application information, see the following. I have not learned linux for a long time. It takes a lot of time to install some things. Now I will write down my experience in installing samba and give it to others!

1. My environment is RedHat9.0 installed on the virtual machine.
2. Install samba to enable sharing between windows and linux
2.1. Check the IP address and network connection of the local machine.
Ifconfig (if eth0 is not displayed, it indicates that the NIC in linux has not started)
The specific configuration is as follows:
Enter netconfig and select yes. After entering, you can select dhcp or manually configure the IP address, subnet mask, and wangka.
If dhcp is selected, in the/etc/sysconfig/network-script/directory, vi ifcfg-eth0, add
Check_link_down ()
{Return 1 ;}
If you do not configure it manually.
Restart the network service network restart.
If you input ifconfig again, eth0 is displayed.

3. samba Installation Process
3.1 first download a samba. iso file
3.2 click the VM menu VM -- Removable Devices -- CD/DVD -- Settings, and select use ISO image file: mount the samba. iso file
3.2 rpm-qa | grep samba check whether samba has been installed. If any information appears, you do not need to perform the following steps.
3.3 mount/dev/cdrom/mnt/cdrom
3.4 enter/mnt/cdrom, enter ls to view the file name, and then enter the rpm-ivh samba-3.0.20b-1.i386.rpm to start automatic installation.
3.5 enter rpm-qa | grep samba to check whether the installation is successful.

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.