가장 기본적인 설치 package 등을 정리한다.
https://itsfoss.com/swap-size/
필요시 swap 조정 https://askubuntu.com/questions/226520/how-can-i-modify-the-size-of-swap-with-lvm-partitions
sudo apt install software-properties-common vim net-tools dkms lvm2
sudo apt update
sudo apt install openssh-server
systemctl start ssh
systemctl enable ssh
Ubuntu 는 ufw 방화벽을 사용하므로..
sudo ufw enable
sudo ufw status
sudo ufw app list
sudo yum install -y vim
vs code 에서는 git 2.27 이상에서 문제가 없이 동작하므로 (windows) git, pyenv, poetry 등을 설치
sudo add-apt-repository ppa:git-core/ppa # apt update; apt install git
$ git --version
git version 2.28.0
https://devlog.jwgo.kr/2019/07/07/installing-pyenv-in-ubuntu/
reference: https://github.com/pyenv/pyenv
build 를 하기 위한 기본 package 설치
sudo apt-get update; sudo apt-get install --no-install-recommends make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
$ pyenv install 3.7.7
https://phoenixnap.com/kb/how-to-install-python-3-ubuntu
http://www.sromero.org/wiki/linux/aplicaciones/python/python34_centos6
/usr/local/src 에 build source 등을 관리하고, /usr/local/bin 에 설치되게 할 예정
# cd /usr/local/src
# wget https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tar.xz
# tar xf Python*
# rm Python*.tar.xz
# cd Python-3.8.5
# ./configure --enable-optimizations --prefix=/usr/local --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"
# make && make altinstall
## update-alternatives --install /usr/local/bin/python3 python3 /usr/local/bin/python3.8 38
https://webnautes.tistory.com/1071
# mkdir -p /usr/share/fonts/freefonts
cp *.ttf /usr/share/fonts/freefonts
# fc-cache -f -v
https://phoenixnap.com/kb/install-vmware-workstation-ubuntu
https://linuxaccra.org/blog/how-install-vmware-workstation-pro-14-linux
https://github.com/mkubecek/vmware-host-modules
https://websiteforstudents.com/install-the-latest-vmware-workstation-14-pro-on-ubuntu-18-04-lts-beta-server/
https://kb.vmware.com/s/article/2146460
https://ubuntu-mate.community/t/20-04-vmware-workstation-player-fails-to-build-kernel-modules-vmmon-vmnet/21176
VMWware Workstation swap 1GB ?
https://docs.vmware.com/en/VMware-Workstation-Pro/15.0/com.vmware.ws.using.doc/GUID-2D539D2A-B76A-431C-B3EB-2B46F79A5F2A.html
"Getting Python up and running on Ubuntu was such a challenge for me, especially with all the dependencies and build configurations needed. I kept running into issues during installations and spent way too much time troubleshooting compatibility problems. Thankfully, I found this detailed guide on install python ubuntu. It made the whole process so much smoother, and I finally managed to configure everything without a hitch. Highly recommend it if you're stuck like I was!"
Wow, this guide was exactly what I needed! I was banging my head against the wall trying to figure out why VS Code wasn't detecting Python, even though Python 3 was installed. The step about setting
python3
aspython
finally did the trick. Also, for anyone setting up a development environment, you might find this guide on installing Apache on Ubuntu helpful—it saved me a ton of time while configuring my server. Thanks again for this great write-up!