Wordpress On Raspberry Pi Zero W

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
xXRAGEXx
Posts: 5
Joined: Fri Jul 05, 2019 11:18 pm

Wordpress On Raspberry Pi Zero W

Post by xXRAGEXx »

Hello, I have installed wordpress on my raspberry pi zero w. I cant get it to load the setup page @ http://192.168.0.100/wordpress
on my pc. Does the pi have to be connected to my router? If not I'm not too sure what I'm missing.
xXRAGEXx
Posts: 5
Joined: Fri Jul 05, 2019 11:18 pm

Re: Wordpress On Raspberry Pi Zero W

Post by xXRAGEXx »

Anybody have any idea what I need to do to get this going? I don't need it to be accessible to everyone. Just need to be able to finish the setup and login and view myself.
User avatar
MichaIng
Site Admin
Posts: 2281
Joined: Sat Nov 18, 2017 6:21 pm

Re: Wordpress On Raspberry Pi Zero W

Post by MichaIng »

@xXRAGEXx
Of course the Pi needs to be attached to the router to be reachable from the local network, or how would you achieve that instead? I am just thinking about PC being attached directly via Ethernet crossover cable, and then having Pi and PC using the same static IP on this interface should also work, but loooong time ago that I used such a peer-to-peer Ethernet connection.

But since you installed something (internet connection up), the Pi seems to be connected to the router anyway?
Note that 192.168.0.100 is only the placeholder for the actual local IP you Pi got.
xXRAGEXx
Posts: 5
Joined: Fri Jul 05, 2019 11:18 pm

Re: Wordpress On Raspberry Pi Zero W

Post by xXRAGEXx »

Ok I got the page to come up using the pi's ip instead of the one listed on here. Now my problem is Error establishing a database connection on the page that ask for the database and login information.
xXRAGEXx
Posts: 5
Joined: Fri Jul 05, 2019 11:18 pm

Re: Wordpress On Raspberry Pi Zero W

Post by xXRAGEXx »

When Wordpress is installed from dietpi-software does it install everything needed for the database? I installed phpmyadmin but I’m still getting the error.
User avatar
MichaIng
Site Admin
Posts: 2281
Joined: Sat Nov 18, 2017 6:21 pm

Re: Wordpress On Raspberry Pi Zero W

Post by MichaIng »

@xXRAGEXx
Sorry for missing reply. Is this still an issue? The database is created on install, hence giving database credentials as user "wordpress" database "wordpress" password "your_global_software_password" (e.g. "dietpi" by default, respectively the one you set in dietpi.txt before first boot or set on first login when asked)
Post Reply