# OpenBSD在VirtualBox和安装xfce URL: https://chengjinfang.com/posts/2018/install-openbsd/ Author: 程锦方 Date: 2018-05-26 Tags: #linux #note #install Summary: 在 VirtualBox 中安装 OpenBSD,配置软件源和 Xfce 桌面。 ------------------------------------------------------------------------ ### 新建系统设置VirtualBox ![](https://chengjinfang.com/posts/2018/images/linux/b1.png) ### 按提示安装后设置源安装xfce ```sh export PKG_PATH=https://cloudflare.cdn.openbsd.org/pub/OpenBSD/6.3/packages/amd64/ pkg_add nano nano .profile ``` ![](https://chengjinfang.com/posts/2018/images/linux/b2.png) ```sh pkg_add xfce slim slim-themes nano .xinitrc ``` ![](https://chengjinfang.com/posts/2018/images/linux/b3.png) ```sh cp .xinitrc /home/user/ usermmod -G wheel user nona /etc/rc.conf.local ``` ![](https://chengjinfang.com/posts/2018/images/linux/b4.png) ```sh nano /etc/rc.local ``` ![](https://chengjinfang.com/posts/2018/images/linux/b5.png) 发现这篇笔记在搜索引擎的前列但我写的不详细可能很多人看不懂找了YouTube上的一个视频放在下面 [在 YouTube 观看视频](https://www.youtube.com/watch?v=eOxtjGQVAFk) ------------------------------------------------------------------------ Site: https://chengjinfang.com/ · All Index: https://chengjinfang.com/all/ · RSS: https://chengjinfang.com/rss.xml