Table of contents:
0、前提条件
1、官网注册、登录、安装、登录后台
2、在后台一键部署
结束
- Server: Already purchased and able to log in to the backend (Alibaba Cloud and Tencent Cloud are recommended)
- Domain names: Both Tencent Cloud and Alibaba Cloud have them, and registration may be required before they can be used.
https://www.bt.cn/new/index.html
·
First register and log in, and come to this page: Then choose a suitable command to run on your own server, and you can download it.
yes yes After downloading, you will be given two websites and account names and passwords. Copy the website and open it in the browser, and then log in with the username and password.
·
Note that there is another tip below, that is, you need to set the port 36646 in the server configuration first, otherwise it will be blocked by the server. (Enter the server management background - Security Group - Configuration Rules - Manually configure the port it prompts, for example, this is the port here), ·According to the
prompts
, if the browser prompts a certificate problem, just bear with it (I really can’t bear it) , just go to the website it provides to configure the certificate)
注意:
1、这里的域名——如果没有域名,可以直接填入服务器主机的公网IP(本质上一样的,但是建议后续发布还需要使用域名转移名称,直接暴露公网IP是不安全的!!!)
2、域名/公网IP后面建议自带端口号,并在服务器的安全组中开启相应端口号,否则建立多个网站,这些网站都会默认使用80端口,就会出现端口号被占用而新网站无法访问的情况(一个门,多个人)
The port is like the door of a computer, so the server also needs to define the corresponding entrance (door),
otherwise it cannot be accessed! ! ! !
So don't forget that your server needs to be configured with the required port numbers!
注意:如果使用一键部署,提示数据库错误,就换另一个模板试试!!!