Linux
sunflowerfsw
这个作者很懒,什么都没留下…
展开
-
ocs-live-general finished with error
再生龙ocs-live-general finished with error错误解决原创 2023-02-13 18:34:45 · 3894 阅读 · 0 评论 -
CentOS 8 KVM网络配置
KVM虚拟机网络配置的两种方式:NAT方式和Bridge方式。NAT方式:安装虚拟机时选择NAT2.在主机设置IP转发vim /etc/sysctl.conf添加: net.ipv4.ip_forward=1 然后执行sysctl –p3. 删掉KVM的虚拟网络配置4. 重新创建虚拟网络,即可访问外网,但其他主机IP无法访问此虚拟机。Bridge方式:1. 主机新建网桥,名字为br0nmcli connection add type bri...原创 2021-11-25 14:32:13 · 1660 阅读 · 0 评论 -
linux下安装pycharm失败
./pycharm.shStartFailed:Failedtoinitializegraphicsenvironment只要切换回普通账号,再重新执行./pycharm.sh 就好了。原创 2021-03-19 19:46:42 · 1320 阅读 · 0 评论 -
ioctl(fd, HDIO_DRIVE_CMD, args)
HDIO_DRIVE_CMD execute a special drive command Note: If you don't have a copy of the ANSI ATA specification handy, you should probably ignore this ioctl. usage: u8 args[4+XFER_SIZE]; ..原创 2016-10-10 14:35:55 · 2395 阅读 · 0 评论