Parallels Desktop安装openEuler及初始化配置
...小于 1 分钟
缘由
Docker desktop for mac目前做的太差,除了性能低下,还有一些无法解决的问题,比如网络绑定,而这些在原生Linux里面都不存在。所以还是使用Linux来运行docker容器体验最好。
安装openEuler
下载 openEuler 22.03 LTS。
openEuler-22.03-LTS-x86_64-dvd.iso
选择 最小安装 。 注意勾上 容器 和 开发工具 。
更新openEuler
sudo dnf update
SSH链接openEuler
先安装net-tools查看ip
sudo dnf install net-tools
查看ip,然后使用ZenTermLite链接即可
ifconfig
安装chsh
sudo dnf install util-linux-user
安装zsh
sudo dnf install zsh
安装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
安装vim
sudo dnf install vim
配置SSH
完整的配置 ~/.ssh/config
# open-euler
Host pl-open-euler
HostName 192.168.3.63
User terwer
Powered by Waline v2.14.9