How To Setup WordPress on an Apache LAMP Server

Тәжірибелік нұсқаулар және стиль

Learn how to setup a WordPress website on a LAMP server running Ubuntu 18.04 with Apache. In this tutorial, we will manually download and install WordPress, setup the WordPress database, enter the database credentials in the wp-config.php file, and configure Apache to work with WordPress.
Need an Apache LAMP server? • How to Install an Apac...
Find more at tonyteaches.tech
Check out my vlog channel ‪@TonyFlorida‬
#lamp #apache

Пікірлер: 130

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

    Very Well explained. Nice and tidy speech. Clear voice and gearte zoom in video. Thankyou so much Tony.

  • @dorian_arno
    @dorian_arno2 жыл бұрын

    You clears my doubts about how Apache config files works. Thanks.

  • @EKBShorts
    @EKBShorts3 жыл бұрын

    Super good quality video and very easy to understand. You deserve more subs :)

  • @TonyTeachesTech

    @TonyTeachesTech

    3 жыл бұрын

    I appreciate that!

  • @user-nx7lc3wc5e
    @user-nx7lc3wc5e Жыл бұрын

    Thank you so much Tony, as always, you are a huge help

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

    I really thank you for this video, Your explanation is so easy to understand for a beginner like me. You gain a new subscriber here

  • @TonyTeachesTech

    @TonyTeachesTech

    Жыл бұрын

    Glad it was helpful! Welcome aboard

  • @mikee1of1
    @mikee1of12 жыл бұрын

    Wow! this is very helpful. thank you!

  • @_._lis_._
    @_._lis_._ Жыл бұрын

    Thankyou so much Tony! :D

  • @rajcaussy4588
    @rajcaussy45883 жыл бұрын

    Great Video Tony.

  • @TonyTeachesTech

    @TonyTeachesTech

    3 жыл бұрын

    Thanks 👍

  • @farzadmehrava43
    @farzadmehrava432 жыл бұрын

    thank you Tony ... Greate tutorial !!!

  • @husainnabil6282
    @husainnabil62822 жыл бұрын

    Thank you so much finally can set up my local wordpress because of your help

  • @TonyTeachesTech

    @TonyTeachesTech

    2 жыл бұрын

    Great to hear it Husain

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

    awesome, thanks for making it so clear and easy to follow

  • @TonyTeachesTech

    @TonyTeachesTech

    Жыл бұрын

    You're very welcome!

  • @clinthurtig3331
    @clinthurtig33314 ай бұрын

    Thank you! I needed to change the root directory for the webserver. Your video was helpful!

  • @TonyTeachesTech

    @TonyTeachesTech

    4 ай бұрын

    Glad it helped!

  • @vanvuite7307
    @vanvuite73072 жыл бұрын

    Great tutorial, as always.

  • @TonyTeachesTech

    @TonyTeachesTech

    2 жыл бұрын

    Thanks!!

  • @johnbond7044
    @johnbond70442 жыл бұрын

    Thanks - been looking for this

  • @TonyTeachesTech

    @TonyTeachesTech

    2 жыл бұрын

    You're welcome!

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

    great tutorial!Thank a lot.

  • @KairosSU
    @KairosSU10 ай бұрын

    This guy is definitely the techiest tech person I've ever seen

  • @TonyTeachesTech

    @TonyTeachesTech

    10 ай бұрын

    Thanks 🙏

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

    Very useful! Thx!

  • @malachi5813
    @malachi58134 жыл бұрын

    good tut dudesky, thanks!

  • @TonyTeachesTech

    @TonyTeachesTech

    4 жыл бұрын

    No problem!

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

    Very clear. Thank you.

  • @TonyTeachesTech

    @TonyTeachesTech

    Жыл бұрын

    You are welcome!

  • @marceluche11
    @marceluche1111 ай бұрын

    Thanks alot Please do more videos on digital ocean

  • @sidof8065
    @sidof80652 жыл бұрын

    great tuto

  • @muhammedrashid.c4417
    @muhammedrashid.c44172 жыл бұрын

    Thanks tony..😍

  • @johnwouters9835
    @johnwouters98352 жыл бұрын

    excellent video, tx!

  • @TonyTeachesTech

    @TonyTeachesTech

    2 жыл бұрын

    Glad it was helpful!

  • @cli-hope417
    @cli-hope4172 жыл бұрын

    Thanks for this video..👌

  • @TonyTeachesTech

    @TonyTeachesTech

    2 жыл бұрын

    You're welcome!

  • @asrarahmed6458
    @asrarahmed64582 жыл бұрын

    THANKS Great tutorial i was trying from last 2 weeks but not becoming successfull just because of ur two videos i done it. Thanks

  • @TonyTeachesTech

    @TonyTeachesTech

    2 жыл бұрын

    Happy to hear that

  • @intense0excellent
    @intense0excellent2 жыл бұрын

    Great tutorial! Thanks for posting. I couldn't get my default home page to load as the WordPress page, I was stuck on the Apache2 'it works!' page. It's useful to know where config files are stored and what parameters they control!

  • @TonyTeachesTech

    @TonyTeachesTech

    2 жыл бұрын

    Happy to hear that! Good luck

  • @saasaa73
    @saasaa734 жыл бұрын

    Very usefull vidéo nice

  • @TonyTeachesTech

    @TonyTeachesTech

    4 жыл бұрын

    Thanks a lot

  • @lukyvan0211
    @lukyvan02113 жыл бұрын

    Easiest impossible Thanks!!!

  • @TonyTeachesTech

    @TonyTeachesTech

    3 жыл бұрын

    You're welcome!

  • @ffhhffh
    @ffhhffh3 жыл бұрын

    great vid

  • @TonyTeachesTech

    @TonyTeachesTech

    3 жыл бұрын

    Thanks!

  • @BotoxBiene
    @BotoxBiene3 жыл бұрын

    I had a blast figureing out how to leave the standard putty editor :D

  • @TonyTeachesTech

    @TonyTeachesTech

    3 жыл бұрын

    Haha :)

  • @shawnmcnamara5198
    @shawnmcnamara51983 жыл бұрын

    THANK YOU LORD!!!

  • @TonyTeachesTech

    @TonyTeachesTech

    3 жыл бұрын

    😁

  • @Construction-geek
    @Construction-geek2 жыл бұрын

    Thank you for the tutorial , it is really helpful; I just wanted to ask you is it possible to install wordpress and dolibarr in the same LAMP ?

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

    heyy nice video. i am having a lil problem when creating sql so when i type the grant all on.... i always get syntax error and i checked it many many times i havent mistaken any words what do you think could make errors.

  • @jenycek2222
    @jenycek22223 жыл бұрын

    Hey, the syntax of grant all on database.* to 'somebody'@'localhost' identified by 'password' didnt work for me, instead I used create 'user'@'localhost' identified by 'password' and then grant all on database.* to 'jenda'@'localhost' and it worked, I spent so much time on this, because the MySQL said "You have wrong syntax bro" and everything was not looking good, but I managed to do it using commands I showed you above

  • @TonyTeachesTech

    @TonyTeachesTech

    3 жыл бұрын

    Ahhh yes, you must be using a different version of mysql than me in the video. Sorry you had to struggle through that Jan

  • @medpinlondon
    @medpinlondon2 жыл бұрын

    Thank you so much man, it would be great if you could mention which key you pressed to enter the insert mode on VIM and how you saved the update :)

  • @dolapoadeola206

    @dolapoadeola206

    2 жыл бұрын

    press "i"

  • @tomaskucera1921

    @tomaskucera1921

    Жыл бұрын

    Oh yees, vim :D At least now you understand the ,,spent hours trying to exit vim" memes. I see you posted this nine months ago, so there's a chance you're still stuck in there. Hold on tihgt, I'm here to rescue you! Anyways, vim operates in "modes". When you open up Vim, you find yourself in the first, COMMAND mode. In there you can do stuff like find, replace, delete line, jump to line, etc. (all with key combos. Look them up, you'll feel like keybord ninja once you learn them). To actually edit some text, you have to enter the INSERT mode by simply pressing the "i" key. Then you do your typing. Once done, exit the insert mode by pressing the Escape key, which will put you back into command mode. Most commands start by ":". So, to write changes made to a file, type ":w". to quit the editor, type ":q". Makes sense, right? ;) You can combine it into one command by typing ":wq". If you decide you want to quit without saving changes (or just want to give up and use nano instead), put an exclamation mark after the "q", typing ":q!" to force quit.

  • @Orion-redx7
    @Orion-redx72 жыл бұрын

    Can I use this with the google cloud free tier?

  • @mirowahedali3962
    @mirowahedali39623 жыл бұрын

    Lucid explanation...

  • @TonyTeachesTech

    @TonyTeachesTech

    3 жыл бұрын

    Thanks!

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

    Thanks for sharing informative video! Just one question, sorry of it's wrong I am a beginner, wouldn't it be better if we used mv instead of cp on 5:34 ?

  • @TonyTeachesTech

    @TonyTeachesTech

    Жыл бұрын

    That is an option

  • @mauwiks
    @mauwiks2 жыл бұрын

    How about the security, Tony?

  • @Weckmuller
    @Weckmuller3 жыл бұрын

    Hey mate. Grate video, thanks for this! If im allowed just on piece of feedback I would like to ask you, being the beginner I am, if you could be more descriptive about the commands and key press you are performing specially on the VIM editor.

  • @bombercloud3800

    @bombercloud3800

    3 жыл бұрын

    Press the Insert button to alter data into the file once done editing , Press escape and type the following command to save and exit . :wq

  • @TonyTeachesTech

    @TonyTeachesTech

    3 жыл бұрын

    This vid should help kzread.info/dash/bejne/p3low86jn7Colco.html

  • @Weckmuller

    @Weckmuller

    3 жыл бұрын

    @@TonyTeachesTech THANK YOU!

  • @Maherco.Gaming
    @Maherco.Gaming Жыл бұрын

    I have a project where I want to intentionally make my website vulnerable to sql injection, any help with that?

  • @toshitsingh7270
    @toshitsingh72702 жыл бұрын

    Can you make a video about how can we backup and restore our Wordpress and SQL running on LAMP

  • @TonyTeachesTech

    @TonyTeachesTech

    2 жыл бұрын

    Try this kzread.info/dash/bejne/rGdpvLJ-fNKbj7w.html and this kzread.info/dash/bejne/ka6pm9WsYrW-XZM.html

  • @boardkey9670
    @boardkey96702 жыл бұрын

    Your video is very interesting but what if I want to use port 443 instead of 80 for my virtual host

  • @TonyTeachesTech

    @TonyTeachesTech

    2 жыл бұрын

    You can do that too

  • @devinlittle1267
    @devinlittle12673 жыл бұрын

    hey Tony I have wordpress working great however, I have to go to my domain/wordpress but my local Ip is all ready in the dir any help?

  • @TonyTeachesTech

    @TonyTeachesTech

    3 жыл бұрын

    Sorry, I'm not sure what you mean

  • @user-sg3yh9bn3j
    @user-sg3yh9bn3j11 ай бұрын

    hey bro big fan here, i just wanna know how to change the url ip address o domain name?please i need your advise as a professional bro,thanks

  • @shaneschwalger2482
    @shaneschwalger24822 жыл бұрын

    I spend at 2 days trying to get this to work. 10mins after your tutorial.... Hello world!... sigh..thank goodness.

  • @TonyTeachesTech

    @TonyTeachesTech

    2 жыл бұрын

    :)

  • @TeacherFlash
    @TeacherFlash3 жыл бұрын

    4:54 I get You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sudo grant all on database_name.* to 'database_user'@'localhost' identified by '' at line 1

  • @TonyTeachesTech

    @TonyTeachesTech

    3 жыл бұрын

    Does something like this work? grant all privileges on database_name.* TO 'database_user'@'localhost';

  • @TeacherFlash

    @TeacherFlash

    3 жыл бұрын

    @@TonyTeachesTech screw it bro... after struggling so much for the past 3 days I paid someone on upwork and they then set it up and then explained to me how to do it. After that I installed it on my server. I never understood this console work and why not just have a GUI for ubuntu... :D now it all works

  • @TeacherFlash

    @TeacherFlash

    3 жыл бұрын

    @@TonyTeachesTech also upon creation of the db I had to do this // create databse CREATE DATABASE wordpressdb DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; //create user GRANT ALL ON wordpressdb.* to 'wordpressdbuser'@'localhost' IDENTIFIED BY 'wordpressdbpassword'; also phpmyadmin didnt work for some reason as planned so I had this problem: //insert this command to alter user ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'wordpressrootpassword'; but that is not where my misfortune and troubles have ended, in the tutorials i found online... in the tutorial no one mentioned to delete the index.html from the apache2 further more php was not upgraded... so had to upgrade php from 7.2 to 7.4 however that installed a bunch of packages everywhere. i didnt watch your video because I am a noob and i did not write properly things you wrote

  • @TeacherFlash

    @TeacherFlash

    3 жыл бұрын

    @@TonyTeachesTech I did not replace these salt keys thing... is that super important? Like should I now reinstall entire apache and wordpress agian because of some possible security failure or is this okay and I can go ahead and do it now?

  • @TeacherFlash

    @TeacherFlash

    3 жыл бұрын

    @@TonyTeachesTech also I followed your tutorial and you installed WP through ip and that stupidly adds ip in places in db and configurations somewhere to css did not work anymore for some reason. I now install wp through domain and then it worked ok.

  • @razuahammad55
    @razuahammad553 жыл бұрын

    How we can add or change IP to Domain in this server / wordpress installation ?

  • @TonyTeachesTech

    @TonyTeachesTech

    3 жыл бұрын

    Please stay tuned to a video that I'll be releasing on May 26th

  • @AS-bm5xv
    @AS-bm5xv3 жыл бұрын

    Hey Tony! Oracle offers a 4 Core 24GB RAM ARM VM free forever, could you make a tutorial on getting WordPress (with SSL) installed? Would be great for your channel too with a title "4-Core, 24 GB RAM WordPress Free Forever" xD

  • @TonyTeachesTech

    @TonyTeachesTech

    3 жыл бұрын

    Can you please share a link to this?

  • @AS-bm5xv

    @AS-bm5xv

    3 жыл бұрын

    @@TonyTeachesTech www.oracle.com/cloud/free/ There are two types, one is always free tier, and the other is free trial for 30 days. In always free tier, we can 2 AMD based Compute VMs with 1/8 OCPU and 1 GB memory each, along with that, we can also get 4 Arm-based Ampere A1 cores and 24 GB of memory usable as one VM or up to 4 VMs AND with up to 2 Block Volumes Storage, 200 GB total. Given that people have successfully run WordPress on an ARM based Raspberry Pi running either Ubuntu or Raspbian OS, I am almost sure that we can get WordPress to run well on an ARM based Oracle Server as well!

  • @TheRockeyAllen

    @TheRockeyAllen

    3 жыл бұрын

    Woah quad core and 24GB RAM for free... Update: I just setup the server, pretty straightforward, didn't install any applications on it yet though... waiting for Tony's tutorial 😂

  • @TonyTeachesTech

    @TonyTeachesTech

    3 жыл бұрын

    @@AS-bm5xv Very cool. I'll check this out, thanks!

  • @staaar3111
    @staaar31112 жыл бұрын

    Which ISO did you use? Desktop or server?

  • @TonyTeachesTech

    @TonyTeachesTech

    2 жыл бұрын

    Ubuntu Server

  • @henksteenvis
    @henksteenvis2 жыл бұрын

    update 2022, the grant all thing doesn't work.......!

  • @TonyTeachesTech

    @TonyTeachesTech

    2 жыл бұрын

    What is the error?

  • @user-yj1mg5ln2y

    @user-yj1mg5ln2y

    11 ай бұрын

    try breaking down the query: one for creating the user (create user ... identified by ...) then grant the privileges (grant all on ... to ...)

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

    If you plan to use this in production do not use admin as the username.

  • @mirowahedali3962
    @mirowahedali39623 жыл бұрын

    Plz let me know database access through phpmyadmin...

  • @TonyTeachesTech

    @TonyTeachesTech

    3 жыл бұрын

    I have a video on this topic that will be published on October 5th. Please stay tuned.

  • @rafaelnacha1788

    @rafaelnacha1788

    2 жыл бұрын

    @@TonyTeachesTech where can i find this video

  • @TonyTeachesTech

    @TonyTeachesTech

    2 жыл бұрын

    @@rafaelnacha1788 kzread.info/dash/bejne/jKChqqVsotmtg6g.html

  • @satishkumarojha5377
    @satishkumarojha53773 жыл бұрын

    Sir please make a video on how to secure Ubuntu server from hackers🙏🙏🙏🙏

  • @TonyTeachesTech

    @TonyTeachesTech

    3 жыл бұрын

    It's on my list :)

  • @rafaelnacha1788

    @rafaelnacha1788

    2 жыл бұрын

    @@TonyTeachesTech did you make it

  • @williamvanegas2779
    @williamvanegas27793 жыл бұрын

    I am new to Linux and I want to install LAMP. i followed the videos carefully and installed Apache, PHP, mysql and the libraries requested. after that, I followed the video and made all the changes. my apache shows the page as clear test and I dont know how to fix it. I know it is configured correctly but it looks like apache is not reading php and renders only plain text. anyone please help. Thanks

  • @TonyTeachesTech

    @TonyTeachesTech

    3 жыл бұрын

    What do you mean "my apache shows the page as clear test"?

  • @mulletman1705

    @mulletman1705

    3 жыл бұрын

    I think he means clear text i.e. php is not parsing the file and instead displaying the php code in plain text when the webpage loads . He probably trying to write php code in a .html file instead of a .php file

  • @jack-zf6dv
    @jack-zf6dv3 жыл бұрын

    bro .how to change the ip to a domain then?

  • @TonyTeachesTech

    @TonyTeachesTech

    3 жыл бұрын

    I'll have a video coming out on May 26 that shows you how to do this for Apache. It's gonna be called How to Point a Domain Name to an IP Address (DNS A record example). Please stay tuned for that!

  • @Igeeckow
    @Igeeckow3 жыл бұрын

    you really had to do it all in terminal right?

  • @TonyTeachesTech

    @TonyTeachesTech

    3 жыл бұрын

    Yes

  • @ramilafi1812
    @ramilafi18123 жыл бұрын

    -bash: tra: command not found

  • @TonyTeachesTech

    @TonyTeachesTech

    3 жыл бұрын

    tra? What is that?

  • @isaacmaag1294
    @isaacmaag12942 жыл бұрын

    I followed step by step and got “error establishing a database connection”???

  • @TonyTeachesTech

    @TonyTeachesTech

    2 жыл бұрын

    That means the database credentials that you provided are wrong

  • @isaacmaag1294

    @isaacmaag1294

    2 жыл бұрын

    @@TonyTeachesTech thanks man I figured it out. I tried using root as the username in the wp-config file and it didn’t like that. I created a new user and it worked? Why is this?

  • @TonyTeachesTech

    @TonyTeachesTech

    2 жыл бұрын

    @@isaacmaag1294 I'd think root would have all the necessary permission. IDK. But better to use the user instead of root anyway

Келесі