Parallels Desktop安装openEuler及初始化配置

缘由

Docker desktop for mac目前做的太差,除了性能低下,还有一些无法解决的问题,比如网络绑定,而这些在原生Linux里面都不存在。所以还是使用Linux来运行docker容器体验最好。

安装openEuler

下载 openEuler 22.03 LTS。

openEuler-22.03-LTS-x86_64-dvd.iso

选择 最小安装 。 注意勾上 容器 和 开发工具 。

更新openEuler

1
sudo dnf update

SSH链接openEuler

先安装net-tools查看ip

1
sudo dnf install net-tools

查看ip,然后使用ZenTermLite链接即可

1
ifconfig

安装chsh

1
sudo dnf install util-linux-user

安装zsh

1
sudo dnf install zsh

安装oh-my-zsh

1
2
3
4
5
6
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

安装vim

1
sudo dnf install vim

配置SSH

完整的配置 ~/.ssh/config

1
2
3
4
# open-euler
Host pl-open-euler
HostName 192.168.3.63
User terwer

Parallels Desktop安装openEuler及初始化配置

https://hexo.terwer.space/pages/17e1f5/

作者

Terwer

发布于

2022-06-11

更新于

2022-06-11

许可协议

评论