Install fedora 10 on a Windows XP Computer with Vmware for development

Source: Internet
Author: User

1. First install vmware workstation 6.5.1 on your computer.

2. Open VMware and create a new virtual machine:

Typical Installation;

Select ISO installation;

Linux2.6.x Kernel

Virtual Machine location, name

Customized hardware, memory changed to 768 m, and network mode selected Bridge Mode. In this way, the Linux system directly connects to the LAN and DHCP allocates IP addresses.

3. After setting up, start automatically and install fedora.

4. When installing fedora, you can select Chinese and install some software. After installation, it is inconvenient to add the program. The Add/Remove software will not be used. Select the Samba server configuration software. It is easier to configure Samba.

5. Complete the Selected Package. Restart and create a user to log on to fedora. Root Login is not supported here.

6. In the following operations, enable a terminal and switch to the root user.

By using the mount command, you can directly access the shared directory opened by windows. Fedora 10 does not support-T smbfs.

Mount-t cifs-O username = xxx, password = xxx // 172.16.10.146:/software/mnt/samba

After the mount is successful, you can directly access the Windows shared directory through/mnt/samba.

7. Back up the original/etc/samba/smb. conf file and write a new smb. conf file, as shown below:

Note that the shared directory should not be in the/Home Directory; otherwise, it may not be able to read or write (because SELinux is applied in fedora 10, and this Samba home option is available in the bool value ).

[Global]
Workgroup = home
NetBIOS name = yuanruilinvm
Server String = Linux Samba server testserver
Security = Share

[Sharename]
Path =/opt/share
Writeable = Yes
Browseable = Yes
Guest OK = Yes

[Global] is a global configuration, the machine name is yuanruilinvm, and [sharename] is a shared name. After the configuration is complete, press // yuanruilinvm/sharename on Windows to access the shared directory, or // ip address/sharename.

8. Enable the smb service

Check whether the samba service is enabled.

Service SMB status

Enable command

Smbd

Restart samba

/Etc/init. d/SMB restart

Enable the nmbd service so that Windows can recognize the yuanruilinvm name. Otherwise, it is inconvenient to use an IP address.

Nmbd
9. Check whether the firewall allows Samba and nmbd services.

10. To make the shared directory readable and writable.

Run the following command: chmod 777/opt/share

In addition, because selora 10 uses SELinux, run the following command to allow read/write shared directories:

Setsebool-P samba_export_all_rw on
10. On Windows, you can read and write the/opt/share directory with // yuanruilinvm/sharename.

11. When a network card is encountered, it cannot be activated because SELinux is blocked. To solve this problem, change the policy from force to allow.

12. After the computer is started, the NIC cannot be automatically activated. perform the following steps:

A. Disable the network manager in the service and enable the network service.

B. Network-> device-> Configuration, only enable the device when the computer starts.

13. The original share method found that folders in the user directory under the Home Directory are always inaccessible. Later, we changed the sharing mode to user. Add a samba user. Select yuanruilin as the Linux User name. If the Windows user name is the same as the Linux User Name, write a shared password. In Windows, the password box will pop up. Enter the user name and password and it will be OK.

14. do not obtain the host name too long; otherwise, Windows cannot access it through the host name.

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.