Page 4 of 4

Re: Guide to installing WordPress

Posted: Mon Sep 01, 2014 4:47 am
by Lob0426
I thought I would post an update to this topic.

The server is still running strong. It was moved to a rev 2.0 board as some of the add-ons in WordPress were slowing things up on the 256MB rev 1.0 board. The current board is not being back-powered.

SD card corruption issues are not a problem any longer. I have had a number of power outages and brownouts. My server usually comes right back up but I have to reboot my router to get it visible on the internet after a power outage. Usually it is a problem with the IP changing. I have had to change the (internal) IP couple of times to cure the problem. Need to find out why it totally loses its IP. Might be in the router!

I installed the Plugin "Stop Spammers". It works real well. It reduced the number of spam users by 95%. It also is reporting and stopping all of the admin login attacks. fail2ban is doing its part also. As of today it has stopped almost 160,000 logins and attacks from 3/3/14. One of the TLD's I blocked seems to still be able to sneak through. o2.pl just will not quit!

I had to close my comments as the spammers always find ways to get their spam into my comment sections. You never saw them posted as I had comment moderation turned on. I have not seen one single legitimate comment to my postings anyway!

The majority of users that get logged in are internet spiders. I clean these out every few days as they are not of any benefit to me. Most do not even show a country of origin.

I perform updates every month or two and a backup during the same time. It is about time again! I like to perform the backup before I update, then again after.

Re: Guide to installing WordPress

Posted: Mon Oct 27, 2014 10:34 am
by PorterDon
Hey there Rich, remember me? :twisted: I'm finally back in the saddle (here in the land of anything goes 8-) ) and haven't bothered you in ages. I just tried to start up my Lighttpd server again (first time since March) but instead a mushroom cloud appeared, most likely due to some sort of an anomaly with my WP/Sqlite3/Lighttd/Plugin interaction crap. I'm thinking (hoping) this is explained by some sort of a change at the WP end because I am using the exact same image on my RasPi as before. I hope to nail down what really went on. Anyway, I'm doing a complete regen using current versions of everything and will see if my web server runs successfully as before. Reminder, I have set up Lighttpd for virtual hosting on four domains. I still expect low traffic (if any atall :cry: ) so unfortunately horsepower or server hit concurrency aren't issues.

BTW, it appears Apache's performance satisfies you to the point of not using Lighttpd? Otherwise, anything noteworthy going on in our little world of RasPi servers?

Re: Guide to installing WordPress

Posted: Mon Oct 27, 2014 10:47 pm
by Lob0426
I have stuck with Apache2. It has more than enough performance for my read only WordPress. It has been up for all this time except when updates were needed. Then I take it down, backup, update WordPress, Update Raspbian then backup again. Then it goes right back up!

My outgoing, at about 95Kbps, is more of a bottleneck than Apache is!

I have been putting a lot of time into my CNC stuff lately. Sherline CNC Mill and Lathe. more than 80 hours in the last two weeks!

Re: Guide to installing WordPress

Posted: Fri Aug 12, 2016 1:11 am
by Tony-d
Sir I tried this on my pi model B+ V1.2 2014
And when i go to the Ip address xxx.xxx.xxx.xxx\wordpress
the browser asks me if i want to down load x-httpd.php
as I am somewaht new to this i completed the process two times thinking i missed a step.
from new blank 8 gb class 4 sd cards.
is my pi to old? any thoughts on what i am messing up?
Thank you sir.

Re: Guide to installing WordPress

Posted: Fri Aug 12, 2016 1:28 am
by Lob0426
It is the instructions that are too old. They were written in Dec 2013. There are many places to get tutorials from now. And they will have newer information than my old instructions have.

https://www.raspberrypi.org/learning/la ... wordpress/
https://www.htpcguides.com/install-word ... -raspbian/

Re: Guide to installing WordPress

Posted: Fri Aug 12, 2016 1:47 am
by Tony-d
well it was good practice! Thanks for letting me know!
Best regards

Re: Guide to installing WordPress

Posted: Sun Aug 14, 2016 5:25 pm
by frafrii
I am running into an issue where the template does not load for outsiders. :/

http://73.176.127.164/

Also if I try to go to http://73.176.127.164/wp-admin it tries to go to my website.

any advice?
Thank you guys!

I followed this instructions https://www.raspberrypi.org/learning/la ... wordpress/

Re: Guide to installing WordPress

Posted: Sun Aug 14, 2016 10:19 pm
by Lob0426
Did you open port 80 in your router?
it looks like that is what is causing this.

Or the settings in WordPress are just not quite right yet. make sure you open port 80.

Re: Guide to installing WordPress

Posted: Mon Aug 15, 2016 2:56 pm
by frafrichile
Lob0426 wrote:Did you open port 80 in your router?
it looks like that is what is causing this.

Or the settings in WordPress are just not quite right yet. make sure you open port 80.
I believe I did. I set port forwarding on my router Motorola sbg6580
Is there a setting on the raspberry pi that needs to be adjusted?
Could it be a permission error?

From inside the network everything looks good. Just from outside the network I have issues.
Thank you !

Re: Guide to installing WordPress

Posted: Tue Aug 16, 2016 1:57 am
by Lob0426
If your WordPress settings are just a bit off it will do the same thing.

WordPress Address (URL)
http://rich1.dyndns.tv/wordpress

Site Address (URL)
http://rich1.dyndns.tv

I am using DynDns.org as a Domain Name Server. My suspicion is that you need to change the WordPress Address (URL). it is not finding the folder where WordPress is installed at. It is finding the wrong WordPress folder.

Re: Guide to installing WordPress

Posted: Tue Aug 16, 2016 3:26 am
by frafrichile
Lob0426 wrote:If your WordPress settings are just a bit off it will do the same thing.

WordPress Address (URL)
http://rich1.dyndns.tv/wordpress

Site Address (URL)
http://rich1.dyndns.tv

I am using DynDns.org as a Domain Name Server. My suspicion is that you need to change the WordPress Address (URL). it is not finding the folder where WordPress is installed at. It is finding the wrong WordPress folder.
That did it. Thanks for your help amigo!

Re: Guide to installing WordPress

Posted: Tue Aug 16, 2016 5:10 am
by Lob0426
That appears to have got it done.

Good luck

Re: Guide to installing WordPress

Posted: Sat Sep 10, 2016 1:29 pm
by ericlp
Ok,

Well, I've installed LAMP, on two Pi's now a version 2 and 3.

So stumbling around in WP... I changed these...

If your WordPress settings are just a bit off it will do the same thing.

WordPress Address (URL)
http://rich1.dyndns.tv/wordpress

Site Address (URL)
http://rich1.dyndns.tv

Both of these were set to my internal IP address...

But when I changed them ...

to http://ericlp.hopto.org (set to my public IP address) from noip....

Something broke. I can't log into WP anymore, but it did speed up the page load time by a lot!

I'm thinking folder permissions or something got hosed... because as soon as I made those changes and hit save...

I get this message... Oops! That page can’t be found. and I can't seem to get back into the dashboard anymore.

Well, that was fun! I'm just gonna leave this here in case anyone else has a problem ....

https://codex.wordpress.org/Changing_The_Site_URL

Don't put http://rich1.dyndns.tv/wordpress (wordpress) unless you have wordpress folder in the html folder. I don't... wordpress was untarred in the html folder.

cheers!

Re: Guide to installing WordPress

Posted: Sun Sep 25, 2016 10:08 pm
by ericlp
So, I wanted to make an update.

With the Raspberry Pi 3, I am able to run a fast wordpress site, Plus two other static sites, I just put in more folders on what I want...

Plus, I am using my Pi, not just as a web server but to control my robot. I put that in another folder. Setup the rabbits and everything is running smoothly and perfectly! I don't advertise my site. I've backed it up a few times, one with WP alone, and one with additional sites plus the nabaztag server running.

The Pi is running well (no crashing) and staying cool. The thing I have not done is backed up the flash drive to memory card. I need to do a test run to see if it's really working! :) I may advertise it more when I settle on a decent wordpress theme that I want to use, I'm still in testing phase. My connection here in hawaii is 300Mbps down and 20Mbps up. So it should be pretty snappy and handle any traffic that I would generate for personal use.

Next? Beside adding more static sites, (no IP) gives you 25 address, so it's fun to spin up or spin down sites at will. I want to make an Amazon echo (alexa) clone to control the lights in the house. Should be fun!

The adventures in pi!