Skip to content

windows 開発環境#

WSL#

Memo

  • explore で wsl のディレクトリを開くには \\wsl$でアクセス
  • sudo /etc/init.d/xrdp start で起動後にRDPでlocalhost:3390に接続

Docker#

centos7 + Python#

docker run -it --name="centos7" centos:centos7 /bin/bash

yum -y update
yum groupinstall -y "development tools"
yum install -y python-devel bzip2-devel gdbm-devel libffi-devel libuuid-devel ncurses-devel openssl-devel wget readline-devel sqlite-devel xz-devel zlib-devel tk-dev
curl -O https://www.python.org/ftp/python/3.9.13/Python-3.9.13.tgz
tar -zxvf Python-3.9.13.tgz
cd Python-3.9.13
./configure --prefix=/usr/local
make
make altinstall
python3.9 --version
pip install --upgrade pip setuptools
/usr/local/bin/pip3.9 install --upgrade pip

yum -y remove git
yum -y install https://repo.ius.io/ius-release-el7.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install libsecret pcre2
yum -y install git --enablerepo=ius --disablerepo=base,epel,extras,updates