找回密码
 注册
搜索
免费空间 免费域名 免费AI 老牌主机商首月仅1美分!27美元/年!Namecheap优惠码Spaceship优惠码
查看: 146|回复: 17

[主机资源] 不容易呀,花了俩小时在 InstaBox免費雲虛擬機成功搭建宝塔

[复制链接]
发表于 3 天前 | 显示全部楼层 |阅读模式
本帖最后由 浪子吟风 于 2026-10-18 12:32 编辑

成功搭建宝塔面板,现在进行程序安装,速度太慢了



root@instabox-xuwbk:/www/server/panel# bt 2
===============================================
正在执行(2)...
===============================================
Stopping Bt-Tasks...    done
Stopping Bt-Panel...    done
root@instabox-xuwbk:/www/server/panel# sleep 3
root@instabox-xuwbk:/www/server/panel# pkill -9 -f BT-Panel
root@instabox-xuwbk:/www/server/panel# pkill -9 -f BT-Task
root@instabox-xuwbk:/www/server/panel# ss -tlnp | grep 16477
root@instabox-xuwbk:/www/server/panel# /www/server/panel/pyenv/bin/pip show gunicorn > /dev/null 2>&1 || /www/server/panel/pyenv/bin/pip install gunicorn
Collecting gunicorn
  Downloading gunicorn-23.0.0-py3-none-any.whl.metadata (4.4 kB)
Requirement already satisfied: packaging in ./pyenv/lib/python3.7/site-packages (from gunicorn) (23.1)
Requirement already satisfied: importlib-metadata in ./pyenv/lib/python3.7/site-packages (from gunicorn) (6.6.0)
Requirement already satisfied: zipp>=0.5 in ./pyenv/lib/python3.7/site-packages (from importlib-metadata->gunicorn) (3.15.0)
Requirement already satisfied: typing-extensions>=3.6.4 in ./pyenv/lib/python3.7/site-packages (from importlib-metadata->gunicorn) (4.7.1)
Downloading gunicorn-23.0.0-py3-none-any.whl (85 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.0/85.0 kB 7.0 MB/s eta 0:00:00
Installing collected packages: gunicorn
Successfully installed gunicorn-23.0.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
root@instabox-xuwbk:/www/server/panel# cd /www/server/panel
root@instabox-xuwbk:/www/server/panel# cd /www/server/panel
nohup /www/server/panel/pyenv/bin/gunicorn \
  -w 2 -k sync \
  -b 0.0.0.0:16477 \
  --timeout 120 \
  "BTPanel:app" > /root/bt_gunicorn.log 2>&1 &

sleep 5
curl -i http://127.0.0.1:换你的端口/你的宝塔口/login
[1] 38708
HTTP/1.1 302 FOUND
Server: gunicorn
Date: Sun, 18 Oct 2026 04:06:04 GMT
Connection: close
Content-Type: text/html; charset=utf-8
Content-Length: 197
Location: /bind
X-Frame-Options: SAMEORIGIN

<!doctype html>
<html lang=en>
<title>Redirecting...</title>
<h1>Redirecting...</h1>
<p>You should be redirected automatically to the target URL: <a href="/bind">/bind</a>. If not, click the link.   

     看到红色的部分。恭喜你成功安装了
发表于 3 天前 | 显示全部楼层
我也安装了,看不到反应,我就关了,是不是开始了安装就放那,让他自己跑去,直到安装完成?
 楼主| 发表于 3 天前 | 显示全部楼层
安装宝塔完成,需要端口返回绑定端口,要不外网是访问不了的
我遇到一个坑,我重启面板就打不开了,不要用宝塔命令重启面板
发表于 3 天前 | 显示全部楼层
半小时就休眠了
 楼主| 发表于 3 天前 | 显示全部楼层
这机器我真是服了,自动脚本拉取,都被停了,被其他用户占停了
发表于 3 天前 | 显示全部楼层





发表于 3 天前 | 显示全部楼层
我到现在还没收到邀请码
发表于 3 天前 | 显示全部楼层
shim 发表于 2026-10-18 16:22
我到现在还没收到邀请码

我用的谷歌邮箱,几个小时就收到了
发表于 3 天前 | 显示全部楼层
efc88ff45580620 发表于 2026-10-18 16:23
我用的谷歌邮箱,几个小时就收到了

我用github注册的
发表于 3 天前 | 显示全部楼层
shim 发表于 2026-10-18 16:24
我用github注册的

我也是
估计github收不到
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|免费吧论坛

GMT+8, 2026-10-21 19:45 , Processed in 0.310719 second(s), 3 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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