Giter Site home page Giter Site logo

azure-manager's Introduction

Azure-manager

Manage your VM in Azure(multi users).

管理你在AZURE的机器 多用户

更新中版本会遇到一些BUG,欢迎提issues一起探讨,相对稳定版本见预发布版

https://github.com/testnobody/azure-manager/tree/V0.61

8.8日更新:

更新数据库存放位置为当前目录下的flask_app.db,修复windows下部署时数据库链接失败的问题。先前部署的linux用户如要更新可以将/tmp/flask_app.db复制到项目当前目录即可继续使用

8.7日更新:

新增订阅状态查询

8.4日更新:

新增b1ls机型选择,硬盘默认64GB【可以选择30-1024GB】; 更新创建VM时手动更改默认账号密码,创建后更为安全。

8.2日更新:

新增windows机器选择(2012-2019),硬盘默认64GB,建议选择2012/2016配置 修复了一个身份验证BUG,增加安全性,但是还是很简陋,尽量保护好自己的管理网址和登录管理信息哦。

Default VM infomation:

开出来的机器默认登录密码

windows/linux通用默认账号密码 USERNAME : defaultuser
PASSWORD : Thisisyour.password1

linux默认root密码 USERNAME : root
PASSWORD : rootpassword1

1.Install Python 3.9.4

安装python 3.9.4

2.Install Python Library

安装依赖包

pip install -r requirements.txt

3.Set your Secret Key

随便设置一个密钥(cookie相关,13行)

Set random string in app.py(line 13)

设置面板管理密码(app.py 7-8行;默认账号密码:admin admin123)

Set admin password in app.py(line 7-8)

4.RUN!! 运行

python app.py

Visit 127.0.0.1:5000 and enjoy yourself.

5.Or you can deploy in heroku!!

或者你可以忽略以上所有步骤,一键部署到heroku

A simple Python example application that's ready to run on Heroku.

Deploy

notice1.面板登录的身份验证有点简陋,担心安全性的在公网慎用哦

notice2. Azure key 获取方法

登录AZURE,在portal.azure.com右上角选择命令行bash 输入 az ad sp create-for-rbac --role contributor --name 【随机字符】

azure-manager's People

Contributors

1injex avatar buzsaw avatar caippx avatar moranno avatar testnobody avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.