root@wheezy:~# export http_proxy=http://gw:8080 root@wheezy:~# aptitude install -y curl ...
root@wheezy:~# export http_proxy= root@wheezy:~# curl sio-e4/inst-wp|sh ...
ip addr
L'installation de thème et plugins pour wordpress nécessite de paramétrer le proxy afin d'accéder à l'internet. Pour ce faire, éditer le fichier /var/www/html/wp-config.php et insérer ou adapter les lignes suivantes :
/* Configure proxy Server */ define('WP_PROXY_HOST', '10.121.38.1'); define('WP_PROXY_PORT', '8080'); define('WP_PROXY_USERNAME', ''); define('WP_PROXY_PASSWORD', ''); define('WP_PROXY_BYPASS_HOSTS', 'localhost');
Relancer ensuite Apache.