Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Para acceder necesitas:
- Putty: http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
- Para luego de instalar todo:
- VNC Viewer: https://chrome.google.com/webstore/detail/vnc%C2%AE-viewer-for-google-ch/iabmpiboiopbgfabjmgeedhcmjenhbla
- Nota: cuando vayan a entrar con el viewer ponen el siguiente puerto ":5901"después de la ip.
- Luego de entrar con Putty:
- #!/bin/sh
- # * Sino estas ejecutando este script copia comando por comando. Excepto los comentarios, como este. * #
- # Actualizar Debian
- apt-get -y update
- apt-get -y upgrade
- # Detener y Desactivar Servicios que no se Usaran (Apache, DNS Server y Samba)
- service apache2 stop
- update-rc.d apache2 disable
- service bind9 stop
- update-rc.d bind9 disable
- service samba stop
- update-rc.d samba disable
- # Instalar X, LXDE, VNC, NANO y IceWeasel (Disque Firefox) - Cuando pida Teclado: Other -> OK -> Spanish -> OK -> Spanish -> OK
- apt-get -y install xorg lxde-core tightvncserver nano htop
- # Instalar el Repo de Linux Mint que usaremos para Firefox
- cp /etc/apt/sources.list /etc/apt/sources.list.bak
- echo deb http://packages.linuxmint.com debian import >> /etc/apt/sources.list
- wget http://packages.linuxmint.com/pool/main/l/linuxmint-keyring/linuxmint-keyring_2009.04.29_all.deb
- dpkg -i linuxmint-keyring_2009.04.29_all.deb
- rm linuxmint-keyring_2009.04.29_all.deb
- # Actualizar info del Repo
- apt-get -y update
- # Instalar Firefox
- apt-get -y install firefox firefox-l10n-es
- # Abrir VNC para que se creen las configs - Te pedira la clave 2 veces
- # - Tambien puedes programar una clave para solo ver, pero no hace falta así que 'N'
- tightvncserver :1 -geometry 1024x768 -depth 16
- # Cerrar el VNC para editar la config
- tightvncserver -kill :1
- # Editar la config del VNC para que inicie el escritorio:
- # nano ~/.vnc/xstartup
- echo 'lxterminal & /usr/bin/lxsession -s LXDE &' >> ~/.vnc/xstartup
- # Españolizar
- export LANG=es_ES.UTF-8
- # Reiniciar VNC
- tightvncserver :1 -geometry 1024x768 -depth 16
- Fin!!!
- ----------------------------------------------------------------------------------------------
- # Otros
- ----------------------------------------------------------------------------------------------
- # Reiniciar VNC para cuando reinicien el VPS o no les funcione
- tightvncserver -kill :1
- export LANG=es_ES.UTF-8
- tightvncserver :1 -geometry 1024x768 -depth 16
- ----------------------------------------------------------------------------------------------
- # Para ahorrar ancho banda y reducir consumo excesivo de CPU y RAM por parte de Youtube, hacer los siguientes sencillos pasos:
- ✓ Paso 1: http://prntscr.com/81c9dz
- ✓ Paso 2: http://prntscr.com/81c9lr
- ✓ Resultado Final: http://prntscr.com/81c9sv
- ---------------------------------------------------------------------------------------------
- # Herramientas
- # Geany - Editor de Texto
- apt-get install geany
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement