虚拟环境之virtualenvwrapper
Posted xuqidong
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了虚拟环境之virtualenvwrapper相关的知识,希望对你有一定的参考价值。
467 mv BBS.zip /opt 468 ls 469 cd /opt 470 ls 471 unzip BBS.zip 472 ls 473 cd BBS/ 474 ls 475 pip3 install virtalenvwrapper 476 pip3 install virtualenvwrapper 477 pip3 list 478 which virtualenvwrapper 479 which Django 480 cd /opt/python36 481 ls 482 cd lib 483 ls 484 cd /opt 485 clear 486 vim ~/.bashrc 487 find / -name virtualenvwrapper.sh 488 vim ~/.bashrc 489 logout 490 mkvirtualenv mycrm 491 deactivate 492 mkvirtual myluffy 493 mkvirtualenv myluffy 494 workon mycrm 495 workon myluffy 496 clear 497 lsvirtualenv 498 cdvirtualenv 499 pwd 500 cd .. 501 ls 502 cd /opt 503 cdvirtualenv 504 cd .. 505 ls 506 mv mycrm mybbs 507 ls 508 cd.. 509 workon mybbs 510 ls 511 mv mybbs mycrm 512 ls 513 cd .. 514 cdvirtualenv 515 cd .. 516 ls 517 cd .. 518 cdvirtaulenv 519 cdvirtualenv 520 clear 521 cd /opt 522 ls 523 cd BBS 524 ls 525 python3 manage.py runserver 526 pip3 install django==1.11.9 527 python3 manage.py runserver 528 pip3 install pymysql 529 python3 manage.py runserver 530 clear 531 yum install mysql-server mysql -y 532 mysql -uroot -p 533 systemctl start mysql 534 clear 535 yum install mariadb-server 536 systemctl start mariadb 537 clear 538 ps -ef | grep mysql 539 ps -ef | grep mariadb 540 netstat -tunlp | grep 3306 541 mysql -uroot -p 542 python3 manage.py runserver 543 rz -E 544 ls 545 clear 546 ls 547 pwd 548 mysql -uroot -p < /opt/BBS/alldb.dump 549 mysql -uroot -p 550 python3 manage.py runserver 0.0.0.0:8000 551 yum install pillow -y 552 yum install Pillow -y 553 pip3 install pillow -y 554 pip3 install pillow 555 python3 manage.py runserver 0.0.0.0:8000 556 python3 manage.py runserver 0.0.0.0:8002 557 vim BBS/settings.py 558 python3 manage.py runserver 0.0.0.0:8002
windows mysql数据库导出命令
mysqldump -uroot -p --all-databases > alldb.dump
以上是关于虚拟环境之virtualenvwrapper的主要内容,如果未能解决你的问题,请参考以下文章
python虚拟环境管理之virtualenv,virtualenvwrapper,pipenv,conda
Python开发之virtualenv和virtualenvwrapper详解