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
#!/bin/bash | |
# | |
# Scripts de Instalacion de Paquetes para Debian Squezze/Wheezy (basado en el de Ubuntu 11.04) | |
# William Yanez - 26/07/11 (Actualizado a Septiembre 2012) | |
# | |
####################### FUNCIONES DE INSTALACION ############################### | |
#USUARIO GENERAL | |
function user_common(){ |
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
#!/bin/bash | |
## Two arguments | |
# $1 Youtube URL | |
# $2 You name for the video | |
wget -c --no-check-certificate --user-agent="" $1 -qO- | sed "s/\\u0026/\&/g" | \ | |
awk '/fmt_url_map/{gsub(/[\|\"]/,"\n");print}' | \ | |
sed -n "/^fmt_url_map/,/videoplayback/p" | sed -e :a -e '$q;N;2,$D;ba' | tr -d "\n" | sed -e "s/\(.*\),\(.\)\{1,3\}/\1/;s/\\\//g" | \ | |
wget -c --no-check-certificate --user-agent="" -i - -O $2.flv |
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
#!/bin/bash | |
# | |
# Scripts de Instalacion de Paquetes para Ubuntu 11.04 (basado en el de Ubuntu 10) | |
# William Yanez - 26/06/11 | |
# | |
####################### FUNCIONES DE INSTALACION ############################### | |
#USUARIO GENERAL | |
function user_common(){ |
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
aptitude install nautilus-clamscan nautilus-image-converter nautilus-open-terminal nautilus-pastebin nautilus-wallpaper tortoisehg-nautilus |
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
mkdir /etc/apache2/ssl | |
export RANDFILE=/dev/random | |
openssl req $@ \ | |
-new -x509 -days 365 -nodes -out /etc/apache2/ssl/apache.pem \ | |
-keyout /etc/apache2/ssl/apache.pem | |
chmod 600 /etc/apache2/ssl/apache.pem |
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
#!/bin/bash | |
ID=$1 | |
IP=$2 | |
DNS=$3 | |
NAME=$4 | |
DISK=$5 | |
PASS=$6 | |
vzctl create $ID --ostemplate debian-6.0-i386-minimal | |
vzctl set $ID --ipadd $IP --save | |
vzctl set $ID --nameserver $DNS --save |
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
ln -sf /usr/share/zoneinfo/America/Caracas /etc/localtime | |
date | |
ó | |
dpkg-reconfigure tzdata | |
(risturiz) |
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
add-apt-repository ppa:pitti/postgresql | |
aptitude update | |
aptitude install postgresql-9.0 pgadmin3 postgresql-doc-9.0 postgresql-contrib-9.0 postgresql-server-dev-9.0 |
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
#Instalacion de RVM en Ubuntu y Debian | |
sudo aptitude install -y curl git-core | |
curl -L https://get.rvm.io | bash -s stable | |
#type rvm | head -1 | |
#Necesario para instalar los rubies | |
sudo aptitude install -y build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config | |
rvm install 1.8.7,1.9.3 |
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
#!/bin/bash | |
# Instalación de Turpial Rama de Desarrollo | |
git clone git://github.com/satanas/Turpial.git turpial | |
cd turpial | |
git branch --track development origin/development | |
git checkout development | |
sudo aptitude install -y python-setuptools python-pybabel python-pygame |