wrjc1hod 发表于 2024-8-22 16:36:34

小白怎么样快速搭建ChatGPT-4 Turbo网站 保母级全流程教程


    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">注:<span style="color: black;">运用</span>请严格遵守国家法律,禁止用chatGPT做违法犯罪的事情</strong></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/GZnvIic82kibCicibLON5chvz994G0iaOicyic6Rvjt5ia5hcrA8ibFv6TZ7DWdAt5lqRSIqIgEGrpicCh6YaJAZMSnbk4Bg/640?wx_fmt=png&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
    <h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">必须</span>品:</strong></span></h2>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">云服务器(1核2G<span style="color: black;">就可</span>,非常便宜,<span style="color: black;">能够</span>白嫖,<span style="color: black;">通常</span>一月不到20)</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">举荐</span><span style="color: black;">运用</span><strong style="color: blue;"><span style="color: black;">香港</span></strong>云服务器,系统<span style="color: black;">选取</span><strong style="color: blue;"><span style="color: black;">CentOS系统</span></strong></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/GZnvIic82kibCicibLON5chvz994G0iaOicyic6zKasleTcRnld5c9nZgedOaIL3xCAd9RrMSuj8siaV815uV18Toiabhww/640?wx_fmt=png&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">api key(这是必须品,官方的<span style="color: black;">亦</span>花钱,新账号有赠送额度)</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">远程服务器连接软件(用来连接并管理服务器)</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">所需要的所有工具都放在网盘中了,请自取。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">位置</span>:https://pan.xunlei.com/s/VNjgEdorOnvbBhwm5TTDzZ3BA1?pwd=zrsf#</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/GZnvIic82kibCicibLON5chvz994G0iaOicyic6vCxzllGdghRmKMtuUKPj4SqPUPN065QaejlZBsH0hibFun69jlHicbpw/640?wx_fmt=png&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">搭建<span style="color: black;">过程</span>:</strong></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">1.购买一台香港的云服务器,系统<span style="color: black;">选取</span>为Centos</strong></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/GZnvIic82kibCicibLON5chvz994G0iaOicyic6zKasleTcRnld5c9nZgedOaIL3xCAd9RrMSuj8siaV815uV18Toiabhww/640?wx_fmt=png&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;">点击<strong style="color: blue;">服务器管理</strong>,拿小本本记住自己服务器的<strong style="color: blue;">IP+账号+<span style="color: black;">秘码</span></strong>,避免一会登录服务器现找太麻烦了。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/GZnvIic82kibCicibLON5chvz994G0iaOicyic6HMrj4ibnndwH7JvkOs0Xx5XgvficuTSzMOsrYv3AqOfNQhFHK69e8Yzw/640?wx_fmt=png&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/GZnvIic82kibCicibLON5chvz994G0iaOicyic6rb0Mkdjn1j3991Mxvq2OkDJglvbz4uAKUHxTTHaLlQZFzDDfkQVFPw/640?wx_fmt=png&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">而后</span>点击安全组,点击添加规则,</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/GZnvIic82kibCicibLON5chvz994G0iaOicyic67sTFRvuq8TKjHCCAH4YibGUok3yeicYCJ7piadGu2sMvejKx8rZZ92vLg/640?wx_fmt=png&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">协议规则<span style="color: black;">必定</span>要<span style="color: black;">选取</span>TCP,<span style="color: black;">目的</span>端口<span style="color: black;">能够</span>随意设置,<span style="color: black;">然则</span><span style="color: black;">倘若</span><span style="color: black;">大众</span>不想出错,最好跟我设置<span style="color: black;">同样</span>的。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">2.连接服务器:</strong></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/GZnvIic82kibCicibLON5chvz994G0iaOicyic6b6SlvnsfQ0lM2BMlBCm7OqeX7dQmTJQicW3G7TJLMXvc6cKibMpConUA/640?wx_fmt=png&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">个人<span style="color: black;">运用</span>的是FinalShell,</span></p>1. <strong style="color: blue;">打开软件,点击箭头所示按钮</strong>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/GZnvIic82kibCicibLON5chvz994G0iaOicyic66sPVbkFicIiasic5IheJfaNdBBFKp23S9d0bVKEhO84DbaQQZsyJXm0jg/640?wx_fmt=png&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>2. <strong style="color: blue;">会跳出个窗口,接着点击箭头所示按钮,点击SSH链接</strong>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/GZnvIic82kibCicibLON5chvz994G0iaOicyic6DPWVBMNM8HibHeynKsYg2dicfMQ0OLbDTD4s4LUY3KOAKgwnz5k0X60w/640?wx_fmt=png&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>3. <strong style="color: blue;">把红框里的内容填进去</strong>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/GZnvIic82kibCicibLON5chvz994G0iaOicyic6vw1S1CJNWhSC5oNJBhvEKDaZrQ9H3pXse5d0xprTicenPqfNchwYH2g/640?wx_fmt=png&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>4. <strong style="color: blue;">填完后,<span style="color: black;">这儿</span>会记录,双击打开它</strong>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/GZnvIic82kibCicibLON5chvz994G0iaOicyic6w8rWRR1iaIlN0ia4Sbdwlcy8GV7kSxIuIaWUxEugvoaLhng3SY054ubQ/640?wx_fmt=png&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>5. <strong style="color: blue;"><span style="color: black;">就可</span>链接成功</strong>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/GZnvIic82kibCicibLON5chvz994G0iaOicyic6owZJvUyHmBccdu0qkpib7lgfmHtQuXo7a0tiap7mVCIE1sAP4zBkXvTQ/640?wx_fmt=png&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>6. <strong style="color: blue;">下载docker.sh脚本</strong><span style="color: black;"><span style="color: black;">curl</span> -fsSL https://get.docker.com -o get-docker.sh</span>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">复制以上代码粘贴到服务器中,<span style="color: black;">而后</span>回车,<span style="color: black;">意见</span><span style="color: black;">不消</span>快捷键粘贴,直接右键 <span style="color: black;">选取</span>粘贴。</p>
    <span style="color: black;">ls</span>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">复制以上代码粘贴到服务器中</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><img src="https://mmbiz.qpic.cn/mmbiz_png/GZnvIic82kibCicibLON5chvz994G0iaOicyic6GvE6Wjflb5uFkMDHksbxSic4aOp39eDGu7uicKKibyXNjpwYGlQ3SDk2w/640?wx_fmt=png&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></strong></span><span style="color: black;">有这个说明下载成功</span></p><strong style="color: blue;">8.安装docker,这一步安装过程有点久,5-20分钟<span style="color: black;">上下</span></strong><span style="color: black;">sh <span style="color: black;">get</span>-docker.sh</span>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/GZnvIic82kibCicibLON5chvz994G0iaOicyic6WMiaxFmUyLMXvsq58gicMKqwEzs0y6jJaBoOwDsMyuQ93v11nbkqxMxA/640?wx_fmt=png&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">如上图所示,即说明安装成功</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">9.</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">运行Docker服务</strong></p><span style="color: black;"><span style="color: black;">systemctl</span> start docker</span>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">10.<span style="color: black;">检测</span>docker服务运行状态</strong></span></p><span style="color: black;"><span style="color: black;">systemctl</span> status docker</span>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/GZnvIic82kibCicibLON5chvz994G0iaOicyic6evUicD6ibCuZibjWhHkpX4NPJrz0gQy4LvMUq6uBDVsuuhaLlsia5zALpA/640?wx_fmt=png&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;">当<span style="color: black;">显现</span>active (running)… 即说明安装成功</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">11.安装GPT程序</strong></p><span style="color: black;"><span style="color: black;">docker</span> <span style="color: black;">run --name chatgpt-next-web -d -p 2023:3000 \</span></span><span style="color: black;">-e OPENAI_API_KEY=换成你的中转key \</span><span style="color: black;">-e CODE=页面<span style="color: black;">拜访</span><span style="color: black;">秘码</span> \</span><span style="color: black;">-e HIDE_USER_API_KEY=1 \</span><span style="color: black;">-e BASE_URL=https://twapi.openai-hk.com yidadaa/chatgpt-next-web</span>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">其中这部分代码中的中文是需要先改成你自己的再复制粘贴到服务器,</strong></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;"><span style="color: black;">如第二行的“</span></strong><span style="color: black;">-e OPENAI_API_KEY=换成你的中转key <strong style="color: blue;">\</strong></span><strong style="color: blue;"><span style="color: black;">”要换成你自己的key,<span style="color: black;">例如</span>我的key是AJSAnsaw6812341,则编辑完之后<span style="color: black;">便是</span>“<span style="color: black;">-e OPENAI_API_KEY=<strong style="color: blue;"><span style="color: black;">AJSAnsaw6812341</span></strong> <strong style="color: blue;">\</strong></span>
            </span></strong></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">” ,切记 \之前的空格<span style="color: black;">亦</span>不要删除。&nbsp;&nbsp;&nbsp; 第三行有一个页面<span style="color: black;">拜访</span><span style="color: black;">秘码</span>,这个随便设置一下,这个是搭建完网页之后,进入网页需要输入的<span style="color: black;">秘码</span>,<span style="color: black;">例如</span>我设置成6666,那整段代码如下:</strong></p><span style="color: black;"><span style="color: black;">docker</span> <span style="color: black;">run --name chatgpt-next-web -d -p 2023:3000 \</span></span><span style="color: black;">-e OPENAI_API_KEY=AJSAnsaw6812341 \</span><span style="color: black;">-e CODE=6666 \</span><span style="color: black;">-e HIDE_USER_API_KEY=1 \</span><span style="color: black;">-e BASE_URL=https://twapi.openai-hk.com yidadaa/chatgpt-next-web</span><span style="color: black;"><strong style="color: blue;">12. <span style="color: black;">检测</span>下<span style="color: black;">是不是</span>运行成功</strong></span><span style="color: black;"><span style="color: black;">docker</span> ps</span><span style="color: black;"><strong style="color: blue;">13. 到这一步就搭建成功了,<span style="color: black;">拜访</span>方式:你的服务器IP+2023端口</strong></span>例如我的服务器IP是42.162.11.32,那我的网页网址<span style="color: black;">便是</span>42.162.11.32:2023,直接复制到浏览器就<span style="color: black;">能够</span>打开了。<span style="color: black;">这儿</span>要<span style="color: black;">重视</span>一下,<span style="color: black;">这儿</span>的冒号和点都是必须是<strong style="color: blue;">英文输入法状态下</strong>的“<strong style="color: blue;">. 和:</strong>”<h1 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">起始</span><span style="color: black;">运用</span></strong></span></h1>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">在浏览器输入自己的网址(<span style="color: black;">你的服务器IP:2023端口</span>)</h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/GZnvIic82kibCicibLON5chvz994G0iaOicyic6nRp6WMrdln6dNuTQKL4rNH4XLutyx2ayVXGSzV7gFLLCIoJOn82SCQ/640?wx_fmt=png&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></p><strong style="color: blue;">点击<span style="color: black;">这儿</span><span style="color: black;">能够</span>切换<span style="color: black;">区别</span>版本的GPT</strong>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/GZnvIic82kibCicibLON5chvz994G0iaOicyic6XfHuzqR1fSTLqKialRSw48WLiaPVJSMULWmF0LSLJKjtP5TEXQdnniazw/640?wx_fmt=png&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/GZnvIic82kibCicibLON5chvz994G0iaOicyic6ibMl1OSAIBBHDicOrHNHtUtu2JX5S35icicT61T6jeT3Tp9AvwAvRrFzjg/640?wx_fmt=png&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">运用</span>技巧:</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;"><span style="color: black;">由于</span>GPT-4 Turbo消耗积分<span style="color: black;">火速</span>,<span style="color: black;">因此</span>平常<span style="color: black;">举荐</span><span style="color: black;">大众</span>先用GPT-3.5-Turbo,当3.5-turbo答案不满意,在切换成GPT-4 Turbo版本,能有效节省积分</strong></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/GZnvIic82kibCicibLON5chvz994G0iaOicyic6WPQwaKvaaDY40bZ5vI6a7a9RicA3yqBqxQEaXvTot2ibI6Ske8zribwwA/640?wx_fmt=png&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;"><span style="color: black;">由于</span>GPT-4 Turbo消耗积分<span style="color: black;">火速</span>,<span style="color: black;">因此</span>平常<span style="color: black;">举荐</span><span style="color: black;">大众</span>先用GPT-3.5-Turbo,当3.5-turbo答案不满意,在切换成GPT-4 Turbo版本,能有效节省积分</strong></p>




nqkk58 发表于 2024-10-24 15:04:38

你的见解真是独到,让我受益良多。

nqkk58 发表于 2024-10-26 06:07:15

谷歌外贸网站优化技术。

4lqedz 发表于 4 天前

你字句如珍珠,我珍藏这份情。
页: [1]
查看完整版本: 小白怎么样快速搭建ChatGPT-4 Turbo网站 保母级全流程教程