Skip to content

Instantly share code, notes, and snippets.

@dlemmon
Forked from isholgueras/Config_Debian_Proxy.sh
Created October 23, 2012 12:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlemmon/3938506 to your computer and use it in GitHub Desktop.
Save dlemmon/3938506 to your computer and use it in GitHub Desktop.
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
##### 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_proxy
##### 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 testing no hay problema =) born to be wild
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_proxy
## Para servidores con pear antiguo, sino no va drush
pear upgrade-all
### Instalamos el Drush porque ya tenemos puta marre el pear
pear channel-discover pear.drush.org
pear install drush/drush
#forked ;)
@isholgueras
Copy link

Este fork es un tordo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment