• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

securitywing

wing

5 Steps to Setup a Nexus3 repository using Docker on Virtual Box.

Scenario: To create a private docker repository in your local machine for development purpose, you can deploy a Nexus3 docker image with a  persistent volume in a minute. You can either install the docker in your host machine or you can install a Ubuntu virtual box and then install docker on it.

Step1:

At first create Ubuntu virtual machine and then install docker. Next, pull the nexus3 docker image .

docker pull sonatype/nexus3

Ref:https://hub.docker.com/r/sonatype/nexus3/

Step 2:

Create a docker volume and run the Nexus container

docker volume create –name nexus-data [Read more…] about 5 Steps to Setup a Nexus3 repository using Docker on Virtual Box.

9 Types of Digital Security Risks

Having an overall understanding of the existing digital security risk can help to design a decisive risk mitigation plan.  Both small and large businesses are exposed to similar types of digital risk, which can cause serious damage to businesses unless handled carefully.  The list below explains the nine types of digital risks you need to stay alert of.

1. Data risk– as you know that data is considered as the driving engine of the knowledge-based economy no mater in which industry you operate in, you need to make sure the business data are in safe hands. Data risk including misuse of your sensitive business data as well as clients’ or customers’ data. [Read more…] about 9 Types of Digital Security Risks

5 Steps to Auto-Create Helm  Charts and upload to S3 Using Jenkins

After packaging the helm charts, you need to store it in a repository so that it can be easily deployed using helm in the Kubernetes or Minikube. This post aims to show you how to set up the AWS S3 bucket as a Helm chart repository. Using the steps below you will be able to setup Helm S3 repo for both Minikube and KOPs created cluster hosted in AWS. 

Scenario:  we will create the environment on a local computer, where we have installed Minikube using a virtual box.  We have created another VirtualBox for Jenkins running on Ubuntu. An easy and alternative approach is to install  Jenkins using the Helm chart in the Minikube. To replicate the production environment, I have decided to install Jenkins outside of the Kubernetes environment. The reason for why  I want to keep Jenkins outside of the Kubernetes cluster is to make sure the Kubernetes cluster issue does not affect the Jenkins pipelines that we use to deploy codes in other environments.

Jenkins server VM needs to run on the same network where you have installed Minikube. In my case, my Jenkins has two network adapter- one is NAT and another one is host-only. Make sure you attach the same host-only adapter that you have attached to the Minikube. [Read more…] about 5 Steps to Auto-Create Helm  Charts and upload to S3 Using Jenkins

3 Steps to Install Kubectl, Helm 3 and S3 Plugin in Ubuntu to Store Charts in S3 Bucket

This post aims to show you how to install Kubectl, Helm 3 and S3 plugin so that you can easily store the chart in a S3 bucket form your Ubuntu machine. Though I always use an automated approach to create and store the helm chart, I had to create a helm chart in Ubuntu in order to identify and Helm S3 plugin compatibility issue.

1. Install kubectl

To install kubectl in Ubuntu

nano script.sh

chmod 775 script.sh

Next, paste then the following lines to create a shell script. [Read more…] about 3 Steps to Install Kubectl, Helm 3 and S3 Plugin in Ubuntu to Store Charts in S3 Bucket

3 Steps to Install Minikube on Windows 10

Minikube helps to create the Kubernetes environment on a personal computer. This post aims to show you a few simple steps to install Minikube on Windows Machine. Before installing minikube, make sure you have installed kubectl.

Step 1: Install kubectl

Go to https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl-on-windows and following the link under “Install Kubectl on Windows”.

Create a folder called Kube or anything and then copy and paste the minikube .exe file in that folder.

Next, click on “This PC” then properties and then advance and then click on environmental variables. [Read more…] about 3 Steps to Install Minikube on Windows 10

How to Query AWS CloudTrail Logs with Athena

AWS CloudTrail logs all the API calls made to the AWS account. You do not require any tool to view  the last 90 days of events. But if you want to view the logs older than three months you have to setup a S3 bucket to store it  and then you can analyse the logs.  This post aims to show you how you can use AWS Athena to view AWS logs stored in S3 bucket.

[Read more…] about How to Query AWS CloudTrail Logs with Athena

How to Run MySQL Database Anonymize Script from Linux Bash Shell

How to run mysql annoymise scripot from bash shell.

To anonymize the production database for using in the test environment,  you can create a simple script that can run from the Linux Bash shell with a single command.

At first download a sample database:

# wget https://github.com/datacharmer/test_db/archive/master.zip

Next, unzip the file

#  unzip master.zip

[Read more…] about How to Run MySQL Database Anonymize Script from Linux Bash Shell

How to Mount Amazon EFS in EC2-CentOS Instance

With Amazon EFS(elastic file system)mounted in the EC2, you can signifincalty reudce cost of storge becaues you pay only for the storgrage used by your applications/data. EFS supports NFS

In the AWS console, search for EFS and then create a volume. When you attahce a security group in the EFS, make sure it allows traffc on port 22 from the EC2 instance. Also, take note of the DNS name of  EFS, which will be used to mount the volumen in the EC2.

SSH to the Ec2 and create a mount directory.

sudo mkdir efs

Note:if you want you can specify the full path of the mount directory such as /home/efs or /var/efs [Read more…] about How to Mount Amazon EFS in EC2-CentOS Instance

How to Schedule AWS EC2 Start and stop time using Lambda and Cloudwatch

To save your AWS cloud  operational cost, you can schedule EC2 instanes’ start and stop time using Lambda function.  When you define a lamda function, you need to setup a trigger, which specifies the event that can invoke the lambda fucntions. In this post, we will use the a specific UTC time as a trigger .  For example, you want to start EC2 instances at  06:30 UTC and want to stop the instanes at 20:30 UTC.  [Read more…] about How to Schedule AWS EC2 Start and stop time using Lambda and Cloudwatch

Docker Command List with Examples in Linux

Spinning up a docker container takes a few seconds with a simple command.Once the containers is up and running you need to customize and manage it to fit for the apps and other requirements. I have put together a number of useful command with examples that a beginner will find handy.

Docker MySQL  container installation commands

docker container run -d -p 3306:3306 --name db -e MYSQL_RAMDOM_ROOT_PASSWORD=true mysql

or run

docker container run -d --name db -p 3306:3306 -e MYSQL_ROOT_PASSWORD=mypass mysql

[Read more…] about Docker Command List with Examples in Linux

« Previous Page
Next Page »

Primary Sidebar

Please help us sharing

Categories

  • Artificial Intelligence
  • AWS
  • Basics
  • Containers
  • Cryptocurrency
  • Cyber
  • Cyber Insurance
  • Internet Security and Safety
  • IS Audit
  • IT Security Exams
  • Law & Human Rights
  • Network Security Tips
  • Off Track
  • Social Media Governance
  • Tech Comparisons
  • Tech Stack Suitability
  • Telecom
  • Tutorial

CISSP Sample Test

Take a CISSP Sample Test

CISA Sample Test

CISA IT governance Sample test

Please Follow Us

Contact us for Ads

Go to Contact Form

Search

Footer

Copyrights

Protected by Copyscape Duplicate Content Detection Software

Securitywing.com reserves the copyrights of all of its published articles.No contents of this site is permitted to be published to anywhere else in the Internet.If any contents are found in any other websites, securitywing reserves the rights to file a DMCA complaint. But you have the right to use the link of any relevant article of this site to point from your website if you consider that it might improve the quality of your article.

Tags

antivirus audit AWS backup browser check cisco cloud computer cyber data database ddos email encryption firewall home hsrp ids internet it kubernetes linux load balancing malware network protection putty risk router security security tips server social media ssh SSL tools virus vpn vulnerability web webserver website windows wordpress