ramlife

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 26 下一页

2020年9月24日

摘要: 没有安装过 docker 的 ubuntu 安装 docker的步骤: $ sudo apt-get update $ sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg-agent \ softwa 阅读全文
posted @ 2020-09-24 14:02 ramlife 阅读(140) 评论(0) 推荐(0) 编辑

2020年9月19日

摘要: ubuntu 下没有 dos2unix,但是又类似的工具,tofrodos, 安装这个工具,使用两个命令: todos, fromdos 即可。 参考: https://www.jianshu.com/p/d5eb279de997 阅读全文
posted @ 2020-09-19 16:36 ramlife 阅读(227) 评论(0) 推荐(0) 编辑

2020年9月12日

摘要: 在管理员后台上面勾选只显示摘要。 先文章的时候,在摘要和正文之间加入 <!--more--> 这样就可以只显示摘要了。 参考: https://www.cnblogs.com/my-blogs-for-everone/articles/12390575.html 阅读全文
posted @ 2020-09-12 23:15 ramlife 阅读(221) 评论(0) 推荐(0) 编辑

摘要: 购买 obs 创建 bucket,注意这个名称不能和所有使用华为云 obs 里面的桶重名。 点击右上角账号,选择我的凭证,访问密钥,新增访问密钥,然后验证后,就可以下载csv 文件,里面包含了 ak 和 sk。 在 ces 里面 wget https://obs-community.obs.cn-n 阅读全文
posted @ 2020-09-12 14:16 ramlife 阅读(399) 评论(0) 推荐(0) 编辑

2020年9月11日

摘要: typecho 的文件 如果是不是直接放到 html 目录下面,而是作为 html 的子目录来存放的话,默认就会出现这个问题。 在华为云上面,修改 /etc/nginx/conf.d/default.conf 这个文件 location ~ .*\.php$ 需要修改为 location ~ .*\ 阅读全文
posted @ 2020-09-11 23:04 ramlife 阅读(1130) 评论(0) 推荐(0) 编辑

摘要: 在 namesilo 界面上点击 my domains,然后再点击 active domains, 然后点击你要设置的域名,进入域名管理页面。点击 dns records 后面的 update。 然后点击 A ,修改A记录,hostname 可以保留为空白,address 填写 主机ip地址,然后 阅读全文
posted @ 2020-09-11 10:33 ramlife 阅读(1345) 评论(0) 推荐(0) 编辑

2020年8月31日

摘要: 想要 ssh 到服务器上的特定用户,并使用含 x 的程序,比如说 gitk。 ssh -X user@192.168.0.2 参考: https://blog.csdn.net/fdd096030079/article/details/80986266 https://blog.csdn.net/x 阅读全文
posted @ 2020-08-31 14:07 ramlife 阅读(234) 评论(0) 推荐(0) 编辑

2020年8月25日

摘要: #1. 查询 WIFI 操作 AT+WMODE #2. 进入透传 AT+ENTM 进入命令模式 +++ 然后接受到 a 之后,输入 a , 注意都是没有回车的。 #3. 重启模块 AT+Z #4. 查询串口 AT+UART #5. 查询网络协议 AT+NETP AT+NETP=UDP,Server, 阅读全文
posted @ 2020-08-25 17:06 ramlife 阅读(1008) 评论(0) 推荐(0) 编辑

2020年8月21日

摘要: 当 iar 工程在多个地方复制使用的时候,有时候定位函数的时候,会提示错误的路径。 解决方法: project --> clean,清除, 然后 rebuild all,就可以了。 阅读全文
posted @ 2020-08-21 19:00 ramlife 阅读(1980) 评论(0) 推荐(0) 编辑

摘要: #1. alsa 中 aplay 的使用。 先用 aplay -l 看看有那些可用的设备。然后 使用 aplay -D plughw:0,0 xxx.wav 来播放声音。 plughw后面的0,0指的是card0,device0.(声卡id和设备id)。 或者也可以直接使用名称, aplay -D 阅读全文
posted @ 2020-08-21 10:44 ramlife 阅读(637) 评论(0) 推荐(0) 编辑

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 26 下一页