Mount Windows Lan in Linux

Source: Internet
Author: User
Mount Windows Lan under Linux-Linux Enterprise Application-Linux server application information. The following is a detailed description. Debian 4.0 is installed on my machine. I believe someone just uses Linux like me? Now the problem is that all servers in the Organization use Windows and share Chinese names. In Linux, it is generally difficult to solve the Garbled text issue when using mount directly. My method is:

1. First install smbfs with apt-get install smbfs

2. Use the smbmount // nas/pub ~ provided in the package ~ /Smbfs-o lfs, guest, codepage = cp936, iocharset = utf8

3. Alternatively, you can use

Mount-t smbfs-o lfs, codepage = cp936, iocharset = utf8, uid = 1000, gid = 1000 // nas/pub ~ /Smbfs

That's all. Smbfs has been built in my directory.

Set my locale

LANG = zh_CN.utf8

LANGUAGE = en_CN: en_US: en_GB: en

LC_CTYPE = zh_CN.utf8

LC_NUMERIC = "zh_CN.utf8"

LC_TIME = en_US

LC_COLLATE = "zh_CN.utf8"

LC_MONETARY = "zh_CN.utf8"

LC_MESSAGES = "zh_CN.utf8"

LC_PAPER = "zh_CN.utf8"

LC_NAME = "zh_CN.utf8"

LC_ADDRESS = "zh_CN.utf8"

LC_TELEPHONE = "zh_CN.utf8"

LC_MEASUREMENT = "zh_CN.utf8"

LC_IDENTIFICATION = "zh_CN.utf8"

LC_ALL =

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.