,

How to setup lampp in ubuntu terminal?

Posted by

Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Installing Lampp –

Step 1 – Update the packages of ubuntu for all the programs.

sudo apt update

Step 2 – installing apache2 in ubuntu.

sudo apt install apache2

Step 3 – let’s allow apache through the firewall using the following command.

sudo ufw allow in "Apache Full"

Step 4 – lets see the status of ufw

sudo ufw status

Step 5 – Installing mysql in ubuntu.

sudo apt install mysql-server

Step 6 – you are able to access mysql console by typing following command

sudo mysql

Step 7 – Installing php in ubuntu

sudo apt install php libapache2-mod-php php-mysql

Step 8 – to check the php version run the command

php -v

Step 9 – The Lampp is successfully installed in your ubuntu terminal.

Congratulation! you have successfully installed lampp on your server. if you have any doubts, feel to drop a comment below and i will get back to you.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x