flipper

Build, Ship & Navigate!

We've added image search, so now you can easily find quality content like ...

Text

Presented By:

Shivam Yaduka

B.Tech – Information Technology

Vellore Institute of Technology, Vellore

yaduka.shivam@gmail.com

/yshivam

My Cloud Journey Started with THE-PORTAL.

Portal is one stop solution to all cloud-related services. Services Provided:

  • SaaS
  • CaaS
  • PaaS
  • STaaS
  • BDaaS

 

OS: RHEL 7.5, CentOS 7

Python36: Back-end Scripting Language.

Python-CGI: To interact through a Web server with a client running a Web browser.

HTML/CSS: Front-end language.

Server: Apache

Hosted on: MY LAPTOP.

Scripting Language:

DEMO

Say Hello To Flipper.

 

OS: Ubuntu, RHEL 7.5/CentOS 7

Python36: Back-end Scripting Language.

Python-CGI: To interact through a Web server with a client running a Web browser.

HTML/CSS: Front-end language.

Server: Apache

Hosted on: Any Time, Any Where!

Scripting Languages:

Flipper is a Docker playground which allows users to run Docker commands in a matter of seconds. It gives the experience of having a free RHEL Virtual Machine in the browser, where you can build and run Docker containers.

DEMO

docker pull centos
docker run -it --privileged --name shellinabox centos:latest
yum install wget  -y
wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -ivh epel-release-latest-7.noarch.rpm
yum install net-tools
yum install openssh-server   -y
yum install openssh-clients  -y
yum install xauth -y
ssh-keygen
sshd-keygen
/usr/sbin/sshd
passwd root
yum install openssl shellinabox -y

vi /etc/sysconfig/shellinaboxd
#COMMENT THIS LINE - #OPTS="--disable-ssl-menu -s /:LOGIN"
#ADD THIS LINE IN THE END -  OPTS="-t -s /:SSH:0.0.0.0"

vi /root/.bashrc
#ADD THESE LINES

                    /usr/sbin/sshd
                    /usr/sbin/shellinaboxd

alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'

                    /usr/sbin/sshd -f /etc/ssh/sshd_config &
                    shellinaboxd -t -s /:SSH:0.0.0.0 &

/usr/sbin/sshd
/usr/sbin/shellinaboxd

docker commit shellinabox  shellinabox_centos:latest
docker run -it --privileged --name shellinabox shellinabox_centos:latest
docker inspect -f {{.NetworkSettings.IPAddress}} shellinabox 

How to Create your own Image? - CaaS

 

FROM ubuntu
LABEL MAINTAINER  yaduka.shivam@gmail.com
RUN apt-get update
RUN apt-get install -y apt-utils vim curl apache2 apache2-utils
RUN apt-get -y install python3 libapache2-mod-wsgi-py3
RUN ln /usr/bin/python3 /usr/bin/python
RUN apt-get -y install python3-pip
RUN ln /usr/bin/pip3 /usr/bin/pip
RUN pip install --upgrade pip
COPY cgi-bin /var/www/cgi-bin/ 
COPY html  /var/www/html/
CMD ["apache2ctl", "-D", "FOREGROUND"]  
EXPOSE 80 3500

git clone
docker build
docker run
docker exec

curl -sSl https://get.docker.com/ | sh
a2enmod cgi
chmod a+x /var/www/cgi-bin/caas_docker.py
chmod 666 /var/run/docker.sock

docker commit <containerID> <Image:tag>

How to Create your own Image? - Flipper

docker pull syaduka/shellinabox_final:v1
docker pull syaduka/firefox_final:v1
docker pull syaduka/portalui:latest

or, Maybe Pull the Image?

and, Start Navigating your Container.

Thank You!

/yshivam

Made with Slides.com