Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

How to install LAMP in Ubuntu 20.04?

sudo apt-get update -y
 
sudo apt install apache2 // install apache 2
 
sudo ufw app list // adjust your firewall settings to allow HTTP traffic
 
sudo ufw allow in "Apache"
 
sudo ufw status // check status
 
sudo apt install mysql-server // install mysql database
 
sudo mysql_secure_installation // set user and password
 
sudo mysql // enter into database to verify
 
exit // exit from database
 
sudo apt install php libapache2-mod-php php-mysql // install latest php and php-ext
 
php -v // verify php version
Comment

lamp download for ubuntu 20.04

sudo apt install -y apache2 apache2-utils
Comment

lamp download for ubuntu 20.04

sudo apt update

sudo apt upgrade
Comment

PREVIOUS NEXT
Code Example
Shell :: ubuntu install lib usb 
Shell :: how to update discord on ubuntu 
Shell :: git reset back to previous pushed commit 
Shell :: check ram arch linux 
Shell :: httpd service centos 7 and centos 8 
Shell :: docker compose stop 
Shell :: recover lost file git 
Shell :: git checkout multiple branches at once 
Shell :: virtual host apache2 
Shell :: Kali free ports in use 
Shell :: What command do you use to pull any changes from the master repository into your local repository? 
Shell :: install neo4j latest version ubuntu 
Shell :: powershell to string 
Shell :: ubuntu setting not showing 
Shell :: supprimer une branch git 
Shell :: update aws amplify cli 
Shell :: docker compose plugin 
Shell :: stop tracking a file git 
Shell :: composer xampp windows 
Shell :: get current branch name git 
Shell :: .gitignore is not ignoring directories 
Shell :: git add and remove 
Shell :: grant superuser permission to sudo user ubuntu 
Shell :: sudo tee 
Shell :: how to set execute permission in linux 
Shell :: update ubuntu 20 to 22 
Shell :: linux last login 
Shell :: wsl windows directory 
Shell :: dpkg install deb with dependencies 
Shell :: install devtools 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =