明泽黑

明泽黑
需要多写点东西
  1. 首页
  2. 未分类
  3. 正文

Mac mini m4 远程开发机

2025年1月10日 480点热度 0人点赞 0条评论

趁着国补拿下了Mac mini m4,现在手上的老电脑日常风扇吵翻天,想着就把Mac mini当远程服务器来用好了
主要目的
- 开发机
- 各种服务(alist 影院还是蛮方便的)

家里用 parsec 可以把Mac mini当个app 来用,但出门用 parsec 感觉就麻烦了点也重了点
System Settings, then click in the sidebar. (You may need to scroll down.)

Mac mini 记得要设置 Energy -> 勾上 “Wake for network access.”,不然休眠的时候直接就断了
我是直接把休眠关掉

## VSCode/Cursor 配置 remote development
文档直接看:https://code.visualstudio.com/docs/remote/ssh#_installation

- macmini 开启远程ssh登录
- VSCode 安装 Remote-SSH 插件
- VSCode 选择Remote-SSH: Connect to Host 就可以了

## 免密钥登录
ssh-copy-id -i ~/.ssh/id_rsa.pub jian@1.2.3.4

## 总结
把 Mac mini 当远程开发机,用 VSCode Remote SSH development 体验还是很不错的

标签: 暂无
最后更新:2025年1月10日

hzm

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

COPYRIGHT © 2024 明泽黑. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang