Host Your Own WP Blog (Debian 10, Nginx, PHP 8 & MariaDB) - Printable Version +- Post4VPS Forum | Free VPS Provider (https://post4vps.com) +-- Forum: VPS Discussion (https://post4vps.com/Forum-VPS-Discussion) +--- Forum: Tutorials (https://post4vps.com/Forum-Tutorials) +--- Thread: Host Your Own WP Blog (Debian 10, Nginx, PHP 8 & MariaDB) (/Thread-Host-Your-Own-WP-Blog-Debian-10-Nginx-PHP-8-MariaDB) Pages:
1
2
|
RE: Host Your Own WP Blog (Debian 10, Nginx, PHP 8 & MariaDB) - LightDestory - 05-21-2021 (05-21-2021, 03:46 PM)Mashiro Wrote: Why? Did you read the introduction part of this guide? Seems like you didn't. The point is to teach people who are afraid of the CLI how to use it properly and use this kind of setup as a learning project for them. It originated from a request by @deanhills. You are right, this guide aims to give all the knowledge needed to set up WP from scratch using CLI commands and building up the enviroment. But what I wanted to say is that you could use a pre-made containers, that as you said will not give you much of knowledge, or you could set up a generic alpine-debian-whatvever container and perform this guide inside the container. The container will not be optimal because no persistent volumes are set up but it is far more secure than running WP on "barehardware". WP isn't the most secure CMS out there and getting a code injection is easy enought if you use "anonymous" extensions or if a new CVE is discovered inside the WP-core. RE: Host Your Own WP Blog (Debian 10, Nginx, PHP 8 & MariaDB) - Mashiro - 05-21-2021 The goal of this guide at the request of @deanhills has been fulfilled as far as I can see. So why do you not make the guide you are talking about to teach us? @LightDestory RE: Host Your Own WP Blog (Debian 10, Nginx, PHP 8 & MariaDB) - deanhills - 05-21-2021 (05-21-2021, 03:46 PM)Mashiro Wrote: Why? Did you read the introduction part of this guide? Seems like you didn't. The point is to teach people who are afraid of the CLI how to use it properly and use this kind of setup as a learning project for them. It originated from a request by @deanhills. Agreed @Mashiro. I also think command line installation is an important learning curve before one moves to a container, as it's not just a matter of creating WordPress from the command line. There is so much background knowledge in this tutorial that prepares one for Docker at a later stage. I learned much more than just setting up LEMP with WordPress. This may be excellent preparation for getting stuck in with Docker later on. I didn't have any expectation of a tutorial, but when you created one, you were so much on the mark with what was needed. I worked through the tutorial again today - there is just enough in the tutorial to make it brilliant in its simplicity. There is so much more I learned than just installing WP from the command line. For starters adding 3rd party repositories, how to create a folder tree for a Web Server. Nginx .conf default permissions - new file. Etc. etc. All of it so simple, but at the same time great learning blocks for future reference. If I may ask. And only if you have time. Do you think it's possible to expand your tutorial to include setup of phpmyadmin. I remember from freevps.us days that you're not in favour of URL browser access to phpmyadmin. Is there a secure way that one can set it up as an extension of this tutorial? RE: Host Your Own WP Blog (Debian 10, Nginx, PHP 8 & MariaDB) - Decent12 - 05-24-2021 Thats what i wanted from a long time since i am using Apache from a long and i am used to it and i can host sites from command line if i want to host with apache but i wanted to move to nignix and i had no clue how to do it but this guide will help me to host my site with nignix. The guide is detailed and neat so easy to understand for people like me whom get serious issues in understanding some guides. RE: Host Your Own WP Blog (Debian 10, Nginx, PHP 8 & MariaDB) - fChk - 05-28-2021 (05-21-2021, 02:59 PM)LightDestory Wrote: Your guide is awesome... but I have a question: why not use docker? To avoid repeating myself, read the quote below: (09-27-2020, 06:19 AM)fChk Wrote: @fitkoh Thus, it's cool to run containers but inside a VPS it's a waste of resources. (05-21-2021, 02:59 PM)LightDestory Wrote: I think that nowadays due to code injection issue and WP security-level it is safer to run in inside a container to protect your machine from attacks. For example, lately a CVE on Laravel component allowed some idiots to inject a crypto miner into my friend machine. I had a very hard time tracking it down. It if were a container I could just destroy and re-create without losing data.... if you set up persistent volumes on your environment.Docker containers are not as safe as you think they are!.. Docker engine runs as root, Docker containers might have root privileges if security measures aren't enforced at the containers levels. You can use Podman which runs rootless containers instead... I will review your thread next week to see how you're doing on that front!.. |