Skip to content

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python-task2

Login page image wep page

What we can do by this ?

  1. Launch docker container
  2. Stop/start and delete container
  3. Run commands on Base os RedHat
  4. Run Commands on docker container

How to setup this ?

Step1

Install httpd and Docker in RedHat or Centos
dnf install httpd -y
dnf install docker-ce -y

Start services
systemctl start httpd
systemctl start docker
systemctl enable httpd
systemctl enable docker

Step2

Download github repo
git clone https://github.com/Premchandg278/python-task2.git

Now copy index.html file to /var/www/html/ directory
cp python-task2/index.html /var/www/html/

Copy docker.py file to /var/www/cgi-bin/ directory
cp python-task2/docker.py /var/www/cgi-bin/

Copy page.html file to /var/www/ directory
cp python-task2/page.html /var/www/

Step3

Check your Linux system ip address
ifconfig
Now you need to change http://192.168.43.168 to your linux system ip address in index.html and page.html webpages
use Password "prem"
username "root"

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages