USER –> Usuario.
HOST –> Servidor.
Command –> Es el comando a ejecutar.
Ejemplo:
ssh lradmin @ 172.31.7.221 df
Filesystem 1K - blocks Used Available Use % Mounted on
/ dev / xvda2 10473452 1599732 8873720 16 % /
devtmpfs 489456 0 489456 0 % / dev
tmpfs 507736 0 507736 0 % / dev / shm
tmpfs 507736 13000 494736 3 % / run
tmpfs 507736 0 507736 0 % / sys / fs / cgroup
tmpfs 101548 0 101548 0 % / run / user / 1000
tmpfs 101548 0 101548 0 % / run / user / 0
[ root @ rhel1 ~ ] #
[ root @ rhel1 ~ ] # ssh lradmin@172.31.7.221 uptime
00 : 31 : 26 up 52 min , 2 users , load average : 0.00 , 0.01 , 0.04
[ root @ rhel1 ~ ] #
Seguir leyendo Como ejecutar comandos remotos en ssh y mostrarlos localmente →
Make your own Twitter bot with Python and Raspberry Pi Automate your tweets with some simple Python code running on a Raspberry Pi.
Origen: Automate your tweets with Python code running on a Raspberry Pi | Opensource.com
Ir a Admin/Module Admin
Dar clic en el boton Check Online
Bajar el paquerte PBX Upgrader
Ir a Admin/Migrate 2.11 to 12
Seguir los pasos de actualizacion
Despues para migrar de 12 a 13 repetir los pasos anteriores
Crear na maquina virtual KVM/QEMU y seleccionar el formato raw, qcow, o qcow2. There are administrative benefits to using file images instead of devices, such as backing up or saving image files on another server, as is the case with migrating over shared storage.
Seguir leyendo Convertir imagenes de QEMU QCOW2 a LVM →
Si tenemos un archivo mas pesado y queremos comprimirlo debemos hacerlo de la siguiente manera.
Ejecutamos el siguiente comando:
$ time bsdtar cvfz sparse .tar .gz 1tb
a 1tb
real 0m0.362s
user 0m0.336s
sys 0m0.020s
$ ls - l
total 8
- rw - rw - r -- 1 autouser autouser 1099511627777 Nov 7 01 : 43 1tb
- rw - rw - r -- 1 autouser autouser 257 Nov 7 01 : 43 sparse .tar .gz
$
Revisar que la maquina tiene el tamaño para almacenar el archivo:
$ rm 1tb
$ time tar - xvSf sparse .tar .gz
1tb
real 0m0.031s
user 0m0.016s
sys 0m0.016s
$ ls - l
total 8
- rw - rw - r -- 1 autouser autouser 1099511627777 Nov 7 01 : 43 1tb
- rw - rw - r -- 1 autouser autouser 257 Nov 7 01 : 43 sparse .tar .gz
Instalar los siguientes paquetes
yum - y install python - pip
pip install -- upgrade pip
pip install -- upgrade -- user awscli
Seguir leyendo Sincronizar carpeta de audios con S3 →
Instalar Nux Dextop YUM repo
En CentOS 7,:
sudo rpm -- import http : //li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
sudo rpm - Uvh http : //li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
Para CentOS 6:
sudo rpm -- import http : //li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
sudo rpm - Uvh http : //li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm
Instalar FFmpeg y FFmpeg development packages
sudo yum install ffmpeg ffmpeg - devel - y
Ir a las entradas
Documentos y manuales de UDP