ILD

使用elixir搭建本地web源码符号查询
2018-7-8
1 安装首先,克隆官方源码:$ git clone git@github.com:free-electrons/elixir.gitelixir依赖:Python >= 3.5The Jinja2 and Pygments Python librariesBerkeley DB (and its P

macOS disable swap file on vmware for linux
2018-9-8
在vmware for linux中安装macOS 10.13,发现运行的时候奇卡无比,由于虚拟机OS放在机械硬盘,写入速度才80M/S,怀疑是交换分区导致的卡顿。因此禁掉swap功能。Disable System Integrity Protection需要先关闭该功能。.vmx文件添加一行bio

解决vmware for linux运行虚拟机卡顿的问题
2018-9-16
已经把客户机的虚拟内存关掉了,但是还是会卡顿,原来是vmware也有swap内存。Edit -> Preferences -> Memory,在Additional Memory选项中,选择第一项Fit all virtual machine memory into reserved host RA

ubuntu下vmware安装macOs 10.13
2018-9-24
首先下载vmware for linux 14.1.3并安装。vmware默认不支持mac os,下载unlock并安装。下载macOs 10.13.6 dmg文件。安装dmg2img,然后将dmg转换成img12$ sudo apt install dmg2img$ dmg2img *.dmg *

apt强制使用ipv4协议
2018-11-8
使用apt install时,发现其使用IPv6,但是IPv6不通,使用下面的命令,在命令行指定IPv4sudo apt -o Acquire::ForceIPv4=true install u-boot-tools

ubuntu gnome 默认以root用户运行GUI程序
2018-11-18
安装了一个deb, 运行后发现需要root用户.找到/usr/share/applications/{appname}.desktop/home/{username}/.local/share/applications/{appname}.desktoproot用户是上面这个, 特定用户是下面这个.

linux挂载windows共享目录
2019-1-2
挂载命令mount -t cifs -o domain=CHINA,username=xxx,paasword=xxx //ip/ftp /data/yuanjianpeng/win10卸载命令umount /data/yuanjianpeng/win10

windows 10 连接 ubuntu 18.04 samba登录失败
2019-3-26
$ cat /etc/samba/smb.conf[global] workgroup = WORKGROUP security = user encrypt passwords = yes passdb backend = smbpasswd

ubuntu如何查看当前的ip,网关,DNS服务器信息
2019-8-2
使用如下命令:$ nmcli device show eno1GENERAL.DEVICE: eno1GENERAL.TYPE: ethernetGENERAL.HWADDR:

apparmor导致的文件读权限失败
2019-8-5
isc dhcpd的配置文件在/work/isc-dhcpv6.conf,一直提示没有权限。但是文件是由读权限的。先是怀疑selinux,但是执行setenforce 0,还是不行。后来发现是apparmor导致的问题。apparmor是控制可执行程序读写文件权限的,删除/etc/apparmor.

Copyright © linuxdev.cc 2017-2024. Some Rights Reserved.