标签: apt 相关的文章有 3 篇

给树莓派的ubuntu20.04系统装mongodb 4.4

Debian64位系统暂时还没有mongodb4.4的deb,编译安装也没试成功。
Ubuntu20.04 64位可以用这些命令装上。

wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -

echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list

sudo apt-get update

sudo apt-get install mongodb-org

装完可以启动mongod服务

systemctl start mongod
systemctl enable mongod

服务启动可能会异常,可以看下 systemctl status mongod

如报出/var/run ... 可以修改对应的服务声明 如 /lib/systemd/system/mongod.service
去掉/var

阅读全文 ~

树莓派4更新EEPROM 固件版本

修改源/etc/apt/sources.list加速

deb http://mirrors.aliyun.com/raspbian/raspbian/ buster main non-free contrib rpi firmware
deb-src http://mirrors.aliyun.com/raspbian/raspbian/ buster main non-free contrib rpi firmware

还有 /etc/apt/sources.list.d/raspi.list

deb https://mirrors.ustc.edu.cn/archive.raspberrypi.org/debian buster main
阅读全文 ~