No video

Creating a Website on Raspberry Pi

This goes over setting up a full LAMP stack on Raspberry Pi and making your own website from scratch!
Cheatsheet Guide: www.christitus.com/pi-website
Linode VPS Sponsor Link: www.christitus.com/linode
Timestamps
00:00 Intro
00:30 Cheatsheet
00:45 Raspberry Pi Imager and Pre-Requisites
02:34 First Boot and Dependancies
04:03 Downloading Wordpress
05:45 Database Setup
07:23 See Raspbery Pi IP and First WordPress Setup
09:20 Fixing Wordpress Permalinks
12:25 Setting up Website on Linode .
►► Digital Downloads ➜ www.cttstore.com
►► Reddit ➜ / christitustech
►► Titus Tech Talk ➜ / titustechtalk
►► Twitch ➜ / christitustech

Пікірлер: 104

  • @MarkVanderberg
    @MarkVanderberg3 жыл бұрын

    Tip for Raspberry Pi Imager, before creating the image to your micro SD card. press ctrl + shift+X this will bring up another menu so that you can set up a password, Wi-Fi password, and set up SSh should so you don't have to do the first step. I have actually been doing this exact same thing for the last months with my old raspberry pi2. Great way to play at the command line without worrying about messing up something.

  • @Noodles.FreeUkraine

    @Noodles.FreeUkraine

    3 жыл бұрын

    Wait, is that even a thing? 😳 Wow, thanks for the heads-up!

  • @bc-kelley
    @bc-kelley3 жыл бұрын

    Chris make this into a series for those that aren’t noobs and already know the basics that are in this video. Anyway nice video brother!

  • @markmoreno7295

    @markmoreno7295

    3 жыл бұрын

    Exactly! My granddaughter fools around with a raspberry pi and I am sure this video would require piecemeal, painstak ing dissection. And she is head to heels better than me. I would like a book.

  • @ChrisTitusTech

    @ChrisTitusTech

    3 жыл бұрын

    Will do!

  • @calbrig1978
    @calbrig19783 жыл бұрын

    Thank you man, I have been waiting for you to make this video. 👍👍👍

  • @fatimazivkovic9017
    @fatimazivkovic9017 Жыл бұрын

    Thank you! This was super simple and easy to follow 😀

  • @AnzanHoshinRoshi
    @AnzanHoshinRoshi3 жыл бұрын

    Thank you, Chris. Very useful.

  • @amad-os8rp
    @amad-os8rp3 жыл бұрын

    Great Video! I didn’t know websites were that easy to setup. 🤯

  • @RamonInNZ
    @RamonInNZ3 жыл бұрын

    Great tutorial - brought an RPi home from work to play with :-)

  • @dim3nt0
    @dim3nt03 жыл бұрын

    its amazing how all the videos and tutorials look simple :) each time i try to follow any of it, some error introduces itself, wich to be fixed requires 30 more errors to be fixed and quite a lot of deeper linux knowledge.. and then couple of hours later when its finaly fixed and step one of tutorial finaly works, lets get on with step two.. aaaand another error and another rabbit hole.. it gets infuriating real fast, especialy for a semi beginer (with quite a lot of patience)

  • @greatsaid5271
    @greatsaid52713 жыл бұрын

    great content 🙌👌

  • @daves4026
    @daves40262 жыл бұрын

    Brilliant. Thank you. I would appreciate 2 more of the same configuration set up via ansible and the use of docker as another separate video

  • @tedoyle61
    @tedoyle613 жыл бұрын

    Those things, are really amazing.

  • @grahamnichols1416
    @grahamnichols14167 ай бұрын

    Thanks, Chris! This is really helpful. I use a Pi to hold my electronic components inventory. I pop out my phone to connect to the pi around the house to locate and update components on the fly. It took a while to set up and count everything, but now this saves me from constantly searching as I once did. Next up, is a tools database ... Sadly it highlights how I double-bought items due to not knowing I already had some. :(

  • @NielsDutch1906
    @NielsDutch19063 жыл бұрын

    I got a pie for my 11 birthday and I love it so much. It has taken me into the world of (Debian/Ubuntu) Linux and I am comfortable in all the 3 major os’es. Just wish for Microsoft office to come to Linux and better AirPods support. Then I can fully transfer to Linux. For now….Mac it is.

  • @Richard-ck7sr

    @Richard-ck7sr

    3 жыл бұрын

    WPS Office and LibreOffice on Linux are very good MS Office alternatives.

  • @pprkuts
    @pprkuts2 жыл бұрын

    Ayy another FFXI fan!

  • @gwgux
    @gwgux3 жыл бұрын

    One of these days I'll get me a couple Raspberry Pis and do this. There's a few things I want to setup on my home network that they would be perfect for.

  • @vincentaguilar6249
    @vincentaguilar6249 Жыл бұрын

    Great video, is there a chance you can do a video on how to manage this website we just created? I would like to learn more about hosting a website on my pi but I can not find any good material out there. Thanks again!

  • @developerpranav
    @developerpranav3 жыл бұрын

    That's a very nice thumbnail and video

  • @andrescoquin7285
    @andrescoquin72853 жыл бұрын

    Well documented video. I have this working and converted from Apache to NGINX for better performance. Now I am trying to allow users to connect by WiFi so they can see locally hosted content while preventing them from access the internet though the ethernet port which I have connected to my router. Can you point me in the right direction to break the connection between the WiFi and Ethernet interfaces?

  • @stephenwinters1438
    @stephenwinters14382 жыл бұрын

    Hi Chris would you have any advise for making the wordpress website accessible outside the local network? I can only connect if both terminals are connected to the same router.

  • @sokoloft3
    @sokoloft33 жыл бұрын

    Just remembered I have an rpi zero laying around. Flashed raspberry pi os to it and set it up for ssh. Time to tackle this and mess around with it. Haven't used wordpress. I was also in the need for a vps. I wanted to use your linode link but they don't accept paypal. So I went with digital ocean and also had a referral code for a $100 credit through someone else.

  • @amine250
    @amine2503 жыл бұрын

    Just for the record, later Raspbian systems include now a vs code apt repo out of the box. And this apt repo obviously collects telemetry when your raspberry pings microsoft servers. Make sure to delete it from /etc/apt/sources.list.d/

  • @kylesgarden8725

    @kylesgarden8725

    2 жыл бұрын

    Can you explain this to me? Will it fill up my boot drive or something?

  • @amine250

    @amine250

    2 жыл бұрын

    @@kylesgarden8725 it's like cookies in the browser, they track you with your ip address

  • @TheDraconianParadise
    @TheDraconianParadise3 жыл бұрын

    Nice one. I'd also mention that this setup works only inside LAN. (Now you have an idea for a follow-up video ;) )

  • @frederickbottcher8019
    @frederickbottcher80193 жыл бұрын

    What are your thoughts on Ubuntu 21.04 with Active Directory?

  • @ironmanlifts
    @ironmanlifts3 жыл бұрын

    Hey Chris, thanks for the video. Serving from PI is something I'm interested in. Is it worth going though the trouble of administration with pi when you can just host with netlify? I'm not familiar with wordpress but I am with hugo. I would imagine that the benefits are bringing in the backend like php and mysql if that's something that is required for the user.

  • @ShyneflowLC
    @ShyneflowLC2 жыл бұрын

    Anyway to change the website address to your own link vs the ip? Something more visually pleasing the way to .coms etc are?

  • @peter4051
    @peter40512 жыл бұрын

    hey there Chris hope your well ... i have a quick question...what would be a good Raspberry Pi Box to buy as i have been looking at a few but not sure which is the right one or the best value for the price and benefits ... could you please point me in the right direction thanks

  • @ebiscaia
    @ebiscaia3 жыл бұрын

    Hi Chris, Is it that different to setup a Lemp stack instead of a Lamp one? Thanks

  • @sokoloft3
    @sokoloft33 жыл бұрын

    I remember when I was younger. In middle/highschool. I used iWeb on the school computers to make a site and hosted it with HFS FTP lol. Was for a Halo CE clan I ran and hosted servers for. The ladder program is pretty decent if you've never heard of it. Probably not all that secure but cool nonetheless.

  • @YA-tr1lb
    @YA-tr1lb2 жыл бұрын

    should i use 32 bit or 64 what is efficent ?

  • @alexlinkinfinity5983
    @alexlinkinfinity59832 жыл бұрын

    what terminal do you use

  • @ebiscaia
    @ebiscaia3 жыл бұрын

    Remembering you can use Ubuntu server for Raspberry Pi instead. I believe in this case your tutorial would work fine with no adjustments. Non-Debian-based distros would have different commands to deal with apache, at least.

  • @DaveSomething
    @DaveSomething3 жыл бұрын

    it does a fairly good job, unless you're getting thousands of hits or being ddos'd =) lighttpd does well too. I have a family email server, an IRC server, web server, pihole, time server, ftp, and motion/motioneye running on the poor creature. I try to keep the "idle" CPU below 20%

  • @JayCeeCreates
    @JayCeeCreates3 жыл бұрын

    Do I still need to buy a domain name for this?

  • @tejaspadhye
    @tejaspadhye3 жыл бұрын

    Instead of using a pi, can I just run ubuntu lts on a vm in windows?

  • @GC-rg6in
    @GC-rg6in3 жыл бұрын

    My only issue now i've done this is working out a way to get power over ethernet from my home router to the pi so i don't need a separate power source for the pi. Any help from ppl in the comments would be much appreciated. thanks!

  • @Itsspock
    @Itsspock4 ай бұрын

    Does anyone know if this defaults to port 80?

  • @QuickBits
    @QuickBits3 жыл бұрын

    How is a domain name added into the wordpress setup, for the website address instead of the LAN IP address?

  • @msinfo32

    @msinfo32

    3 жыл бұрын

    I'd recommend either port forwarding, or using alternative methods, such as ngrok. Then link the IP given to a domain. Search it up, there's lots of guides.

  • @harshjain5511
    @harshjain5511 Жыл бұрын

    But what if I want to host my own created website on the raspberry

  • @markmoreno7295
    @markmoreno72953 жыл бұрын

    Seriously powerful. But if my upload speed on my router is abysmal, will it matter? If I already have a domain name, how do I re-route it? See, you need to write a book.

  • @martinmclean5985
    @martinmclean59853 жыл бұрын

    How about a video on Xilinx's new Kria SOM system? Seems like a lot to video fodder with their user-ready apps. Maybe even some how-to videos.

  • @sokoloft3
    @sokoloft32 жыл бұрын

    I take it you where using a pi 3 or 4. Shame they're too expensive now. I have a zero that I set this up on, but it really chugs. htop shows when loading a page the cpu is maxed. As well as, I had to add the php-curl and php-xml for the starter templates plugin.

  • @gradientO
    @gradientO3 жыл бұрын

    Gotta buy it soon. Will they be able to handle databases like PostgreSQL?

  • @karsten_m

    @karsten_m

    3 жыл бұрын

    He installed mariadb, so yes. It depends on the workload, as always. The pis are good little machines but will likely not replace a full-blown server. (Maybe unless you cluster them, but that's for another video)

  • @Raylightsen
    @Raylightsen3 жыл бұрын

    I came to the most recent video to request you to please create 2 videos: - One showing how to add programs to a windows 10 iso so they install automatically when we do a clean install of windows 10 (lets say, for winrar and firefox to be installed when we completed the clean install of windows 10) - Show the method of modifying a windows 10 iso with software called NTlite, with privary as the focal point, but for a normal user

  • @peakminute
    @peakminute3 жыл бұрын

    Hey @Chris is it possible to host a website with domain name just like in you video?

  • @pavlospilakoutas

    @pavlospilakoutas

    3 жыл бұрын

    Same as the vid but you have to assign a static public ip or have it through a reverse proxy, if not through a reverse proxy setup firewall rule so when requests come get redirected to the correct LAN ip, open ports 80 & 443, assign A and CNAME records with the static public ip on registrar and replace the local ip in wordpress settings with the domain name. That's it

  • @offmdma
    @offmdma3 жыл бұрын

    Mines says Your php installation appears to be missing the MySQL extension

  • @Aden068
    @Aden0683 жыл бұрын

    Yum

  • @fusion9619
    @fusion96192 жыл бұрын

    Oh man I wanna do this... Darn rpis are expensive these days tho

  • @Isassi007
    @Isassi0073 жыл бұрын

    Quick question, are you now using wordpress over Hugo for you site? and which is better WP or Hugo? Thanks!

  • @ChrisTitusTech

    @ChrisTitusTech

    3 жыл бұрын

    I'm still using Hugo, but most folks don't understand git and WordPress is far more common and probably the best starting point.

  • @Isassi007

    @Isassi007

    3 жыл бұрын

    @@ChrisTitusTech gottca!

  • @KartikGajaria
    @KartikGajaria3 жыл бұрын

    Chris, how do I check the no. of visitors it can handle? Is hosting a small website/blog on a pi a viable solution?

  • @TheBinklemNetwork

    @TheBinklemNetwork

    3 жыл бұрын

    Yes this is scaleable

  • @nathangorecki7381
    @nathangorecki73813 жыл бұрын

    So I have followed the tutorial and am unable to access wordpress from the browser via ip. All I see is what looks like a text file, not the wordpress setup. I have followed the tutorial to a T and spent most of today on this. Any suggestions?

  • @davidhunt5682

    @davidhunt5682

    3 жыл бұрын

    I got something similar, but I forgot to install php.

  • @davidg4512
    @davidg45123 жыл бұрын

    You can skip all of this by just using the official WordPress dockerized images. It's just much easier to declare a configuration in docker-compose.yml and spin it up using docker-compose up -d. There is too much to type here doing this all custom. However, that's not to excuse to learn how it all works under the hood, as that's important to understand. I would do an easy tutorial and then also how to set it up the non-docker way.

  • @davidhunt5682
    @davidhunt56823 жыл бұрын

    ERROR 1046 trying to GRANT ALL PRIVLEGES in mysql. Entered 'use wordpress' to fix.

  • @amrtariqabusamra2853
    @amrtariqabusamra28533 жыл бұрын

    Notification gang

  • @Lp-ze1tg
    @Lp-ze1tg3 жыл бұрын

    Is a 4gb ram raspberry pi 4 good enough?

  • @barbyboi

    @barbyboi

    3 жыл бұрын

    Sure!

  • @jasonreviews
    @jasonreviews3 жыл бұрын

    now you should try ddosing or stress testing to see how many users it can take.

  • @user-xr3rb6pn9m
    @user-xr3rb6pn9m3 жыл бұрын

    Have you tested how many simultaneous connections a RPi can handle before the website becomes unusable? Really curious about that

  • @denispalt9184

    @denispalt9184

    3 жыл бұрын

    I think this highly depends on the pi (2/3/4) and the applications/plugins u are using

  • @user-xr3rb6pn9m

    @user-xr3rb6pn9m

    3 жыл бұрын

    Sure, but at least curious to know the order (is it 100s? 1000s? 10000s?)

  • @andrescoquin7285

    @andrescoquin7285

    3 жыл бұрын

    It is highly dependent on we what kind of content to they are watching. From what I have seen around 20 is ok even with a Raspberry 0W if they are not all watching videos at the same time.

  • @leandrolaporta2196
    @leandrolaporta21963 жыл бұрын

    Excellent! Thank you!, I will love if you can Install sinplemachines forum!!

  • @genious0682
    @genious06823 жыл бұрын

    your using brave browser man is too good even i am to using that

  • @denisdeslauriers7277
    @denisdeslauriers72773 жыл бұрын

    I just created a Website for my wife. Expensive affair... Now I need to create one for myself. I'll look into this, thanks, Chris!

  • @Electro313Spirit
    @Electro313Spirit3 жыл бұрын

    👍🍓

  • @lawsonott3
    @lawsonott32 жыл бұрын

    "Chris Titus Tech", how to do this, but just using js/html/css? or blazor? i hate wordpress.

  • @LoganMeyers03
    @LoganMeyers033 жыл бұрын

    hi! :)

  • @x91w
    @x91w3 жыл бұрын

    I haven't used a micro sd card in a PI4 for over a year. I find USB3 flash drives or SSDs much quicker and easier than the nasty microsd RPI org have just dropped a new firmware last week that makes it even better.

  • @ChrisTitusTech

    @ChrisTitusTech

    3 жыл бұрын

    I agree, much faster and more reliable

  • @SwineGamers
    @SwineGamers3 жыл бұрын

    Sir please make a windows with Bluetooth wifi 802.11 n and lightest about 200 mb ram usage I need to use zoom and chrome as I used many linux but in that zoom is using 100% cpu usage please make hardly requesting some games like minecraft

  • @terrydaktyllus1320
    @terrydaktyllus13203 жыл бұрын

    That Windows 10 system you shut down about 3 minutes into the video - don't feel you ever have to restart it. You're adult enough to use Linux, you don't need those kindergarten mis-operating systems any more.

  • @markh.6687

    @markh.6687

    3 жыл бұрын

    Windows: "I'm afraid, Terry."

  • @terrydaktyllus1320

    @terrydaktyllus1320

    3 жыл бұрын

    @@markh.6687 Windows: "Come suckle on mummy's teat, Mark H."

  • @nichtgestalt
    @nichtgestalt3 жыл бұрын

    Oh snap, I just Sold my Raspberry pi 3 so I can buy a new screen. I guess the Raspberry pi zero w is not strong enough, right?

  • @parthaganguly2014
    @parthaganguly20143 жыл бұрын

    Sir, I am from India. Please make a video on Deepin 20 Linux. and Tell us if Chinese OS safe or not for use daily driver.

  • @wikingagresor

    @wikingagresor

    3 жыл бұрын

    come on, don't use Deepin - it is not safe.

  • @parthaganguly2014

    @parthaganguly2014

    3 жыл бұрын

    @@wikingagresor Thanks

  • @sbfotome
    @sbfotome3 жыл бұрын

    How would you set up an SSL on the Pi?

  • @pavlospilakoutas

    @pavlospilakoutas

    3 жыл бұрын

    Try certbot

  • @rameshraja2352
    @rameshraja23523 жыл бұрын

    Hi Chris, I am a basic linux user. Please find my system specification - AMD 3600x - 16 GB RAM - Gigabyte 1660ti graphic card - Ubuntu 20.04, Zorin 15.3 OS I find the VLC player is showing some audio lag when fast forwarding using arrow keys. And when i try Manjaro 21.0.2 it is working fine.

  • @akochlef
    @akochlef3 жыл бұрын

    what's a website with a private IP, should have talked about how to make it public.

  • @amcocaponee5541
    @amcocaponee55413 жыл бұрын

    w

  • @ladyViviaen
    @ladyViviaen3 жыл бұрын

    and then use tor to host it

  • @nixielee
    @nixielee3 жыл бұрын

    To get rid of that annoying paste warning "multiLinePasteWarning": false,

  • @FlamingArrow444
    @FlamingArrow4442 жыл бұрын

    is this safe to open this up to the world through my router? i’m afraid someone knows more than i do and can just wreck my life if i open it to the world 🤣

  • @FlamingArrow444

    @FlamingArrow444

    2 жыл бұрын

    this a serious question tho fr

  • @MiMayonGo
    @MiMayonGo3 жыл бұрын

    How about hacking nasa using raspberry pi

  • @luimu
    @luimu3 жыл бұрын

    Imagine building a hobby project with wordpress instead of writing your own.

  • @ArchieGamerPlayer
    @ArchieGamerPlayer10 ай бұрын

    it keeps saying the password is wrong terrible tutorial

  • @harpermartin7813
    @harpermartin78132 жыл бұрын

    Jesus is King! If you do not know Jesus as Savior please pray, “ Jesus save me. At this moment I choose to have faith that You gave Your life for me and rose from the dead. Doing this You defeated death, even though it meant You had to die. You surrendered Your life for me, so I chose to surrender my life to You. Forgive me Jesus, my God. Amen.” Jesus loves you so much. Please accept His love. I encourage you to read the Bible and pray. “For God so loved the world that he gave his one and only begotten Son into this world, that whoever believes that in him shall not perish but have eternal life.” John 3:16 🙏❤️🙏 Jesus is enough! Again I tell you, Jesus loves you! God believes in you more than you believe in yourself! Trust Him! Thank Him! ❤️🙏

  • @iishadowii7477
    @iishadowii74773 жыл бұрын

    I underestood nothing :)