Personal technology Blog--linux Server configuration and Flask framework

Source: Internet
Author: User
Tags ssh port

This time the software engineering practice, I am responsible for our group backstage service construction, I chose the bandwagon server, installs the Debian Gnu/linux, the backend service is uses the Python flask frame.

Log on to the remote server locally

Logging on to the remote server locally is now mostly ssh.

Secure Shell (abbreviated as SSH), developed by the IETF Network Working Group, which provides a secure transport and usage environment for the shell (shell) on the computer by creating a security protocol based on the application layer and transport layer.

The SSH tools on Windows are PUTTY,SECURECRT and Xshell and so on, I chose Xshell. The general server provider will tell you the initial SSH port and root password, and you can log in to the server with SSH.

Open Xshell, click New in the upper left corner of the session.

In the host box, write the IP address of the server, port number to write the port number of SSH,

Click on user authentication, fill in the user name and password, user name to write root, password to write the initial root password (you can also create a user login).

Click OK, then connect, after success as.

Next, you can operate the server with various Linux commands.

Flask Frame

Flask is a lightweight Web application framework written using Python. Based on the Werkzeug Wsgi Toolbox and the Jinja2 template engine. Flask uses BSD licensing. Flask is called microframework because it requires only dozens of lines of code to write a Web application. Take "Hello World" as an example.

from flask import Flaskapp = Flask(__name__)@app.route('/')def hello_world():    return 'Hello World!'if __name__ == '__main__':    app.run()

Personal technology Blog--linux Server configuration and Flask framework

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.