1. Package the VUE project
1. Start packing
Run the command:
npm run build
2. Find the packaged dist folder
Remember where this dist file is placed, remember!
2. Install the pagoda panel on the server side
1. Enter the root user and execute the command
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
Install all yes, until the installation is successfully displayed
2. According to the "extranet panel address", access the pagoda panel in the client browser
Enter the username and password given by the server
(Please note! If it cannot be accessed, check whether the firewall of the server has opened the port, such as: 192.168.211.109:8888)
(If the port is not released, open the port on the cloud server control panel and enter the server to restart the firewall)
3. Register a new pagoda account and log in to pagoda
3. Domain name resolution
1. Open the Alibaba Cloud domain name console
2. Enter domain name resolution
3. Set domain name resolution, add domain name prefix www, etc...
4. Pagoda setting server binding domain name
1. Add a domain name
(Please note! There is no need to specify an additional port number when adding a domain name unless there are special requirements, the default is fine! !)
(Please note! There is no need to specify an additional port number when adding a domain name unless there are special requirements, the default is fine! !)
(Please note! There is no need to specify an additional port number when adding a domain name unless there are special requirements, the default is fine! !)
Parameters such as the root directory also remain default and do not need to be modified.
2. Click "Root Directory"
3. Upload the dist package that has already been packaged (that is, the vue project that we packaged in the first step)
4. Fallback to "Website"
5. Click "Site Name"
6. Add a domain name with a prefix