Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

关于如何正确食用软件简易教程 #46

Closed
sxsjs123 opened this issue Oct 21, 2023 · 0 comments
Closed

关于如何正确食用软件简易教程 #46

sxsjs123 opened this issue Oct 21, 2023 · 0 comments

Comments

@sxsjs123
Copy link

Linux (debian 11)如何通过docker部署漫游
无脑直接复制粘贴

curl -fsSL https://get.docker.com | bash -s docker

sudo curl -L "https://github.com/docker/compose/releases/download/1.29.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

docker run -d --name web -p 8080:80 -v /root/php:/var/www/html php:7.2-apache

cd /root/php

unzip Server_v4.5.3.zip

至此你应该可以用。 ip:8080。 ip加端口的方式访问

给你的ip解析一个域名。比如xxx.xxx.com

继续
通过这个链接里的教程
https://blog.xiaoz.org/archives/18963
开启代理 以及申请ssl证书。自此应该就没问题

@david082321 david082321 pinned this issue Nov 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant