/automation-using-python

we are using python to automate docker , Hadoop ,

Primary LanguagePython

#note: the following code will work only on linux operating system (eg : rhel 8)

Automation-Using-Python

forthebadge forthebadge forthebadge

we are using python to automate docker , Hadoop , AWS, Linux.The real motive behind the project is to make it useful for those who might not be that into the respective technologies but will be able to perform all the basic functions.

Table of contents

Usage

(Back to top)

๐Ÿ“Œ Automates following tech-stacks: -

๐Ÿ‘‰ Docker

๐Ÿ‘‰ Hadoop

๐Ÿ‘‰ Linux

๐Ÿ‘‰ AWS

Demo

(Back to top)

๐Ÿ“Œ The first Screen.

First_image_options


๐Ÿ‘‰ Here is a simple demo of the working model

working_model(1)


๐Ÿ“Œ Option 7 helps in creating hadoop name node.

Name_node


๐Ÿ‘‰ Another Tech-Stack is Docker which is a containerization tool.

Docker


For more details ๐Ÿ‘‰ (click here)

Installation

(Back to top)

  1. Install git (preferably, version >= 2.0) and python (preferably, version >=3.6) (windows) For Linux :
   sudo yum instal git -y
   sudo yum install python -y
  1. Copy the github url from the repository :
https://github.com/SiddharthaShandilya/automation-using-python.git
  1. Select a Directory in local system and use
git clonehttps://github.com/SiddharthaShandilya/automation-using-python.git           
*Note for `git clone command`  Please make sure that you have proper internet connection. *

*Note for `python` Please try to anaconda for running the app.*  
  1. Create a seperate virtual environment to avoid conflict between python libraries :

    python3 -m venv new-env 
  2. Activate the virtual env: ๐Ÿ‘‰ (click Here)

  3. Install all the libraries as well as software for the application.Do download Docker, Hadoop, AWS.

  4. Have a look at Recommended configurations and Custom configurations.



Recommended configurations

(Back to top)

  1. Update yum/dnf repository for downloading the required software.
sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
  1. After Downloading the repo update it.
sudo dnf update
  1. Install Docker : bash sudo dnf install docker

  2. Install java-8: sh dnf install java-1.8.0-openjdk ant -y

  3. Install Hadoop. For more reference ๐Ÿ‘‰click here

sudo wget http://apachemirror.wuchna.com/hadoop/common/hadoop-3.2.1/hadoop-3.2.1.tar.gz
tar -xvzf hadoop-3.2.1.tar.gz
  1. Install aws-cli: sh sudo dnf install awscli

Custom configurations

(Back to top)

you can overwrtite the existng codes and add new features.

In order to add new features in the application you need to:

๐Ÿ“Œcreate a seperate file where you can store all the neccessary configuration code.

๐Ÿ“ŒMake sure to put every task in seperate function.

๐Ÿ“ŒImport the new file name to main.py: import <new-file-name>.



Uninstallation

(Back to top)

Want to uninstall and revert back to the old style? No issues (sob). Please feel free to open an issue regarding how we can enhance automation-using-python app.

rmdir ./automation-using-python

Contributing

(Back to top)

Your contributions are always welcome! Please have a look at the code and Treat it like it's yours.

Future Scope

(Back to top)

๐Ÿ“ŒAdding Voice chat app will make it more user friendly

๐Ÿ“ŒAdding face recognition system will make it more secure.

๐Ÿ“ŒAccessing all the file via Web-Browser will allow us to have more better UI.