How to Install an Apache LAMP Server on Ubuntu 20.04 (in 5 minutes)

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

КОМЕНТАРІ • 126

  • @DanielSolomon-m9j
    @DanielSolomon-m9j 5 місяців тому +1

    Concise and straight to the point. Great Video.

  • @Tushar-RA-G
    @Tushar-RA-G 4 роки тому +6

    This saved my day. Thanks a lot Tony!

  • @alinaseri7951
    @alinaseri7951 2 роки тому +1

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

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

    Thank you - The fastest install I've ever done! I'll be looking over your other videos for good instruction!!!

  • @tritonus1008
    @tritonus1008 3 роки тому +8

    Great, thanks! Just a little tip for a better usability of your videos: When I hit stop to write a code into my own command line, the UA-cam Play/Next/Volume buttons are on top of your active command line so I cant see the line anymore. Maybe you can add a little extra space in the video editing next time. :)

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

    Tony , ur videos are just awesome🔥🔥🔥🔥🔥

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

    simple and to the point

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

    This video was super helpful! Thanks!

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

    Great video, Tony - thanx!!

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

    this helped me a lot. thank you for such a great tutorial

  • @dinbackupsbashiro6963
    @dinbackupsbashiro6963 2 роки тому +1

    Hello Tony, I've been watching your videos lately. Thanks for the great videos. How do one start apache as a service using xampp or lamp? Do you have a video on that ? Thanks

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

    can you make a video on shopware development and all the installation required in ubuntu 22.04 ?
    please it will be very helpful if you do.

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

    thanks for the quick version.. much appreciated

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

    great video !

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

    Hi Thanks for the video! I had a question, when you copied the IP Address, to verify if the setup was working, which IP Address is it? Is it the Public IPv4 Address? or something else?

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

      Your IPV4 should work.

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

    thank you so much for this video ❤❤

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

    thanks ... you mentioned two more videos about wordpress and multiple hosts but I cant find them !!!

    • @TonyTeachesTech
      @TonyTeachesTech  2 роки тому +1

      Sorry about that. Here you go.
      - ua-cam.com/video/lGSRDV2IQhw/v-deo.html
      - ua-cam.com/video/q-qfLUTgUl8/v-deo.html

  • @Maherco.Gaming
    @Maherco.Gaming 2 роки тому

    Where do I put the css and js files?

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

    Hi Tony, There is no proper guide or video all over the internet about ** Staging a WordPress website ** hosted on VPS such as Digital Ocean, Linode, etc. Can you please make a video about how to do that and then push those changes made on the Staging website to the Live Website that would be very helpful and will definitely get tonnes of views.

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

      Great topic. I will add it to my list of videos to make :)

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

      @@TonyTeachesTech would be waiting fo this video.

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

    soooo helpful. thank you!

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

    Thanks nice great tutorial

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

    Super tutorial bro, i am learning this also in school this period of time a this help me a lot for practice, ca you make a video also how to install wordpress there?

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

      Here's a WordPress install tutorial for a LAMP server ua-cam.com/video/q-qfLUTgUl8/v-deo.html
      I'm curious where you are learning this stuff in school. Is it at college?

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

      @@TonyTeachesTech Is a 1 year profesional school for It & Computer tech, we learn a lot form reparing pc, routers, windos server, linux, html css php java, and some other topics but they are not super full in detail for each topic so i have to make my research to learn more. School name is called Instituti Profesional ATC.

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

      @@TonyTeachesTech And i have another quesion i am making a project at home building a webserver form an old pc, is it posible to acces webpage from other network for free or i need to buy and public ip from internet company.

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

      @@EKBShorts sorry I missed your question here. I hope you saw my response on your other question (comment reply notifications are different than comment notification on UA-cam)

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

      @@TonyTeachesTech No problem bro thank you for answer

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

    wasn't allowed to use that, but terminal read:
    the following packages replace it:
    mariadb-server-10.0Was able to use php-mysqul, though

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

    Great video. Can you post the commands in the video description?

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

    04:34h i can't get back and continue like u do. Please tell me what do you do, and also, could you please resiye your screen so when we pause we can actually see what are you doing.

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

      Sorry about that. Please watch this short video to understand how to save and exit in vim ua-cam.com/video/uE4aljoMBeg/v-deo.html

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

    Hey Tony, I followed your instructions, when it came to creating mysql password, I get the following error. FAILED! ERROR: SET PASSWORD has no significance for user 'root'@'localhost' as authentication method used doesn't store authentication data in the MYSQL server. Please consider using ALTER USER instead if you want to change authentication parameters. - any ideas?

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

      I have never seen that error before. I unfortunately don't have any ideas on that

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

      Wow ok

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

      Did you figure anything out yet?? Cause I'm having the same problem.

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

    Thanks😊

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

    thank you Tony

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

    Thank you very much for this video. Have watched but not tried the specific commands yet. Question -- I notice that you're installing as the root user. Do you know if it makes a difference if you're a regular user and just use sudo on all the `apt install ...` commands instead? UPDATE: i tried it and it doesn't seem to make a difference. The reason I asked this question is because I had noticed that the user and group on the files are all root:root which makes me nervous. I had seen a coworker system admin at another company have the user:group be something like nobody:nogroup. I'll search around for something on that either way. Thanks for getting me started.

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

      Sure thing Roger. Thanks for the update. It's not ideal to use root, but better than nobody:nogroup

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

      Thanks. I did some more searching and everybody so far said to avoid both "root" and "nobody". Found some discussions like at stackoverflow and Ubuntu docs saying to run it as www-data with no other user being a member of that group. So I added the user/group and ran a chown -R after doing the install to make it be www-data.

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

    Thank you

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

    nice explanation

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

    hello Tony, I am getting an error while upgrading, it is showing the following packages have been kept back: grub-efi-amd64-bin grub-efi-amd64-signed python3-software-properties software-properties-common ubuntu-advantage-tools update-notifier-common 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. please help me with this error correction.

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

    Hi, i am getting timed out when I am trying to connect with my instances public ip to the webpage. I went back and checked the steps but nothing i seem to be doing is getting the web page to pop up.

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

      You need to port forward if you want to access website from remote locations.

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

    sudo apt-get install tasksel ?

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

    how to install maria DB? is it better than Mysql?

  • @ramsestatl5095
    @ramsestatl5095 4 роки тому +4

    Ok. İnstalled LAMP Server ? LAM server :) Where is this "P" Phpmyadmin :) Thanks bro. Good Job.

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

    howdy dear buddy - i am on MX-Linux - i wanna install the LAMP-Stack on this machine too. Any difference here !?

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

    There is an issue while installing the apache2 service it is showing couldn't open the lock file and Unable to acquire the dpkg frontend lock

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

      prepend the sudo command to the install command, that should make it run the install. I.E. "sudo apt install apache"

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

      Ben's advice is right

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

    Basically what is lamp?? Is that a server, that is used for web applications?? Or else lamp is leatest version of Apache php mysql??

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

      Yes! LAMP is a software configuration for web applications. It's simply a buzzword to describe installing Linux (Ubuntu in this case), Apache, MySQL (or MariaDB), and PHP on a single server.

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

      @@TonyTeachesTech lamp runs on which OS?

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

      @@sahithisahi1486 Any "Linux" OS that's capable of installing Apache, MySQL, and PHP. This could be Ubuntu, Debian, CentOS, Fedora, etc.

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

      @@TonyTeachesTech OK thank you
      Tomorrow I am having seminar on this topic could you please suggest any PPT?

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

      @@sahithisahi1486 What is a PPT?

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

    Very good 👍👍👍👍👍👍

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

    How we can allow root user remote login after installation?

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

    muito bom o tutorial.

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

    ty

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

    how do i get out of the screen at 4:33???? help!

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

      Sorry for not making that clear. You must hit the Esc key and then type :wp followed by Enter.
      This video will go over the basics of vim for you ua-cam.com/video/uE4aljoMBeg/v-deo.html

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

      @@TonyTeachesTech Thank you so much!!

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

    noob Q: if you disallowed root login for Apache, does this mean i must adduser on ssh if using ssh? I was going to add/change that later. I have a brand new headless Pi4 server and Debian OS on a PC, if that affects anything.

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

      Yeas add a user first before disabling root login

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

    hey im stuck with the html part and i can't figure out how to save my html file

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

      For a quick vim primer, see this video ua-cam.com/video/uE4aljoMBeg/v-deo.html

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

      @@TonyTeachesTech thank you so much you saved my day :)

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

    enter and type up of the page, it is too hard to watch it.

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

    Hey, great video! Question for anyone who can help: Which ip address do I use? I tried my public ipv4, but putting that in a browser takes me to a Linksys smart Wi-Fi page. Is that normal? Thanks.

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

    where to get that ip address ??

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

      The IP address is the IP address of your server. If you don't have access to a server, you can create a virtual server. Check out the link to Digital Ocean in the description.

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

      ​@@TonyTeachesTech is their any other way other than this

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

      no else you need to work on localhost which is the virtual network

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

      @@kendjinone830 when i open local host it says 'page not found'

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

      @@_bharatbk_ you needs to start apache idk how it works on linux though but it's very easy to do on windows

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

    How we get phpmyadmin

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

    apache keeps failing on mine for some reason

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

    Suddenly I am facing a problem that I am not able to login in to my server & my website is showing that "this site can't be reached"... please help 😥😥😥

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

      Sounds like your server is offline. Can you confirm the status?

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

    You actually changed a HTML code.. :)

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

    No PhpAdmin :P

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

    Yo Tony brother, Please specify on the title that the latter is for beginners.
    Thank you for the video.

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

    ls - List Files
    Command: ls [options] [directory]
    Explanation: Lists files and directories in the specified directory. Common options include -l (long format) and -a (show hidden files).
    cd - Change Directory
    Command: cd [directory]
    Explanation: Changes the current working directory to the specified directory.
    pwd - Print Working Directory
    Command: pwd
    Explanation: Displays the current working directory's full path.
    cp - Copy
    Command: cp [source] [destination]
    Explanation: Copies files or directories from the source to the destination.
    mv - Move/Rename
    Command: mv [source] [destination]
    Explanation: Moves files or directories from the source to the destination. Can also be used for renaming.
    rm - Remove/Delete
    Command: rm [options] [file]
    Explanation: Removes or deletes files. Be cautious, as this action is irreversible. Common options include -r (recursively remove directories) and -f (force).
    mkdir - Make Directory
    Command: mkdir [directory]
    Explanation: Creates a new directory with the specified name.
    rmdir - Remove Directory
    Command: rmdir [directory]
    Explanation: Removes an empty directory.
    touch - Create Empty File
    Command: touch [filename]
    Explanation: Creates an empty file with the specified name.
    nano/vi/vim - Text Editors
    Command: nano [filename], vi [filename], vim [filename]
    Explanation: Opens the specified file in a text editor. nano is a simple text editor, while vi and vim are more advanced with various modes and commands.
    cat - Concatenate and Display
    Command: cat [file]
    Explanation: Displays the contents of a file. Can also be used to concatenate and display multiple files.
    grep - Search Text
    Command: grep [pattern] [file]
    Explanation: Searches for a specified pattern in a file. Useful for text processing and searching.
    chmod - Change File Permissions
    Command: chmod [permissions] [file]
    Explanation: Changes the permissions of a file. Permissions include read (r), write (w), and execute (x) for the owner, group, and others.
    chown - Change Owner
    Command: chown [new_owner:new_group] [file]
    Explanation: Changes the owner of a file.
    ps - Process Status
    Command: ps [options]
    Explanation: Displays information about running processes. Common options include -e (all processes) and -aux (detailed information).
    kill - Terminate a Process
    Command: kill [process_id]
    Explanation: Sends a signal to terminate a specified process.