Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Stackorigin – The Community of Question and Answers

Stackorigin – The Community of Question and Answers Logo Stackorigin – The Community of Question and Answers Logo
Search
Ask A Question

Mobile menu

Close
Ask a Question
Home/ Questions/Q 48157
Next
In Process
sam
  • 0
sam
Asked: May 2, 20232023-05-02T07:06:39+00:00 2023-05-02T07:06:39+00:00In: Programming

Airflow on AWS EC2 instance with Ubuntu

  • 0
Airflow on AWS EC2 instance with Ubuntu
airflowec2
  • 1 1 Answer
  • 22 Views
  • 0 Followers
  • 0
Share
  • Facebook

    Related Questions

    • How do I restart the kernel shortcut Spyder?
    • SQL query to find third highest salary in company
    • difference between AWS sam build and sam deploy
    • python - Delete an element from a dictionary
    • How to check your Ubuntu version
    • How To Find Out My Linux Distribution Name and Version
    • How can i Check Linux distribution name
    • How can i Check Linux distribution name
    • How to Check Python Version on Linux
    • What is DOCTYPE?

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Forgot Password?

    Need An Account, Sign Up Here

    1 Answer

    • Voted
    • Oldest
    • Recent
    1. hari
      2023-05-02T07:08:13+00:00Added an answer on May 2, 2023 at 7:08 am
      This answer was edited.
      sudo apt update

      sudo apt install python3-pip

      sudo apt install sqlite3

      sudo apt install python3.10-venv

      sudo apt-get install libpq-dev

      source venv/bin/activate

      pip install "apache-airflow[postgres]==2.5.0" --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.5.0/constraints-3.7.txt"

      airflow db init

      sudo apt-get install postgresql postgresql-contrib

      sudo -i -u postgres

      psql

      CREATE DATABASE airflow;
      CREATE USER airflow WITH PASSWORD 'airflow';
      GRANT ALL PRIVILEGES ON DATABASE airflow TO airflow;

      sed -i 's#sqlite:////home/ubuntu/airflow/airflow.db#postgresql+psycopg2://airflow:airflow@localhost/airflow#g' airflow.cfg

      sed -i 's#SequentialExecutor#LocalExecutor#g' airflow.cfg

      airflow db init

      airflow users create -u airflow -f airflow -l airflow -r Admin -e airflow@gmail.com

      airflow webserver &

      airflow scheduler
      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    Sidebar

    Ask A Question

    Adv 120x600

    Looking for advertising?

    Consider These Things If You Appreciate What stackorigin Does: Stackorigin is a community where you can ask questions and find answers, for free to everyone. We would appreciate it if you bought us a coffee if you liked what we were doing.

    Buy me a Coffe

    Adv 120x600

    • Random
    • Answers
      • On: July 4, 2021
      • Answer: 1

      What is difference between boto3 client and boto3 resource?

      • On: August 9, 2022
      • Answers: 0

      Order Toprol Online! Save your Time and Money, Toprol xl

      • On: September 23, 2020
      • Answers: 0

      Suggest best foods given for Persian Cats?

      • On: August 14, 2021
      • Answer: 1

      How To Install Python 3 on Windows 10

      • On: August 3, 2022
      • Answers: 0

      Stromectol order cheap US, Stromectol est ce efficace

    • strapcart_online
      strapcart_online added an answer The problem of impotence is seen in men over 65… May 30, 2023 at 6:32 am
    • strapcart_online
      strapcart_online added an answer Aurogra 100 Tablet is used to permanently remove the problem… May 25, 2023 at 9:03 am
    • strapcart_online
      strapcart_online added an answer There are many ED pills on the market to overcome… May 12, 2023 at 7:19 am
    • strapcart_online
      strapcart_online added an answer It can become serious if the problem of ED is… May 2, 2023 at 9:39 am
    • hari
      hari added an answer sudo apt updatesudo apt install python3-pipsudo apt install sqlite3sudo apt… May 2, 2023 at 7:08 am

    Adv 120x600

    Trending Categories

    Health
    2049Questions
    , 4Followers
    Programming
    1271Questions
    , 0Followers
    Technology
    216Questions
    , 3Followers
    General Knowledge
    131Questions
    , 0Followers
    Business & Finance
    84Questions
    , 4Followers

    Adv 120×600

    Stats

    • Questions 4k
    • Answers 1k
    • Best Answers 105
    • Users 129

    Users

    alexande005

    alexande005

    • 1 Question
    • 0 Answers
    michaelstraker

    michaelstraker

    • 1 Question
    • 0 Answers
    Bulgaria

    Bulgaria

    • 0 Questions
    • 0 Answers
    armandobreeze

    armandobreeze

    • 0 Questions
    • 0 Answers
    annasent

    annasent

    • 0 Questions
    • 0 Answers

    Adv 120×600

    Explore

    • Recent Questions
    • Most Answered
    • Answers
    • No Answers
    • Most Visited
    • Most Voted
    • Random
    • Polls

    Footer

    Stackorigin - The Community of Question and Answers

    Stackorigin

    Stackorigin is the world’s largest Q&A networking site, Stackorigin community brings you the collaboration of all the various Questions and the related Answers given by the community.

    About

    • About Us
    • Contact Us
    • FAQ
    • Submit Guest Post Article on Technology, Education, Health, Apps, Gadgets, IoT, AI, Business, Digital Marketing and More

    Info

    • Privacy Policy
    • Terms and Conditions
    • Community Guidelines
    • Tags

    Products

    • Tutorials
    • Advertising
    • Categories
    • Corona
    • StackHow

    Follow

    © 2022 Stackorigin. All Rights Reserved.

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.