Last active
December 11, 2015 15:37
-
-
Save Jamp/9023b7bda057881af462 to your computer and use it in GitHub Desktop.
Script Base
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 | |
# | |
# Script para tuneo básico de Debian Minimal | |
# | |
# Modificando Repositorios | |
echo '### Repositorios CANTV ### | |
deb http://debian.cantv.net/debian/ jessie main contrib non-free \n | |
deb http://security.debian.org/ jessie/updates main contrib non-free \n | |
deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free \n' > /etc/apt/sources.list | |
# Preparando VIM | |
aptitude update && \ | |
aptitude upgrade -y && \ | |
aptitude install -y openssh-server vim ntpdate python-pip python vim-python-jedi | |
# Resolver el problema de lentitud al momento de conectarse ssh | |
sed -i 's/#GSSAPIAuthentication no/GSSAPIAuthentication no/g' /etc/ssh/sshd_config | |
echo '\nUseDNS no' >> /etc/ssh/sshd_config | |
# Tuneando VIM | |
echo -e '" vimrc personalizado | |
runtime! debian.vim\n | |
syntax on\n\n | |
if has("autocmd") \n | |
filetype plugin indent on \n | |
endif \n\n | |
set showcmd\n | |
set showmatch\n | |
set ignorecase\n | |
set smartcase\n | |
set incsearch\n | |
if filereadable("/etc/vim/vimrc.local") \n | |
source /etc/vim/vimrc.local) \n | |
endif\n\n' > /etc/vim/vimrc | |
wget -O /tmp/conque.vmb https://conque.googlecode.com/files/conque_2.3.vmb | |
vim -c 'so %|q' /tmp/conque.vmb | |
echo 'Listo!!!\n' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment