Difference between revisions of "OS: Android - Mirror Source"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (New page: Using a local mirror When using several clients, especially in situations where bandwidth is scarce, it is better to create a local mirror of the entire server content, and to sync clien...) |
Onnowpurbo (talk | contribs) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | Untuk beberapa client sekaligus, sebaiknya kita menggunakan mirror. Asumsinya kita melalukan mirror pada /usr/local/aosp/mirror. | |
+ | Lakukan sebagai user biasa | ||
− | + | sudo mkdir -p /usr/local/aosp/mirror | |
+ | sudo mount --bind /media/onno/onnolibrary/repository/android-source/mirror/ /usr/local/aosp/mirror/ | ||
+ | sudo chmod -Rf 777 /usr/local/aosp | ||
+ | sudo chown -Rf nobody.nogroup /usr/local/aosp | ||
+ | cd /usr/local/aosp/mirror | ||
+ | repo init -u https://android.googlesource.com/mirror/manifest --mirror | ||
+ | repo sync | ||
− | + | Di sisi client, dapat melakukan sebagai userbiasa | |
− | + | mkdir -p ~/android-source | |
− | + | cd ~/android-source | |
− | + | repo init -u /usr/local/aosp/mirror/platform/manifest.git | |
− | + | repo sync | |
− | + | Untuk melakukan sync, lakukan secara berurut, dari sisi mirror dan dari sisi master. | |
− | + | cd /usr/local/aosp/mirror | |
− | + | repo sync | |
− | |||
− | |||
− | + | cd ~/android-source | |
+ | repo sync | ||
− | + | Mirror dapat dilakukan melalui NFS, SSH atau Git. | |
− | + | Folder mirror dapat di share ke harddisk lain. | |
− | |||
− | |||
− | |||
− | |||
Line 30: | Line 32: | ||
* http://source.android.com/source/downloading.html | * http://source.android.com/source/downloading.html | ||
+ | * http://soupdawg.wordpress.com/ | ||
+ | * http://wiki.cyanogenmod.org/w/Build_for_mako | ||
+ | |||
+ | ==Pranala Menarik== | ||
+ | |||
+ | * [[Android]] | ||
+ | * [[Pemrogramman Android]] | ||
+ | * [[OS: Android - Mempersiapkan Development Environment]] | ||
+ | * [[OS: Android - Memeriksa Spesifikasi Handphone yang digunakan]] | ||
+ | * [[OS: Android - Membuat Mirror Source]] | ||
+ | * [[OS: Android - Download]] | ||
+ | * [[OS: Android - Membuat Folder untuk Bekerja]] | ||
+ | * [[OS: Android - Mirror Source]] | ||
+ | * [[OS: Android - Mirror Source AOKP]] | ||
+ | * [[OS: Android - Mirror Source CyanogenMod]] | ||
+ | * [[OS: Android - Build]] | ||
+ | * [[OS: Android - Build CyanogenMod]] | ||
+ | * [[OS: Android - Build AOSP]] |
Latest revision as of 08:36, 3 September 2013
Untuk beberapa client sekaligus, sebaiknya kita menggunakan mirror. Asumsinya kita melalukan mirror pada /usr/local/aosp/mirror. Lakukan sebagai user biasa
sudo mkdir -p /usr/local/aosp/mirror sudo mount --bind /media/onno/onnolibrary/repository/android-source/mirror/ /usr/local/aosp/mirror/ sudo chmod -Rf 777 /usr/local/aosp sudo chown -Rf nobody.nogroup /usr/local/aosp cd /usr/local/aosp/mirror repo init -u https://android.googlesource.com/mirror/manifest --mirror repo sync
Di sisi client, dapat melakukan sebagai userbiasa
mkdir -p ~/android-source cd ~/android-source repo init -u /usr/local/aosp/mirror/platform/manifest.git repo sync
Untuk melakukan sync, lakukan secara berurut, dari sisi mirror dan dari sisi master.
cd /usr/local/aosp/mirror repo sync
cd ~/android-source repo sync
Mirror dapat dilakukan melalui NFS, SSH atau Git. Folder mirror dapat di share ke harddisk lain.
Referensi
- http://source.android.com/source/downloading.html
- http://soupdawg.wordpress.com/
- http://wiki.cyanogenmod.org/w/Build_for_mako
Pranala Menarik
- Android
- Pemrogramman Android
- OS: Android - Mempersiapkan Development Environment
- OS: Android - Memeriksa Spesifikasi Handphone yang digunakan
- OS: Android - Membuat Mirror Source
- OS: Android - Download
- OS: Android - Membuat Folder untuk Bekerja
- OS: Android - Mirror Source
- OS: Android - Mirror Source AOKP
- OS: Android - Mirror Source CyanogenMod
- OS: Android - Build
- OS: Android - Build CyanogenMod
- OS: Android - Build AOSP