Solve the problem of Linux system cloud server in manually building WordPress personal site
I have been obsessed with playing cloud servers in recent days. I just rented a cloud server with a student discount. I have never touched the Linux system before. Taking advantage of this time, I just mastered some Linux system commands and can manage them on the server. Good file, or run some python code everyday.
beginning
I just got a rented server, and after learning the commands of Linux, I started looking for documents to build some small projects I was interested in.
Here I first built LNMP ( L inux, N ginx, Maria DB, PHP Linux, Nginx, MariaDB, PHPL I n- U X , N G I n- X , M A R & lt I A D B , P H P ) environment, and then build the complete download configuration Wordpress, ready to build a small Blog own, do happily bit In the afternoon, after configuring everything on the website, I wanted to set up another FTP on the server so that I could upload some local code, files and the like. After configuring various environments, I found that my Wordpress website crashed.
between
The crashed webpage looks like this. I carefully read what was written above, and filtered some keywords: nginx,'located/usr/share/nginx/html/50x.html','/etc/nginx/nginx.conf' .
Hurry up to log in to the background to find the conf file, modify various permissions, check various documents, but can't find a solution, and the online method is not feasible, so I almost uninstalled nginx .
end
After much deliberation, where the problem comes down to is that this crash occurred after configuring FTP, then I went back to find the vsftpd problem, and finally thought that after the configuration, because I need to give FTP an inbound rule, I set a TCP: 20- twenty one.
The problem is here. Since this instance was not associated with a security group before, and now it is associated with this inbound rule, it is impossible to log in to Wordpress, so you only need to add a 0.0.0.0/0 security group that allows all ports to be released. Run Wordpress normally.
− − − − − − − − − − − − − − − − − − − − − ---------------------−−−−−−−−−−−−−−−−−−−−-
Welcome to my websitezyairelu.cnto comment and discuss
personal mailbox [email protected]
- - - - - - - - - - - - - - - - - - - - - -------- -------------−−−−−−−−−−−−−−−−−−−−−