当前位置:网站首页>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 !
边栏推荐
- The less successful implementation and lessons of RESNET
- Uc/os self-study from 0
- 【点云处理之论文狂读前沿版12】—— Adaptive Graph Convolution for Point Cloud Analysis
- Crawler career from scratch (I): crawl the photos of my little sister ① (the website has been disabled)
- Internet Protocol learning record
- 【点云处理之论文狂读经典版10】—— PointCNN: Convolution On X-Transformed Points
- Logstash+jdbc data synchronization +head display problems
- 【点云处理之论文狂读前沿版13】—— GAPNet: Graph Attention based Point Neural Network for Exploiting Local Feature
- Redis learning (I)
- Save the drama shortage, programmers' favorite high-score American drama TOP10
猜你喜欢
LeetCode 30. Concatenate substrings of all words
Computing level network notes
LeetCode 515. Find the maximum value in each tree row
IDEA 中使用 Hudi
Sword finger offer II 029 Sorted circular linked list
[point cloud processing paper crazy reading classic version 13] - adaptive graph revolutionary neural networks
2022-2-13 learning xiangniuke project - version control
Crawler career from scratch (IV): climb the bullet curtain of station B through API
【点云处理之论文狂读前沿版11】—— Unsupervised Point Cloud Pre-training via Occlusion Completion
Using Hudi in idea
随机推荐
AcWing 785. Quick sort (template)
WARNING: You are using pip ; however. Later, upgrade PIP failed, modulenotfounderror: no module named 'pip‘
In the digital transformation, what problems will occur in enterprise equipment management? Jnpf may be the "optimal solution"
[untitled] use of cmake
Spark 概述
Explanation of the answers to the three questions
Hudi integrated spark data analysis example (including code flow and test results)
Sword finger offer II 029 Sorted circular linked list
[set theory] order relation (chain | anti chain | chain and anti chain example | chain and anti chain theorem | chain and anti chain inference | good order relation)
【Kotlin学习】运算符重载及其他约定——重载算术运算符、比较运算符、集合与区间的约定
On February 14, 2022, learn the imitation Niuke project - develop the registration function
LeetCode 438. Find all letter ectopic words in the string
Common formulas of probability theory
LeetCode 1089. Duplicate zero
LeetCode 57. Insert interval
With low code prospect, jnpf is flexible and easy to use, and uses intelligence to define a new office mode
【点云处理之论文狂读经典版14】—— Dynamic Graph CNN for Learning on Point Clouds
[kotlin learning] operator overloading and other conventions -- overloading the conventions of arithmetic operators, comparison operators, sets and intervals
Idea uses the MVN command to package and report an error, which is not available
Severity code description the project file line prohibits the display of status error c2440 "initialization": unable to convert from "const char [31]" to "char *"