Posts

Showing posts from August, 2019

EFS Automatic mounting on Ubuntu Linux

EFS Automatic mounting on Ubuntu Linux In a earlier post How to mount a EFS (Elastic File System) to a Linux Virtual Machine in AWS (Amazon Web Services)  I posted about how to mount a Amazon EFS in a Linux Virtual Machine. In this post, I am going to write about, how to automatically mount EFS. There could be several approaches for this, the following is one the approach. I would love to hear any alternative approaches as well. For this I used cron job. Put the mapping command in a shell script file, let's call it map.sh. Make sure appropriate read permissions are provided. > sudo crontab -e In the crontab file type the following: @reboot pathtoshfile/map.sh That's about it, reboot and give it a try. EFS Automatic mounting on Ubuntu Linux

How to install Kaldi-ASR on Ubuntu 18

How to install Kaldi-ASR on Ubuntu 18 Kaldi is a speech recognition toolkit. The official website is:  http://kaldi-asr.org/ To know more please check out the official website. In this blog post would serve the purpose of a reference note for me, as well as could help some people out there. You can use Linux on Windows sub system as well, and these instructions are specifically for Ubuntu 18 for other versions, the apt-get package names may vary slightly, but the installation would pretty much be the same. Including the operating system, Kaldi could take about 12 - 15 GB in space, so make sure, you have enough free space before proceeding. sudo apt update sudo add-apt-repository universe sudo add-apt-repository main sudo apt-get update sudo apt-get install build-essential sudo apt-get install libatlas-base-dev liblapack-dev libblas-dev sudo apt-get install ffmpeg sox mkdir kaldi cd kaldi git clone https://github.com/kaldi-asr/kaldi.git cd kaldi/tools extras/ch

How to mount a EFS (Elastic File System) to a Linux Virtual Machine in AWS (Amazon Web Services)

How to mount a EFS (Elastic File System) to a Linux Virtual Machine in AWS (Amazon Web Services) How to mount a EFS (Elastic File System) to a Linux Virtual Machine in AWS (Amazon Web Services) EFS - Elastic File System is a service offered by Amazon in AWS. The good thing with EFS is you pay only for how much space is used and you don't have to even pre-allocate and still pay for unused space. However, the mounting instructions are a bit off and I had to struggle (spent a little time, figuring out) a bit to mount a EFS in a Linux VM.  EFS documentation can be found at:  https://aws.amazon.com/efs/ Follow the instructions as provided. However make sure that the security groups configured and that are being used while creating EFS have port 2049 (NFS) allowed as Inbound to the VM. The source IP's can be 172.30.0.0/16 or you can be more specific by using the exact IP address shown in the EFS console page. This is a very simple blog entry, and it is straight to the po