[01:15] Trying to setup a website on Ubuntu 20.04LTS. It used to be so easy, but now I can't even understand where to begin. I've installed the lamp-server task. In the past, it used to configure users and passwords, but it doesn't anymore. The Ubuntu help doesn't mention it at all and obviously searching leads to old info. Any hints? [01:19] apache runs as a specific user, put your stuff in /var/www/html/ chown it to that user, bam, website [01:20] mybalzitch, that's a great bam as long as you don't need a database, which I do. I am not able to find out how to set a root user password. [01:21] why are you giving root a password [01:21] You understand I'm talking about the mysql root user? [01:21] https://www.digitalocean.com/community/tutorials/how-to-install-mariadb-on-ubuntu-20-04 [01:22] you understand thats the first result on google [01:23] Yes, but it's 8 years old and it doesn't work. [01:23] Last Validated onMay 12, 2020 [01:24] you ran sudo mysql_secure_installation ? [01:24] No, I told you that I installed the lamp-server task on Ubuntu 20.04LTS. [01:25] and those instructions are for 20.04 [01:25] for a mysql database server [01:26] except everyone uses mariadb now, since oracle are jerks [01:26] SOME of us still use MySQL still... [01:26] Mainly because it's what the software we use requires. [01:27] lol [01:28] If this is a necessary step, I don't understand why Ubuntu help doesn't mention it at all. [01:28] It is intended to be a drop-in replacement for MySQL. [01:29] I mean, it's not easy to guess that you must run "sudo mysql_secure_installation" after having installed MySQL. [01:29] jo-erlend: either way, mysql/mariadb both do not set a password for root and disable setting a password for root by default. This has been the case for multiple years now. Is there any particular reason you need to set a root password for mysql? [01:31] leftyfb, probably only that I haven't used it in many years. [01:32] jo-erlend: setting up a public web server isn't meant to be a guessing game. You're meant to know what you're doing and/or learn to research current technologies and best practices. Otherwise, you'll just be contributing to the spam/bots/malware that is ravaging the internet at large [01:33] jo-erlend: Is there any particular reason you need to set a root password for mysql? [01:34] leftyfb, well, I'm going to use phpmyadmin and I thought it would be useful for it to be allowed to do stuff. [01:34] jo-erlend: don't [01:34] Don't what? [01:35] jo-erlend: don't poke more holes in your system with phpmyadmin. Learn to use the mysql client [01:36] why should that be necessary for an offline system that only I will ever have access to? [01:36] jo-erlend: this machine won't be connected to the internet at all? [01:36] No. [01:37] jo-erlend: then how will you receive security updates? [01:37] and bug fixes [01:37] From my mirror. [01:37] jo-erlend: https://www.tecmint.com/disable-root-login-access-to-phpmyadmin/ [01:38] I'm really just experimenting, because I haven't done any of these things in years and many things have changed. [01:40] jo-erlend: lxd would be great for this then. Keeping it on the default network [01:41] Yes, but my qemu+kvm setup is good enough. === catalase_ is now known as catalase