上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 77 下一页
摘要: 1. 关注unreg_slave接口 1.1 这个接口在哪里被调用呢? 在drivers/i2c/i2c-core-slave.c中 int i2c_slave_unregister(struct i2c_client *client) { int ret; 1.2 那么i2c_slave_unre 阅读全文
posted @ 2019-10-24 12:20 Jello 阅读(2108) 评论(0) 推荐(0)
摘要: 1. 查看git的配置 git config --global --list| grep -i proxy 如果有内容输出,那么unset配置项,如: git config --global --unset http.proxy 2. 查看环境变量 env | grep -i proxy 如果有内容 阅读全文
posted @ 2019-10-23 23:37 Jello 阅读(2833) 评论(0) 推荐(0)
摘要: 1. 安装nfs服务端 $ sudo apt install nfs-kernel-server -y 2. 创建目录 $ sudo mkdir -p /mnt/sharefolder 3. 使任何客户端均可访问 $ sudo chown nobody:nogroup /mnt/sharedfold 阅读全文
posted @ 2019-10-21 21:19 Jello 阅读(6239) 评论(0) 推荐(0)
摘要: 1. 在hyper-v的设置中使能增强功能 2. 运行在hyper-v中的虚拟机(笔者使用ubuntu版本为bionic)中安装xrdp 2.1 获取安装脚本 $ git clone https://github.com/jterry75/xrdp-init.git ~/xrdp-init 2.2 阅读全文
posted @ 2019-10-21 20:11 Jello 阅读(2430) 评论(0) 推荐(0)
摘要: 1. 安装vsftpd $ sudo apt-get install vsftpd 2. 创建一个用户user-ftp用于ftp服务 $ sudo adduser user-ftp 3.创建一个文件/etc/allowed_users, 将 用户名user-ftp加入其中 # echo 'user- 阅读全文
posted @ 2019-10-19 10:42 Jello 阅读(1755) 评论(0) 推荐(0)
摘要: 答:使用环境变量USER即可 如在脚本中打印当前用户名; 阅读全文
posted @ 2019-10-17 17:52 Jello 阅读(12134) 评论(0) 推荐(0)
摘要: 1. 使能linux内核选项CONFIG_GPIO_SYSFS (旧的sysfs接口,已废弃,请移步这里) CONFIG_GPIO_SYSFS=y 2. 测试方法 2.1 关注/sys/class/gpio下的文件 --export/unexport文件 --gpioX指代具体的gpio引脚 --g 阅读全文
posted @ 2019-10-17 14:07 Jello 阅读(2523) 评论(0) 推荐(0)
摘要: 1. 分析arch/arm64/boot/dts/freescale/imx8mm-evk.dts中的i2c3相关的pinctrl_i2c3节点 pinctrl_i2c3: i2c3grp { fsl,pins = < MX8MM_IOMUXC_I2C3_SCL_I2C3_SCL 0x400001c 阅读全文
posted @ 2019-10-16 14:41 Jello 阅读(1354) 评论(0) 推荐(0)
摘要: 1. 找出发生这一问题的事件代号 1.1 在开始菜单中搜索程序Event Viewer并点击进入 1.2 点击路径如下: “Applications and Services Logs > Microsoft > Windows > Hyper-V-Worker” 1.3 点击“Admin”,然后检 阅读全文
posted @ 2019-10-15 16:33 Jello 阅读(1356) 评论(0) 推荐(0)
摘要: 答: 假设脚本路径为/usr/bin/myscript.sh,那么在/lib/systemd/system/下创建 一个myscript.service文件 1. /lib/systemd/system/myscript.service文件内容如下: ``` [Unit] Description=m 阅读全文
posted @ 2019-10-13 13:15 Jello 阅读(1404) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 77 下一页