Ubuntu 12.04 Simple configuration Samba service for host and virtual machine interoperability (set up Windows virtual Disk)

Source: Internet
Author: User

Environment:

VirtualBox ubuntu12.04

First of all, if you go to this step, it means that your window and Linux network has been well-equipped, they can ping each other, if not, please see my previous article

Because my Linux connection Way is the external network uses the bridged intranet uses the Only-host, originally this design is in order to fix the intranet IP,Samba service best uses a fixed IP address, This does not need to be remapped every time.

Install the software first:

ubuntu12.04 has installed the Samba server, do not need to install, of course, if you want to reinstall, you can follow the following method (recommended 12.04 before the following method of reinstallation)

Uninstall samba,smbclient, Samba-common All write up, also do not know which installed which did not install

Sudoapt-get Remove Samba-common

Sudoapt-get Remove Smbclient

Sudoapt-get Remove Samba

After the uninstall is clean, you can install the

Sudoapt-get Install Samba Smbfs

After the installation is successful, a configuration file called smb.conf can be set under/etc/samba.

I do not understand this thing, too lazy to study, so directly installed Samclient interface, simple and efficient, wow haha ...

Sudoapt-get Install System-config-samba

Start after loading

Sudosystem-config-samba

Can be found in Ubuntu's system

The access page is set to the current user or root user according to your requirements



Restart Samba when configuration is complete

SUDO/ETC/INIT.D/SMBD restart



At this point, you can go to the window and hang up Linux .

Right-click My Computer- Map Network

The company's Ubuntu suddenly do not go to the net, can only come back to fill, found that insist on writing blog very good, the original salary has been not to go because I did not write blog

Pull away ...

Click Map Network Driver

After this set up will be on your computer more than a disk, you can put the file in or out, note that when the window file is put in, it is possible to indicate that there is no permission, this time you can set the Ubuntu path and its subdirectories are 777

The access page is set to the current user or root user according to your requirements



Restart Samba when configuration is complete

SUDO/ETC/INIT.D/SMBD restart



Under Window

The company's Ubuntu suddenly do not go to the net, can only come back to fill, found that insist on writing blog very good, the original salary has been not to go because I did not write blog

Pull away ...

Click Map Network Driver





After this set up will be on your computer more than a disk, you can put the file in or out, note that when the window file is put in, it is possible to indicate that there is no permission, this time you can set the Ubuntu path and its subdirectories are 777

http://blog.csdn.net/ac_huang/article/details/24269327

Ubuntu 12.04 Simple configuration Samba service for host and virtual machine interoperability (set up Windows virtual Disk)

Related Article

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.