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