0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Vagrant Centos7インストール

Posted at

ディレクトリ作成

$ mkdir centos7
$ cd centos7
$ vagrant init

Vagrant file 編集

vagrantfileのプロパティを開きセキュリティタブのusersを編集してフルコントロールに変更してから下記記述

 ...
Vagrant.configure("2") do |config|
 ...
  config.vm.box = "centos/7"
 config.vm.network "private_network", ip: "192.168.33.10"
  ...
$ vagrant up
$ vagrant ssh

vimインストール

$ sudo yum -y install vim-enhanced

python3.5インストール

sudo yum -y install wget

sudo wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tgz

sudo tar zxvf Python-3.6.3.tgz

cd Python-3.6.3

sudo ./configure --prefix=/usr/local/python363 --with-ensurepip

sudo make test

sudo make

sudo make install

ls /usr/local/python363/
bin  include  lib  share
ls /usr/local/python363/bin
2to3  2to3-3.6  easy_install-3.6  idle3  idle3.6  pip3  pip3.6  pydoc3  pydoc3.6  python3  python3.6  python3.6-config  python3.6m  python3.6m-config  python3-config  pyvenv  pyvenv-3.6


/usr/local/python363/bin/python3 -V
Python 3.6.3

sudo rm -r Python-3.6.3.tgz
sudo rm -r Python-3.6.3
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?