Entradas

USB Booteable creado desde el terminal

Imagen
1.- Se escanean los discos disponibles: fdisk -l Resultado: Device Boot Start End Sectors Size Id Type /dev/sdb1 63 7669823 7669761 3,7G c W95 FAT32 (LBA) 2.- Ubicar las unidades cuyo Device = /dev/sdb, en mi caso es sdb1 3.- Desmontar el dispositivo: umount /dev/sdb 4.- Se le da formato como unidad FAT 32: mkfs.vfat -F 32 /dev/sdb -I 5.- Debemos ubicarnos en la carpeta donde se encuentra la imágen ISO: Ejemplo: cd /home/usuario/Documento/debian-8.5.0-amd64-DVD-1.iso 6.- Luego se ejecuta el siguiente comando para copiar el contenido del ISO al USB: dd if=nombrecompleto.iso of=/dev/sdb 7.- Se debe esperar hasta que la consola vuelva a su posición normal: Ejemplo: root@usuario:/home/usuario# Fuente original: https://diariodeunalinuxera.com/2015/10/20/crear-un-usb-booteable-de-cualquier-distribucion-gnulinux-desde-la-terminal/

PlaySMS + Kannel (Instalación y Configuración de la Librería)

Imagen
1.- Instalación de Librería necesaria: apt-get install gcc libxml2-dev wvdial 2.- Conectar el Dispositivo USB para sincronizar con el siguiente comando: wvdialconf El comando arroja la siguiente información: Scanning your serial ports for a modem. Modem Port Scan<*1>: S0 S1 S2 S3 WvModem<*1>: Cannot get information for serial port. ttyUSB0<*1>: ATQ0 V1 E1 -- OK ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK ttyUSB0<*1>: Modem Identifier: ATI -- Manufacturer: huawei ttyUSB0<*1>: Speed 9600: AT -- OK ttyUSB0<*1>: Max speed is 9600; that should be safe. ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK WvModem<*1>: Cannot get information for serial port. ttyUSB1<*1>: ATQ0 V1 E1 -- OK ttyUSB1...

GPG error - llave pública no disponible (Debian / Ubuntu)

Imagen
Error: (Ejemplo) W: Error de GPG: https://deb.packager.io jessie Release: Las firmas siguientes no se pudieron verificar porque su clave pública no está disponible: NO_PUBKEY B6D583CCBD33EEB8 Solución: gpg --keyserver wwwkeys.eu.pgp.net --recv-keys B6D583CCBD33EEB8 gpg --armor --export B6D583CCBD33EEB8 | sudo apt-key add - Fuente original: http://www.ubuntu-es.org/node/26500#.WD7W37O-fbg Otra Solución: gpg --keyserver keyserver.ubuntu.com --recv B6D583CCBD33EEB8 gpg --export --armor B6D583CCBD33EEB8 | sudo apt-key add - apt-get update Sí no funciona y aparece el siguiente Error: gpgkeys: HTTP fetch error 7: couldn't connect: Connection timed out Puede aplicar la siguiente solución: gpg --keyserver keyserver.ubuntu.com:80 --recv-keys BD33EEB8 (Último 8 Digitos) Si el problema es el proxy: Edita el archivo /etc/environment y agrega estas lineas: http_proxy=http://10.1.1.1:3128/ https_proxy=http://10.1.1.1:3128/ ftp_proxy=http://10.1.1.1:3128/ no_proxy="loca...

Debian 8 Jessie - Repositorios

Imagen
#********************************************** #*****                    DEBIAN 8 JESSIE                      ***** #********************************************** # Line commented out by installer because it failed to verify: deb http://security.debian.org/ jessie/updates main contrib non-free # Line commented out by installer because it failed to verify: deb-src http://security.debian.org/ jessie/updates main contrib non-free deb http://http.us.debian.org/debian/ jessie main contrib non-free deb-src http://http.us.debian.org/debian/ jessie main contrib non-free

PlaySMS - Ubuntu 16 - PHP7 - Nginx

Imagen
Paso 1: I nstalación de PHP y Nginx apt install nginx php7.0-fpm php7.0-cli php7.0-mysql php7.0-gd php7.0-imap php7.0-curl php7.0-mbstring php7.0-mcrypt php7.0-xml mysql-server mysql-client Paso 2: Descargar PlaySMS 1.4 wget -c http://ncu.dl.sourceforge.net/project/playsms/playsms/Version%201.4/playsms-1.4.tar.gz Paso 3: Instalar PlaySMS tar -zxf playsms-1.4.tar.gz cd playsms-1.4/ cp install.conf.dist install.conf * Modificar el Usuario y Contraseña para la base de datos en: vi install.conf * Ejecutar el instalador: ./install-playsms.sh Paso 4: Configurar Nginx vi /etc/nginx/sites-enabled/default * Modificar: root /var/www/html; # Add index.php to the list if you are using PHP index index.html index.htm index.php index.nginx-debian.html; server_name _; * Quitar comentario a: location ~ \.php$ { include snippets/fastcgi-php.conf; # # # With php7.0-cgi alone: ...

Instalar Apache + PHP + MySQL + PhpMyAdmin en Debian 8

Imagen
1.- Actualizar los repositorios:      apt-get update 2.- Instalar Apache:      apt-get instal apache2 3.- Reiniciar Apache:      /etc/init.d/apache 2 restart 4.- Instalar PHP:      apt-get instalar php5 5.- Reiniciar Apache:      /etc/init.d/apache 2 restart 6.- Instalar MySQL:      apt-get install mysql-server mcrypt 7.-  Reiniciar Apache:        /etc/init.d/apache 2 restart 8.- Instalar PhpMyAdmin:      apt-get install phpmyadmin 9.- Reiniciar Apache:      /etc/init.d/apache 2 restart 10.- Verificar instalación de PhpMyAdmin accediendo a la siguiente dirección en el navegador:       http://localhost/phpmyadmin  Nota:  Si no puedes acceder al PhpMyAdmin, se debe crear un enlace simbólico (ó Acceso directo) en la car...

Postgres 9.5 en Debian 8 (Instalación)

Imagen
1.- Editar en el archivo, en el terminal o consola de linux:       nano /etc/apt/sources.list 2.- Agregar las siguientes líneas:      # PostgreSQL repository      deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main 3.- En el terminal agregar la llave (key), con la siguiente línea:       wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - 4.- Actualizar paquetes.      apt-get update -y 5.- Verificar la existencia del paquete con la siguiente línea:      apt-cache search postgresql- | less 6.- Instalar Postgres:      apt-get install postgresql-9.5 -y 7.- Instalar el componente para PHP:      apt-get install php5-pgsql -y  8.- Instalar Pgadmin3:      apt-get install pgadmin3