Last update at :2024-06-14,Edit by888u
Currently, our webmasters are using VPS hosts more and more as space for their own websites. Firstly, this is because VPS hosts are relatively cheap, and the cost savings of a little learning and usage tutorials exceed that of virtual host products (the difference between virtual hosts and VPS hosts) What should we choose?), secondly, we can use the relatively lightweight VPS management panel to manage the VPS. We only need to install the panel in the VPS host according to the tutorial. Our management and building of the website are basically the same as using the DA and CP panels of the virtual host. Simple. Of course, here Snail will not ask you to use a virtual host or a VPS host. According to your own needs, the risk caused by improper selection and use of VPS is higher than that of a virtual host.
In this article, Snail will share the tutorial on installing and setting up the DISCUZ program using the AMH panel. Many of us are familiar with the AMH panel. It is a free VPS panel in mainland China. It consumes relatively little resources and is used by many users. More. Snail has also shared several tutorials about AMH before. The ones I wrote before may be relatively simple, and I will enrich them if I have time.
The fourth tutorial in the AMH management panel series: WordPress program installation and pseudo-static settings
One of the AMH management panel series tutorials: System installation and application introduction
Basic usage skills of AMH panel
Article Directory Hide
The first step is to add a domain name and build a website
Step 2: Add FTP permission to transfer files
The third step, add database
Step 4. Install DISCUZ site
Step 5: Set up pseudo-static
Step one, add a domain name and build a website
After we install the AMH panel, we need to log in to the backend to add a site, and add the domain name where we need to build the DISCUZ website to the virtual host.
Let’s not worry about pseudo-static for now. DZ pseudo-static is not included in the default panel. We will mention the solution later. Here we need to add a domain name, especially the bound domain name WWW and the domain name without WWW are different, so we need to add them both. If you need a second-level domain name, you can also add it directly. (Here Snail used a recently registered 3-digit BIZ as a test and kept it for his own use)
Step 2: Add FTP permission to transfer files
We can use the FTP tool to directly log in to SSH with ROOT permissions, and then transfer files under the HOME/WWWROOT/your domain name/WEB folder. If you dare not use it for fear of making a mistake, then go directly to the AMH panel to add an FTP account. .
After adding FTP, we can use the FTP tool to upload the installation file package. I downloaded the latest Discuz! In \\"Management Module\\", installing the AMFTP online management tool can help us decompress the uploaded files and compress them later, similar to our commonly used CPANEL file management tool.
Unzip the file, move it to the root directory (some users like to use other secondary directories), make sure there are no problems with the directory, and then we are ready to install.
The third step, add database
Use MYSQL on the AMH panel to quickly create a database (early versions of Snail also mentioned that database management was average, but it has now been improved). For example, when I was writing the tutorial "AMH Management Panel Tutorial Series Two: Adding Domain Names to Create Sites and Databases", I mentioned that databases are very troublesome. This tutorial is from the past, so you don't need to refer to it.
Remember our database account information, we will need it later for installation.
Step 4. Install DISCUZ site
This is very simple. As long as our domain name has been resolved, and then open the domain name, there will be an installation wizard. We follow the prompts step by step, especially the above database information must be filled in correctly.
Step 5, set pseudo-static
At this point, our DZ forum can be accessed normally, but we need to pay attention to a problem. At this time, pseudo-static is not easy to use. We need to set up pseudo-static. Let's go to "AMH Management Panel to Implement Discuz Program Pseudo-Static Settings" and download the commonly used scripts in the attachment. They are commonly used pseudo-static CMS site rules compiled by Snail.
After downloading, we upload it to the /usr/local/nginx/conf/rewrite directory. Then go to the website editor under the current virtual machine and select the corresponding DZ pseudo-static. I choose the discuzx.conf version here.
After setting up here, we only need to go to the DZ backend and set it up. The location is \\"Global\\"-\\"SEO Settings\\", then check everything that needs to be set on the right side, and "Rewrite Compatibility\\" is selected to start.
Finally, let’s see if our DISCUZ website is completed. The same steps apply to other programs. Isn't it very simple? If you still don’t know how, you can contact Snail to communicate privately.
Recommended site search: dynamic ip dial-up server, wordpress host, local ip, cheap domain name registration on behalf of filing, filing-free virtual space, Hong Kong Cloud hosting, registration space, free Japanese server, free domain name registration,
发表评论