Ubuntu_12.04 server amd64 Installation failed to read data and Samba Configuration

Source: Internet
Author: User

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


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.