The establishment of the ARM s3c2440 Linux development environment

Source: Internet
Author: User

  1. To install a Linux virtual machine:
    1. Virtual machines use VMware or VirtualBox. I chose VMware Workstation 9.0. Personal feeling VMware is more professional than VirtualBox, but VirtualBox is open source software. VMware Registration method Find Niang.
    2. I choose the Debian standard. This standard version does not take Xwindow, because I write code under Windows, only use the Linux under the compiler tool, so the smaller the Linux system, the better. Many people like to use Ubuntu. In addition, if you choose Redhat,centos then the firewall and the kernel of a selinux function seems to need additional configuration, or samba connection when a variety of uncomfortable, this configuration method to find Niang.
    3. Linux Download: Baidu "Open source image", and then you will search for a lot of domestic open-source sites, there are good things.
    4. Installing a Linux process under a virtual machine is not introduced, so easy. If not degree niang on a lot. The installation process has nothing extra to pay attention to.
  2. To install Samba:
    1. Switch to root permission to execute this command: Apt-get install Samba.
    2. At the prompt do you want to continue [y/n]? Enter Y. The automatic download installation of the network begins.
    3. Switch to the configuration directory of Samba go: Cd/etc/samba
    4. Back up Samba Original configuration file: CP smb.conf Conf.back, so the smb.conf back to Smb.conf.back, later Operation Smb.conf on the line.
    5. Edit Conf:vim smb.conf This is if prompted Bash:vim:command not found description vim is not installed. Can be installed with sudo apt-get install vim.
    6. The basics of vim can be seen in the tutorials on the web, and high-end use methods require in-depth learning. My focus is no longer vim use, so ignore.
    7. Find Share Definitions section in conf modify [change to red string]
      1. Read Only = yes
      2. Create mask = 0777
    • Directory mask = 0777
    1. [Netlogon] section
      1. To remove or open the Netlogon section.
      2. The path section changes to the location of the Samba folder that you need to set up, I like to be in the root directory so for path =/samba "This way, I need to have a samba-named folder under my root directory, and to have sufficient permissions, I set the permissions of the/samba directory to 777"
      3. Read only changes from Yes to No.
    2. [Printers] section: With a semicolon in front, that is to turn off this configuration.
    3. [print$] section: With a semicolon in front, that is to turn off this configuration.
    • To create a/samba folder in the root directory: Mkdir/samba, note To modify permissions: chmod 777 Samba.
      1. To see if the permissions for/samba are set successfully: Ls-al | grep Samba is a success if it's for drwxrwxrwx.
    • Switch to/ETC/INIT.D directory: CD/ETC/INIT.D
      1. Then execute the./samba restart "Restart Samba" will appear with the following prompt:
        1. [OK] Stopping Samba daemons:nmbd smbd.
        2. [OK] Starting Samba daemons:nmbd smbd.
      2. Verify use: Enter \ \ and Linux's IP address in Windows Explorer's window for the Netlogon directory. If you have this directory, this directory is the mapping of the samba files in your Linux root directory, if there is no explanation for your configuration or if there is a problem. I can go to the Netlogon directory after I follow the above operation, and the new edits will be kept in place, and the procedure is not error-free. Please leave a message if you have questions.
      3. Reprint: http://mcustation.com/arm-s3c2440-linux-%E5%BC%80%E5%8F%91%E7%8E%AF%E5%A2%83%E7%9A%84%E5%BB%BA%E7%AB%8B.html

The establishment of the ARM s3c2440 Linux development environment

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.