The environment where we run the code now is on
PyCharm ,
and VScode or Jupyter
that we will come into contact with in the future
, whether it is debugging or running, it is more or less a graphical interface. But in fact, when the code is deployed to the server, we are more faced with black window programming, there is no smart prompt, no error prompt, and no one-click operation. We can of course edit the code completely and put it on the server. But the most basic operations on the server should still be mastered. Here we only target Windows users, because Windows terminal commands are quite different from Linux . If you are using a Mac ( the further packaging operating system of the Unix system), you can directly ignore this virtual environment installation.
install virtual machine
The virtual machine is
VMware
, just because it is more popular, if you can find free virtual machine software, it is
OK.
Open
the installation package of
the VM
This is the installation location of the software. Be sure to choose it. Try not to install it under the C drive, because it is too large and takes up space. The install location can be determined by recreating the folder
vm activation code:
VM激活码
ZF3R0-FHED2-M80TY-8QYGC-NPKYF
YF390-0HF8P-M81RQ-2DXQE-M2UT6
ZF71R-DMX85-08DQY-8YMNC-PPHV8
easy installation
——————————————
Need to use the uploaded file: https://pan.baidu.com/s/1LvN52lohZce0fghOGgPbTg Extraction code: 0hlu
After using the simple installation, MySQL
,
Redis
,
Anaconda
,
Jupyter
, and
ETL task scheduling software
in the virtual environment
have already been installed, so there is no need to repeat the installation.
On the home page of
the VM
, click to
open the virtual machine
. In the downloaded courseware package, find and open
the centOS-linux
folder
(
the folder name may be different)
, and select
CentOS 7 64
-
bit.vmx
click to open
In
the edit virtual machine settings
, select
CD/DVD on the left
, then select Use
ISO
image file,
browse
to find in the downloaded file
CentOS-7-x86_64-DVD-2009.iso
file and select it. Then make sure that the corresponding environment of the virtual machine is fully installed.
The login password is
:
yixuejiaoyu
If the above prompt appears during the installation, it means that the configuration of the computer itself is disabled. Because the models of different computers are different, it is impossible to achieve unified deployment. You need to find the relevant BIOS settings on the Internet
and modify them.
Go to Baidu to search for related information about your computer
Self-installation
Unless it is a special case, operate according to the step area of the simple installation,
do choose the self-installation. Because it is easy to have installation problems, if it is Xiaobai, it is recommended to install it easily, and I also installed it easily
Click to enter
VMware
Pay attention to select the recommended option and go to the next step.
Choose to install the operating system later, select Linux for the system, and CentOS 7 64 -bit for the version
Determine the installation location of the virtual machine. I installed it under the same software file.
same as easy install
Select New
CD/DVD on the left
, then look on the right, choose to use
the ISO
image file, and
find it in the downloaded file by
browsing
CentOS-7-x86_64-DVD-2009.iso
file and select it. Then close and click Finish to continue with the installation.
Directly select the first carriage return to enter the long waiting for installation. After the installation is successful, you will enter the formal installation option and choose Chinese.
After the installation is successful, you will enter the formal installation option, select Chinese
Click on where to install and go straight to finish. Be sure to see that the exclamation mark above disappears.
Select software selection
: the minimum installation is the most basic black window display, you can also choose the desktop installation below, there will be an extra one similar to
The Windows
interface (the black window is the most commonly used by programmers when facing the terminal in the future, and
GNOME
is a graphical interface, which is convenient for later
operate).
Here, the GNOME graphical interface
is uniformly selected
.
Once selected, click Finish to begin the installation. Got into the really long wait.
Set a password , the default account name is root .
Choose the first one.
1.
Click Allow to accept the license
2.
Click to open the network
connection
Finally enter the password