Code Monkey home page Code Monkey logo

Comments (27)

Jrohy avatar Jrohy commented on July 22, 2024

网络超时吗报错,连接服务器失败?

from trojan.

Jrohy avatar Jrohy commented on July 22, 2024

看network那里接口能否拿到后台结果

from trojan.

luoqiz avatar luoqiz commented on July 22, 2024

我用trojan管理脚本添加了域名后,服务器的web页面已经访问不到了
image

from trojan.

Jrohy avatar Jrohy commented on July 22, 2024

看下web服务状态: systemctl status trojan-web

from trojan.

Jrohy avatar Jrohy commented on July 22, 2024

添加域名是指证书申请吗

from trojan.

luoqiz avatar luoqiz commented on July 22, 2024

from trojan.

Jrohy avatar Jrohy commented on July 22, 2024

systemctl status trojan-web 看下状态是否在正常运行

from trojan.

luoqiz avatar luoqiz commented on July 22, 2024

我比你快了一步,重启服务器了。
登录正常,trojan信息显示不了,用户信息也没显示
image

image

貌似前端 userList 属性出错
image

from trojan.

Jrohy avatar Jrohy commented on July 22, 2024

mysql是不是没启动到,看mysql日志 docker logs -f trojan-mysql

from trojan.

luoqiz avatar luoqiz commented on July 22, 2024

启动了

image

from trojan.

Jrohy avatar Jrohy commented on July 22, 2024

运行docker logs -f 命令会自动退出吗,如果会自动退出mysql就是启动有问题

from trojan.

luoqiz avatar luoqiz commented on July 22, 2024

自动退出的,我发现一个问题,貌似内存不够了

image

from trojan.

Jrohy avatar Jrohy commented on July 22, 2024

那应该是了,vps如果没有512m + 内存不好启动的, mysql启动我看了下都要150m+内存

from trojan.

Jrohy avatar Jrohy commented on July 22, 2024

可以将mysql搬到其他机器,或者换大内存的vps, 如果才256m内存的就不建议装mysql了,建议直接用trojan配置文件。

from trojan.

luoqiz avatar luoqiz commented on July 22, 2024

我的512的内存,直接用trojan配置文件是不是用不了web页面了?

from trojan.

Jrohy avatar Jrohy commented on July 22, 2024

512的应该可以的,用trojan配置文件,web界面就没什么意义了,web界面读的是mysql的数据

from trojan.

Jrohy avatar Jrohy commented on July 22, 2024

上面的不是内存不足,是连不上数据库, mysql启动不了,会自动退出的话

from trojan.

luoqiz avatar luoqiz commented on July 22, 2024

数据库脚本在哪?

from trojan.

Jrohy avatar Jrohy commented on July 22, 2024

数据文件在/home/mysql这个目录,如果启动不了mysql建议清了mysql后重新安装mysql
rm -rf /home/mysql
docker rm -f trojan-mysql
在安装管理那里可以安装mysql

from trojan.

luoqiz avatar luoqiz commented on July 22, 2024

显示都已正常,但是无法连接
image

from trojan.

Jrohy avatar Jrohy commented on July 22, 2024

这个是启动失败的

from trojan.

luoqiz avatar luoqiz commented on July 22, 2024

嗯,是的。我以为是你写的控制trojan有问题,重装了以后解决了。关于你写的脚本,我发现docker安装有问题,执行不成功。后来我自己安装了docker-mysql测试没问题,不知是哪的原因。我用的谷歌云centos7. 希望后续能添加用户使用期限和多节点trojan管理。

from trojan.

luoqiz avatar luoqiz commented on July 22, 2024

到目前使用没问题了,非常感谢大佬。

from trojan.

luoqiz avatar luoqiz commented on July 22, 2024

默认管理端口是80,我想在这个端口监听自己的多域名网站,如何修改端口号使其运行在nginx之后?

from trojan.

Jrohy avatar Jrohy commented on July 22, 2024

看项目README web服务那里有介绍怎么改端口的,修改trojan-web.service。

from trojan.

Jrohy avatar Jrohy commented on July 22, 2024

@luoqiz 新建了wiki,怎么修改端口看这里修改web端口

from trojan.

luoqiz avatar luoqiz commented on July 22, 2024

收到。

from trojan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.