+1-323-909-4740 blog@hegars.com

Apple mac generate voice and upload

#!/bin/bash # # to convert and upload voice prompts to asterisk using mac voice. # rate=200 voice=lee file=$1 words=$2 extype=/$3 user=root host=192.168.81.240 dst=/var/lib/asterisk/sounds/$voice$extype pem=/Users/hegars/ssh.pem #define the function to process files...

CentOS basic setup

CentOS Install and basic setup   Install from CD   Install Xentools # mkdir /media/cdrom # mount /dev/xvdd /media/cdrom # /media/cdrom/Linux/install.sh # reboot   Set Hostname # vim /etc/sysconfig/network Edit HOSTNAME= to hostname.domain   Enable Network at boot # vi...

Asterisk Source Build

Installation of Asterisk AMI https://wiki.debian.org/Cloud/AmazonEC2Image/Jessie   PREREQS apt-get install vim screen -y apt-get install build-essential apt-get install linux-headers-$(uname -r) apt-get install libxml2 libxml2-dev openssl libssl-dev libncurses5...

YubiKey PIV Manager

Importing a SSH key to the PIV smartcard. https://developers.yubico.com/PIV/Guides/SSH_with_PIV_and_PKCS11.html PS C:\Program Files (x86)\Yubico\YubiKey PIV Manager> .\yubico-piv-tool.exe -a import-key -s 9a -i hegars.key.pem -k Enter management key: Successfully...