Parallels Desktop安装openEuler及初始化配置
# 缘由
Docker desktop for mac目前做的太差,除了性能低下,还有一些无法解决的问题,比如网络绑定,而这些在原生Linux里面都不存在。所以还是使用Linux来运行docker容器体验最好。
# 安装openEuler
下载 openEuler 22.03 LTS。
openEuler-22.03-LTS-x86_64-dvd.iso
选择 最小安装 。 注意勾上 容器 和 开发工具 。
# 更新openEuler
sudo dnf update
1
# SSH链接openEuler
先安装net-tools查看ip
sudo dnf install net-tools
1
查看ip,然后使用ZenTermLite链接即可
ifconfig
1
# 安装chsh
sudo dnf install util-linux-user
1
# 安装zsh
sudo dnf install zsh
1
# 安装oh-my-zsh
git clone https://gitee.com/mirrors/oh-my-zsh.git ~/.oh-my-zsh \
&& cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc \
&& git clone https://gitee.com/playerfs/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions \
&& git clone https://gitee.com/playerfs/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting \
&& sed -i 's/^plugins=(/plugins=(zsh-autosuggestions zsh-syntax-highlighting /' ~/.zshrc \
&& chsh -s /bin/zsh
1
2
3
4
5
6
2
3
4
5
6
# 安装vim
sudo dnf install vim
1
# 配置SSH
完整的配置 ~/.ssh/config
# open-euler
Host pl-open-euler
HostName 192.168.3.63
User terwer
1
2
3
4
2
3
4
编辑 (opens new window)
上次更新: 2023/09/19, 13:33:19