• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Jaranguda

Belajar Mengajar

  • Home
  • Sponsor/Jasa
  • Tentang

Solusi Composer Update/Install Lambat

Last Updated on 2 June 2017 By tommy 1 Comment

Packagist menggunakan 2 IP 87.98.253.214 dan 144.217.203.53. Akses dari Indonesia selalu diredirect (geo location) ke IP 87.98.253.214 dari beberapa kali testing, akses ke 144.217.203.53 jauh lebih cepat dan stabil. Biar anda mendapatkan IP 144.217.203.53 edit file hosts, di Linux bisa dengan cara menambahkan

144.217.203.53 packagist.org

Untuk memastikan anda sudah mendapatkan IP 144.217.203.53 coba ping ke packagist.org

PING packagist.org (144.217.203.53) 56(84) bytes of data.
64 bytes from packagist.org (144.217.203.53): icmp_seq=1 ttl=51 time=261 ms
64 bytes from packagist.org (144.217.203.53): icmp_seq=2 ttl=51 time=261 ms
64 bytes from packagist.org (144.217.203.53): icmp_seq=3 ttl=51 time=265 ms
64 bytes from packagist.org (144.217.203.53): icmp_seq=4 ttl=51 time=267 ms
64 bytes from packagist.org (144.217.203.53): icmp_seq=5 ttl=51 time=265 ms
 
--- packagist.org ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4003ms
rtt min/avg/max/mdev = 261.243/264.097/267.104/2.265 ms

Test Update Composer

composer update --profile

output

...
...
[170.2MB/63.81s] Writing lock file
[170.2MB/63.81s] Generating autoload files
[170.7MB/63.89s] > Illuminate\Foundation\ComposerScripts::postUpdate
[171.8MB/63.90s] > php artisan optimize
[171.8MB/63.97s] Generating optimized class loader
[171.8MB/64.41s] The compiled services file has been removed.
[172.1MB/64.45s] Memory usage: 172.12MB (peak: 209.01MB), time: 64.45s

dari sebelumnya 30 menit belum selesai, sekarang 64.45 detik composer sudah selesai di install/update.

Solusi lain

Jalankan perintah composer diagnose

composer diagnose
# output perintah diatas
Checking composer.json: OK
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking github.com rate limit: OK
Checking disk free space: OK
Checking pubkeys: 
Tags Public Key Fingerprint: 57815BA2 7E54DC31 7ECC7CC5 573090D0  87719BA6 8F3BB723 4E5D42D0 84A14642
Dev Public Key Fingerprint: 4AC45767 E5EC2265 2F0C1167 CBBB8A2B  0C708369 153E328C AD90147D AFE50952
OK
Checking composer version: OK

Bila muncul error

Checking pubkeys: FAIL
Missing pubkey for tags verification
Missing pubkey for dev verification
Run composer self-update --update-keys to set them up

jalankan composer self-update --update-keys lalu copy paste key dari https://composer.github.io/pubkeys.html

jalankan kembali composer diagnose, lalu ulangi meng-update packages dengan composer

Tulisan menarik lainnya

  • DNS Tercepat Speedy Februari 2013

    Untuk bulan Pebruari 2013, DNS speedy tercepat adalah 203.130.196.5 dan 202.134.0.155, setelah beberapa kali testing…

  • DNS Telkom Speedy Tercepat Bulan Juli 2013

    Setelah absen beberapa waktu kali ini saya akan menampilkan speed DNS tercepat untuk Telkom Speedy…

  • Speed Test DNS Telkom Speedy Desember 2013

    DNS Bawaan Telkom Speedy : 203.130.208.18 202.134.0.62 202.134.1.102 202.134.2.5 203.130.196.5 202.134.0.155 202.134.1.10 202.159.32.2 202.159.33.2 202.155.30.227…

  • Speed Test DNS Telkom Speedy Oktober 2014

    DNS yang paling stabil 118.98.44.10 dan 180.131.145.145 Kedua DNS diatas sudah mengijinkan akses ke situs…

Filed Under: Internet Tagged With: composer

Reader Interactions

Comments

  1. Eric says

    13 April 2018 at 09:00

    maju terus

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Pencarian

Tanya Jawab tentang DevOps SRE CPE, gabung di https://t.me/devopsindonesia

Terbaru

  • Cara Mengganti Port Screen Sharing macOS
  • Cara Menonaktifkan Pager di macOS
  • Cara Mengupdate Nama Apple silicon-as-a-Service Scaleway
  • Cara Force Delete Namespace di Kubernetes
  • Install PHP MariaDB di Mac Monterey

Komentar

  • mazda on Tutorial Lengkap Install Mail Server Postfix Dovecot MariaDB di CentOS 7
  • adi on Menggunakan Mikrotik Sebagai SSH Client
  • aris u on Solusi Simple Queue Mikrotik Tidak Berjalan
  • Bowo on Cara Mematikan SSID Molecool Balifiber
  • aris on Solusi Simple Queue Mikrotik Tidak Berjalan

Tulisan Populer

  • Password Router Huawei HG8245H5 Indihome 1.1m views
  • Password Terbaru ZTE F609 Indihome 784.5k views
  • Password Superadmin Huawei HG8245A 318.1k views
  • Cara Setting Manual Modem GPON ZTE F609 Indihome 273k views
  • Cara Setting Wireless ZTE F609 Indihome 257.1k views
  • Mengaktifkan Port LAN di Huawei HG8245 Indihome 169.8k views
  • Akses UseeTV Indihome via Wireless ZTE F609 156.8k views
  • Kemana Menghilangnya Saldo BCA 50 ribu 153.1k views
  • Cara Reset Password ZTE F609 Indihome 147.5k views
  • Cara Setting DHCP Server Modem/Router ZTE F609 113.5k views

Kategori

  • Delphi
  • dll
  • Gambas
  • Internet
  • Java
  • Lazarus
  • Linux
  • PHP
  • Review
  • Teknologi

Sponsor

kadal.id
carakami.com
kuotabisa.com
Untuk jadi sponsor, hubungi kita lewat halaman sponsor
© 2021. Jaranguda
  • Linux
  • PHP
  • Internet
  • Teknologi
  • Delphi
  • Gambas
  • Java