Ubuntu_12.04 server amd64.iso
If you find many tools, the following error occurs when installing the components:
An error occurred while reading data from the disc. Check the integrity of the disc;
The first thing I need to suspect is that the USB disk Boot Tool is incorrect. I have tried many times and do not recommend using ultraiso, linuxlive USB creator, Win32 disk imager, laomaotao_v2014, winimage, saleaelogic_1.1.16c...
These are all bloody lessons.
It is recommended to use universal-usb-installer-1.9.5.4.exe
I also needed a USB flash drive or TF card larger than 16 GB. I used a 32 GB TF card and card reader.
1. Installation of Samba:
Sudo apt-Get install samba
Sudo apt-Get install smbfs
2. Create a shared directory:
Mkdir/home/wangjian/share
Sodu chmod 777/home/wangjian/share
3. Create a samba configuration file:
1. Save the existing configuration file
Sudo CP/etc/samba/smb. conf/etc/samba/smb. conf. Bak
2. modify the current configuration file
Sudo gedit/etc/samba/smb. conf
Add at the end of smb. conf
[Share]
Path =/home/wangjian/share
Available = Yes
Browsealbe = Yes
Public = Yes
Writable = Yes
4. Create a samba account
Sudo touch/etc/samba/smbpasswd
Sudo smbpasswd-A wangjian
Then you will be asked to enter the password of the samba account
[If Step 4 is absent, the system prompts Session Setup failed: nt_status_logon_failure when you log on.]
5. Restart the Samba server
Sudo/etc/init. d/smbd restart
6. Test
Smbclient-l // localhost/share
7. Use
You can enter the IP address used in windows, and enter "\" + "ubuntu machine IP address or host name" + "\" + "share" in the folder"
PS: if the connection fails, you need to modify the/home/wangjian permission.
Sudo chmod 777/home/wangjian