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

installer lamp ubuntui

sudo apt install apache2 php libapache2-mod-php mariadb-server php-mysql
Comment

ubuntu install lamp

sudo apt-get install lamp-server^
Comment

installer lamp ubuntui

sudo apt install apache2 php libapache2-mod-php mysql-server php-mysql
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 :: how to upgrader vscodium 
Shell :: bash else if 
Shell :: install composer on ubuntu 20.04 
Shell :: aab to apk 
Shell :: powershell select unique 
Shell :: git revert last commit 
Shell :: remove mongo lock file from centos 7 
Shell :: ubuntu open all port 
Shell :: hide desktop icons macos 
Shell :: install gradle ubuntu 20.04 
Shell :: yarn remove package 
Shell :: vitejs tailwind 
Shell :: elasticsearch get indices regex 
Shell :: linux change permission 
Shell :: k8s set default namespace 
Shell :: ubuntu create directory with permissions 
Shell :: run sh with parameter 
Shell :: install latest i18next version 
Shell :: install node_modules 
Shell :: clock skew detected github 
Shell :: linux x11 dev 
Shell :: ubuntu port ping 
Shell :: see what groups a user is in linux 
Shell :: how to revert a git stash 
Shell :: javascript to exe 
Shell :: intellij for mac crack 
Shell :: undo git commit and keep changes 
Shell :: kde up maxfps 
Shell :: how to create permanent alias in linux 
Shell :: sbt install mac 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =