Ir al contenido principal

Entradas

Mostrando entradas de 2016

Kodi - Enviar a chromecast desde linux

1.- Se instala CHROME (claro...) 2.- Se instala Google Cast en chrome 3.- Descargar el xml , en caso de que se llegue a borrar, este es: Pastebin:  http://pastebin.com/nfvB6wHx NOTA: Si descargan el original, cambiar la ruta   /usr/bin/google-chrome 4.- Poner el xml en la carpeta /home/TUUSUARIO/.kodi/userdata 5.- Ejecutar Kodi (reproducir el contenido a compartir) 6.- Se abre Chrome 7.- Presionar el icono de Google Cast y seleccionar el Chromecast y dar en Transmitir 8.- Ver el stream! :) Saludos! Komtec1

[Anotaciones] Set $JAVA_HOME linux

To set  JAVA_HOME  environment variable, do the following: Launch Terminal by pressing  Ctrl + Alt + T  on your keyboard. Enter the following command: $  gksudo gedit /etc/environment Depending on where you installed your Java, you will need to provide the full path. For this example, I installed Oracle JDK 7 in the  /usr/lib/jvm/java-X-oracle  directory. Scroll to the end of the file and enter the following: JAVA_HOME=/usr/lib/jvm/java-X-oracle export JAVA_HOME Save your file and exit  gedit . Lastly, reload the system PATH with the following command: $  . /etc/environment __________________________________________________________________ Ayuda esto también: $ echo $JAVA_HOME $ java -showversion

[Anotaciones] Instalar Bazel (tensorflow)

1. Install JDK 8 If you are running  Ubuntu Wily (15.10) , you can skip this step. But for  Ubuntu Trusty (14.04 LTS)  users, since OpenJDK 8 is not available on Trusty, please install Oracle JDK 8: $ sudo add-apt-repository ppa:webupd8team/java $ sudo apt-get update $ sudo apt-get install oracle-java8-installer Note: You might need to  sudo apt-get install software-properties-common  if you don't have the  add-apt-repository command. See  here . 2. Add Bazel distribution URI as a package source (one time setup) $ echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list $ curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add - If you want to use the JDK 7, please replace  jdk1.8  with  jdk1.7  and if you want to install the testing version of Bazel, replace  stable  with  testing . 3. Update and install Bazel $ sudo apt-get update && sudo apt-get install bazel Once

[Anotaciones] VirtualBox Guest additions en debian por consola

Follow these steps to install the Guest Additions on your Debian virtual machine: Login as root; Update your APT database with  apt-get update ; Install the latest security updates with  apt-get upgrade ; Install required packages with  apt-get install build-essential module-assistant ; Configure your system for building kernel modules by running  m-a prepare ; Click on  Install Guest Additions…  from the  Devices  menu, then run  mount /media/cdrom . Run  sh /media/cdrom/ VBoxLinuxAdditions.run , and follow the instructions on screen.

[Anotaciones] Como montar carpeta remota entre dos equipos linux

1.- Se instala sshfs en el equipo local 2.- Se crea la carpeta en el equipo local donde se montará la carpeta remota (sudo mkdir /mnt/nombrelocal) 3.- sudo sshfs -o allow_other usuarioremoto@equiporemoto:/carpeta/remota /mnt/nombrelocal/ Listo, si hay alguna otra cosa que hacer, lo pongo después! :D

[Anotaciones] Cambiar tiempo de espera en sesión de phpmyadmin

En la carpeta de phpMyAdmin, editar el archivo  libraries/config.default.php 1 $cfg [ 'LoginCookieValidity' ] = 1440; 3600 equivale a una hora 1 $cfg [ 'LoginCookieValidity' ] = 3600; También aumentar en php.ini el tiempo de la sesión 1 session . gc_maxlifetime = 1440 1 session . gc_maxlifetime = 3600 Al terminar, reiniciar apache