Saturday, August 18, 2018

Australian teenager hacked Apple’s network multiple times, accessed 90GB worth of files

Court documents reveal that a 16-year-old hacker from Australia allegedly broke into tech giant Apple’s computer systems and may have downloaded internal files.

The Age newspaper reports that the teenager’s actions were driven by an admiration for the company, and that the boy stored the stolen files in a folder entitled “hacky hack hack.” The teen reportedly downloaded over 90 gigabytes of data and accessed customer accounts without exposing his identity.

Saturday, August 11, 2018

Reliable Backup And Disaster Recovery, With Microsoft Azure and Hyper v



In this tutorial I'm planing to do the give you and idea how to set up a Azure DR site Hybrid setup (I'm amusing that you have already config the Virtual machine manger onsite and VMs are reporting to tat as well )


First you have to create recovery service vault



Then click on the Site recovery and then click on the PrepareInfrastructure





Then select the virtual environment you have in internally (This supports Hyper v/VMware  as well) In this example we are taking Hyper v as our platform   


Please follow the steps given by the system to add your environment to the ASR


After completion of the above step you will be able to access the bellow mention window populating Source Location and the cloud (*you have to create separate clouds on VMM server )


In this window you have to select *Resource group and the storage account 


In this window you will be able to select the virtual machines that you want to get protected by the ASR (Please note this will on show only the virtual machines which are part of that specific cloud)


In this step you only need to select the OS disk and the OS type (Based on the VM you are planing to get replicate)


Now you are good to go,You have to check and confirm the replication policy and confirm by clicking OK


Now you will be able to find the status of the replications 


You are Done And Dusted 



Friday, August 10, 2018



# Minikube Cluster supports

    * Dashboard to manage cluster.
    * ConfigMaps to store configurations.
    * Secrets to store secrets related to your application.
    * NodePorts
    * Various Container Runtime like: Docker, rkt etc
    * Container Network Interface (CNI)
    * Ingress

# End Goal
  
  *Minikube installed.
    *Little hands on with Minikube commands

# Prerequisites
   
    *Hypervisor installed. For Linux: VirtulBox or KVM, for OSX: VirtualBox or HyperKit.
    *Kubectl installed.


curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.26.1/minikube-linux-amd64&& chmod +x minikube && sudo mv minikube /usr/local/bin/




02 Minikube Useful Commands

1. To start Minikube Cluster


$ minikube start
Starting local Kubernetes cluster...
Running pre-create checks...
Creating machine...
Starting local Kubernetes cluster...


2. To stop Minikube Cluster


$ minikube stop
Stopping local Kubernetes cluster...
Stopping "minikube"..

3. To check Status

$ minikube status
minikube: Running
cluster: Running
kubectl: Correctly Configured: pointing to minikube-vm at 192.168.99.100

4. To launch dashboard


$ minikube dashboard
Opening kubernetes dashboard in default browser...

Wednesday, August 1, 2018

Install elasticsearch ubuntu 18


Install elasticsearch ubuntu 18


01 Install java


Set JAVA_HOME edit file /etc/environment and add the content shown below in comments


sudo apt-get update
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
java -version
echo $JAVA_HOME
sudo vi /etc/environment
#PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
#JAVA_HOME="/usr/lib/jvm/java-8-oracle"
source /etc/environment
echo $JAVA_HOME



02 Install Elasticsearch-6.3


echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-6.x.list
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -  
sudo apt-get update && sudo apt-get install elasticsearch
ls /etc/init.d/elasticsearch
sudo service elasticsearch status

03 Change bind address and JVM heap option as per requirement


Change network.host to 0.0.0.0 in elasticsearch.yml and set -Xms 4g & -Xmx 4g in jvm.options
sudo vi /etc/elasticsearch/elasticsearch.yml
sudo vi /etc/elasticsearch/jvm.options


04 Install Kibana

sudo apt-get update && sudo apt-get install kibana
sudo service kibana restart

05 Install nginx

sudo apt-get -y install nginx

06 Add nginx config file for kibana

sudo vi /etc/nginx/conf.d/kibana.conf
Replace mykibana.com with your server_name or IP. We will setup auth in next step, hence we have placed a line for auth_basic in kibana.conf

 server {
    listen 80;
    server_name mykibana.com;
    auth_basic "Restricted Access";
    auth_basic_user_file /etc/nginx/htpasswd.users;

    location / {
        proxy_pass http://localhost:5601;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        proxy_set_header Host $host;
        proxy_cache_bypass $http_upgrade;
    }
}


07 Setup auth

sudo apt-get install apache2-utils
sudo htpasswd -c /etc/nginx/htpasswd.users admin
sudo service nginx restart



08 Web view of Kibana