Installing Fedora 27 LAMP Stack plus WordPress and SSL
-
@black3dynamite said in Installing Fedora 27 LAMP Stack plus WordPress:
Awesome work.
Isn't the
dhcp-client-identifier
more of annoyance than an issue? You can use static mapping on Windows DHCP.Yeah, but if I do that, then things "just work" and makes things easier. Like pre-configured DHCP reservations and DNS records by MAC address.
-
Step seven of the first part can be automated instead of forcing the interactive secure MySQL. You can look at some of my newer guides for that. Or I can post it tonight or tomorrow when I’m not driving
-
@jaredbusch said in Installing Fedora 27 LAMP Stack plus WordPress:
Step seven of the first part can be automated instead of forcing the interactive secure MySQL. You can look at some of my newer guides for that. Or I can post it tonight or tomorrow when I’m not driving
I can't find it.
-
@tim_g said in Installing Fedora 27 LAMP Stack plus WordPress:
@jaredbusch said in Installing Fedora 27 LAMP Stack plus WordPress:
Step seven of the first part can be automated instead of forcing the interactive secure MySQL. You can look at some of my newer guides for that. Or I can post it tonight or tomorrow when I’m not driving
I can't find it.
https://mangolassi.it/topic/12878/install-nextcloud-11-0-2-on-centos-7-with-php-7-1-from-remi
Scroll down where he shows us how to create and secure the database.
-
Now add a section for Virual Hosts
-
@jaredbusch said in Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi:
#Secure mariadb. These commands do what mysql_secure_installation does interactively mysql -e "UPDATE mysql.user SET Password=PASSWORD('somesecurepassword') WHERE User='root';" mysql -e "DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1');" mysql -e "DELETE FROM mysql.user WHERE User='';" mysql -e "DROP DATABASE test;" mysql -e "FLUSH PRIVILEGES;"
Awesome, I'll update my post when I'm not in my 2nd office.
-
@tim_g said in Installing Fedora 27 LAMP Stack plus WordPress:
@jaredbusch said in Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi:
#Secure mariadb. These commands do what mysql_secure_installation does interactively mysql -e "UPDATE mysql.user SET Password=PASSWORD('somesecurepassword') WHERE User='root';" mysql -e "DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1');" mysql -e "DELETE FROM mysql.user WHERE User='';" mysql -e "DROP DATABASE test;" mysql -e "FLUSH PRIVILEGES;"
Awesome, I'll update my post when I'm not in my 2nd office.
Yeah, I was driving home last night and couldn’t dig that up for you directly.
-
Do you guys use dnf-automatic on all of your fedora servers?
-
@bnrstnr said in Installing Fedora 27 LAMP Stack plus WordPress:
Do you guys use dnf-automatic on all of your fedora servers?
Generally, yes.
-
@bnrstnr said in Installing Fedora 27 LAMP Stack plus WordPress:
Do you guys use dnf-automatic on all of your fedora servers?
I do.
-
@bnrstnr yup, and my containers too
-
@bnrstnr said in Installing Fedora 27 LAMP Stack plus WordPress:
Do you guys use dnf-automatic on all of your fedora servers?
I do. And it’s important to have it send an email with the results of the completed updates so you can look over it.
-
I should note that I have an updated Fedora 27 and WordPress procedure here:
https://www.timothygruber.com/web/creating-modern-wiki-wordpress/
-
@tim_g said in Installing Fedora 27 LAMP Stack plus WordPress:
I should note that I have an updated Fedora 27 and WordPress procedure here:
https://www.timothygruber.com/web/creating-modern-wiki-wordpress/
Nice job on guide. I do have a question about the theme and plugin install. Shouldn’t you using
sudo -u apache wp
to install themes and plugins? -
@black3dynamite said in Installing Fedora 27 LAMP Stack plus WordPress:
@tim_g said in Installing Fedora 27 LAMP Stack plus WordPress:
I should note that I have an updated Fedora 27 and WordPress procedure here:
https://www.timothygruber.com/web/creating-modern-wiki-wordpress/
Nice job on guide. I do have a question about the theme and plugin install. Shouldn’t you using
sudo -u apache wp
to install themes and plugins?Thanks.
No, it installs them just fine. I verified the files are owned by apache:apache in the directory.
If you get a warning about not using sudo -u apache, then you can. It doesn't matter. -
Updated LAMP section to install Let's Encrypt SSL (https) implementation:
https://www.timothygruber.com/linux/creating-lamp-server-fedora-27-ssl/
-
This is on my to-do list today. Need a clean install to compare a site that the theme has been modified and I can't see what file they've edited
-
@tim_g said in Installing Fedora 27 LAMP Stack plus WordPress and SSL:
Create a new secure SSH key:
ssh-keygen -t rsa -b 4096 -C "root-webserv1-key"Hit enter for default location and name.
Hit enter again to skip passphrase creation.
Now you should SSH to server to continue.Does this step disable normal logins or change anything at all? After my first restart my root password isn't working.
-
@bnrstnr said in Installing Fedora 27 LAMP Stack plus WordPress and SSL:
@tim_g said in Installing Fedora 27 LAMP Stack plus WordPress and SSL:
Create a new secure SSH key:
ssh-keygen -t rsa -b 4096 -C "root-webserv1-key"Hit enter for default location and name.
Hit enter again to skip passphrase creation.
Now you should SSH to server to continue.Does this step disable normal logins or change anything at all? After my first restart my root password isn't working.
I noticed this when I was using Putty. I had to delete the saved session so it could import the new key that was generated.
-
@nashbrydges said in Installing Fedora 27 LAMP Stack plus WordPress and SSL:
I had to delete the saved session so it could import the new key that was generated.
Delete the session in putty? How did you do that?