Created
October 23, 2012 08:05
-
-
Save isholgueras/3937547 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### 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 | |
## Recargar el fichero .bashrc sin tener que reiniciar la consola | |
source ~/.bashrc | |
##### 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 | |
## 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