update 配置code-server
This commit is contained in:
		
							parent
							
								
									46003424a3
								
							
						
					
					
						commit
						b55976cc92
					
				
							
								
								
									
										22
									
								
								README.md
								
								
								
								
							
							
						
						
									
										22
									
								
								README.md
								
								
								
								
							| 
						 | 
					@ -65,7 +65,8 @@ sudo ln -s /home/unitree/alg/code-server/bin/code-server /usr/bin/code-server
 | 
				
			||||||
# 配置启动文件
 | 
					# 配置启动文件
 | 
				
			||||||
vim code-start.sh
 | 
					vim code-start.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
nohup code-server > /home/unitree/alg/code-server.log 2>&1 &
 | 
					#! /bin/sh
 | 
				
			||||||
 | 
					su unitree -c 'export PASSWORD="123"; nohup code-server --host 0.0.0.0 --port 8888 --auth password > /home/unitree/alg/code-server.log 2>&1 &'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# 修改权限code-start.sh
 | 
					# 修改权限code-start.sh
 | 
				
			||||||
sudo chmod +x code-start.sh
 | 
					sudo chmod +x code-start.sh
 | 
				
			||||||
| 
						 | 
					@ -155,22 +156,7 @@ python36 -m pip install XXX
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# 二、ZKMetaApi 使用
 | 
					# 二、ZKMetaApi 使用
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[树莓派](https://www.notion.so/9c8d11399244490c9b2dff68d7615425?pvs=21)
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
[网络环境配置](https://www.notion.so/53feab27fa484d3eaa811142fe9a2583?pvs=21)
 | 
					# Tips
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[**在 Ubuntu 22.04 | 20.04 | 安装和配置 Squid 代理服务器**](https://www.notion.so/Ubuntu-22-04-20-04-Squid-8da9c72d7e0d4d05bc2fdc10f42c45c7?pvs=21)
 | 
					## [code-server安装插件证书问题](docs/code-server安装插件证书问题.md)
 | 
				
			||||||
 | 
					 | 
				
			||||||
[python 安装](https://www.notion.so/python-6c49013286f04cb2a1dc9d7a55a6e3a8?pvs=21)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
setproxy
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
unsetproxy
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
sudo systemctl start squid
 | 
					 | 
				
			||||||
sudo systemctl enable squid
 | 
					 | 
				
			||||||
sudo systemctl status squid
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
[code-server部署](https://www.notion.so/code-server-83d083651b8f45f5bb02f60e321c0353?pvs=21)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
[clash 代理配置](https://www.notion.so/clash-591f407ca8b44899ba07c0f98b78178b?pvs=21)
 | 
					 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,13 @@
 | 
				
			||||||
 | 
					# 解决VScode报错提示证书未安装
 | 
				
			||||||
 | 
					解决方法如下。
 | 
				
			||||||
 | 
					在vscode 下 进入 文件->首选项–>设置 在上面的搜索框输入 proxy,会出现 有3个相关设置项,
 | 
				
			||||||
 | 
					设置如下的选项
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# 是否应根据提供的 CA 列表验证代理服务器证书。
 | 
				
			||||||
 | 
					"http.proxyStrictSSL": true, //设置为false , 这时候会在右侧的自定义设置中增加一条
 | 
				
			||||||
 | 
					"http.proxyStrictSSL": false 的键值对
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# 重新加载 VScode ,然后在安装插件,会发现神奇的可以安装了。
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
		Loading…
	
		Reference in New Issue