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 :: vim delete duplicate lines 
Shell :: grep third match 
Shell :: rename heroku remote 
Shell :: how to get mcp23017 input in binary shell 
Shell :: how to remove directory with contents in w10 cmd 
Shell :: how to write red text in readme in github 
Shell :: dhcpcd.service does not exist 
Shell :: generate angular unit test automatically 
Shell :: install systemd wsl2 
Shell :: node-gyp rebuild error ubuntu 20.04 
Shell :: install foxit pdf reader on ubuntu 20.04 
Shell :: git ignore more then 10MB 
Shell :: Creating a kubernetes service cluster 
Shell :: windows cmd shortcut that always opens as administrator 
Shell :: android studio create virtual device compatible with google play 
Shell :: unix rename file 
Shell :: Install DatadogRum 
Shell :: create branch git command 
Shell :: adb default location 
Shell :: pacman arch 
Shell :: installing ipython-sql command line 
Shell :: git remove all changes 
Shell :: permission terminal ubuntu 
Shell :: shopware 6 build storefront 
Shell :: shell create random mac 
Shell :: yacc install in kali linux 
Shell :: create repo with name 
Shell :: ffmpeg green screen 
Shell :: viewing ubuntu desktop from windows in the same network 
Shell :: cli50 docs 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =