macOS上使用移动硬盘,无需工具软件完美解决
发表于|更新于
|总字数:109|阅读时长:1分钟|浏览量:
macOS上使用移动硬盘,无需工具软件完美解决
1、新硬盘没文件
— 磁盘工具-格式化
2、硬盘有文件
A、是希捷品牌,官网下载驱动,无需格式化硬盘
B、不是希捷
改名。Seagate Backup Plus Drive — guoBackup
diskutil info /Volumes/guoBackup | grep UUID
echo “UUID=CCE36838-EFCF-4353-A3D3-36D74884F559 none ntfs rw,auto,nobrowse” | sudo tee -a /etc/fstab
访达桌面不显示硬盘
文章作者: NUK
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 凌羽!
相关推荐
2024-07-01
Mac 上使用 Ollama 本地运行 LLM 指南
本文介绍如何在 Mac(特别是 M 系列芯片)上安装和使用 Ollama,以便在本地流畅运行 Gemma、Llama 3 等大型语言模型。 (adsbygoogle = window.adsbygoogle || []).push({}); 1. 安装 Ollama访问 Ollama 官网下载 macOS 版本进行安装:https://ollama.com/ 2. 常用命令速查2.1 服务管理12# 启动 Ollama 服务 (一般安装后会自动启动)ollama serve 2.2 模型运行与管理123456789101112# 运行模型 (如果模型不存在会自动下载)# 例如运行 Google 的 Gemma 2ollama run gemma2:27b# 从注册表拉取模型 (仅下载不运行)ollama pull llama3# 列出本地所有模型ollama list# 删除模型ollama rm gemma2:27b 2.3 其他操作1234567891011121314# 查看模型详细信息ollama show gemma2:27b# 复制模型 (...
2020-12-15
Spider 接收参数
Python安装 (adsbygoogle = window.adsbygoogle || []).push({}); 123456789101112class XXXXXXXSpider(scrapy.Spider): name = "......." allowed_domains = ["......com"] domains = "https://.......com" start_urls = [ #"http://www.baidu.com" "............." ] user_agent='***************' def __init__(self,tag): self.tag = tag 使用1.控制台运行时scrapy crawl xxxxx -a tag=123 2.py文件运行 python3 xxx.py 1234...
2020-12-15
Python 3.8
Python安装 (adsbygoogle = window.adsbygoogle || []).push({}); Python 3.8 removed some stuff. I solved my problems with pip (specifically pip install) by installing pip with curl What worked for me was: cd ~/Downloads Downloading get-pip.py curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py Then running it with python 3.8: python3.8 get-pip.py Solved it for me.
2020-12-10
Mac os定时任务
crontab (adsbygoogle = window.adsbygoogle || []).push({}); 1.创建一个任务将文件放在某一个目录下 cd /Users/xxx/Desktop/xxx 创建一个任务 vi testing_crontab 1*/1 * * * * /bin/date >> /Users/xxx/Desktop/xxx/time.txt 开始任务 crontab testing_crontab 查看任务 crontab -l 编辑任务 crontab -e 删除任务 crontab -r 2. 文件格式crontab文件格式 第1列:分钟,0~59 第2列:小时,0~23 第3列:日期,1~31 第4列:月份,1~12 第5列:星期,0~7(0和7表示星期天) 第6列:要运行的命令(如果有多个命令用 && 隔开) 特殊字符 星号(*) :代表所有可能的值,例如,month字段如果是星号,则表示在满足其它字段的制约条件后,每月都执行该命令操作; 逗号(,) :...
2024-06-28
Mac M1/M2 芯片如何拉取 x86_64 架构 Docker 镜像
Mac M 系列芯片(Apple Silicon)采用 ARM64 架构,默认 docker pull 会拉取 linux/arm64 版本的镜像。如果需要运行仅支持 Intel (AMD64/x86_64) 的镜像,或者为了保持与生产环境(Linux x86)一致,需要显式指定平台架构。 (adsbygoogle = window.adsbygoogle || []).push({}); 1. 拉取指定架构镜像使用 --platform 参数来指定拉取 linux/amd64 架构的镜像。 1docker pull --platform=linux/amd64 ubuntu:20.04 注意:运行跨架构镜像(通过 Rosetta 2 转译)可能会比原生 ARM 镜像慢,并且某些涉及底层指令的操作可能会失败。 2. 验证镜像架构拉取完成后,可以通过 docker inspect 命令来确认镜像的架构是否正确。 1docker inspect ubuntu:20.04 | grep Architecture 输出应为: 1"Architec...
2021-07-11
Mac终端下使用Corkscrew + SSH通过代理连接内网服务器
Mac终端下使用Corkscrew + SSH通过代理连接内网服务器 (adsbygoogle = window.adsbygoogle || []).push({}); 安装 corkscew brew install corkscew 修改~/.ssh/config 配置文件(没有则添加该文件)12345678910111213141516171819202122232425261、How Is It Used?---------------#Setting up Corkscrew with SSH/OpenSSH is very simple. Adding#the following line to your ~/.ssh/config file will usually do#the trick (replace proxy.example.com and 8080 with correct values): ProxyCommand /usr/local/bin/corkscrew proxy.example.com 8080 %h %p...


