Created — forked from isholgueras/Config_Debian_Proxy.sh

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Configuración de servidores Debian 6 después de instalar el SO si están detrás de proxy para hacer cosas turbias con Drupal

View Config_Debian_Proxy.sh
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
##### Meter en el .bashrc ################################
export PATH="$PATH:/usr/local/share/drush:/usr/local/bin"
export http_proxy=http://user:pass@IP:Port
export ftp_proxy=http://user:pass@IP:Port
 
##### Meter en el /etc/apt/sources.list ##################
# non free packages
deb http://ftp.fr.debian.org/debian/ squeeze non-free
deb-src http://ftp.fr.debian.org/debian/ squeeze non-free
## Recargar el fichero .bashrc sin tener que reiniciar la consola
source ~/.bashrc
 
## Instalar paquetillos
apt-get update
apt-get upgrade # con la estable no hay problema
 
apt-get install mysql-server
apt-get install phpmyadmin ##esto ya instala apache, php, php-mysql, ...
apt-get install php-pear
 
#### Después de instalar el php-pear desde apt-get #######
### Configurar el proxy para el PEAR #####################
pear config-set http_proxy http://user:pass@IP:Port
 
### Instalamos el Drush porque ya tenemos puta marre el pear
pear channel-discover pear.drush.org
pear install drush/drush
 
 
 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.