In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to install Ubuntu12.04 Samba server sharing files, I hope you will learn something after reading this article, let's discuss it together!
In the development of linux embedded system, we need to login Linux virtual machine and linux server for development. Commonly used login tools putty and sourceCRT, edited with vi. For some developers who are used to using IDE, it is not very convenient, we can set up a samba server to achieve file sharing between linux and window. In this way, you can use graphic drawing tools to edit the code under windows.
1-first, make sure that Ubuntu can be connected to Internet (virtual machines are bridged), and that XP and Ubuntu can ping each other.
2-install samba and smbfs (ubunt12.04 does not need to be installed, skip)
Ubuntu 12.04 has the latest version of samba server installed, no need to install it.
If you are using a version prior to 12.04, it is best to upgrade samba as follows (version 12.04 does not require the following)
Uninstall samba,smbclient,samba-common
$sudo apt-get remove samba-common
$sudo apt-get remove smbclient
$sudo apt-get remove samba
Install the Ubuntu samba server:
Sudo apt-get install samba
Sudo apt-get install smbfs
3-create a shared directory here I am adding folders under the default user linux.
Terminal execution: mkdir / home/linux/sambatest creates a shared folder called sambatest in the default directory.
Terminal execution: chmod 777 / home/linux/sambatest changes sambastest file properties.
(otherwise, you cannot create a folder under xp)
4-start configuration (using graphical interface)
Samba profile: / etc/samba/smb.conf can modify the profile to set up samba shares and users
If you are not used to using configuration files, you can also use a graphical interface
Install the Ubuntu samba graphical management interface
Sudo apt-get install system-config-samba
5-set up shared users (using graphical interface)
Launch the samba graphical management interface
Sudo system-config-samba can also choose a menu:
Click adduser to select the user that already exists in ubuntu, and fill in the user name and password under win.
Select the folder sambatest, fill in the display name sambatest-1 under win, check, visible and writable.
Click access to select the samba user who can log in.
Click ok
7-restart samba
Sudo service sambd restart
Or sudo / etc/init.d/samba restart (older versions may not be available)
Access samba on 8-Windows
Enter:\\ xxx.xxx.xxx.xxx\ in run
Xxx.xxx.xxx.xxx is the IP of linux system
9-create network disk and file shortcuts
After login, you can send disk and file shortcuts to the desktop.
10-Mapping to network disk under windows
Finally, network neighbor-> right-click-> map network drive under windows
Enter the folder box\\ ip address\ ShareFiles and follow the prompts to enter the user name and password.
After reading this article, I believe you have a certain understanding of "how to install Samba server sharing files in Ubuntu12.04". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.