In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
The installation and configuration of samba server in linux for your reference, the details are as follows
Step 1: download samba
Command: apt-get install samba
Apt-get install cifs-utils
Apt-get install samba-common
[note] you can use a mirror source to install it, which is faster. No, no problem at all. If you want to use the image source, you need to modify the file: / etc/apt/sources.list, and change it to the image source address.
Possible problems:
This is because of the DNS server error. You need to modify the file: / etc/resolv.conf. The command is: vi / etc/resolv.conf.
Just add a nameservere:8.8.8.8.
Step 2: create a new user
Next, you need to create a new user (I built share, which is the same as the user I built in the share group).
Command: useradd-g share-m share
Create a new folder share under the user to store the files to be transferred. At that time, the file interaction between windows and linux will be carried out through this directory.
Command: mkdir share
Step 3: configure samba
Enter command: vi / etc/samba/smb.conf edit smb.conf file
Add at the end: (path must point to the directory of files you want to share)
Step 4: create a samba login user and his login password
After creation, the user can access linux through account password on windows
The command is: smbpasswd-a share (originally and created by share users)
Step 5: restart the samba service and run
Check the ip address of your linux: ifconfig
Enter the above ip address in the windows command window:\\ 192.168.1.103
Then enter the samba user name and its password, and then you can see the shared folder share.
The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.
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.