A2Y | Tech for Ever
  • home
  • Android
    • WhatsaApp
    • Video Player
    • Refer & Earn
  • Windows
    • Anti-Virus
  • HotstarDownloader
  • Request To Crack

How to deploy python flask in ubuntu on aws

Posted by Anbarasan K in: apache2 flask flask deployment mod-wsgi python ubuntu

Install Required Softwares

  • sudo apt-get install apache2
  • sudo apt-get install python
  • sudo apt-get install python-pip
  • sudo apt-get install python-flask
  • sudo apt-get install libapache2-mod-wsgi

Create Flask app: (Execute command as per in the order)

  • sudo mkdir /var/www/anbu
  • cd /var/www/anbu
  • sudo wget https://goo.gl/wTUSzq -O __init__.py
  • cd ..
  • sudo wget https://goo.gl/0jr0gm -O app.wsgi
  • cd /etc/apache2/sites-available
  • sudo wget https://goo.gl/F0hBtA -O app.conf
  • sudo a2ensite app.conf
  • sudo service apache2 restart
  • lets check your domain 

Watch the Tutorial for explanation

Tutorial Video :

Coming soon 

1 comment:

  1. Daftar Situs Judi Slot Online TerpercayaApril 26, 2020 at 11:01 PM

    Jokerindo adalah salah satu Situs Judi Slot Online Dan Tembak Ikan Joker123 yang melayani Para Bettor dalam hal Daftar Situs Judi Slot Online Terpercaya. Dengan Memberikan Kualitas Dan Integritas Sehingga Membawa Kami Untuk Selalu Mengembangkan Sayap Di dunia online. My Official Website : 198.54.120.219/

    ReplyDelete
    Replies
      Reply
Add comment
Load more...

Older Post Home
Powered by Blogger.

Enter Text To Search

Popular Posts

  • How to fix/repair Droid4x stuck in 99%,80%,81% on Windows 7,8,10
    How to repair Droid4x starting failed that is cause by system malfunction, such as stuck in 99% , 80% or 81% Method 1: (Tested By Me) ...
  • How To Add More than 256 members on Whatsapp Group
    Whatsapp Messenger Proprietary cross-platform instant messaging client for smartphones that operates under a subscription business model...
  • Idoo Video Editor Pro 3.5 Serial Key is Here! [Latest]
    idoo Video Editor Pro idoo Video Editor is a professional video editing software with clear interface and user-friendly operation. Its ...
  • Airtel 1GB 3G Data at low price (₹127) for Tamilnadu Circle !!!
    1GB 3G @ Rs 127 with 28 Day's Validity Requirements Airtel SIM Card  Minimum balance Rs.130 Smart phone Little skill  Steps...
  • Whatsapp Plus v3.90 Mod Apk Here!
    WhatsApp Plus v3.90 Apk WhatsApp Plus is the newly underdevelopment whatsapp mod, which aftert the ban is now continued for furthur dev...

About This Blog

Anbu2you Blog Under Beta Stage

Navigation

  • Android
  • Free Recharge
  • Free Internet
  • Offers
  • Refer and Earn
  • Tips&Tricks
  • Navigation

    Follow Us

    Beta android


    Template Developed By Anbarasan.K "© Copyright 2015"