Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install lamp ubunto

sudo apt update

sudo apt install apache2
sudo ufw app list
sudo ufw allow "Apache Full"

sudo apt install mysql-server
sudo mysql

CREATE USER 'phpmyadmin'@'localhost' IDENTIFIED BY 'YOUTPASSWORD';
GRANT ALL PRIVILEGES ON *.* TO 'phpmyadmin'@'localhost';
flush privileges;

sudo apt install php libapache2-mod-php php-mysql php-curl php-zip php-gd php-mbstring php-xml
or
sudo apt install php7.4 libapache2-mod-php7.4 php7.4-mysql php7.4-curl php7.4-zip php7.4-gd php7.4-mbstring php7.4-xml
if error
sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt update
Comment

How to install LAMP in Ubuntu 18.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

hoe to install LAMP on ubuntu

sudo apt-get install tasksel
sudo tasksel install lamp-server
Comment

ubuntu server lamp installation

sudo tasksel install lamp-server
Comment

ubuntu install lamp

sudo apt-get install lamp-server^
Comment

Instalar Lamp server en Ubuntu

sudo tasksel install lamp-server
Comment

ubuntu lamp setup

// in details
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-22-04
Comment

PREVIOUS NEXT
Code Example
Shell :: poetry python 
Shell :: bash input 
Shell :: mpi installation in linux 
Shell :: how to install curl on macos 
Shell :: how to update code in github 
Shell :: linux group 
Shell :: npm install package globally 
Shell :: bash remove first character from string 
Shell :: terminal copy to clipboard linux 
Shell :: install kivy 
Shell :: custom notification with powershell 
Shell :: create and copy folder in ubuntu 
Shell :: how to install git in ubuntu ? 
Shell :: install pytorch in jupyter notebook 
Shell :: when pushing tp github it request user and password 
Shell :: git remove last pushed commit 
Shell :: bash how to quotes work 
Shell :: installing k3d 
Shell :: File "manage.py", line 17 ) from exc ^ SyntaxError: invalid syntax 
Shell :: bash split and get last 
Shell :: kill process linux 
Shell :: Please ensure that the SDK and/or project is installed in a location that has read/write permissions for the current user. 
Shell :: brew upgrade casks 
Shell :: tensorflow install size 
Shell :: how to exit docker 
Shell :: How to push to a new repositiory in github 
Shell :: install tar.xz in ubuntu 
Shell :: git pull from previous commit 
Shell :: difference between two files linux 
Shell :: check if we can increase of laptop ram 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =