Anaconda has the impression that demand is increasing due to data analysis, but this time This section describes the procedure for building CentOS7 and installing Anaconda.
Installation language setting
keyboard
ntp
Supported languages
Security policy
Installation software settings
disk
Turn off KDUMP
Network settings 3. Start the installation and change the root password during the installation 4. Reboot and the command screen will appear. Log in as root. 5. Stop firewall
systemctl stop firewalld
systemctl disable firewalld
6. Stop SELINUX
setenforce 0
/etc/sysconfig/selinux
//SELINUX=enforcing
SELINUX=disabled
git clone https://github.com/yyuu/pyenv.git ~/.pyenv
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(pyenv init -)"' >> ~/.bashrc
source ~/.bashrc
#Anaconda version check
pyenv install -l | grep anaconda
#Latest version installation
pyenv install anaconda3-4.0.0
pyenv rehash
#Set anaconda as python default
pyenv global anaconda3-4.0.0
echo 'export PATH="$PYENV_ROOT/versions/anaconda3-4.0.0/bin/:$PATH"' >> ~/.bashrc
source ~/.bashrc
conda update conda
Recommended Posts