How to Host a Wordpress Website on a RaspberryPi | 4K TUTORIAL

Поділитися
Вставка
  • Опубліковано 26 жов 2024

КОМЕНТАРІ • 61

  • @vmdcortes
    @vmdcortes 3 роки тому +5

    Thank you, that was awesome, I'd love to watch a second part where you launch your wordpress website to the internet using a free domain from freenom or something like that

  • @Barry_Kavanagh
    @Barry_Kavanagh 3 роки тому +3

    This was so straight forward THANK YOU! - Explaining enough on what each step was doing along the way. It would be great to see a video on how to secure a Raspberry Pi web server :)

  • @itrojan3901
    @itrojan3901 4 роки тому +5

    Amazing, you are the TRUE raspberry pi legend 👍

  • @maartenkost
    @maartenkost 3 роки тому +2

    Thank you for your explanation. All steps were easy to follow to get everything working. Thank you Spacerex

  • @nishantchoudhary8357
    @nishantchoudhary8357 4 роки тому +3

    A great tutorial, thanks for making this.
    Can you also make a tutorial on how to move our wordpress site, from pi to a hosting site, after finishing the development work on pi?

    • @SpaceRexWill
      @SpaceRexWill  4 роки тому +1

      So there are a few options depending on who is hosting your primary site. There are some plugins that work really well for this!

  • @FelipePereira010
    @FelipePereira010 3 роки тому

    PERFECT!!! it worked, I'm using the Raspberry 3, thank you very much!

  • @nepsky
    @nepsky 4 роки тому +2

    Awesome. Keep up the good work !

  • @timclynes2846
    @timclynes2846 Рік тому +1

    Wordpress doesn't automatically create the config file. This frustrated me for over a week - what you end up with in /var/www/html/ is a wp-config-sample.php file - so the set up wizard fails. This need to be edited with your database name and credentials and saved as wp-config.php for the Wordpress set-up wizard to work otherwise you get a failed to start database error. I use the command sudo nano wp-config-sample.php, from within /var/www/html/, to edit the file and save as wp-config.php - and this works with the Pi. I think a lot of the tutorials posted on UA-cam simply skim over what is, even according to Wordpress, on of the most common issues experienced during set up.

  • @allenfelix7382
    @allenfelix7382 3 роки тому

    You are always great !!

  • @arnavjuneja8209
    @arnavjuneja8209 3 роки тому +2

    Can you make a video on how to link a website domain to the local web server? Thanks!

  • @ibadoffs
    @ibadoffs 2 роки тому

    Big Thanks for tutorial. Just create Wordpress local website. Will try to share it over internet. Warm wishes:)

  • @fernan124
    @fernan124 3 роки тому +2

    I'm learning so much from your tutorials it even feels bad that they are free.

    • @SpaceRexWill
      @SpaceRexWill  3 роки тому +1

      Haha well I do make some money off these from ad revenue!

  • @markdudov2508
    @markdudov2508 3 роки тому +1

    Thank you! Very useful!

  • @AnilArya51
    @AnilArya51 4 роки тому +2

    I would recommend Ngnix instead of apache great work

  • @victorbaiges
    @victorbaiges 3 роки тому +1

    When I start setting up wordpress. It says:
    Unable to write to wp-config.php file.
    You can create the wp-config.php file manually and paste the following text into it.
    But I can't create a new file in the wordpress folder because the action is denied.
    Anyone knows how to solve it?

    • @bloodpack2k2
      @bloodpack2k2 3 роки тому

      This is interesting. I followed the LAMP project on the RPI site and got the same thing following their instructions. I blew away my RPI and started over and came to this video to hear someone explain it instead of a written tutorial. I see even people that follow this tutorial get the same error I got following a written tutorial. I wonder what we're all missing.

  • @mauriciorosasvelasquez7075
    @mauriciorosasvelasquez7075 3 роки тому

    Thank you very much, enjoyed learning with the video

  • @johnbond7044
    @johnbond7044 3 роки тому

    Well done - thanks!

  • @MarkCsete96
    @MarkCsete96 Рік тому

    Is it possible to set up a different port? I have openmediavault (using nginx) on :80 and my localhost IP takes me to OMV.
    I would be happy to launch it from a different port number like 8080 or something like this. But cannot make it work.
    Thank you.

  • @derunbekanntemann635
    @derunbekanntemann635 4 роки тому

    Great Video my Friend !
    Thank you very much !
    Greetings from switzerland

  • @SachinKhetarpal
    @SachinKhetarpal 3 роки тому

    Thanks :)

  • @simonchau7439
    @simonchau7439 3 роки тому

    Hi, thank you for the tutorial. I'm the beginner of using Pi. Would you please advise that which image I should use for making the bootup SDcard?

    • @SpaceRexWill
      @SpaceRexWill  3 роки тому

      So there are two I would look at
      They are both 32 bit raspberrypi OS with two versions
      1) Desktop - this gives you a desktop user interface (a sreen you can use a mouse on) takes up more space resources
      2) “light” this is just command line. It is smaller and uses less resources but only works when typing commands. If you don’t have a screen hooked up to the pi choose this

    • @simonchau7439
      @simonchau7439 3 роки тому

      @@SpaceRexWill thank you very much :)

  • @nitron7020
    @nitron7020 3 роки тому +1

    But can you also host a WordPress site which you created before?

    • @SpaceRexWill
      @SpaceRexWill  3 роки тому

      Just copy over the Wordpress folder and copy in the database and it should work. Totally depends on what you have though.

  • @best.online.movies3159
    @best.online.movies3159 3 роки тому

    i have problem with the config file i think...
    Unable to write to wp-config.php file. You can create the wp-config.php file manually and paste the following text into it.
    then i watched this video (i was following the instructions on you're site and i didn't see this command: sudo chown -R www-data: .
    i did that in the folder en restarted apache2 for the second time. now it skipped the whole message and i saw the normal installation further. is it harmless to ignore this message now?

  • @nicholassmith6412
    @nicholassmith6412 3 роки тому

    Why wouldn't you recommend a raspberry pi for hosting a site for production? Presumably due to performance & security, although could it not be an option just to start with, and as an app hosted by a pi grows, could you not upgrade to a faster server later when needed? Great video btw!

    • @JakobPapirov
      @JakobPapirov 3 роки тому

      You wouldn't want to use this for production due to several reasons, two of which you mentioned. Specifically, performance wise, if you get more visitors and this page requests then it will eventually become taxing on the CPU. If you plan to code a site with a database on for instance nodejs then that will use up more resources / project.
      Security wise you are exposing your site to the public. If misconfigured then someone might get access to the rest of your network. Admittedly I can't say how likely that aspect is.
      Availability wise. How reliable is your Internet connection? Power connection? And the components themselves, such as the RPI overheats or the storage fails. You will also have the RPI on 24/7, luckily it doesn't use that much power.
      I'm interested in this setup from the perspective that I could work on stuff locally and could access any site from within the network. When needed /satisfied I can sync with my webhost or similar.
      Edit. On your webhost or virtual machine thing, such as aws they are regularly updating the hardware.
      Edit 2. If your site has media content then that content would have to be stored locally as well and sent using your bandwidth. In addition it's similar to why it's usually the best option to use a CDN than serving files yourself as the download speeds for the first time user will be much faster.

    • @nicholassmith6412
      @nicholassmith6412 3 роки тому

      ​@@JakobPapirov those are some very interesting and useful points. Do you know roughly how much traffic a raspberry pi 3B can sustain? I'd have thought it could easily support about 100 users per day whom visit, say, 5 pages. I'm still thinking a pi could suffice for something small, and you could upgrade to a VPS or something when demand is more taxing

  • @simonchau7439
    @simonchau7439 3 роки тому

    I get the following message after "submit". Please help.
    Error establishing a database connection
    This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.

  • @alexsevo6
    @alexsevo6 2 роки тому

    awesome spacrex

  • @caebo_art
    @caebo_art 10 місяців тому

    Can I use OrangePi instead?

  • @nayz-
    @nayz- 3 роки тому

    Would the 4GB be sufficient or the 8GB would be a better bet?

  • @AaronEstebanSEO
    @AaronEstebanSEO 4 роки тому

    You should use NGINX and install a LEMP server instead of LAMP since NGINX is much faster than Apache.

  • @shihab6284
    @shihab6284 3 роки тому

    Instead of static ip can I do it using PPPOE?

    • @SpaceRexWill
      @SpaceRexWill  3 роки тому

      You need to be able to open up port 80 and 443 to be able to do this

  • @faisalbadwan6289
    @faisalbadwan6289 3 роки тому

    Good stuff bro. All these other references weren't working as easily as yours

  • @glassmemory993
    @glassmemory993 3 роки тому

    The tutorial broke down for me at the 4:30 mark the commands brought back the MariaDB monitor and none of your commands worked. It was exciting up untill that point though!

    • @SpaceRexWill
      @SpaceRexWill  3 роки тому

      So you were unable to execute the commands on the database?

    • @Booki89
      @Booki89 4 місяці тому

      @@SpaceRexWill I was also unable to execute the command for granting the privlidges, I had installed a newer mariadb 10.5, removed it and went to 10.3 - same error.
      MariaDB [(none)]> GRANT ALL PRIVILEGES ON wordpress.* TO ‘root’@’localhost’ IDENTIFIED BY Sc0rp10ns;
      ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'password1' at line 1

  • @pbnbart
    @pbnbart Рік тому

    I have tried this (and Raspberry Pi Foundations writeup Build a LAMP Web Server with WordPress) and a number of other write-ups for installing WP on Raspberry Pi. The problem I have is: it just will not work. I'm not sure what the problem is, but I suspect it has to do with the new versions of WP and the way blocks works.
    The Raspberry Pi storyline is sort of compelling: a cheap computer where you can run exiting stuff. But, you can't get hold of a Pi and a lot of the projects is unfortunately just a waste of time.

  • @apricotcomputers3943
    @apricotcomputers3943 3 роки тому

    4:21 fast forwarding is what you need more of.. not seeing you
    but... good content ; )

  • @JohnDoe-ek8ry
    @JohnDoe-ek8ry Рік тому

    What "marina"? Its "maria"...

  • @dexter2765
    @dexter2765 3 роки тому

    Why is RasperryPi so unsecure?

  • @apricotcomputers3943
    @apricotcomputers3943 3 роки тому +1

    id rather SEE what it is your talking about more 2:40. up to 3 minutes of seeing your face. go straight to the code!! not YOU!
    less of your heavily edited face shot.. which I'm sure you spent all day recording.

    • @wandering.camera.guy.411
      @wandering.camera.guy.411 2 роки тому

      moving the face to the upper right would be helpful so current entry is not covered. Great video regardless.

  • @RockFordCademce
    @RockFordCademce 3 роки тому

    Stop wobbling