Anaconda environment construction on CentOS7

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.

Premise

procedure

CentOS server construction

  1. Download the iso image from the CentOS official page
  2. Start with the OS image and proceed with the wizard.

Installation language setting 44e325d5-f8f0-c192-6eed-eb38d9576095.png

keyboard c9d6ba66-3b78-c953-2b98-7abf6df23bab.png

ntp 5bdeb930-ea90-b02a-24f2-95d90ee9961d.png

Supported languages 4b09d7ff-0ff4-6fcf-45b6-93db8b201478.png

Security policy 5316d344-eb24-feac-565f-19c4ef069ce1.png

Installation software settings 90c36c24-f5ea-3ce3-3a21-cf84b3678e73.png

disk 02cbc34f-d6b3-aec1-6e14-9014e375d54e.png

Turn off KDUMP 74eed727-79b3-d0f4-0a13-626a71277bbb.png

Network settings aaf230d3-c392-c6c6-21ab-70ec8a189b6f.png 94542d0e-2418-a30c-5857-7ca90f707820.png c47d7f71-3e07-6c72-b08f-df4f38e6a79a.png 14529eca-d3ea-1eef-da0d-5f1f243bd692.png f913e159-9d74-98c4-da3a-d4ca96c65805.png   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

Install pyenv

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

Install anaconda

#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

Anaconda environment construction on CentOS7
Anaconda python environment construction on Windows 10
Anaconda environment construction on Mac (2018 version)
Anaconda environment construction memo
[0] TensorFlow-GPU environment construction built with Anaconda on Ubuntu
Python + Anaconda + Pycharm environment construction
About Linux environment construction (CentOS)
Anaconda3 python environment construction procedure
Anaconda3 × Pycharm environment construction memo
[Tensorflow] Tensorflow environment construction on Windows 10
Linux environment construction (on WSL environment)
[Environment construction] @anaconda that runs keras / tensorflow on GPU
Python environment construction memo on Windows 10
Python environment construction memo on Mac
Python environment construction (pyenv, anaconda, tensorflow)
Python development environment construction on macOS
Set up Python environment on CentOS
Create a python environment on centos
[Linux] Docker environment construction on Redhat
Environment construction of python3.8 on mac
Python3 environment construction with pyenv-virtualenv (CentOS 7.3)
Using Chainer with CentOS7 [Environment construction]
Build a python3 environment on CentOS7
Environment construction of "Tello_Video" on Ubuntu
Python3.6 environment construction (using Win environment Anaconda)
OpenCV3 & Python3 environment construction on Ubuntu
Python environment construction on Mac (pyenv, virtualenv, anaconda, ipython notebook)
Django environment construction
Python (anaconda) development environment construction procedure (SpringToolsSuites) _2020.4
DeepIE3D environment construction
Emacs-based environment construction
Python environment construction
Vue.js + Flask environment construction memorandum ~ with Anaconda3 ~
Linux (CentOS) construction
Environment construction of monitoring server Zabbix 4.4 on CentOS7 (Apache2.4 / PHP5.4 / MariaDB5.5)
Environment construction (python)
django environment construction
Theano on Anaconda
CodeIgniter environment construction
Build Python environment with Anaconda on Mac
python environment construction
Python --Environment construction
Build WordPress on CentOS 8 in LAMP environment
GeoDjango + SQLite environment construction on OS X
Python environment construction
Environment construction of TensorFlow + JupyterNotebook + Matplotlib on Windows version Anaconda (August 2017 version)
Golang environment construction
python environment construction
Word2vec environment construction
[Note] Python environment construction on rental server "CORESERVER"
Put Python's numerical calculation environment Anaconda on mac (2)
Put Python's numerical calculation environment Anaconda on mac
MacOS 10.11 environment construction: Powerline with Anaconda and Dein.vim
Build Python3.5 + matplotlib environment on Ubuntu 12 using Anaconda
Python environment construction (Anaconda + VSCode) @ Windows10 [January 2020 version]
Build a python environment with ansible on centos6
[Node-RED] Execute Python on Anaconda virtual environment from Node-RED [Anaconda] [Python]
Python 3.x environment construction by Pyenv (CentOS, Ubuntu)
From Python environment construction to virtual environment construction with anaconda
Install Faiss on CentOS 7
Environment construction: GCP + Docker