Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Discuz remote attachment Settings

Shulou Source: shulou.com Published: 2022-06-01 01:47:07 10月04日 Update

Discuz remote attachment is a good feature, but it takes some patience to set it up, and it took me two days to set up this remote attachment. Let's talk about the steps of setting up and what we should pay attention to.

[@ more@]

1. First of all, to build a ftp server, you can refer to an article about setting up vsftpd. After setting it up, it is very important to assign permissions, otherwise it will fail. When setting up a ftp group is not successful, you can consider creating new groups and users as ftp accounts.

two。 Then build the web server, I use nginx, it should be noted here that the ftp directory and the http directory should be the same directory, and ftp and http are preferably the same user, which can reduce the chance of problems, that is, configure user as a ftp user in nginx.conf.

3. It is best to have the picture preview is normal, but can not download the situation, this is to turn on the passive mode of ftp. Set it at discuz.

Tags: User directory attachment time best server service important success patience probability function picture place situation time is in permission mode step Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Huawei Apple MariaDB Shulou Technology