Posts

Showing posts from 2019

How to push a file into a docker container

Let's  see how to push a file into the container from the host.  We are assuming the test.html file is the file we are going to copy into the docker container.  web-application is container docker cp test.html web-application:/folderpath we can verify  after log in to the container. docker exec -it web-application bash And then check in the folder path and you will see the file there copied Sources : https://www.linkedin.com/events/kubernetes-freetechnicalworksho6807993779836985344/

Network Revolution - Software Defined Networking and Network Function Virtualization playing their part in the next Industrial Revolution - Group project sketch

Network Revolution - Software Defined Networking and Network Function Virtualization playing their part in the next Industrial Revolution Information Technology started to change with the evolution of the cloud computing which was driven by virtualization in the computing era. The benefits of the cloud computing stand on networking and telecommunication as Software Defined Networks(SDN) and Network Function Virtualization(NFV). Software Defined Networking is basically separating the control functionality from the networking hardware  and leaves the data forwarding plane on the hardware as the data plane. Typically, it is on the separation data and control planes in the networking hardware and the control functionalities are migrated as software functions. Network Function Virtualization(NFV) is about replacing the existing specialized hardware functions with a virtualized function which are written in some programmable language.        In the current IT community, the software develope

nMap - Network Mapping

Image
Nmap (Network Mapper) is an open source and free tool that is used for network exploitation and security auditing that supports ping scanning. Nmap uses "raw IP packets" to determine the available hosts and ports of the network and other dozens of characteristics of the network. GUI option for Nmap is known as Zenmap. Installing nMap Run " sudo apt-get install nmap " command after running " sudo apt-get update ". Because sometimes, when you are planning to install nmap in ubuntu 18.04, after running "apt-get install nmap" it says that "Enable to locate packages". So it is better to install after updating the system. Using nmap commands 1. Nmap using against scanning host and IP addresses nmap <IP address>  Figure 01 : scanning a host using nmap comand Also you can use FQDN of the hosts to scan the hosts ex: nmap host1.example.com (Note : the FQDN should be resolved) 2.Multiple Ip addresses scan nmap <IP address 1&

Simple apache service on top of Docker - Basic commands - Example

We can get base images form the docker hub repository Tip: you can make customer images in docker hub (you will have to log in to docker-hub and then push the image you customised) We can download the docker image from the centre repository. Let’s download a ubuntu latest image from the repository. docker pull ubuntu Then, you can see the image by typing in terminal, docker images ubuntu After, If you want to run the docker image you can execute following command in the terminal docker container run -it web-application -p 80:80 -d ubuntu Here, the Ubuntu image is started with assigned name “web-application” and port forward is done with assigning 80:80 as host port : container port Then you will see the container id under when it is started. After, let’s install a apache service in the ubuntu container we created. To log in to the container, type docker exec -it web-application bash And then you will be in the container.Now we are going to install apache  apt i