Comparisonof time-send you a set of Python servers out of the box

Source: Internet
Author: User
Tags mysql login virtual environment

A computer for many years of the program Ape, bring you a few programming routines and a few smart tools, hope for your way of programming, add blood back to blue, together to chop thorns, common growth. Collectively: comparisonof time, 8th brother.

Objective

These two years, began to lead the small partners to learn python, often encountered a variety of operating environment problems:

    • I can't run this command.
    • How can this not be installed?
    • This is how to run an error
    • PIP cannot be installed
    • The virtual machine does not use
    • VBox compatible
    • Server is God horse?

For these situations:

I would like to say:

You will be relieved to write code, installation environment This messy problem let me!
Waste your attention on good things! Write a few more bugs for the benefit of society!

(For Mac Novice, look directly at this https://github.com/sb2nov/mac-setup/, the back of the text does not have to look.) Learn to use a good Mac. )

So, I have prepared a set of out-of-the-box Python development-related operating environment, a bit large (compressed before 9g+, compressed 2g+) of the virtual machine image file. It's a little big, but it contains a variety of environments related to Python development, learning to be a handicap for your python!

Not much to say, address in this:

    • Link:? https://pan.baidu.com/s/1i5HtBFn? Password: kw4f
    • Alternate: Link: https://pan.baidu.com/s/1c291xoW Password: v7eh

Files that use this directory:

First download, the time is quite long, the download process, you can continue to look back, download good follow the operation of a good.

Oh, yes, if you're too lazy to read the text, it's okay, I've also recorded a little video,
Address in this:

    • Comparisonof Time-sublimepython Server usage instructions
Instructions for use

(Please make sure you do not install other VMs, such as VMware, or VirtualBox, if any, please uninstall first, restart the computer and then follow the steps)

If your computer is the first time you install a virtual machine, you may experience BIOS setup issues. This is very well handled.

    • Find your computer model Boot BIOS mode
    • Go in and find configration, there will be a virtual start setting, point F5 change, and then F10 Save exit
    • It's good to restart the computer. See the following diagram to change the project.

    • Download file, unzip
    • Install VMware Player, this is the official free version, please rest assured that this version of the mirror environment is created for me to use.
    • Open VMware Player, and then open the file, select the file you just unzipped
    • Turn on for a while
    • Log in with the account password mentioned in login below
    • Run ifconfig|grep net view ip,192, or the one that starts with 10
    • Use the Xshell and other terminal tools to connect the IP found above
    • Get! Let's start playing!
Login's account password
    • Root
    • Sublime123

Do not remove the folder Anaconda3, are all Python!!!
This sentence tells you not to delete the Anaconda3 I put in my home directory, nor move the location, this is a unified Python repository

MySQL Login

mysql:root/123456

Default running on Start

Boot these by default:

    • MySQL (mariadb)
    • Redis
    • Docker (This is useful when you talk about Python microservices later)
    • Rabbitmq-server
The Python environment is installed

It is recommended that you use Python's virtual environment for development.
I don't know what to say.
Look here: "If you're not using the Python virtual environment"

I have prepared an environment called py3 in advance, starting with the following methods:
In any directory run the following sentence, is the use of the PY3 environment, all the operations behind you to use the Python components, all belong to this PY3 standalone environment.

coa py3

The modules that have been installed are as follows:

master.c7?root????py3?~?pip freezeclick==6.7Django==1.11.4Flask==0.12.2gevent==1.2.2greenlet==0.4.12itsdangerous==0.24Jinja2==2.9.6MarkupSafe==1.0pika==0.11.0PyMySQL==0.7.11pytz==2017.2SQLAlchemy==1.1.13tornado==4.5.2Werkzeug==0.12.2master.c7?root????py3?~?cl# conda environments:#py2                      /root/anaconda3/envs/py2py3                   *  /root/anaconda3/envs/py3root                     /root/anaconda3
Demo: Install Paramiko with PIP
# 启动py3的虚拟环境coa py3pip install paramiko# 等啊等,等啊等,如果比较慢或者报网络错误,# 多半是因为你的网络问题,请用下面的命令添加豆瓣源pip install paramiko -i https://pypi.douban.com/simple# 好像就ok了,后面没啥可写的了

8th Brother, reproduced please indicate the source

Comparisonof time-send you a set of Python servers out of the box

Related Article

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.