Thursday, November 30, 2017

Summary of AWS Announcements on Nov 29th 2017

Good morning everyone,

Keeping updated with latest announcements from AWS is not a simple task, and became harder during the re:Invent. Let me summarize the most important yesterday's announcements.

Keeping Time With Amazon Time Sync Service
Amazon Time Sync Service, a time synchronization service delivered over Network Time Protocol (NTP) which uses a fleet of redundant satellite-connected and atomic clocks in each region to deliver a highly accurate reference clock.
More information at https://aws.amazon.com/blogs/aws/keeping-time-with-amazon-time-sync-service/

Amazon FreeRTOS – Enabling Billions of Devices to Securely Benefit from the Cloud
Amazon FreeRTOS is an IoT microcontroller operating system that simplifies development, security, deployment, and maintenance of microcontroller-based edge devices. Amazon FreeRTOS extends the FreeRTOS kernel, a popular real-time operating system, with libraries that enable local and cloud connectivity, security, and (coming soon) over-the-air updates.
More information at https://aws.amazon.com/blogs/aws/announcing-amazon-freertos/

AWS IoT Analytics: Delivering IoT Analytics at Scale and Faster than Ever Before
AWS IoT Analytics is a fully managed service of AWS IoT that provides advanced data analysis of data collected from your IoT devices.
More information at https://aws.amazon.com/blogs/aws/launch-presenting-aws-iot-analytics/

Amazon Comprehend – Continuously Trained Natural Language Processing
More information at https://aws.amazon.com/blogs/aws/amazon-comprehend-continuously-trained-natural-language-processing/

Amazon Translate – Real-time Language Translation
More information at https://aws.amazon.com/blogs/aws/introducing-amazon-translate-real-time-text-language-translation/

Amazon Transcribe – Accurate Speech To Text At Scale
More information at https://aws.amazon.com/blogs/aws/amazon-transcribe-scalable-and-accurate-automatic-speech-recognition/

Amazon Kinesis Video Streams – Serverless Video Ingestion and Storage for Vision-Enabled Apps
More information at https://aws.amazon.com/blogs/aws/amazon-kinesis-video-streams-serverless-video-ingestion-and-storage-for-vision-enabled-apps/

Amazon Rekognition Video: Deep-Learning Based Video Recognition
Amazon Rekognition Video is a new video analysis service feature that brings scalable computer vision analysis to your S3 stored video, as well as, live video streams. With Rekognition video, you can accurately detect, track, recognize, extract, and moderate thousands of objects, faces, and content from a video.
More information at https://aws.amazon.com/blogs/aws/launch-welcoming-amazon-rekognition-video-service/

AWS DeepLens, a new video camera that runs deep learning models directly on the device.
More information at https://aws.amazon.com/blogs/aws/deeplens/

Amazon SageMaker
Amazon SageMaker is a fully managed end-to-end machine learning service that enables data scientists, developers, and machine learning experts to build quickly, train, and host machine learning models at scale. This drastically accelerates all of your machine learning efforts and allows you to add machine learning to your production applications quickly.
More information at https://aws.amazon.com/blogs/aws/sagemaker/

S3 Select and Glacier Select – Retrieving Subsets of Objects
More information at https://aws.amazon.com/blogs/aws/s3-glacier-select/

Amazon Elastic Container Service for Kubernetes
More information at https://aws.amazon.com/blogs/aws/amazon-elastic-container-service-for-kubernetes/

AWS Fargate – Run Containers without Managing Infrastructure
More information at https://aws.amazon.com/blogs/aws/aws-fargate/


Saturday, September 30, 2017

Mouting the shared folders in ubuntu guest

To mount the shared folder in the guest, just run the command bellow with the name used while creating the shared folder.

sharename="whatever.you.want.to.call.it"; 
sudo mkdir /mnt/$sharename
sudo chmod 777 /mnt/$sharename
sudo mount -t vboxsf -o uid=1000,gid=1000 $sharename /mnt/$sharename
ln -s /mnt/$sharename $HOME/Desktop/$sharename

Installing VirtualBox Guest Additions


  1. Login as ubuntu;
  2. Update your APT database with sudo apt-get update, and typing your password, if requested;
  3. Install the latest security updates with sudo apt-get upgrade;
  4. Install required packages with sudo apt-get install build-essential module-assistant;
  5. Configure your system for building kernel modules by running sudo m-a prepare;
  6. Click on Install Guest Additions… from the Devices menu, then choose to browse the content of the CD when requested;
  7. Mount the cdrom with "mount /dev/cdrom /media/cdrom";
  8. Run sudo ./media/cdrom/VBoxLinuxAdditions.run, and follow the instructions on screen.

Tuesday, August 8, 2017

Monday, June 12, 2017

Sunday, June 11, 2017

Installing Java on Ubuntu using APT

The Oracle JDK is the official JDK; however, it is not provided as default installation for Ubuntu.

You can install the oracle JDK using apt-get, following the next steps:

Add a custom repository:


sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
Install the latest jdk version:


sudo apt-get install oracle-javaX-installer
Note: Replace X with the version number.

Update the current default version:


sudo update-alternatives --config java
sudo update-alternatives --config javac
Update your java home path:


sudo nano /etc/environment
JAVA_HOME="YOUR_PATH"
source /etc/environment
echo $JAVA_HOME
Note: Use the path displayed while updating alternatives.

I wish that I can help someone.

Monday, May 29, 2017

Fixing "ERROR: (gcloud.container.clusters.get-credentials) environment variable HOME or KUBECONFIG must be set to store credentials for kubectl"

Yesterday, I was studying Kubernetes and got an issue while installing the gcloud commands in my local windows.

The error message was "ERROR: (gcloud.container.clusters.get-credentials) environment variable HOME or KUBECONFIG must be set to store credentials for kubectl"

After research in the internet I found the solution, I will describe how to fix the issue.


Set environment variable:

image
then execute the following in the (under current user) command line:
mkdir .kube
cd .kube
echo "" > config
because you make the config file under current user gcloud should have the right permissions:
image

Source: https://github.com/kubernetes/kubernetes/issues/34395

Thursday, October 13, 2016

Configure KDiff3 as git mergetool

If you need to configure KDiff3 (http://kdiff3.sourceforge.net/) as your merge tool in Git, use the following commands.

git config --global --add merge.tool kdiff3
git config --global --add mergetool.kdiff3.path "C:/Program Files/KDiff3/kdiff3.exe"
git config --global --add mergetool.kdiff3.trustExitCode false

git config --global --add diff.guitool kdiff3
git config --global --add difftool.kdiff3.path "C:/Program Files/KDiff3/kdiff3.exe"
git config --global --add difftool.kdiff3.trustExitCode false