How to setup Apache, MySql, and PHP on Ubuntu Linux

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024
  • How to setup Apache, MySql, and PHP on Ubuntu Linux
    0:20 Lamp Stack Intro
    3:00 Apache Setup
    5:23 Hosts File
    9:35 Server Folder
    14:40 Create a Vhost
    22:33 Install PHP
    25:40 Vhost Automation
    31:51 Install MySql
    :: Support Me ::
    www.alecaddd.co...
    :: Tutorial Series ::
    WordPress 101 - Create a theme from scratch: bit.ly/1RVHRLj
    WordPress Premium Theme Development: bit.ly/1UM80mR
    Learn SASS from Scratch: bit.ly/220yzmZ
    Design Factory: bit.ly/1X7Csaz
    Affinity Designer: bit.ly/1X7CrDA
    :: My Website ::
    www.alecaddd.com/
    :: Follow me on ::
    Twitter: / alecaddd
    Google+: bit.ly/1Y7sunz
    Facebook: / alecadddpage

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

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

    I'm only 13 minutes in to the video, and already I think it deserves to be a paid course. Awesome work.

  • @samim.5091
    @samim.5091 5 ปีที่แล้ว +2

    Thanks to you I was able to clearly understand how to setup a local PhP project, even though I always struggled with the whole process which graduated to very messy configurations. Thank you Master

    • @emmtes338
      @emmtes338 5 ปีที่แล้ว

      Thank you very much for this explaination. Automation work very well and easely! Emmanuel

  • @geeky_will1677
    @geeky_will1677 7 ปีที่แล้ว +9

    Thank you so much :) I'm new to the LAMP Stack and you made it super simple to understand

    • @alecaddd
      @alecaddd  6 ปีที่แล้ว

      +geeky_will awesome! Check my new series Working with Linux for an updated version and easier approach to local development

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

    You are the one tutorial who unlock the basic understanding of all this PHP stuf thank you.

    • @alecaddd
      @alecaddd  5 ปีที่แล้ว

      You're very welcome :D

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

    Was perfect ! Thanks for all helps and the "virtualhost" package!

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

    Thank you! I had Apache up and running over a decade ago, and have not touched it since I remember the highlights but the details have all left me. i love this presentation style, show the exact command, explain the command and then show the results in the GUI I loose a lot of time getting the command line syntax/grammar correct, a lot of places will tell you this command does this, but seeing it typed out with directories and folders and arguments is very helpful for learning. (re-learning)

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

    Man this is one of the best tech vids/channels on the web, thank you man! Can't wait to learn how to make wordpress plugins with ya :) subbed

  • @m.parouty635
    @m.parouty635 5 ปีที่แล้ว +1

    Thank you so much for this. learned a lot. I just purged and reinstalled apache2 because I messed up too much with my previous installation. Now, I am leaving the defaults untouched and creating new files that match my website. Much Thanks again.

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

    THANK YOU!!! I had been trying to set it up for 2 weeks, and this video answered everything!

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

    thanks for the video, this tutorial works after 4 years, so much value information

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

    This was so damn helpful. Really really amazing and well explained video. Thank you so much for all the help !

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

    You got no idea how much you have helped me! Thank you so much!

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

      Well, now I know :D
      Thank you so much for watching

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

      @@alecaddd You are most welcome. Thank you so much for taking the time to reply.

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

    Hi!
    I am really thankful for this comprehensive step-by-step guide, it was really helpful for me even though I have very little experience with apache servers and bash commands.
    Great job!

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

      Awesome, I'm glad I was helpful.
      Cheers

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

    I'm trying to learn different projects to complete on linux, this tutorial really helps, thanks, got a new sub!

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

    I really appreciate you're video dude, I was struggling with this shit of lampp where we can put no extension (and do not use correctly such as great things as symfony or cake console), so I'm really happy to learn how to set a real server.

    • @alecaddd
      @alecaddd  7 ปีที่แล้ว

      Awesome, I'm glad I was helpful.
      I just started a mini-series about Linux where I'm showing my full setup, from the terminal to the local environment, code editor, extensions, etc.
      I hope it'll be useful for you.
      Cheers

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

    This video is very helpful and well-explained, it helps me to get to know how a server work. Thank you so much

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

    Thank you very much, i was thinking to switch from windows to linux after my graduation next month so i should look for this instruction and here you are doing the job this was very helpful

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

      Wow, I'm glad I got you at the right time :D
      I will do more and more videos about Linux to help users like you (and me) to get a professional workflow for both development and design.
      Cheers

    • @mouadh_tech31
      @mouadh_tech31 7 ปีที่แล้ว

      this will be very appreciated. thank you

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

    Hi Alex, Nice tutorial again! Thumb up!
    You guys should also add ServerAlias in the vhost config file. For example you have the ServerName: test.dev and the ServerAlias will be www.test.dev
    This setup it offers more flexibility. Enjoy it.

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

      Hi George, thank you so much for watching.
      Yes, I'm aware of the ServerAlias, in fact, you can find it in the script I use for automating the process.
      I decided to keep the Vhost file really simple for the tutorial, just to avoid confusion and too much information for an already long video.
      Thanks for flagging that out!

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

      I supposed you already know about it, and when I've wrote the comment was before seeing the script part oft the video :) But that should change in www. because if you use wordpress and you set it up on domain.com and then you will need to put it on www.domain.com... then you will discover that you will have more changes to do than to modify only the .htaccess file. (from my experience...)
      I will recommend using the www. as Alias. It is also a good practice.
      I am speaking as a guy which is more into servers than programming :)
      Keep up with the tutorials because I like them and I enjoy them. You are speaking clear about the thing to do and everything is so clear to understand, so in the name of me and others I say thank You!
      If I will reach America sometime... We will have a beer! :) Thumb up!

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

    Thanks for this video because I was lost at first on how get a web server of my on up and running.

    • @alecaddd
      @alecaddd  6 ปีที่แล้ว

      You're welcome

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

    Thank you dude............... you saved me. Please do more tutorials. Make a tutorial how to link LAMP to wordpress?

    • @alecaddd
      @alecaddd  6 ปีที่แล้ว

      Check my playlist Switching to Linux where I showed my entire setup and how to install WordPress locally.

    • @JBautistaA
      @JBautistaA 6 ปีที่แล้ว

      For this video on 32:27, I have a huge problem... IT doesnt allow me to get to package configuration to change new password for the MSQL "root" user.. Please help.

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

    Best explanation i have ever seen

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

    Thank you Sir! Simply and clear tutorial!

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

    Sir you are the best 🙏
    This is so well explained i immediately had to like subscribe
    Thank you so much

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

      Thank you so much

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

    thanks for guide step-by-step commands

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

    Thanks, this has really helped me alot. Nice videos, keep them coming.

    • @alecaddd
      @alecaddd  7 ปีที่แล้ว

      Thank you so much for watching, I'm glad it helped :D

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

    thank you very much. it is very helpul for us

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

      Happy to help

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

    this helped me a lot. thank you for the tutorial

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

    such a thoughtful and useful tutorial. Good job!

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

    Thank you so much!! Your explanation is the besttt

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

    It's a very useful tutorial! Thanks a million!

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

      Thank you so much for watching :D

  • @omoleyeamuleru-marshall4098
    @omoleyeamuleru-marshall4098 4 ปีที่แล้ว

    I do not usually comment... but this is a VERY good video... VERY WELL DONE!... I highly recommend it to people trying to figure it out for the first time. My only request would be if you had any solution for linking EDIs to the stack... I wanted to try and use eclipse seem to have issues with the host server and Xdebug. But that was before I watched this vid, anyway that would be the only thing I would add.

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

    that was magnificent, thanks for the informative explanation
    keep-up big fan

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

    Great video, but i have the following problem:
    I am running the website on my raspberry pi. How can i access the websites from another computer in my LAN? With the ip-adress from my pi, i can only reach the pre-build website in "/var/www/html"

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

    Thanks, very helpful

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

    when i add test.dev to /etc/hosts file it doesnt open in the browser, it says unable to connect ..can you help at your convenience, thanks in advance

    • @zedolok4508
      @zedolok4508 5 ปีที่แล้ว

      thats the same happend with me, you find the solution for this problem ?

    • @vipulbajaj88
      @vipulbajaj88 5 ปีที่แล้ว

      @@zedolok4508 same with me. Please let me know of the solution

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

      It's because the .dev domain is now automatically redirected in chrome (and now firefox I suppose)
      ma.ttias.be/chrome-force-dev-domains-https-via-preloaded-hsts/

  • @nikosjoakimidis1899
    @nikosjoakimidis1899 5 ปีที่แล้ว

    Great and very helpful tutorial! Thank you

  • @8BlankWolf8
    @8BlankWolf8 7 ปีที่แล้ว +1

    Because I'm using a RaspberryPi without any GUI (connected via ssh) I've installed phpmyadmin to manage the mysql database. Maybe you could look this up as well if someone want to use it too.
    But greate video. I love the virtualhost.sh file :D
    Greetings BlankWolf

    • @alecaddd
      @alecaddd  7 ปีที่แล้ว

      Oh yes, that's a good point.
      DBeaver, like SeuquelPro, has the ability to connect to a remote database in SSH, that's why I decided to go that route instead of a web based MySql access.
      I've always wanted to play with a RaspberryPi but never got the chance. How is it? How do you use it, and why did you pick it?
      Cheers

    • @8BlankWolf8
      @8BlankWolf8 7 ปีที่แล้ว +1

      I bought the RaspberryPi because I'll try to improve my Linux knowledge (primary for my new work) The Pi is simply connected via Cabel with my Router and I connect me via SSH with the pi. I also use samba to create a Windows Networkdrive (only to the /var/www folder). I'm also working with symfony3. :)

    • @alecaddd
      @alecaddd  7 ปีที่แล้ว

      Sweet!
      I recently started using Symfony to build CLI apps on PHP, pretty handy.

    • @8BlankWolf8
      @8BlankWolf8 7 ปีที่แล้ว +1

      I'm looking forward to see your new PRogramming Series :D

  • @DevOpsKey1
    @DevOpsKey1 5 ปีที่แล้ว

    yes all the things are ready and running properly .

  • @SaifUlIslam-di5xv
    @SaifUlIslam-di5xv 3 ปีที่แล้ว

    Works perfectly fine. Thanks!

    • @SaifUlIslam-di5xv
      @SaifUlIslam-di5xv 3 ปีที่แล้ว

      `test.dev` does not work anymore, but testdev, localhost_2 do.

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

    I automatically hit the like button !

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

    Man you are magician! Thanks a lot it's greate tutorial.

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

    the automatic virtual host thing is great. Wish there was a way to automate the ownership of the folder it creates.

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

    thank you , that was very helpful

    • @alecaddd
      @alecaddd  5 ปีที่แล้ว

      You're very welcome :D

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

    Ho passato tutto il tutorial a chiedermi se eri italiano, poi, solo dopo mezzo'ora, ho letto il nome del canale

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

      Non puoi mai esserne certo al 100% :P

  • @g-itech9629
    @g-itech9629 6 ปีที่แล้ว +4

    Thanks a million

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

      You're very very welcome :D

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

    Thx for the video mate!
    I myself made a mistake and took me an hour to solve it. 4 ppl in the future:
    My mistake:
    I couldn't reach test.dev because I enabled test.dev.conf restarted and figured out the first time I enabled test.dev.conf as a result test.dev never worked anymore.
    Started over with test.local did sudo a2ensite test.local and this worked. Never got test.dev working again =s even if I did sudo a2ensite test.dev
    Command:
    sudo a2ensite test.dev
    I did:
    sudo a2ensite test.dev.conf (WRONG!!! )

  • @rifkybariansyah7178
    @rifkybariansyah7178 5 ปีที่แล้ว +10

    Does anybody has a problem when entering test.dev in browser it tries to redirects to a site rather than local host?

    • @ΑνδρεαςΚατσινουλας
      @ΑνδρεαςΚατσινουλας 5 ปีที่แล้ว

      Yes but i cannot find a way to fix it so i go back to ubunut server...

    • @avatsavirs
      @avatsavirs 5 ปีที่แล้ว +8

      Yeah. I think .dev extension is the problem here. Try using something else like test.local or test.test or test.random it's working. Do let me know if you figure out how make .dev work.

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

      @@avatsavirs test.local worked. Thanks

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

      @@avatsavirs Thanks man it's also really worck for me.

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

      without dot . works for me. example: testlocal

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

    Since I tried LEMP, nginx instead of apache, I have not install LAMP for long time, Apache is easy to be down when the memory is small

    • @alecaddd
      @alecaddd  7 ปีที่แล้ว

      I'm actually running Nginx on my production servers, and I agree with you.
      I will definitely make a video on how to set it up and the differences with Apache.Thanks for the suggestion!

  • @jeanne-pierrevandergryp8441
    @jeanne-pierrevandergryp8441 4 ปีที่แล้ว

    Hi Alessandro - excellent - thanks very much. Can you perhaps take this one step further by: showing how another PC on a LAN accesses the website through a browser. I can currently access the webserver (Linux - Mint) through the web browser. But, it defaults to the "Apache - It Works" default website, but not the new virtual website created as per your tutorial. If you could explain this and what additional settings are required in the Apache Server - would be highly appreciated.

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

    Redirecting to https is an issue for making the test.dev work. It doesn't look into the local machine. It searches the internet. Any workaround?

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

    Hi .. good video very good explained .. helps a lot thanks ...

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

    GREAT VIDEO! as always.

    • @alecaddd
      @alecaddd  7 ปีที่แล้ว

      Thank you so much :D

  • @AW-Trader
    @AW-Trader 3 ปีที่แล้ว

    Thanks. Well presented.

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

    Great tutorial!
    One thing that didn't go so well is the Virtualhost script, on Ubuntu 18.04 I get this "/usr/local/bin/virtualhost: 8: /usr/local/bin/virtualhost: Syntax error: newline unexpected".

    • @alecaddd
      @alecaddd  6 ปีที่แล้ว

      You can try using Valet Linux, it's more compact and easier solution.
      I have a video in my playlist Working with Linux, check that out :D

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

    Easily explained 😃

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

      Thanks for watching :D

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

    Awesome! Thank you!

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

    Great video ! Thank you !

    • @alecaddd
      @alecaddd  6 ปีที่แล้ว

      Thanks for watching :D

  • @Leo-fk7nb
    @Leo-fk7nb 7 ปีที่แล้ว +2

    Hi alex, what screen recording app that you used in this video? Btw, thank you for all your video!

    • @alecaddd
      @alecaddd  7 ปีที่แล้ว

      I'm using OpenBroadCaster

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

    Since Google, and Mozilla, made such a mess with the new TDL changes, of 2017, could you make a video, using the openssl software, to replace this rather out-of-date, video? Thank you for your time, Alecaddd.

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

      I already did :D
      Here's a tutorial using Valet Linux: th-cam.com/video/l1ZX0ZLxRps/w-d-xo.html&list=PLriKzYyLb28nRMNbet5iXM_UlE2ddok7k&index=9
      Check also the rest of the playlist as I go through the steps of setting up all the most common tools for a developer.
      Cheers

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

    Index of / page not display in my case.

  • @desmetsbertrand
    @desmetsbertrand 5 ปีที่แล้ว

    Hi, great video, everything gets simpler.
    Little question though: I have just set up a new WordPress website using SSH and now I simply would like to access my website file directory but I have no idea how. Any suggestion?
    Thanks for your help.

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

    This was perfect, thanks!

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

    i love this ....you are the best

    • @alecaddd
      @alecaddd  6 ปีที่แล้ว

      Thank you so much :D

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

    i dont get it i did as he did but when i write test.dev the browser makes test.dev and says it cant find it

    • @ibrahimm.6803
      @ibrahimm.6803 3 ปีที่แล้ว

      Use your default browser. Do not use other browsers like Opera

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

    Thank You very much

    • @alecaddd
      @alecaddd  6 ปีที่แล้ว

      You're welcome 😁

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

    Congratulations very good video!!

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

    I did not understand the use of symlink? Why do we need it? Can you please explain?

  • @מחשבים-י6י
    @מחשבים-י6י 4 ปีที่แล้ว

    it's very good tutorial

  • @ccices01
    @ccices01 5 ปีที่แล้ว

    at 13:06 you change the permissions of the /var/www to make it read-able but not write-able.. In you example, you can then add a directory etc. into the test folder. Why does this allow us to create files etc in that directory and not in the others (www folder)? Is it because we are the owners?

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

    Now chrome and other browsers are directing http to https if youre using .dev domains and cause to get "... .dev refused to connect." error. So it s better to use .test domain or add valid ssl certificate.

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

    Please after running the script, mine displayed "Unable to connect". Please what could be the problem?

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

    Very good video. Except I'm a terrible typist. I have to "pause the video: and when I do the title of the video is covering up what you just typed. So I have to back it up play it several times to see what you typed.

  • @VijaySharma-pk5qc
    @VijaySharma-pk5qc 2 ปีที่แล้ว

    hii! I was using sudo php -S localhost:8080 from any directory to host my php file but now its not working please help

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

    Che cosa posso dire?)) It is amazing !)))))

    • @alecaddd
      @alecaddd  7 ปีที่แล้ว

      Ahahaha, grazie mille :D

  • @valentinmagherman1850
    @valentinmagherman1850 5 ปีที่แล้ว

    Great video, thank's you !
    Could you explain also how to delete/uninstall a website ? (by exemple to remove the test.dev :p )
    Thank's you

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

    do the services start on bootup or do i have to start them manually?

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

      Yes. If it doesn't, you can also type "sudo systemctl enable apache2" to enable it on start of bootup.

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

    At minute 06:30 I saved the test.dev using sublime text, through terminal, but I got a "This site can't be reached" message! I had installed the MariaDB right before installing Apache2. Could that be the cause?

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

      It's google's fault :P
      Google made the .dev domain a TLD, or Top Level Domain, so now, without an SSL certificate (HTTPS connection) you can't access your local environment. You should be able to solve it by changing the extension, using something like .app, or .devel
      Cheers

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

      You guessed right that I tried it by using the Chrome web browser. Mille grazie dalla Grecia, mio amico!

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

      I tried to change the extension but nothing happened. I tried with Firefox but it does not work either. Am I right to assume that one would have to alter the "sites-enabled" folder to get around this problem? The website at jmcoimbra.github.io/LAMP-env/ seems to say that!

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

      Same for me ! I've followed every steps of the video and I even changed the extension after having read the comment. But I have the same result :(

    • @bearfamily508
      @bearfamily508 5 ปีที่แล้ว

      Did the jmcoimbra site work for anyone?

  • @pankaj1367
    @pankaj1367 5 ปีที่แล้ว

    In the test folder i put simple html file even that too is not running in localhost please guide, though i first did exactly the same way but php file didnt run despite php is installed.

  • @huynhlong1066
    @huynhlong1066 5 ปีที่แล้ว

    Can you help me a question
    I installed mysql server and i have a file database(.sql), how i can put it on my sql.
    Thank you!

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

    Did you ever try Gravit Designer on your Linux ? I am using it. I think it's worth trying ...

    • @alecaddd
      @alecaddd  7 ปีที่แล้ว

      Yes, I tested it but I didn't like it.
      It's a web app wrapped around a container to act like a native app, but it's actually not.
      It works fine when dealing with small projects or non-complicated files, but it slows down pretty quickly when the file grows.
      Web apps are still not there yet, too "far away" from the CPU and not really responsive.
      That's the same reason I use Sublime text instead of Atom.
      What are your thoughts about it?

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

      Yes, it slows down. But there is nothing better for Linux :( !
      I do use sublime regularly, but recently sometimes I use vs code too.
      For design if you find something better for Linux please share with us.

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

      I'm currently developing a native UX Design app for Linux, written in C++ and Qt.
      Here's the UI progress: forum.alecaddd.com/d/34-completed-akira-ui
      And here's the dev and roadmap overview: forum.alecaddd.com/d/50-akira-development
      I just started, and nothing will be remotely usable for at least 2 months, but I want to fill that gap, and make Linux also usable for designers :D

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

      WOW!!! Linux is my primary operating system. I am currently using "debian stretch". Sometimes I need software on which I can design UI for my projects, but none of the available software has even 80% to work with.
      I wish "Akira" will be one of the greatest software ever for design in Linux :D

    • @alecaddd
      @alecaddd  7 ปีที่แล้ว

      I will try to make that happen!
      I'm in your same situation. I'm 75% developer, 25% designer, and when it comes to design, I'm still forced to use my Mac, and I can't stand it anymore.
      Building a solid, professional, and native vector App for UX and UI design is absolutely necessary.
      You can support Akira by tweeting #AkiraUX and #LinuxLovesDesigners, and spread the news :D
      I'll do my best to make it fast and easy to use, and hopefully, it won't suck :P

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

    thanks

    • @alecaddd
      @alecaddd  5 ปีที่แล้ว

      You're very welcome

  • @DevOpsKey1
    @DevOpsKey1 5 ปีที่แล้ว

    I am a facing a problem that when i open my project in browser the tree structure cant be display as showing in your video.

    • @alecaddd
      @alecaddd  5 ปีที่แล้ว

      Is your apache server running properly?

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

    Perfect.

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

    I'm using vs code for writing the php program and need to the run it in apache2 sever

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

    thank u pro :).

  • @kalleverneri
    @kalleverneri 5 ปีที่แล้ว

    the script creates all the necessary files and i cant seem nothing wrong with the structure or syntax of the files but its still not showing up on my browser. using ubuntu 18.04, apache2 2.4 and php 7.2
    Wondering what could be the issue here. Cuz when i manually configure the site its working completely fine, so it must have something to do with the script.

  • @avatsavirs
    @avatsavirs 5 ปีที่แล้ว

    I recently moved from windows to linux. The websites i created on windows and used to test using xampp are no longer working on the virtualhost i created. Specifically there is a problem connecting to the database. When i submit the data in the form I get HTTP ERROR 500 (myregistrationform.local is currently unable to handle this request).

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

    my computer uses ARM cpu architecture. will this github download work?

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

    Hey i got some problem. I can't see php info

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

    How can i disable the standard 000-default.conf? it still shows the apache2 page :(

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

      +Thomas Sieber mhh, I'm not sure about that. Check one my recent Videos about Linux Valet. It's a new and way faster method to setup localhosts

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

      thx for the quick response. you can disable old sites with a2dissite "sitename"

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

    Ciao, sono arrivato fino ad installare dbeaver ma una volta che provo a testare la connessione del server MySQL mi da l'errore "Access denied for user 'root'@'localhost'
    ". Ho provato anche ad aggiungere un altro user tramite il terminal assegnando a questo il plugin "auth_socket" ed ho provato ad utilizzarlo durante la creazione della connessione al DB su dbeaver, ma niente, continua a non collegarsi. Qualche consiglio? Grazie.

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

      [RISOLTO] Ho cambiato il plugin del user 'root' da "auth_socket" a "mysql_native_password" mettendone una a mia scelta. Per fare ciò ho utilizzato il terminal (scrivo per quelli che si trovano nella mia situazione):
      1) sudo mysql -u root -p
      2) ho inserito 2 volte la password del account per accedere ad Ubuntu
      3) alter user 'root'@'localhost' identified with mysql_native_password by 'password_a_scelta'
      Comunque ottimo tutorial !

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

    Hello Alex, Is it safe to use Virtualhost Manage Script on my production server?

    • @alecaddd
      @alecaddd  7 ปีที่แล้ว

      Mhhh...I wouldn't recommend it.
      I mean, it works and I never had issues with it, but always be careful when using automated scripts on your production server.
      If you want to try it, do a backup first, and be sure your folders match where the virtualhost script will try to interact.
      And before all of that, test it on a staging server, or local server.
      I don't want to be responsible of the destruction of your production server :D

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

    Are there any issues if I use PosgreSQL rather than MySQL?

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

      Postgres is potentially a more robust DB. Go for it.

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

    Awesome!!!!!

    • @alecaddd
      @alecaddd  7 ปีที่แล้ว

      Thank you :D

  • @TJKhara
    @TJKhara 5 ปีที่แล้ว

    Quick question - I ran the script to create the site and the folder, but the folder in my www folder has the lock on it. It is owned by root. Is that okay? Is that the way the script is supposed to work because I don't see that lock when you show the site folders in your www folder.

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

    helpful

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

    man i'm not getting that password bar when installing mysql-server

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

    Hi Alex, I am new in php and linux. my test.dev.conf file says read-only, I cant change the modifications

    • @alecaddd
      @alecaddd  6 ปีที่แล้ว

      Are you acting as root user? Can you edit it if you open it with sudo?

    • @marianstancoci7912
      @marianstancoci7912 6 ปีที่แล้ว

      I think I am root user, I dont have sublime editor I have gedit, and I dont know how to open the file with sudo. I tried only without terminal.

    • @alecaddd
      @alecaddd  6 ปีที่แล้ว

      That's a root file that needs to be opened with sudo from the terminal, or you can open a new instance of your file manager as administrator.

    • @marianstancoci7912
      @marianstancoci7912 6 ปีที่แล้ว

      Ok, I will do so, what is the command to open the file?

    • @marianstancoci7912
      @marianstancoci7912 6 ปีที่แล้ว

      I`ve tried to open the file in terminal
      (gedit etc/apache2/sites-available/test.dev.conf) ...same thing.
      i don`t know how can I open with sudo command.

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

    does it work on just linux

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

    Dear video owner can I setup web server using this tutorial on any version of ubuntu?

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

      yes, however its probably best to use a LTS distro or a more recent non-LTS one for better security