ICode9

精准搜索请尝试: 精确搜索
首页 > 系统相关> 文章详细

VMware 安装 FreeBSD 13

2022-05-17 19:33:26  阅读:488  来源: 互联网

标签:13 FreeBSD etc install pkg conf yes VMware


 

下载  FreeBSD-13.1-RELEASE-amd64-disc1.iso

VMware 安装好后配置:

软件源:

root@FreeBSD:~ #      ee /etc/pkg/FreeBSD.conf

改为中科大软件源:

FreeBSD: {
url: "pkg+http://mirrors.ustc.edu.cn/freebsd-pkg/${ABI}/quarterly",
}
如果要使用滚动更新的 latest 仓库,把 url 配置最后的 quarterly 换成 latest 即可。

pkg update
pkg upgrade

pkg install vim

配置开启 FreeBSD 的 SSH 链接:
1、使用 ee 编辑器编辑 /etc/inetd.conf,去掉 ssh 前的 #
2、编辑 /etc/rc.conf,添加一行sshd_enable="YES"
3、编辑 /etc/ssh/sshd_config,将
#PermitRootLogin no 改为 PermitRootLogin yes //允许root登陆
#PasswordAuthentication no 改为 PasswordAuthentication yes //使用系统PAM认证
#PermitEmptyPasswords no 改为 PermitEmptyPasswords no //不允许空密码

pkg install bash nano sudo

vim /usr/local/etc/sudoers 添加 username ALL=(ALL:ALL) ALL
pkg install xorg

vim /etc/fstab 添加 proc /proc procfs rw 0 0
pkg install plasma5-plasma kde-baseapps sddm

cat /etc/rc.conf
sysrc moused_enable=yes
sysrc dbus_enable=yes
sysrc hald_enable=yes
sysrc sddm_enable=yes
cat /etc/rc.conf

pkg install firefox konsole dolphin bash-completion

pkg install open-vm-tools

pkg install xf86-video-vmware xf86-input-vmmouse


Xorg -configure

cp xorg.conf.new /etc/X11/xorg.conf
vim /etc/X11/xorg.conf

大概第五行 添加 Option "AutoAddDevices" "Off" ,完成后:

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option          "AutoAddDevices" "Off"
EndSection

 大概 30 行:Driver  "mouse" 改为  Driver  "vmmouse"  改后:

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "vmmouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/sysmouse"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection
reboot

 重启后登录界面左下角 选择  Plasma ( X11 )

标签:13,FreeBSD,etc,install,pkg,conf,yes,VMware
来源: https://www.cnblogs.com/Huae/p/16282092.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有