Yum Installation and ADB installation

Source: Internet
Author: User

Yum Installation and use

Files Prepared: Red Hat installation image file: Rhel-server-6.4-x86_64-dvd.iso;

1.mkdir/yum

2. Copy the Rhel-server-6.4-x86_64-dvd.iso to the/var/ftp/ula/: CP rhel-server-6.4-x86_64-dvd.iso/var/ftp/ula/

3. Mount: mount/var/ftp/ula/rhel-server-6.4-x86_64-dvd.iso/yum/-O loop

4. File modification: cd/etc/yum.repos.d/

rm-rf/etc/yum.repos.d/*

Touch/etc/yum.repos.d/yum.repo

Vim/etc/yum.repos.d/yum.repo

[rhel6.4] name=rhel6.4 Baseurl=file:///yum gpgcheck=0 enabled=1

5. Save exit

6. Testing

Yum Clean all clears the cache
Yum Makecache Cache Creation
Yum Install Httpd-devel installation software
Yum Remove httpd-devel Remove software
Yum Reinstall Httpd-devel Reinstall

ADB installation and use

Files Prepared: ADB program

1. Copy the ADB program to the/bin directory: CP adb/bin/
//If installation is unsuccessful: Yum install glibc.i686

2. If the installation is unsuccessful: LDD adb//See if there are other dependent libraries that are not installed

Install with Yum installed in turn

3. Test:

ADB start-server
ADB kill-server
ADB start-server
ADB devices
Adb-s file name Shell

=======================================================

Routines:

Installing APP:ADB Install xxx.apk

Local development/ARM-LINUX-GCC
ADB push a.out/system/bin//Put a.out files under System/bin under Android

Failed to copy read-only file system
ADB shell ls//runs on the Development Board
ADB Shell Mount-o Remount,rw/system
ADB Shell a.out
The path of the library does not lib under System/lib
Solutions
ARM-LINUX-GCC native.c-static//Static link
ADB push A.out/system/bin//Cons: High space consumption

======================================================
  

Yum Installation and ADB installation

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.