comparison host/doc/install.txt @ 2135:e94d10d071e4 default tip

change sed command to not conflict with hghost
author Violet7
date Fri, 16 Jan 2026 18:15:14 -0800
parents c3b4c19f2d8a
children
comparison
equal deleted inserted replaced
2134:de3107eb911f 2135:e94d10d071e4
38 on old macOS this usually does not exist and this step is not needed 38 on old macOS this usually does not exist and this step is not needed
39 sudo rm -r /etc/nginx/sites-enabled/default 39 sudo rm -r /etc/nginx/sites-enabled/default
40 40
41 if nginx has a server listening on 8080, it will conflict with luanhost 41 if nginx has a server listening on 8080, it will conflict with luanhost
42 either remove it or tell it to listen on some other port 42 either remove it or tell it to listen on some other port
43 this command replaces 8080 with 8090 and creates a backup with .bak 43 this command replaces 8080 with 9876 and creates a backup with .bak
44 sed -i.bak -E 's/listen[[:space:]]+8080/listen 8090/g' /usr/local/etc/nginx/nginx.conf 44 sed -i.bak -E 's/listen[[:space:]]+8080/listen 9876/g' /usr/local/etc/nginx/nginx.conf
45 45
46 9) open in browser http://me.luan.software:8080 46 9) open in browser http://me.luan.software:8080
47 47
48 Install on production/test machine: 48 Install on production/test machine:
49 1 - 7 same 49 1 - 7 same