Install LAMP Stack (Linux, Apache, MySQL, PHP) in Ubuntu 19.10

  Рет қаралды 39,746

The Codeholic

The Codeholic

Күн бұрын

In the following video, it is explained how to install Apache, MySQL, PHP and configure them.
Install PHPStorm and connect to MySQL using PHPStorm.
Before running any command run:
sudo apt-get update
sudo apt-get upgrade
Install Apache
sudo apt-get install apache2
Install MySQL
sudo apt-get install mysql-server
mysql_secure_installation
Add PHP 7.3 repository
sudo add-apt-repository ppa:ondrej/php
Install PHP, Apache module for PHP and PHP extension for MySQL.
sudo apt-get install php7.3 libapache2-mod-php7.3 php7.3-mysql
=========================================================
-----------------AUDIO GEAR I HAVE-------------------
My Main Microphone - amzn.to/3eVCQ8v
Microphone Scissor Arm Stand - amzn.to/39mkGLQ
Microphone Shock Mount with Pop Filter - amzn.to/3jz7R5v
Audio Interface - amzn.to/30IoJhz
Microphone Pop Filter Mask Shield - amzn.to/3eXoQee
-----------------CHEAP AUDIO SETUP-----------------
Microphone + Shock mount + Scissor Arm - amzn.to/2D10Zxe
=========================================================
Follow me on social media:
/ thecodeholic
/ thecodeholic
/ thecodeholic
Check my Github:
github.com/the...

Пікірлер: 70
@Itsrichayo
@Itsrichayo 4 жыл бұрын
Thank you so much for such a wonderful tutorial. I spent the entire day digging into the entire topic, hint and information related to it. Stay safe mate.
@rrenatessa
@rrenatessa 2 жыл бұрын
wow this is pretty, big hello from Russia) thank you
@cloudminister
@cloudminister 4 жыл бұрын
Informative video 👍🏼 keep it up
@ciscolabkingdom
@ciscolabkingdom 4 жыл бұрын
მშვენიერი ლექციაა. წარმატებებს გისურვებ, ზურა. მე ცისკოს აკადემიის ინსტრუქტორი ვარ, დამჭირდა ლინუქსის შესახებ "რამე-რუმეები" და მოვხვდი ამ მშვენიერ გვერდზე.
@TheCodeholic
@TheCodeholic 4 жыл бұрын
დიდი მადლობა
@espacosacerdotesdeafrodite6857
@espacosacerdotesdeafrodite6857 Жыл бұрын
Best tutorial I saw on the topic. Thanks for your valuable help.
@hamzazahidulislam3490
@hamzazahidulislam3490 4 жыл бұрын
Thank you so much sir this video 100% working now
@kacperkozio9036
@kacperkozio9036 4 жыл бұрын
Thank you, it's so a helpful video. Very good explaining. Thanks!
@samahgad241
@samahgad241 Жыл бұрын
very heloful thanks alot
@sunhsiang6644
@sunhsiang6644 4 жыл бұрын
Thank you sir, It's really helpful
@goncalodumas
@goncalodumas 4 жыл бұрын
Thanks for a great video!
@TheCodeholic
@TheCodeholic 4 жыл бұрын
Welcome my friend
@azam920
@azam920 5 жыл бұрын
very helpful and usefullllllllllll
@azam920
@azam920 5 жыл бұрын
very Coooooooooooool
@MissT-zq5xg
@MissT-zq5xg 4 жыл бұрын
Thanks a bunch
@shashikantovhal1769
@shashikantovhal1769 3 жыл бұрын
Can we use postgresql instead of MySQL server?
@mikel488
@mikel488 4 жыл бұрын
2:30 PLEASE help, what did you press to exit out of that. it won't let me press anything
@TheCodeholic
@TheCodeholic 4 жыл бұрын
Type q and enter
@mikel488
@mikel488 4 жыл бұрын
@@TheCodeholic Thank You! Another quick question if you could answer, I am building a Lamp stack remotely, meaning I am connecting to my Uni via VDI from my laptop to the school computer, and then from the internal computer connecting to the computer (connected to the server) running Ubuntu via PuTTY using SSH connection. When I open the computer running Ubuntu, it takes me directly to the Command Line Terminal... how do i exit the Terminal without exiting the computer, like I want to view the ubuntu UI so i can edit the PHP file and download PHP storm. When dealing with the Ubuntu CLI, if i click X or press ESC key, it exits the whole session not just the CLI.... any suggestions? THANK YOU
@matatooo
@matatooo 5 жыл бұрын
That's a cool vid,i am really interested in if you make a 1 project full website, what programs you need and etc. like from 0 to full working website,If you do this i will be grateful. Good luck.
@TheCodeholic
@TheCodeholic 5 жыл бұрын
Are you interested more in PHP or HTML&CSS? I plan to do a website using one of the PHP frameworks
@matatooo
@matatooo 5 жыл бұрын
@@TheCodeholic PHP would be more interesting for me.
@TheCodeholic
@TheCodeholic 5 жыл бұрын
Got it. Thank you for your feedback. I will consider it.
@cuongnccao
@cuongnccao 3 ай бұрын
thank you ^^
@TheCodeholic
@TheCodeholic 3 ай бұрын
Welcome
@TJKhara
@TJKhara 4 жыл бұрын
Hi, I am trying to search for a good php local development environment setup which would be easy to take to prod. If possible, could you please point me to some video you might have done on your deployment pipeline or how you deploy the various apps that you build. That would be very helpful. Thank you.
@viniciocoelho3538
@viniciocoelho3538 4 жыл бұрын
It is a good walkthrough but wouldn't it be easier if you go to apache friend's website, download and install? You only need terminal to make a desklet for the graphic mode to start and stop.
@TheCodeholic
@TheCodeholic 4 жыл бұрын
Thank you Vinicio, I simply did not do it because I have not tried it on ubuntu. On ubuntu I always go with separate installation steps. But I will check it out.
@viniciocoelho3538
@viniciocoelho3538 4 жыл бұрын
@@TheCodeholic thanks Man. It was helpfull. Cheers.
@AjayKumar-qm8fh
@AjayKumar-qm8fh 4 жыл бұрын
Love you
@chiawaixuan397
@chiawaixuan397 4 жыл бұрын
sry, regarding to the changing position of index.php dif.conf,i couldnt change it caused the file is read only..what should i do to fix it?
@TheCodeholic
@TheCodeholic 4 жыл бұрын
You should open it with sudo
@biagarcia8968
@biagarcia8968 5 жыл бұрын
Why don't you use the sudo 'apt install lamp-server^' command? It is easier...
@TheCodeholic
@TheCodeholic 5 жыл бұрын
To be honest I have never used this command. I always install as separate commands.
@renemorales9364
@renemorales9364 4 жыл бұрын
Thank you =)
@Abrantes.santos
@Abrantes.santos 5 жыл бұрын
Thanks.
@twelife
@twelife 5 жыл бұрын
that's good video,can you build a website use local domain with apache?
@TheCodeholic
@TheCodeholic 5 жыл бұрын
Yes, I plan it
@annvithayathil6881
@annvithayathil6881 4 жыл бұрын
How do I run the create database command from phpstorm window>
@TheCodeholic
@TheCodeholic 4 жыл бұрын
You need to open database tool. Connect to database, right click on the connection and click New > Schema.
@DiyintheGhetto
@DiyintheGhetto 5 жыл бұрын
Hello What is the remote login for mysql for?
@TheCodeholic
@TheCodeholic 5 жыл бұрын
Where did you see it in video?
@biagarcia8968
@biagarcia8968 5 жыл бұрын
Hi brother. I use Sublime Text. Is it the same commands to create a project in my html directory?
@TheCodeholic
@TheCodeholic 5 жыл бұрын
If you mean command line commands, then yes...
@samoilenko_roman
@samoilenko_roman 4 жыл бұрын
Where the .htaccess settings?
@drorreuven
@drorreuven 5 жыл бұрын
can you make a video that will explain how to install free ide instead phpstorm(because it's cost money)??
@TheCodeholic
@TheCodeholic 5 жыл бұрын
Install Vscode with php support plugin and that's all what you need.
@drorreuven
@drorreuven 5 жыл бұрын
@@TheCodeholic how can do it after I'm installing php in the terminal how to use php support to install Vscode?
@TheCodeholic
@TheCodeholic 5 жыл бұрын
@@drorreuven I made a small research and discovered that there are no recent videos about PHP free editors and IDEs. I will make it probably. Until that, 1. Install vscode 2. Go to plugins and search for "PHP IntelliSense" or click this link and install the plugin: marketplace.visualstudio.com/items?itemName=felixfbecker.php-intellisense
@drorreuven
@drorreuven 5 жыл бұрын
@@TheCodeholic ok if I doing this so I dont need to do the command apt-get install php php-libapache2 and the other packages?
@TheCodeholic
@TheCodeholic 5 жыл бұрын
@@drorreuven No... You still need to install all these packages. They are to make PHP and Apache working. PHPStorm or VScode are just code editors. Follow the Instructions, but replace PHPStorm installation with VSCode installation and that's it...
@Sicilllian
@Sicilllian 5 жыл бұрын
How do I install phpmyadmin ?
@TheCodeholic
@TheCodeholic 5 жыл бұрын
Follow this tutorial. www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-18-04
@hakuuna_matata
@hakuuna_matata 4 жыл бұрын
you didnt end the php tag with "?>"
@TheCodeholic
@TheCodeholic 4 жыл бұрын
You can skip this on last PHP tag in file. It's not mandatory.
@The-Sid.S
@The-Sid.S 4 жыл бұрын
chown zura:zura ./ -R not working bro
@TheCodeholic
@TheCodeholic 4 жыл бұрын
try with sudo
@The-Sid.S
@The-Sid.S 4 жыл бұрын
@@TheCodeholic tried bro any other suggestions
@TheCodeholic
@TheCodeholic 4 жыл бұрын
@@The-Sid.S What's the output?
@The-Sid.S
@The-Sid.S 4 жыл бұрын
@@TheCodeholic chown invalid user sid:sid everytime prints this error
@TheCodeholic
@TheCodeholic 4 жыл бұрын
zura is the name of my user. You should specify your user name instead of zura
@p43ck
@p43ck 4 жыл бұрын
Thank you very much, video helped me a lot. I just want to ask you, I completed your video tutorial, but when I upload website into ../html/ I don't see .jpg images, but .png yes, error from console "Failed to load resource: the server responded with a status of 403 (Forbidden)". I added myself too chown : ./ -R .. Thank you :-)
@TheCodeholic
@TheCodeholic 4 жыл бұрын
Sorry for my late reply. It's really hard to say what might be the exact reason. Do you still have this error?
@p43ck
@p43ck 4 жыл бұрын
@@TheCodeholic This helped me, "find /var/www/html -type f -name '*.jpg' -exec chmod 644 {} \;"
@TheCodeholic
@TheCodeholic 4 жыл бұрын
@@p43ck Great.
Debugging with Xdebug and PHPStorm
5:33
The Codeholic
Рет қаралды 79 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Как установить LAMP веб сервер на Ubuntu
17:41
Изучаем мир ИТ / Олег Шпагин / Программирование
Рет қаралды 15 М.
What is a LAMP Stack?
7:55
IBM Technology
Рет қаралды 40 М.
Install LAMP Stack (Linux, Apache, MySQL, PHP) in Ubuntu 15.10
9:34
Traversy Media
Рет қаралды 187 М.
How to Install an Apache LAMP Server on Ubuntu 20.04 (in 5 minutes)
5:50
Tony Teaches Tech
Рет қаралды 79 М.
ThePrimeagen On Running Linux
9:40
Tech Over Tea
Рет қаралды 305 М.
How to setup Apache, MySql, and PHP on Ubuntu Linux
36:56
Alessandro “Alecaddd” Castellani
Рет қаралды 163 М.
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4,3 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН