From b4c1fa61939f2e15e149f01a435bc167d517ce06 Mon Sep 17 00:00:00 2001 From: deipss Date: Sat, 11 May 2024 23:29:50 +0800 Subject: [PATCH] data --- docs/AI/-AI.md | 15 +++++++++++++++ docs/command/conda.md | 15 +++++++++++++-- docs/command/linux.md | 3 +++ ...65\213\350\257\225\351\235\242\350\257\225.md" | 1 + 4 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 docs/AI/-AI.md diff --git a/docs/AI/-AI.md b/docs/AI/-AI.md new file mode 100644 index 0000000..033969f --- /dev/null +++ b/docs/AI/-AI.md @@ -0,0 +1,15 @@ +--- +layout: default +title: AI +nav_order: 1025 +has_children: true +permalink: docs/AI +--- + +```text + _|_| _|_|_| +_| _| _| +_|_|_|_| _| +_| _| _| +_| _| _|_|_| +``` \ No newline at end of file diff --git a/docs/command/conda.md b/docs/command/conda.md index 4b0d34b..4e90350 100644 --- a/docs/command/conda.md +++ b/docs/command/conda.md @@ -164,6 +164,7 @@ https://blog.csdn.net/u014682691/article/details/80605201 ```shell conda create -n py36 python=3.6 +conda create -n py310 python=3.10.14 # 显示当前的环境 conda info -e conda env list @@ -173,11 +174,12 @@ deactivate conda create [env_name] source activate py36 +source activate py310 source deactivate ``` -## jupter安装与远程登陆 +## jupyter安装与远程登陆 - 远程登陆参考文档 https://www.jianshu.com/p/8fc3cd032d3c ```shell @@ -187,9 +189,18 @@ vim /home/deipss/.jupyter/jupyter_notebook_config.py c.NotebookApp.ip='*' c.NotebookApp.password = u'argon2:$argon2id$v=19$m=10240,t=10,p=8$VH3vhkEL5tQMKg6FWYWTeQ$9U2v6D8llgrrEIeiwAqiew' c.NotebookApp.open_browser = False -c.NotebookApp.port =8888 #可自行指定一个端口, 访问时使用该端口 +c.NotebookApp.port =7888 #可自行指定一个端口, 访问时使用该端口 + +jupyter notebook + ``` +## comfyUI + +### 后台安装一些pip的包 +- nohup sh -c 'pip install -r /home/deipss/jupyter_files/ComfyUI/requirements.txt' > runoob.log 2>&1 & + + ### 3.1. 参考资料 - [https://blog.csdn.net/CosmosHua/article/details/76644029](https://blog.csdn.net/CosmosHua/article/details/76644029) diff --git a/docs/command/linux.md b/docs/command/linux.md index 59a2129..9ad25aa 100644 --- a/docs/command/linux.md +++ b/docs/command/linux.md @@ -400,6 +400,9 @@ nohup /root/runoob.sh > runoob.log 2>&1 & # 0 – stdin (standard input,标准输入) # 1 – stdout (standard output,标准输出) # 2 – stderr (standard error,标准错误输出) + +nohup sh -c 'pip install -r /home/deipss/jupyter_files/ComfyUI/requirements.txt' > runoob.log 2>&1 & +sh -c 相当于把后面一个字符串,当作一个sh命令执行 ``` diff --git "a/docs/test/\346\265\213\350\257\225\351\235\242\350\257\225.md" "b/docs/test/\346\265\213\350\257\225\351\235\242\350\257\225.md" index c6fdd59..218561b 100644 --- "a/docs/test/\346\265\213\350\257\225\351\235\242\350\257\225.md" +++ "b/docs/test/\346\265\213\350\257\225\351\235\242\350\257\225.md" @@ -15,3 +15,4 @@ parent: Test # 压测场景设计 +