Install phpMyAdmin On Ubuntu 20.04

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024
  • Install Ubuntu 20.04 LTS on Virtual Machine:
    • Install Ubuntu 20.04 L...
    ***************************** Steps and command **********************
    1. To install apache2
    sudo apt-get install apache2
    2. For moving to the root directory type the command :
    Sudo su
    3. Now to install the lamp server type the command:
    apt-get install lamp-server^
    4.To install phpmyadmin type the command as :-
    apt-get install phpmyadmin -y
    5. One dialog box will appear and select the ‘apache2’ by pressing spacebar.
    6. Now configuring phpmyadmin dialog box will appear and select ‘yes’ after that give the password in my case it’s ‘admin’ 🡪 This password is of ‘root password’
    7. Now, goto the php directory as:-
    cd /var/www/html/
    8. If you hit the command as:-
    ls
    you can see the index.html file over that directory.
    9. To see the php version you are using create info.php using command as:-
    nano info.php
    after that type the code as:-
    phpinfo();
    And press ctrl + o to save and ctrl + x to exit.
    10. Now goto the browser and type ‘localhost/info.php’ you will get the php version.
    11. Then in browser go to the ‘localhost/phpmyadmin’ you will have to login now so to create user name and password at first go to
    sudo mysql -p -u root
    12. Create User using command as:-
    CREATE USER 'admin'@'%' IDENTIFIED BY 'admin';
    It means that the user name is ‘admin’ and password is also ‘admin’
    13. Grant Permission using the command as:-
    GRANT ALL PRIVILEGES ON . TO 'admin'@'%' WITH GRANT OPTION;

ความคิดเห็น • 76

  • @javierrobes7394
    @javierrobes7394 3 ปีที่แล้ว +3

    Clear, brief, easy to follow...
    Perfect tutorial.
    Thanks a lot!

  • @ninsiimawilber
    @ninsiimawilber 2 ปีที่แล้ว +6

    Thanks for the tutorial, this saved me.
    But there is something you skipped in your explanation
    Enabling phpmyadmin in Apache2 server.
    sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf
    sudo a2enconf phpmyadmin
    sudo service apache2 reload

    • @victormwaura3517
      @victormwaura3517 2 ปีที่แล้ว +1

      Thanks a lot bro. This was the missing final step in my set up.

    • @omnablecreativelabs
      @omnablecreativelabs ปีที่แล้ว

      Lifesaver!! I've been trying to install this for days and now it finally works! Thank you!

    • @braineaterzombie3981
      @braineaterzombie3981 10 หลายเดือนก่อน

      Thanks bro. What a lifesaver..

  • @TheFatHampster
    @TheFatHampster ปีที่แล้ว

    Very useful guide. Works on latest unbuntu as of Nov 2022

  • @kelvin4782
    @kelvin4782 ปีที่แล้ว

    This is the best explanation and assistant with commands below

  • @bisheshworkhadka8684
    @bisheshworkhadka8684 3 ปีที่แล้ว

    Its a easy to understand command and clear specification.
    so this is useful thank you sir

  • @thummasinpiyarattanatrai2321
    @thummasinpiyarattanatrai2321 2 ปีที่แล้ว

    Very useful, many thanks for step-by-step, I can set it up in one time. Thanks thanks again. God bless you. Cheers!!

  • @michajaron6236
    @michajaron6236 3 ปีที่แล้ว +2

    E: Unable to locate package -y
    while -- apt-get install phpmyadmin -y

    • @MohamedHelmys
      @MohamedHelmys 2 ปีที่แล้ว +3

      use it without -y: apt-get install phpmyadmin

  • @antoniodellifiori8817
    @antoniodellifiori8817 2 ปีที่แล้ว +2

    Hi man. I sow yr video, but i got a problem: how i finish to set the "info.php" file, and retry to start "localhost/phpmyadmin/" my browser allert me with "404 Not found:The requested URL was not found on this server. Apache/2.4.41 (Ubuntu) Server at localhost Port 80".
    I've followed all yr steps watching video

    • @ninsiimawilber
      @ninsiimawilber 2 ปีที่แล้ว +4

      I had the same issue, but you need to enable the phpMyadmin module in Apache2 and then restart your apache server
      Just use the following commands
      sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf
      sudo a2enconf phpmyadmin
      sudo service apache2 reload

    • @melvinivandelgadilloarredo3705
      @melvinivandelgadilloarredo3705 2 ปีที่แล้ว

      @@ninsiimawilber Thank u, bro!!!

  • @TrueStandard
    @TrueStandard 2 ปีที่แล้ว

    What’s the difference between the Apache web server and the lamp server?

  • @RamonChiNangWong078
    @RamonChiNangWong078 2 ปีที่แล้ว

    Nice, it also came with written instruction!
    fast and easy

  • @ABID-ik3mw
    @ABID-ik3mw ปีที่แล้ว

    Greate,
    after long search i found this,
    Thanks a lot,

  • @МаксимДудников-х2е
    @МаксимДудников-х2е 2 ปีที่แล้ว

    Very help! Thank you! The best manual!

  • @adambrosko9434
    @adambrosko9434 ปีที่แล้ว

    Very useful, but I have one question if I have installed phpmyadmin on server, how can I transfer data to php? I can connect to database remotely but I can't use data from database in php project. Can somebody help me? Thanks

  • @SharifulIslam-om5rq
    @SharifulIslam-om5rq 2 ปีที่แล้ว

    Can't understand 5:25 to 5:30 minute..Please help

  • @mehedeehassan5705
    @mehedeehassan5705 3 ปีที่แล้ว

    Omg! Thanks, man,! you're very helpful

  • @SnakZ
    @SnakZ ปีที่แล้ว

    this doesnt work unable to see phpmyadmin

  • @amirmohammadqaffari9084
    @amirmohammadqaffari9084 2 ปีที่แล้ว

    thanks a lot
    It was very useful and practical

  • @Jeridi
    @Jeridi ปีที่แล้ว

    i add my projet in www/html/
    after
    localhost/myprojet/
    but the phpmyadmin not connected with my database

  • @tux4059
    @tux4059 2 ปีที่แล้ว

    Hello I get an error when I set the password :
    │ mysql said: ERROR 1819 (HY000) at line 1: Your password does not satisfy
    │ the current policy requirements
    even though my password is strong, it does it everytime, what should I do ?

  • @robertmassotti4177
    @robertmassotti4177 3 ปีที่แล้ว

    How do you enter the last character in apt-get install lamp-server^

    • @robertmassotti4177
      @robertmassotti4177 3 ปีที่แล้ว

      Found it. The browser does not run any *.php files and only displays the source code. Was there some other configuration missing? Thank you

    • @dipenshrestha1105
      @dipenshrestha1105 2 ปีที่แล้ว

      @@robertmassotti4177 No any configuration have been missed. Thank you!

  • @ashutoshmishra8118
    @ashutoshmishra8118 3 ปีที่แล้ว

    It was really healpfull sir,Thank you

  • @BOSBESAR77721
    @BOSBESAR77721 2 ปีที่แล้ว

    Wou, thanks for you bro.......⚡⚡⚡

  • @azaniatutoria
    @azaniatutoria 3 ปีที่แล้ว +1

    Your video was very helpful thanks I sub u same time

  • @amitpawar7548
    @amitpawar7548 3 ปีที่แล้ว

    Very very helpful bro thanks

  • @anthonyheard1395
    @anthonyheard1395 2 ปีที่แล้ว

    Thank you very much sir

  • @cinemaexplore1228
    @cinemaexplore1228 2 ปีที่แล้ว

    thank you... it very helpfull

  • @PraveenMax
    @PraveenMax 3 ปีที่แล้ว

    Thanks alot....It worked!

  • @sdkkds2362
    @sdkkds2362 3 ปีที่แล้ว

    Very helpful video, you made my day

  • @SYEDSHEERAZZAIDI
    @SYEDSHEERAZZAIDI 3 ปีที่แล้ว

    thanks bro. very helpful

  • @julienblanc4610
    @julienblanc4610 3 ปีที่แล้ว

    very helpful! Thank you

  • @shaneschwalger2482
    @shaneschwalger2482 3 ปีที่แล้ว

    i was stuck at the log in stage, I had not created a user. - ty

  • @aoipalmtravelsagain
    @aoipalmtravelsagain 2 ปีที่แล้ว

    web interface. not show

  • @ismailsaleh3536
    @ismailsaleh3536 ปีที่แล้ว

    Thanks for that tutorial

  • @jackinatox9265
    @jackinatox9265 3 ปีที่แล้ว

    nice tutorial, it was verry helpfull

  • @maddalarajesh1688
    @maddalarajesh1688 ปีที่แล้ว

    What is the password for ubuntu

  • @javeriana05
    @javeriana05 2 ปีที่แล้ว

    ty man, really useful :D

  • @SharifulIslam-om5rq
    @SharifulIslam-om5rq 2 ปีที่แล้ว

    Still show not found

  • @edwarddavis3870
    @edwarddavis3870 2 ปีที่แล้ว

    Very helpful

  • @melissaammour5270
    @melissaammour5270 3 ปีที่แล้ว

    Thank you very much !

  • @abhimanyuanand4173
    @abhimanyuanand4173 8 หลายเดือนก่อน

    Thanks a lot Bro ,

  • @igspm
    @igspm ปีที่แล้ว

    Thank very much!!!!!

  • @mohamedettadrarty7404
    @mohamedettadrarty7404 2 ปีที่แล้ว

    thank you so much you are geniesse

  • @howawwe3291
    @howawwe3291 2 ปีที่แล้ว

    Thank you sir

  • @Meowflow
    @Meowflow 3 หลายเดือนก่อน

    Ty bro!!!!

  • @tinnawatmamuang6526
    @tinnawatmamuang6526 ปีที่แล้ว

    Thank you.

  • @robertmassotti4177
    @robertmassotti4177 3 ปีที่แล้ว

    This did not work for me.

    • @dipenshrestha1105
      @dipenshrestha1105 2 ปีที่แล้ว

      what's the error you are getting?

    • @asalentstech1767
      @asalentstech1767 2 ปีที่แล้ว

      @@dipenshrestha1105 phpmyadmin isnt showing login page and i did this correctly

  • @achyutneupane4580
    @achyutneupane4580 4 ปีที่แล้ว

    Nice to see this video

  • @manish__g
    @manish__g 2 ปีที่แล้ว

    when i am try this command it is throwing an error. permision denied

    • @roypolinder8158
      @roypolinder8158 2 ปีที่แล้ว

      thats because you edit your /var/www/html folder, thats by default 'permission denied'. try run the following command in the terminal: sudo chmod 777 /var/www/html/

    • @SHADOW6_STRIKE7
      @SHADOW6_STRIKE7 ปีที่แล้ว +1

      @@roypolinder8158 thanks bro u saved me

    • @braineaterzombie3981
      @braineaterzombie3981 10 หลายเดือนก่อน

      Thanks bro.

  • @PrAsHaNtHdUke1093
    @PrAsHaNtHdUke1093 2 ปีที่แล้ว

    thanks a lot bro..

  • @gayeisaac4744
    @gayeisaac4744 ปีที่แล้ว

    think you

  • @oldgames7960
    @oldgames7960 ปีที่แล้ว

    Thankssssssss

  • @moch.nashehannafii2416
    @moch.nashehannafii2416 2 ปีที่แล้ว

    thanks

  • @roypolinder8158
    @roypolinder8158 2 ปีที่แล้ว

    legend!

  • @ReligionAndMaterialismDebunked
    @ReligionAndMaterialismDebunked ปีที่แล้ว

    69 comments to 70. (;
    69. (;.

  • @iAnuragJha
    @iAnuragJha 2 ปีที่แล้ว

    scripted!

  • @pankajkumarbiswas6368
    @pankajkumarbiswas6368 ปีที่แล้ว

    GRANT ALL PRIVILEGES ON*.* TO 'admin'@'%' WITH GRANT OPTION; update the privilege's code otherwise it will give error, Thanks

  • @rhanzel3320
    @rhanzel3320 2 ปีที่แล้ว

    Latest grant permission: GRANT ALL PRIVILEGES ON *.* TO 'user'@'%';

  • @mohamedahmed-vw6ee
    @mohamedahmed-vw6ee 2 ปีที่แล้ว

    thanks
    the last command in the comment needs to be updated the below one works for me
    GRANT ALL PRIVILEGES ON *.* TO 'admin'@'%' WITH GRANT OPTION;

  • @jalil_kartal
    @jalil_kartal 2 ปีที่แล้ว

    Thank you.

  • @nikushachavchavadze7425
    @nikushachavchavadze7425 2 ปีที่แล้ว

    Thank you !!!

  • @dushsam
    @dushsam 2 ปีที่แล้ว

    Thanks alot