当前位置:网站首页>Alibaba cloud notes for the first time
Alibaba cloud notes for the first time
2022-07-03 09:23:00 【zeng31403】
The cause of the outbreak , Determined to recharge at home .
Today, I just started to try Alibaba cloud , Buy 89 Yuan minimum configuration package ._
centOS8.0 V64 CPU2.0G beginner
Next , Take a look at the online Daniel tutorial , To configure .
One . The process of logging in to the remote server
- Enter instance :
Change the password first - Remote connection again
- SSHD Login failed , Not allowed by default root Sign in , You need to change the configuration file .
- Remote desktop login is not good ,
- Try adding the white list of security groups as required
- After restarting the instance , use SSHD You can log in . Get into linux Interface .
Two . Next install python
First loading gcc The smooth
yum -y install gcc
Next download python decompression compile Create a soft connectionLegend has it that linux The lower version is slightly stable , choice 3.7.6 Well
wget https://www.python.org/ftp/python/3.7.6/Python-3.7.6.tgz
Download speed 2-3k It's too slow ,change to the use of sth. FTP Transfer the installation package ,10 Seconds pass
decompression python3.7.6 To local/install, You need to create a directory in advance The smooth
tar zxvf Python-3.7.6.tgzinstall python rely on On the Internet The smooth
yum install libffi-devel -y
yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel gcc libffi-devel gcc make automake autoconf libtool libffi-devel
- Get into python Extract directory
cd Python-3.7.6
- Set up python Install the directory and install
CD Go to the decompression Directory then
./configure --prefix=/local/python3
Then enter the installation instructions
make && make install
- Python Installation successful
It is similar to a burst of frantic shaking of various character codes in the matrix
There is a mistake zlib Not loaded , But it doesn't affect , We'll deal with it later .
zipimport.ZipImportError: can’t decompress data; zlib not available
make: *** [Makefile:1141: install] Error 1
I didn't do soft connection , however python The command is still successful , It could be an example .
The following is the soft connect command , The directories are changed according to the settings , I didn't do .
/*********************************************************
Soft connect command ln -s /usr/local/python3/bin/python3 usr/bin/python3
ln -s /usr/local/python3/bin/pip3 /usr/bin/pip3
Test after verification
python3 -V
pip3 -V
/*********************************************************
Enter... On the command line python3, success !
边栏推荐
- What are the stages of traditional enterprise digital transformation?
- Severity code description the project file line prohibits the display of status error c2440 "initialization": unable to convert from "const char [31]" to "char *"
- [kotlin learning] control flow of higher-order functions -- lambda return statements and anonymous functions
- State compression DP acwing 291 Mondrian's dream
- Django operates Excel files through openpyxl to import data into the database in batches.
- [kotlin learning] classes, objects and interfaces - define class inheritance structure
- Explanation of the answers to the three questions
- Low code momentum, this information management system development artifact, you deserve it!
- Numerical analysis notes (I): equation root
- Install database -linux-5.7
猜你喜欢
2022-2-14 learning xiangniuke project - Session Management
LeetCode 75. Color classification
[point cloud processing paper crazy reading classic version 13] - adaptive graph revolutionary neural networks
【Kotlin学习】类、对象和接口——定义类继承结构
Navicat, MySQL export Er graph, er graph
【毕业季|进击的技术er】又到一年毕业季,一毕业就转行,从动物科学到程序员,10年程序员有话说
Digital management medium + low code, jnpf opens a new engine for enterprise digital transformation
Beego learning - Tencent cloud upload pictures
State compression DP acwing 91 Shortest Hamilton path
LeetCode 508. The most frequent subtree elements and
随机推荐
npm install安装依赖包报错解决方法
Crawler career from scratch (V): detailed explanation of re regular expression
Derivation of Fourier transform
[point cloud processing paper crazy reading classic version 13] - adaptive graph revolutionary neural networks
With low code prospect, jnpf is flexible and easy to use, and uses intelligence to define a new office mode
State compression DP acwing 291 Mondrian's dream
Win10 quick screenshot
State compression DP acwing 91 Shortest Hamilton path
Logstash+jdbc data synchronization +head display problems
Use the interface colmap interface of openmvs to generate the pose file required by openmvs mvs
【Kotlin学习】类、对象和接口——定义类继承结构
【Kotlin学习】类、对象和接口——带非默认构造方法或属性的类、数据类和类委托、object关键字
【点云处理之论文狂读经典版7】—— Dynamic Edge-Conditioned Filters in Convolutional Neural Networks on Graphs
Word segmentation in full-text indexing
Severity code description the project file line prohibits the display of status error c2440 "initialization": unable to convert from "const char [31]" to "char *"
LeetCode 515. Find the maximum value in each tree row
Liteide is easy to use
The idea of compiling VBA Encyclopedia
What are the stages of traditional enterprise digital transformation?
PowerDesigner does not display table fields, only displays table names and references, which can be modified synchronously