“Ubuntu memasang lampu” Kode Jawaban

Pasang lampu 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
Hosam Aldeen

Bagaimana cara memasang lampu di 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
Harendra

cangkul untuk memasang lampu di ubuntu

sudo apt-get install tasksel
sudo tasksel install lamp-server
Hastings Keith

Instalasi Lampu Server Ubuntu

sudo tasksel install lamp-server
Outstanding Otter

Lampu Pemasang Ubuntui

sudo apt install apache2 php libapache2-mod-php mysql-server php-mysql
Elated Eel

Ubuntu memasang lampu

sudo apt-get install lamp-server^
mvmrik

Jawaban yang mirip dengan “Ubuntu memasang lampu”

Pertanyaan yang mirip dengan “Ubuntu memasang lampu”

Lebih banyak jawaban terkait untuk “Ubuntu memasang lampu” di Shell/Bash

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya