摘要: 1.首先在Ubuntu 的 /mnt 目录下新建一个 NAS 挂载目录 nas_share: mkdir /mnt/nas_share 2.安装 cifs-utils sudo apt-get install cifs-utils 3.查看用户的 uid 和 gid id liuhaun 在此处要查 阅读全文
posted @ 2023-03-18 23:53 liu-huan 阅读(1736) 评论(0) 推荐(0) 编辑
摘要: gitlab-ce 安装好后,root 用户的初始密码放在 /etc/gitlab/initial_root_password 文件中,但我用这个密码仍然登录失败。 用下面的命令可快速重置 root 密码,已验证通过: [root@localhost gitlab]# gitlab-rake "gi 阅读全文
posted @ 2023-03-17 23:03 liu-huan 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 一、获取U-Boot源码 TB-RV1126Ds: git clone https://github.com/rockchip-toybrick/u-boot.git -b next-dev 二、获取 rkbin 源码 下载rkbin到u-boot同级目录: git clone https://gi 阅读全文
posted @ 2023-03-16 22:56 liu-huan 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 一、获取源码 TB-RV1126Ds: git clone https://github.com/rockchip-toybrick/kernel.git -b rv1126-develop-4.19 二、获取交叉编译工具链 1、在kernel同级目录创建prebuilts文件夹; 2、在prebu 阅读全文
posted @ 2023-03-16 22:52 liu-huan 阅读(141) 评论(0) 推荐(0) 编辑
摘要: APT 方式 最快的方法,三步解决 sudo apt update sudo apt install language-pack-zh-hans sudo update-locale LANG=zh_CN.UTF-8 手动修改 检查本机已有的语言包 1 locale -a 下面开始安装语言包,首先是 阅读全文
posted @ 2023-02-27 18:15 liu-huan 阅读(362) 评论(0) 推荐(0) 编辑
摘要: wsl2 通过桥接网络实现被外部局域网主机直接访问 背景介绍 之所以有这个需求的主要原因是需要用WSL和外部机器人硬件调试分布部署的ROS系统,WSL2是在windows主机内部建立的虚拟局域网,其ip从外部无法访问,网上很多文章提到端口转发,但是ROS的文档里面要求用到所有的端口,采用端口转发不太 阅读全文
posted @ 2023-02-27 18:10 liu-huan 阅读(3380) 评论(0) 推荐(1) 编辑
摘要: 先决条件 运行 Windows 11(内部版本 22000 或更高版本)。 (可提供 Windows 10 支持,请参见下面的注释) Linux 发行版已安装并设置为 WSL 2。 运行 Linux 内核 5.10.60.1 或更高版本。 备注 若要检查 Windows 版本及内部版本号,选择 Wi 阅读全文
posted @ 2023-02-27 18:08 liu-huan 阅读(1144) 评论(0) 推荐(0) 编辑
摘要: 安装语言包 sudo apt-get -y install locales xfonts-intl-chinese fonts-wqy-microhei 语言环境设置 sudo dpkg-reconfigure locales 使用空格键选中en_US.UTF-8 UTF-8、zh_CN.UTF-8 阅读全文
posted @ 2023-02-27 18:07 liu-huan 阅读(751) 评论(0) 推荐(0) 编辑
摘要: 下载deb包到某文件夹 在某文件夹右键“在这里打开终端”,此时可以看到,终端里的路径就是该文件夹的路径 为了保险起见,我们先执行下面的指令: sudo apt-get update 安装deb包(tips:) sudo dpkg -i packname 输入packname时可以tab补全, 若出现 阅读全文
posted @ 2023-02-27 18:05 liu-huan 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 备份配置文件: sudo cp -a /etc/apt/sources.list /etc/apt/sources.list.ubuntu 修改sources.list文件,将http://archive.ubuntu.com和http://security.ubuntu.com替换成http:// 阅读全文
posted @ 2023-02-27 18:04 liu-huan 阅读(1029) 评论(0) 推荐(0) 编辑