当前位置:论坛首页 > Linux面板 > 求助

内网怎么让宝塔通过socks5 下载文件

发表在 Linux面板2023-8-8 10:43 [复制链接] 0 2788

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:
免费版 [url=]8.0.1[/url] 屏幕截图 2023-08-08 104209.png
系统版本:
Ubuntu 22.04.3 LTS x86_64(Py3.7.8)
问题描述:
服务器在内网使用,能联网的是192.168.167.8:10809 怎么让宝塔走socks5:192.168.167.8:10809这样来下载东西?我用的是node 在node项目里面添加网站后使用包安装,然后发现不能联网,且找不到面板配置socks的方法,使用全局socks好像宝塔并不会跟随使用
相关截图(日志、错误):
yarn-error.log
  1. Arguments:
  2.   /www/server/nodejs/v14.17.6/bin/node /www/server/nodejs/v14.17.6/bin/yarn install

  3. PATH:
  4.   /www/server/nodejs/v14.17.6/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin

  5. Yarn version:
  6.   1.22.19

  7. Node version:
  8.   14.17.6

  9. Platform:
  10.   linux x64

  11. Trace:
  12.   Error: https://github.com/sohee-lee7/Squire: ETIMEDOUT
  13.       at Timeout._onTimeout (/www/server/nodejs/v14.17.6/lib/node_modules/yarn/lib/cli.js:141550:19)
  14.       at listOnTimeout (internal/timers.js:557:17)
  15.       at processTimers (internal/timers.js:500:7)

  16. npm manifest:
  17.   {
  18.     "name": "vue-element-admin",
  19.     "version": "4.4.0",
  20.     "description": "A magical vue admin. An out-of-box UI solution for enterprise applications. Newest development stack of vue. Lots of awesome features",
  21.     "author": "Pan <panfree23@gmail.com>",
  22.     "scripts": {
  23.       "dev": "vue-cli-service serve",
  24.       "lint": "eslint --ext .js,.vue src",
  25.       "build:prod": "vue-cli-service build",
  26.       "build:stage": "vue-cli-service build --mode staging",
  27.       "preview": "node build/index.js --preview",
  28.       "new": "plop",
  29.       "svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml",
  30.       "test:ci": "npm run lint && npm run test:unit"
  31.     },
  32.     "dependencies": {
  33.       "axios": "0.18.1",
  34.       "clipboard": "2.0.4",
  35.       "codemirror": "5.45.0",
  36.       "core-js": "3.6.5",
  37.       "dayjs": "^1.10.7",
  38.       "driver.js": "0.9.5",
  39.       "dropzone": "5.5.1",
  40.       "echarts": "4.2.1",
  41.       "element-ui": "2.13.2",
  42.       "file-saver": "2.0.1",
  43.       "fuse.js": "3.4.4",
  44.       "js-cookie": "2.2.0",
  45.       "jsonlint": "1.6.3",
  46.       "jszip": "3.2.1",
  47.       "normalize.css": "7.0.0",
  48.       "nprogress": "0.2.0",
  49.       "path-to-regexp": "2.4.0",
  50.       "screenfull": "4.2.0",
  51.       "script-loader": "0.7.2",
  52.       "sortablejs": "1.8.4",
  53.       "tui-editor": "1.3.3",
  54.       "vue": "2.6.10",
  55.       "vue-count-to": "1.0.13",
  56.       "vue-router": "3.0.2",
  57.       "vue-splitpane": "1.0.4",
  58.       "vuedraggable": "2.20.0",
  59.       "vuex": "3.1.0",
  60.       "xlsx": "0.14.1"
  61.     },
  62.     "devDependencies": {
  63.       "@vue/cli-plugin-babel": "4.4.4",
  64.       "@vue/cli-plugin-unit-jest": "4.4.4",
  65.       "@vue/cli-service": "4.4.4",
  66.       "@vue/test-utils": "1.0.0-beta.29",
  67.       "autoprefixer": "9.5.1",
  68.       "babel-jest": "23.6.0",
  69.       "babel-plugin-dynamic-import-node": "2.3.3",
  70.       "chalk": "2.4.2",
  71.       "chokidar": "2.1.5",
  72.       "connect": "3.6.6",
  73.       "html-webpack-plugin": "3.2.0",
  74.       "husky": "1.3.1",
  75.       "lint-staged": "8.1.5",
  76.       "mockjs": "1.0.1-beta3",
  77.       "plop": "2.3.0",
  78.       "runjs": "4.3.2",
  79.       "sass": "1.26.2",
  80.       "sass-loader": "8.0.2",
  81.       "script-ext-html-webpack-plugin": "2.1.3",
  82.       "serve-static": "1.13.2",
  83.       "svg-sprite-loader": "4.1.3",
  84.       "svgo": "1.2.0",
  85.       "vue-particles": "^1.0.9",
  86.       "vue-template-compiler": "2.6.10"
  87.     },
  88.     "browserslist": [
  89.       "> 1%",
  90.       "last 2 versions"
  91.     ],
  92.     "bugs": {
  93.       "url": "https://github.com/PanJiaChen/vue-element-admin/issues"
  94.     },
  95.     "engines": {
  96.       "node": ">=8.9",
  97.       "npm": ">= 3.0.0"
  98.     },
  99.     "keywords": [
  100.       "vue",
  101.       "admin",
  102.       "dashboard",
  103.       "element-ui",
  104.       "boilerplate",
  105.       "admin-template",
  106.       "management-system"
  107.     ],
  108.     "license": "MIT",
  109.     "repository": {
  110.       "type": "git",
  111.       "url": "git+https://github.com/PanJiaChen/vue-element-admin.git"
  112.     }
  113.   }

  114. yarn manifest:
  115.   No manifest

  116. Lockfile:
  117.   No lockfile
复制代码

使用道具 举报 只看该作者 回复
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表