How to Setup WordPress on Raspberry Pi

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024
  • Learn how to host a WordPress website on your Raspberry Pi 4 in this video tutorial that will show you how to install and configure WordPress and the database.
    Get a Raspberry Pi 4 on Amazon 👉 amzn.to/2Ka0swl
    Code snippets and more at tonyteaches.te...
    Check out my vlog channel ‪@TonyFlorida‬
    #raspberrypi #wordpress

Комментарии • 227

  • @joesalgadSF415
    @joesalgadSF415 3 года назад +10

    Thanks Tony I just got my first ever pi and I don’t know how to use it but I guess I’ll learn as I go. You earned a new sub

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +3

      Awesome to hear it Joe. You will have fun with it

  • @ahmadimran6231
    @ahmadimran6231 3 года назад +8

    Simple and easy. Thank you for this content.

  • @loosemoose6293
    @loosemoose6293 2 года назад +3

    Amazing teaching skills Tony keep up the good work

  • @fanBladeOne
    @fanBladeOne 3 года назад +5

    Best Rpi WP tutorial I've come across. You have yourself a new subscriber :)

  • @JoelGarcia-rh5kx
    @JoelGarcia-rh5kx 3 года назад +4

    Learning tons!!! Love this! Keep up the awesome tutorials!!!! You rock!

  • @trinitech8660
    @trinitech8660 Год назад +3

    You just earned a Sub. This was clear and detailed. Thank you

  • @leakysneaker
    @leakysneaker Год назад +1

    It worked! Great video and clearly explained. Thank you for your work. Now if I could get my picamera v3 to stream on a wordpress page. Any thoughts?

  • @redemidias1329
    @redemidias1329 3 месяца назад +1

    spectacular, sensational. Congratulations, working perfectly in 2024

  • @cmmmmmmmw
    @cmmmmmmmw Год назад +1

    Thanks for this - it worked great for me. Any advice on how to troubleshoot suddenly not being able to connect to your web server? I've checked that nginx is still running and yet my other devices are telling me the server refuses to connect.

  • @cooltube7057
    @cooltube7057 3 года назад +2

    Very nicely explained Thank You

  • @joeysupply
    @joeysupply Год назад +1

    Thank you. awesome tutorials

  • @szabojanos4410
    @szabojanos4410 3 года назад +1

    Mr. Tony Florida for President! 👨‍💼🇺🇸 Awsome content again. Amazing! Thank You Sir!

  • @lu1stv267
    @lu1stv267 3 месяца назад

    Thanks for youre videos bro they are awesome!

  • @cajhdz
    @cajhdz Год назад +1

    Thank you for sharing knowledge =D

  • @hikenadventure
    @hikenadventure 3 года назад

    I have just tried this out on a 3b and it worked 1st time, thank you very much, you just got sub'd.

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      Awesome! Thank you for subscribing Mark :)

  • @batchrocketproject4720
    @batchrocketproject4720 2 года назад +2

    Very clear, thanks!

  • @bngala77
    @bngala77 2 года назад +3

    Hi, I would like to appreciate this interesting video with all the contents. I am new to this technology and I have configure my raspberry pi 4 exacly as instructed on this video. unfortunatly I am running an error "nginx/1.18.0 502 Bad Gateway" as I reproduced exacly what Tony did I should get the same result. Please I need help what can I do to fix this error.

    • @selfinit2416
      @selfinit2416 Год назад +5

      You probably use different version of php. Try to change the php version from 7.3 - 7.4(which is the latest for that moment) in the wordpress.conf file in this line:
      server unix:/var/run/php/php7.3-fpm.sock;
      Should be:
      server unix:/var/run/php/php7.4-fpm.sock;

    • @vladha3875
      @vladha3875 11 месяцев назад

      @@selfinit2416 thank you, helped to fix my problem!

    • @Loveparaeveryone
      @Loveparaeveryone 4 месяца назад

      Same here... Did you find a fix?

    • @Loveparaeveryone
      @Loveparaeveryone 4 месяца назад

      @@selfinit2416 I tried this and didnt work...

    • @Loveparaeveryone
      @Loveparaeveryone 4 месяца назад

      ruclips.net/video/hYVriHb43wU/видео.html

  • @HaiChivas
    @HaiChivas Месяц назад +1

    can you teach me how to change the upload theme volumn please ? i do exactly like your tutor but each time a tried to install a new theme by wordpress, it direct me to 413 (413 Request Entity Too Large). Thank you so much

    • @KonstantinKrasser
      @KonstantinKrasser 15 дней назад

      php.init
      upload_max_filesize = 64M
      post_max_size = 64M
      max_execution_time = 300

  • @TheRockeyAllen
    @TheRockeyAllen 3 года назад +5

    Hey Tony!
    So Oracle is giving 4 core 24gb ARM servers in their always free packages
    I tried following this video since both are ARM based, and up until the 10 min mark in the video, everything was smooth, however when I did try to load it via IP, I couldn't
    Could you please make a tutorial on setting up the always free arm based server on oracle for WordPress?
    Thanks!

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      Please send me a link to the free oracle offer

    • @TheRockeyAllen
      @TheRockeyAllen 3 года назад +1

      @@TonyTeachesTech www.oracle.com/uk/cloud/free/

    • @TheRockeyAllen
      @TheRockeyAllen 3 года назад +1

      @@TonyTeachesTech sorry for the late response, don't think I got a notification

  • @wjbvii
    @wjbvii 2 года назад

    First of all I just wanted to say THANK YOU and subbed!!
    I have a problem: when I type in the IP address, images and the admin bar load up properly, but when I try to go to my domain, the image is broken and no admin bar shows up. Any idea what could be causing this?

  • @nerdmuffin6775
    @nerdmuffin6775 2 года назад +6

    i followed exactly when i look up ip just get bad gateway help pleas

    • @SummitBidTech
      @SummitBidTech 11 месяцев назад +1

      Same. Got bad gateway. Hmmm

    • @IMAGINE-d8r
      @IMAGINE-d8r 6 месяцев назад +2

      hi man i had the same issue but my friend helped me when you copy the config you have to edit the config so the version in config matches urs dont thank me thank marcos

    • @LeoNyko
      @LeoNyko 5 месяцев назад

      @@IMAGINE-d8r thx man, its works.

  • @nicholassmith6412
    @nicholassmith6412 3 года назад

    This is such a great video. Is there a program you can use to just browse the database separately from visiting the wp-admin in a web browser? Thanks

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      You can use phpmyadmin to browse the database

    • @nicholassmith6412
      @nicholassmith6412 3 года назад

      @@TonyTeachesTech thanks

    • @nicholassmith6412
      @nicholassmith6412 3 года назад

      @@TonyTeachesTech also, do you know of a good way to browse it on a headless OS?

    • @TonyFlorida
      @TonyFlorida 3 года назад

      @@nicholassmith6412 the easiest for beginners is to access it with a web browser. Otherwise, you'll have to execute mysql commands to interact with the database

  • @JanBroder
    @JanBroder 2 года назад +1

    hey Tony. Thanks for the video. I have followed all the steps but when i tried to reload nginx i got the output: nginx.service is not active, cannot reload. what should i do here?

    • @KirwinWebb
      @KirwinWebb 2 года назад

      run; sudo systemctl enable nginx && sudo systemctl start nginx

  • @cainedoesprintingnow3799
    @cainedoesprintingnow3799 2 года назад +2

    So when I have made my site how do I publish it to the www?

  • @dhanankh145
    @dhanankh145 3 года назад +1

    Awelsome tutorial, keep up 👍

  • @marcusreitzl7526
    @marcusreitzl7526 3 года назад

    Hi man, first of all thanks a lot! But can you help me with the question, how to move an existing wordpress site to a host (for example raspberry nginx like in one of your previous videos? Thanks in advance and best regards

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      This is my recommendation ruclips.net/video/JsQTkyHDvz0/видео.html

  • @tyhonex
    @tyhonex 5 месяцев назад +2

    Hello sir, I have problem in browser: 502 Bad Gateway nginx/1.18.0.
    Do you know what should I do ?

    • @Loveparaeveryone
      @Loveparaeveryone 4 месяца назад

      same here, did you find a fix?

    • @Loveparaeveryone
      @Loveparaeveryone 4 месяца назад

      ruclips.net/video/hYVriHb43wU/видео.html

    • @KonstantinKrasser
      @KonstantinKrasser 15 дней назад

      @@Loveparaeveryone
      pstream wp-php-handler {
      server unix:/var/run/php/php8.2-fpm.sock;
      }
      server {
      listen 80;
      server_name _;
      root /var/www/wordpress/;
      index index.php;
      location / {
      try_files $uri $uri/ /index.php?$args;
      }
      location ~ \.php$ {
      include snippets/fastcgi-php.conf;
      fastcgi_pass wp-php-handler;
      }
      }

  • @martinandersson2144
    @martinandersson2144 2 года назад +1

    Hi Tony! Thanks for a great video on installing wordpress! How ever I ran into some problems with the config file and php config. I'm using Apache2 and as I reload it, Apache2 fails to start.
    "apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 13 of /etc/apache2/sites-enabled/wordpress"
    I checked that I have the same version 7.3 and the sock file exists as you suggested. Any idea?
    Thanks!

    • @satnav12345
      @satnav12345 Год назад

      I have the same issue as you using apache2

    • @satnav12345
      @satnav12345 Год назад

      The exact same issue with the exact same errors, I'm going to purge apache2, delete the wordpress install, and start again with nginx, I'd say there's some disparity between using apache2/nginx

    • @satnav12345
      @satnav12345 Год назад

      I can confirm that the procedure shown in the video works when using nginx but noes not work with apache2, having tried with both apache 2 and nginx

    • @louisedelseny9775
      @louisedelseny9775 5 месяцев назад

      Same problem for me. It only works for nginx

  • @josedaniellozano6678
    @josedaniellozano6678 3 года назад +1

    Hiii, thank you this was so helpful but can you please help me with this? It’s probably a dumb question but how would I restart my website if my pi has to reboot? I can’t seem to figure that out :/

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      You shouldn't need to restart the website/WordPress itself. In fact, it's not possible to do that.
      On the other hand, if you need to restart the Nginx webs server like we do here 9:46

  • @blockchaindomain
    @blockchaindomain Год назад

    1st try got a 502 bad gateway error. Ill try to start over from scratch! I have no idea what im doing but im having fun and learning thanks to you!

    • @TonyTeachesTech
      @TonyTeachesTech  Год назад +2

      Check this out for help fixing 502 errors ruclips.net/video/hYVriHb43wU/видео.html

    • @vladha3875
      @vladha3875 11 месяцев назад +1

      the problem is that a new version of php-fpm was released (7.4) but the wordpress.conf file still uses 7.3

    • @SummitBidTech
      @SummitBidTech 11 месяцев назад

      @@vladha3875 thank you man! That was it.

  • @nicholassmith6412
    @nicholassmith6412 3 года назад +2

    At 6:43 I'm getting a 502 error when running the server locally despite my conf file being identical to yours - any ideas why and how to fix?

  • @sgtusmcarch
    @sgtusmcarch 11 месяцев назад

    im having issues with the images showing on my live website, is it because I need to change the permissions from www-data to my user?

  • @22rayberto
    @22rayberto Год назад +2

    I have run through this twice and tried troubleshooting it for a couple of hours. However, after I enter my creds, then enter submit, I get "error establishing a database connetion"
    Anyone have any thoughts?

  • @mattsnyder9942
    @mattsnyder9942 3 года назад

    I don't comment often, but holy shit Tony this tutorial was amazing!! Thank you so much!! :)

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      I really appreciate that Matt!! You're quite welcome :)

  • @MarkCsete96
    @MarkCsete96 Год назад

    Is it possible for nginx to serve open media vault and wordpress as well?

  • @Antaryse
    @Antaryse 2 года назад

    Is it possible to run wp with openmediavault? Or is there a way to change the ip for wp?

  • @sanjayadulankateamlead-tra5874
    @sanjayadulankateamlead-tra5874 2 года назад

    Hi Tony, Kindly guide me how to use this Rpi as a Wifi AP to browse WP content offline. can I add the WP index file as the captive screen for the AP?

  • @4x4Tobi
    @4x4Tobi 2 года назад

    Hey,
    Just curious - is it possible to run more then one “WordPress service” or “wordpress projects” at the same time on a raspberry?

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад

      Yes! ruclips.net/video/P7W4iYkFaOU/видео.html

  • @heathhubred3457
    @heathhubred3457 3 года назад +2

    Hey Tony, Great video! I've been back through it a couple of time now and for some reason I get an error when trying to reload NGINX
    2021/01/15 07:44:21 [emerg] 13285#13285: open() "/etc/nginx/sites-enabled/wordpress.conf" failed (2: No such file or directory) in /etc/nginx/nginx.conf:62

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +2

      I would suggest trying to linking your conf file again. Please do the following:
      rm /etc/nginx/sites-enabled/wordpress.conf
      ln -s /etc/nginx/sites-available/wordpress.conf /etc/nginx/sites-enabled/
      Then try to reload nginx

    • @heathhubred3457
      @heathhubred3457 3 года назад

      @@TonyTeachesTech That worked!!!! not sure what happened. Thank you for the help!

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      Happy to hear that. Good luck with everything!

  • @tommym936
    @tommym936 3 года назад +1

    Any tutorials on how to make WordPress SSL , I've been trying for months to try and get it to work. Most other tutorials on youtube don't seem to work.

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      You can get a free SSL with Let's Encrypt ruclips.net/video/PGDx3xxLGgA/видео.html

  • @moster2829
    @moster2829 3 года назад

    Thank you very much for your video, I have successfully built it according to the tutorial. How to publish the blog on the Raspberry Pi to the Internet in the next step? Can you publish a newbie tutorial?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      I'll have a video on this topic in just a couple weeks

    • @ArtokMobile
      @ArtokMobile 3 года назад

      @@TonyTeachesTech Can't wait! I've seen about 10 tutorials how to set up WordPress on Raspberry and must admit - your tutorials are the best so far.

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      @@ArtokMobile May 17th, stay tuned :)

  • @sergiosinanis
    @sergiosinanis 2 месяца назад

    thanks !

  • @Badg0r
    @Badg0r 10 месяцев назад

    Can you make a copy of your image and share this, so your viewers only have to adjust a few settings?

  • @vinhpeterson4727
    @vinhpeterson4727 2 года назад +4

    Got 502 bad gateway after going to IP. Any thoughts?

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад +2

      Probably a PHP version issue or something else. Check out this video for my recommendations ruclips.net/video/hYVriHb43wU/видео.html

    • @pancake-engineer
      @pancake-engineer День назад

      I'm getting this error too also.

  • @mattmatt6828
    @mattmatt6828 3 года назад

    ver
    y very good, thanks very much

  • @mtexaneel3769
    @mtexaneel3769 3 года назад

    Excellent video... Keep it up

  • @mmaterazzo
    @mmaterazzo 3 года назад

    Hey Tony - great video :) Could you do one on RPI+ NGINX + JOOMLA ..... please.

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      Hi Martin, I'm not familiar with JOOMLA right now, but I'll add it to my list of future video topic ideas. Thanks!

  • @gevaisemaginn4396
    @gevaisemaginn4396 2 года назад +1

    did every step but now I'm stuck on bad gateway and the WordPress doesn't show up on the IP address of the pi, checked out your bad gateway video and it doesn't seem that I would have a php directory and it says no such file or directory. Need help thanks!

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад

      Please see if any suggestion in this video helps you ruclips.net/video/hYVriHb43wU/видео.html

    • @gevaisemaginn4396
      @gevaisemaginn4396 2 года назад

      @@TonyTeachesTech that’s the video I checked but sadly wasn’t the solution, I guess I’ll just start with a static webpage and add Wordpress later lol. Thanks though for making these videos helps a lot understand sudo commands etc.

  • @ultravphunter
    @ultravphunter Год назад

    Thanks!

  • @shivambaldha
    @shivambaldha 2 года назад +1

    Hey tony 9:30 not able to symbolically link wordpress.conf to sites-enabled
    Shows: ln:failed to create symbolic link ‘/etc/ngnix/sites-enabled/‘ : no such file or directory

  • @dennisunplugged
    @dennisunplugged 2 года назад

    great video

  • @auguststas7770
    @auguststas7770 9 месяцев назад +2

    I did everyhting until checking if site is live on my PC, by entering IP adress. I got 502 bad gateway

    • @tessaria-ton
      @tessaria-ton 8 месяцев назад

      Another commenter (@greenviper4382) posted:
      For people having the 502 bad gateway error. For me it fixed the issue by writing in the wordpress.conf: "server unix:/var/run/php/(your php version, for me: 7.4)-fpm.sock;" instead of the 7.3 that is in the code from his website. Hope this helps 😄

    • @louisedelseny9775
      @louisedelseny9775 5 месяцев назад

      Same problem for me I struggle to find a solution

    • @louisedelseny9775
      @louisedelseny9775 5 месяцев назад

      ruclips.net/video/hYVriHb43wU/видео.htmlsi=jwxYtzgwK66UeZP4

    • @louisedelseny9775
      @louisedelseny9775 5 месяцев назад

      I resolved my problem using this video

    • @KonstantinKrasser
      @KonstantinKrasser 15 дней назад

      pstream wp-php-handler {
      server unix:/var/run/php/php8.2-fpm.sock;
      }
      server {
      listen 80;
      server_name _;
      root /var/www/wordpress/;
      index index.php;
      location / {
      try_files $uri $uri/ /index.php?$args;
      }
      location ~ \.php$ {
      include snippets/fastcgi-php.conf;
      fastcgi_pass wp-php-handler;
      }
      }

  • @GevaiseQuinlan
    @GevaiseQuinlan Год назад

    Im getting a problem while trying to install WordPress. Its unable to connect for some reason? It can install updates tho? It says failed route to host something.
    At 4:00

  • @dany2685
    @dany2685 2 года назад +1

    502 bad gateway, I think my php fpm does not work. I ve been searching through multiple forums but can t figure it out.

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад

      See if any suggestions in here help ruclips.net/video/hYVriHb43wU/видео.html

  • @bobulator66
    @bobulator66 2 года назад +1

    Hi Tony, i tried to access my WP, but i am getting a 502 bad gateway error, and cannot see the config screen

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад

      The fixes in this video should get you running ruclips.net/video/hYVriHb43wU/видео.html

    • @bobulator66
      @bobulator66 2 года назад

      Nevermind i got it it was my php. the one on your link was 7.3 and the one i had was 7.4 Thanks for the help!

  • @zICry4Me
    @zICry4Me 3 года назад

    Hi Tony, I have a problems.
    I has migration my Wordpress from Shared Hosting to VPS Vultr with All In One Migration Plugin
    After, my Wordpress using PHP version 7.3, but my VPS using 7.4
    How can i using php version 7.4 for my Wordpress?
    P/S: I have to search on Google and they said:
    - Go to /etc/nginx/sites-available/your.conf
    - Change fastcgi_pass unix:/run/php/php5.X-fpm.sock; ==> fastcgi_pass unix:/run/php/php7.4-fpm.sock;
    But my VPS not have /sites-available/your.conf (only have /conf.d/wordpress_http.conf and /conf.d/wordpress_https.conf)
    And i don't see the line: fastcgi_pass unix:/run/php/php7.x-fpm.sock; in 2 files above
    Pls help me, thank you very much

  • @sagarcn9000
    @sagarcn9000 3 года назад +2

    when I enter IP address of my tinkerboard I get error: 502 Bad Gateway
    nginx/1.10.3

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      See if this video helps you solve the error ruclips.net/video/hYVriHb43wU/видео.html

    • @cedricmunschauer
      @cedricmunschauer 2 года назад

      @@TonyTeachesTech Thanks, that fixed the problem!

  • @thebusinesscentre
    @thebusinesscentre Год назад

    what are the differences and or better apache or nginx?

    • @TonyTeachesTech
      @TonyTeachesTech  Год назад

      Check this out ruclips.net/video/BAMkvEvpol0/видео.html

  • @bombibombe
    @bombibombe 2 года назад +1

    hello i do this tuto but i have a page 502 Bad Gateway
    nginx/1.18.0
    can you help me please ?

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад

      See if this helps you ruclips.net/video/hYVriHb43wU/видео.html

    • @bobulator66
      @bobulator66 2 года назад

      have you tried to change the PHP file? the one on his link is 7.3 it should be 7.4

  • @Than3Dane
    @Than3Dane Год назад

    Hey Tony, I've been playing around for the past 4 days, but I encountered a issue while trying to assign ssl keys, I accidentally put the snippets of code into the wordpress file. Nginx now won't reload, start or anything. But refers to sites-enabled/etc..
    In here I found by using the command ls -la
    that the website named file I was trying to connect showed up as if it had registered as a symbolic link? (I'm a rookie :D )
    How do I replace, remove or undo this mistake. As I was almost complete with the guide, I already assigned the certification in their respected files & location, & just needed to restart nginx, but since I changed wordpress.conf adding my new site name which is the one issuing with, and adding all though removed the ssl snippet of codes for the 3 certificates. It made some kinda havoc & I ran into this wall of commands, haha :)

    • @Than3Dane
      @Than3Dane Год назад

      ls -la within that directory and it shows this:
      lrwxrwxrwx 1 root root 40 Dec 10 10:18 nginx.service -> /etc/nginx/sites-available/example,com (example,com should be wordpress.conf) how to go about changing this faulty symbolic link?

    • @Than3Dane
      @Than3Dane Год назад

      I remember I did ... /sites-available/example,com etc/sites-enabled,,, command
      But if I try replacing that ... /sites-enabled/wordpress,conf etc/sites-available,,,
      it say the files already exist.. Contrary if I try to remove the symbolic link for "example,com" , it says it doesn't exist

    • @Than3Dane
      @Than3Dane Год назад

      Starting to think it might be best to reinstall Nginx, but is that simple to do without affecting the installed wordpress & Mariadb? :) Sorry for my frequent messages, I will behave! Haha
      Somehow managed to replace the ....etc/nginx/sites-enabled/ with the config file while trying to resolve the symlink because I forgot to put a / on the end, while doing rm rf ../patch.
      At least now nginx -t works flawless, but still no site showing up

  • @jimpotts7811
    @jimpotts7811 3 года назад

    What if you want to host a https secure website? Do you just have nginx listen on port 443 instead of 80? Also, what if I buy a domain name from godaddy - how do I host that instead of referencing the IP address?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +5

      First, you'll need to make your Raspberry Pi accessible over the internet. This involves port forwarding on your home router. I do plan on posting a video about this in the next few months.
      Then you can register your domain name and update the DNS A records to point to the IP address of your home network. Once you have that, get a free SSL certificate from Let's Encrypt. I have lot's of videos about that on this channel.
      I know that sounds like a lot, but those are the high level steps. Stay tuned for more videos on this topic :)

    • @imweagz8852
      @imweagz8852 3 года назад

      @@TonyTeachesTech Part. 2 🔥

  • @jazz-wh8co
    @jazz-wh8co Год назад

    hi , i did everything as shown in the video @10:12 timestamp when i load the website
    i get the following error
    502 Bad Gateway
    nginx/1.18.0
    can you please help

    • @RobertGasiorMEDIA
      @RobertGasiorMEDIA Год назад

      You probably have the old php version in the config file you created for nginx. I had the same issue. Just changed the php version from 7.2 to 7.3 (the one that installs at the time of this comment) and it works fine.

  • @cedricmunschauer
    @cedricmunschauer 2 года назад

    Hi Tony, I followed your tutorial but if I want to open the page it says ERR_CONNECTION_REFUSED.
    Can you please help me?
    I linked the page to my domain, but I double checked all settings and everything is correct, port forwarding, the static IP is still okay, the IP address in the control panel from my domain provider is correct as well. I googled this error but I had no luck so far..

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад +1

      Are you able to access the page from your local network

    • @cedricmunschauer
      @cedricmunschauer 2 года назад

      @@TonyTeachesTech no I'm not, only via the "visit page" tab from wordpress, but if I type in the IP or domain name in the browser it doesnt work..

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад +1

      @@cedricmunschauer Please make sure the WP_HOME and WP_SITEURL match up with your URL wordpress.org/support/article/changing-the-site-url/#edit-wp-config-php

    • @cedricmunschauer
      @cedricmunschauer 2 года назад

      @@TonyTeachesTech thanks for your reply, I'm going to check that on monday, I let you know the result😊

  • @devtest8259
    @devtest8259 2 года назад

    Can anyone show or an example like this, but hosting more than one site? Like, what if I wanted to host two sites? Do I need domains to differentiate or how does it work?

  • @paldo771
    @paldo771 3 года назад

    can you show how to fix this error please..thank you
    The uploaded file exceeds the upload_max_filesize directive in php.ini.

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      ruclips.net/video/PLKIPcY_eMs/видео.html
      In your case, your version of PHP might be different and the directory might be nginx instead of apache2

    • @paldo771
      @paldo771 3 года назад

      @@TonyTeachesTech thank you Tony it works.. finally found the file at /etc/php/7.3/fpm/php.ini...

  • @maliktanveerdhool
    @maliktanveerdhool 3 года назад

    It's local host or live server?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      In this video, this is a local server that's not available to the public

  • @thinkhelpservice
    @thinkhelpservice 3 года назад

    help please how do we update PHP I get this warning 'site is running an older version of PHP (7.3.27-1~deb10u1), which should be updated'

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      This video will help you ruclips.net/video/vJw6SX1fdUo/видео.html

  • @aiyushg1769
    @aiyushg1769 3 года назад

    How can I change the domain name? I have registered a free domain name at free nom but not sure how to make this my domain name instead of the rpi current IP address.

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      In free nom, find the DNS settings and add an A record with the value of your IP address ruclips.net/video/QcNBLSSn8Vg/видео.html

  • @Official_W
    @Official_W 2 года назад

    Can we use elementor pro on Raspberry PI 4???🤔

  • @leakysneaker
    @leakysneaker Год назад

    All was working great until my pi was assigned a new IP address on my new modem. WP keeps trying to go to the old IP address. I cleared the cache in my browser but no joy. Please point me in the right direction...

  • @apricotcomputers3943
    @apricotcomputers3943 3 года назад

    no thumbs down... boss

  • @ghosted843
    @ghosted843 3 года назад

    why did you choose nginx over apache? I did research but want a different point of view (never mind I see a video you have about it thank you)

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      Personally I find the configuration in Nginx to be more intuitive than Apache, and as you probably saw in the other video Nginx is often times faster than Apache

  • @jaxhon8182
    @jaxhon8182 2 года назад

    I have a problem. I have rebooted and moved the Raspberry pi over to a cabled connection, and now nothing works. The index file is now accessed by a different ip address, no media is loaded correctly and I cannot access wp-admin either. If I click links on the index page it redirects top the old ip that was used when setting up the server and i get "this site can't be reached".
    I would think it is an error with the database, since it redirects everything to the old ip address, but I have no idea how to fix it.

    • @jaxhon8182
      @jaxhon8182 2 года назад

      People of the future.
      I managed to solve this issue by changing the ip address on the raspberry pi to fit the one in the database.
      Not sure if that is the best solution, but it works for now.

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад

      Happy you were able to figure this out

  • @ansred
    @ansred 3 года назад

    Just install Docker and run Portainer stack that has the WP and database images and expose the port. Done.

  • @Kyle_v2
    @Kyle_v2 2 года назад

    to paste in nano use ctrl/control+shift+v the normal way to paste does not work probably to save the keybind for something else

  • @Dixdezal
    @Dixdezal 2 года назад

    If you use Apache instead of nginx jump to -> 3:44 🙂

  • @12Konst
    @12Konst 2 года назад

    I setup wordpress and was working fine until i restarted pi and now the whole front page looks broken and won't let me sign in. Any solution to this?

    • @12Konst
      @12Konst 2 года назад

      Found out it was because of changed up
      IP. What do i need to adjust to be able to set new static ip without having page crash?

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад

      Happy you were able to figure it out. You can set a static IP to solve this

    • @12Konst
      @12Konst 2 года назад

      @@TonyTeachesTech what about wordpress crashing when i activate elementor and elementor pro? I never found a solution to that. Even got in contact with their tech support and still nothing I've tried works :/

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад

      @@12Konst What happens when WP crashed?

    • @12Konst
      @12Konst 2 года назад

      @@TonyTeachesTech whenever i activate both elementor plugins, the wordpress shows me a white page and says i need to troubleshoot.

  • @jesusmeneses2771
    @jesusmeneses2771 3 года назад

    I've followed all steps minutely. However when I try to access to localhost it download a weird file, don't show the WordPress panel or Nginx welcome page, Idon't know why but this don't works to me :/ can anybody help me.
    Even i have reviewed any error on WordPress.conf but it looks the same

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      Try to add your IP address as your server_name in your nginx config file
      server_name YOUR_SERVER_IP_HERE;

    • @jesusmeneses2771
      @jesusmeneses2771 3 года назад

      @@TonyTeachesTech Ok you can fix it, I don't know why, but this only happens on the first PC I was accessing from, whatever, thank you very much Tony

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      @@jesusmeneses2771 Sorry, I don't offer that type of service. Did you try my suggestion? How about clearing browser cache on the 1st PC?

    • @jesusmeneses2771
      @jesusmeneses2771 3 года назад

      @@TonyTeachesTech No, i mean, this problem was solved with your solution Thank u so much bro

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      @@jesusmeneses2771 Oh sorry, I misunderstood you. I'm happy to hear that!

  • @koenhuisbrink
    @koenhuisbrink 3 года назад +1

    6:41 Where??????

  • @sparkden
    @sparkden 2 года назад

    apache won't restart!

  • @randombeta
    @randombeta 3 года назад

    and now how to acess from a domain

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      You'll need to open up the HTTP and/or HTTPS port on your router ruclips.net/video/AFeye1zLpFo/видео.html
      And then create a DNS A record that points to your external IP address ruclips.net/video/QcNBLSSn8Vg/видео.html

  • @Martin5zn
    @Martin5zn 3 года назад

    Gone through it 3 times now and always get to the Wordpress 'database connection details' - then try login -
    "Error establishing a database connection"
    What am I doing wrong - about to pull my hair out... lol

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      Can you provide a timestamp?

    • @Martin5zn
      @Martin5zn 3 года назад

      @@TonyTeachesTech 10:46.
      Add all details then next page says Error establishing database connection.

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      ​@@Martin5zn As long as your db name, username, password, and host are correct, then I don't see why this wouldn't work for you. In your terminal window, can you do this?
      mysql -u username -ppassword wordpress

  • @irtibatkisileri222
    @irtibatkisileri222 3 года назад

    i hate this. after some time these linux tutorials is not going

  • @kkkant1547
    @kkkant1547 3 года назад

    Hii Tony Nice Video I have one question that I don't have Public IP is there is any way to connect the Pi from any other Location?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      You will need to port forward port 80 (or 443 if using HTTPS) on your home router in order to the IP address of your Raspberry Pi in order to make is accessible from anywhere.

    • @kkkant1547
      @kkkant1547 3 года назад

      @@TonyTeachesTech Can you please make the Video How can We do this?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      @@kkkant1547 Yes, I could do this for my specific router to demonstrate the general concept, although it would obviously be different steps if you don't have the same router as me.

  • @celicamx6
    @celicamx6 2 года назад

    thanks i did it with a bit update, change 7.3 to 7.4 in the wordpress.conf (2022/05/01), and i have to create 'another_name'@'localhost' with 'another_pw' in mariadb to get the db setup done

  • @chrispackard8697
    @chrispackard8697 Год назад

    Ive got a small problem ive manage to make it all the way to the end but for some reason I cant login to my wordpress from a different device and I cant access the webpage by the url given. any clues as to how I can fix this?

  • @josejuanix8971
    @josejuanix8971 3 года назад

    How much memory RAM in the raspberry do you recommend
    for the web site

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      This is one of those "it depends" answers. A lot of factors including size of the web pages and number of visitors to the site.