Rolly Maulana Awangga :: Catatan Ngoprek IT

Pakar dan Awam sama saja, sama sama belajar

Installing Laravel Behind Proxy in Debian Wheezy 7 Linux

If the linux box behind the proxy. You must set terminal environment to use proxy. For curl command, you can ad -x arguments, installation of composer behind proxy is like this :

curl -s https://getcomposer.org/installer -x 192.168.1.5:8888 | php -d detect_unicode=off

and then for downloading laravel package, with php cli, first set env var using commang :

export https_proxy=”http://192.168.1.5:8888″

and then laravel composer create project command

php composer.phar create-project laravel/laravel

 

P.S: 192.168.1.5:8888 is proxy gateway

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: