[Seek Help] deepin上有没有类似IIS这样方便的web服务器管理程序?
Tofloor
poster avatar
吉吉如律令
deepin
2022-03-23 18:38
Author

此前在windows系统上,我都是用IIS建立本地站点,然后直接将Hugo生成的静态网页文件复制到对应的站点目录,有图形操作非常方便。但linux上nginx配置有点复杂,不太清楚要怎么设置,于是找了一个简单的http-server程序,只要一行命令就可以运行了

sudo http-server  -p 8080

但是我将它设为开机自启动,想让它长期在后台自动运行,就出现504无法访问的情况了。

各位还有没有什么其他小白开箱即用的方法推荐一下?

Reply Favorite View the author
All Replies
deepinuser17
deepin
2022-03-23 18:53
#1

安装apache2.

sudo apt install apache2

sudo systemctl start apache2

apache2的配置文件在/etc/apache2文件夹里。

Reply View the author
捕风
deepin
2022-03-23 19:14
#2

nginx啊,apache,都是

Reply View the author
neko
deepin
Ecological co-builder
Q&A Team
2022-03-23 19:40
#3

你可以装个宝塔,有网页端图形界面管理方便

Reply View the author
阿顺呀
deepin
2022-03-23 19:42
#4

宝塔 或者 小皮

Reply View the author
red13
deepin
2022-03-23 19:54
#5

一般用tomcat..

Reply View the author
kero990
deepin
2022-03-23 19:58
#6

宝塔面板嘛,虽然是web管理

Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2022-03-23 21:43
#7

建议nginx/apache,用宝塔配置

hfs也可以,这个可以wine

或者你就用我这个脚本,用python2启动

https://gitee.com/shenmo7192/momo-and-mox-tool-scripts/blob/master/python2-scripts/server.py

Reply View the author
135******93
deepin
2022-03-24 00:45
#8

用 cacdy吧,配置比nginx简单太多了,而且是个单文件系统,还有插件可以玩文件服务器之类的。

更好用的 Web 服务器:Caddy - 知乎 (zhihu.com)

Reply View the author