run linux crm 1 . crm copy the code from the windows to the linux server 2 . virtualenvwrapper learning tool upgraded version 1 . Installation PIP3 install virtualenvwrapper 2 . Configuration personal environment variable configuration file, each landing will start virtualenvwrapper tool vim ~ / .bashrc 3 the write load variables, may be used so that each boot virtualenvwrapper Export WORKON_HOME = ~ / Envs that provided # virtualenv unified management directory Export VIRTUALENVWRAPPER_VIRTUALENV_ARGS = ' --no-Site-Packages ' # virtualenvwrapper add parameters to generate a clean environment isolated VIRTUALENVWRAPPER_PYTHON Export = / opt / python36 / bin / to python3 # specify the python interpreter source/ opt / python36 / bin / virtualenvwrapper.sh # virtualenvwrapper execute the installation script 4 Exit answer, log back in to see if the tool is installed 5 . virtualenvwrapper learning tool orders 1 . Create a new virtual environment mkvirtualenv MyCRM 2 . switching multiple virtual environments name workon virtual environment 3 . list all of the virtual environment directory lsvirtualenv 4 . enter the virtual environment of the currently active directory cdvirtualenv 3 . activate mycrm, crm start running the code learning workon MyCRM 4 . have to resolve crm items needed to run depend on the environment 1 resolved manually. PIP3 install Django == 1.11 . 14 PIP3 install pymysql PIP3 install Django -multiselectfield 2 . mysql database installation, support crm business mysql server is mysqld mysql client what? mysql -uroot-- the p- pymysql navicate PyCharm mysql driver install linux server mariadb yum install mariadb -server mariadb mysql - the y- # start mysql server systemctl Start mariadb # mysql check whether to start an investigation process. PS -ef | grep mariadb 2 . check port netstat -tunlp | grep 3306 5 . into the local database information in the database window to export information from the command mysqldumpDatabases the root -p --all--u> alldb.dump find db.dump transmitted to the Linux to 6 . to import data in the linux mysql mysql -uroot--p </ opt / Crm_Project / alldb.dump . 7 . start crm python3 manage.py the runserver 0.0 . 0.0 : 8888