Build an ARM cross-compiling environment under Fedora14

Source: Internet
Author: User
1. Add yourself to the sudo user group. Use the root user chmodo + w/etc/sudoersvi/etc/sudoers to copy rootALL = (ALL) ALL to skykingf

1. Add yourself to the sudo user group.
Use root User
Chmod o + w/etc/sudoers
Vi/etc/sudoers
Copy root ALL = (ALL) ALL
Is
Skykingf ALL = (ALL) ALL
After wq, save
Chmod o-w/etc/sudoers
After you log on again, the skykingf user can use sudo.


2 disable seLinux
Sudo vi/etc/selinux/config
Change SELINUX = enforcing to disabled.


3. Disable the Firewall


3. Configure Samba
Yum install samba
Sudo pdbedit-a skykingf adds skykingf as a samba user
Modify sudo vi/etc/samba/smb. conf
Workgroup = WORKGROUP
After sudo smbd restart, you can use windows to access the Samba service in linux.


4 install ARM-LINUX-GCC
Find the arm-linux-gcc-4.3.2.tgz package.
Upload data using samba to the skykingf directory
Extract
Sudo arm-linux-gcc-4.3.2.tgz-C/zxvf/
Sudo vi/etc/profile
In
# Path manipulation
If ["$ EUID" = "0"]; then
Pathmunge/sbin
Pathmunge/usr/sbin
Pathmunge/usr/local/sbin
Else
Pathmunge/usr/local/sbin after
Pathmunge/usr/sbin after
Pathmunge/sbin after
Fi
Add later
Pathmunge/usr/local/arm/4.3.2/bin

Then you can repeat login.


5. install and configure TFTP
Yum install tftp-server xinetd tftp
Use the default/var/lib/tftpboot as the tftp directory,
After chmod a + w tftpboot, you can put the file to be shared in this directory.


6. Configure NFS
Modify/etc/exports
Add the directory to be shared, such:
/Home/skykingf/develop/rootfs 192.168.2.0/24 (rw, no_root_squash) * (ro)
Then, use exportfs-rv to re-mount the directory to use nfs as rootfs.

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.