Open hhstore opened 1 year ago
虚拟机
, 非常容易管理虚拟机文件目录.
brew install orbstack
1C + 4GB
.
# mac 终端内: 只能打开默认的一个.
orb
创建虚拟机 Ubuntu 20.04.6 LTS
.
进入虚拟机: 虚拟机列表, 右键, 选择进入终端
.
$ uname -a
Linux ubuntu20 6.4.13-orbstack-00090-ga4cfdc88d4df #1 SMP Thu Aug 31 05:51:21 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
$ whoami
geek # 默认同 Mac宿主机 用户名
$ python -V
Python 3.8.10
# 进入虚拟机环境:
orb
# 必装
sudo apt-get update \
&& sudo apt-get install -y \
git \
zsh \
software-properties-common \
build-essential \
curl \
vim \
python3 python3-pip
# 补充:
sudo ln -s /usr/bin/python3 /usr/bin/python
sudo apt-get install -y clang-14 lld-14
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
passwd root
# 输入密码
# 用户切换: (非必要)
su - root
# 再次安装一下 oh-my-zsh
Ubuntu 20.04.6 LTS
来安装 mojo.
# 进入虚拟机环境:
orb
# OS 环境:
➜ uname -a
Linux debian12 6.4.13-orbstack-00090-ga4cfdc88d4df #1 SMP Thu Aug 31 05:51:21 UTC 2023 x86_64 GNU/Linux
➜ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
1
1
1
1
📖 Abstract:
Docker/VirtualBox
替代品.💯 Related: