Lesson 1: Create an embedded Linux development environment

Source: Internet
Author: User
For Embedded Linux development, the first thing to do is to build a Linux development environment. There are several options to choose from.

1.
Install linux independently

2. Windows
Install a set of software (such as cygwin) that simulates the Linux environment)
3.
Install linux on a virtual machine
If it is developed by one person, the three solutions are optional. However, if you want to develop a Linux server, it is best to create a Linux server. Each engineer logs on to the server through telnet (SSH) for debugging. Even for personal development, the Linux + SSH debugging method is more convenient. Install my debugging environment and build a Linux server.
There are many release versions of Linux, including Ubuntu, fedora, Suse, and RedHat, which are popular. We recommend that you use a new version, I am using fedora8.

Development Environment. jpg



(7.95 KB)

Embedded Linux development environment
Now, we start to configure a development environment that can be developed by multiple people at the same time. We adopt an independent Linux server and multiple client modes, in this way, you do not need to install linux on each client.
Step 1: install and configure a Linux Server

There are many Linux versions that can be installed. We recommend that you use a newer version. I use fedora 8. For installation steps, refer to this article.
Full process of installation of Fedora 8


.
Step 2: create a user and Configure permissions


We require multiple users to log on to the Linux server at the same time. Therefore, we need to create a new user and join a Working Group. By configuring the working group permissions, the Working Group members can have corresponding directory access permissions. You can use system> administrion> users and groups to create a user.
To add. For example, 21iee, a new user, is added to the Working Group 21iee. Create the crosstool directory under opt and right-click the Directory and choose Properties> permission.
Grant the 21iee workgroup the write operation permission.
Step 3: Install the SSH software on the client

The IP address of the server we configured is 192.168.92.199. After installing and downloading the SSH software, we can easily log on to the Linux Server (host) and output files through the file transfer tool that comes with SSH. For example:

Ssh1.jpg



(43.26 KB)




After the SSH software is enabled, click quick connect, enter the Server IP address and user name, and click Connect.

Ssh2.jpg



(54.5 KB)

After entering the password, you can remotely log on to the FTP server as the user.

So how to share files between the client and the server? Ssh provides a good tool. Click

Ftp.jpg



(862 bytes)
At, we can use the ftp-like window for software development to share files.

File.jpg



(66.33 KB)

Author: Please indicate the source for hztour Reprinting

This article is from the chinaunix blog. If you want to view the original text, click:
Http://blog.chinaunix.net/u2/76480/showart_1133914.html

Related Article

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.