Advertisement
carloslitho

fedora debian 7

Aug 10th, 2015
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Para acceder necesitas:
  2.  
  3. Putty: http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
  4.  
  5. Para luego de instalar todo:
  6.  
  7. VNC Viewer: https://chrome.google.com/webstore/detail/vnc%C2%AE-viewer-for-google-ch/iabmpiboiopbgfabjmgeedhcmjenhbla
  8.  
  9. Nota: cuando vayan a entrar con el viewer ponen el siguiente puerto ":5901"después de la ip.
  10.  
  11.  
  12. Luego de entrar con Putty:
  13.  
  14. #!/bin/sh
  15. # * Sino estas ejecutando este script copia comando por comando. Excepto los comentarios, como este. * #
  16.  
  17. # Actualizar Debian
  18. apt-get -y update
  19. apt-get -y upgrade
  20.  
  21. # Detener y Desactivar Servicios que no se Usaran (Apache, DNS Server y Samba)
  22. service apache2 stop
  23. update-rc.d apache2 disable
  24. service bind9 stop
  25. update-rc.d bind9 disable
  26. service samba stop
  27. update-rc.d samba disable
  28.  
  29. # Instalar X, LXDE, VNC, NANO y IceWeasel (Disque Firefox) - Cuando pida Teclado: Other -> OK -> Spanish -> OK -> Spanish -> OK
  30. apt-get -y install xorg lxde-core tightvncserver nano htop
  31.  
  32. # Instalar el Repo de Linux Mint que usaremos para Firefox
  33. cp /etc/apt/sources.list /etc/apt/sources.list.bak
  34. echo deb http://packages.linuxmint.com debian import >> /etc/apt/sources.list
  35. wget http://packages.linuxmint.com/pool/main/l/linuxmint-keyring/linuxmint-keyring_2009.04.29_all.deb
  36. dpkg -i linuxmint-keyring_2009.04.29_all.deb
  37. rm linuxmint-keyring_2009.04.29_all.deb
  38.  
  39. # Actualizar info del Repo
  40. apt-get -y update
  41.  
  42. # Instalar Firefox
  43. apt-get -y install firefox firefox-l10n-es
  44.  
  45. # Abrir VNC para que se creen las configs - Te pedira la clave 2 veces
  46. # - Tambien puedes programar una clave para solo ver, pero no hace falta así que 'N'
  47. tightvncserver :1 -geometry 1024x768 -depth 16
  48.  
  49. # Cerrar el VNC para editar la config
  50. tightvncserver -kill :1
  51.  
  52. # Editar la config del VNC para que inicie el escritorio:
  53. # nano ~/.vnc/xstartup
  54. echo 'lxterminal & /usr/bin/lxsession -s LXDE &' >> ~/.vnc/xstartup
  55.  
  56. # Españolizar
  57. export LANG=es_ES.UTF-8
  58.  
  59. # Reiniciar VNC
  60. tightvncserver :1 -geometry 1024x768 -depth 16
  61.  
  62. Fin!!!
  63. ----------------------------------------------------------------------------------------------
  64.  
  65. # Otros
  66. ----------------------------------------------------------------------------------------------
  67. # Reiniciar VNC para cuando reinicien el VPS o no les funcione
  68.  
  69. tightvncserver -kill :1
  70. export LANG=es_ES.UTF-8
  71. tightvncserver :1 -geometry 1024x768 -depth 16
  72. ----------------------------------------------------------------------------------------------
  73. # Para ahorrar ancho banda y reducir consumo excesivo de CPU y RAM por parte de Youtube, hacer los siguientes sencillos pasos:
  74.  
  75. ✓ Paso 1: http://prntscr.com/81c9dz
  76. ✓ Paso 2: http://prntscr.com/81c9lr
  77. ✓ Resultado Final: http://prntscr.com/81c9sv
  78. ---------------------------------------------------------------------------------------------
  79. # Herramientas
  80. # Geany - Editor de Texto
  81.  
  82. apt-get install geany
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement