0% found this document useful (0 votes)
23 views1 page

SUDO

SUDO

Uploaded by

AlfahmiEvans
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views1 page

SUDO

SUDO

Uploaded by

AlfahmiEvans
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

login

pass:

login sebagai root


sudo -i
masukkan password

sudo apt update


sudo apt install apache2
sudo systemctl start apache2
sudo systemctl enable apache2
sudo systemctl status apache2
sudo apt update
sudo apt upgrade
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php8.3
sudo apt install php8.3-mysql php8.3-curl php8.3-xml
sudo apt install libapache2-mod-php8.3
sudo systemctl restart apache2
php -v

sudo apt update


sudo apt install mysql-server
sudo systemctl status mysql

login :
sudo mysql -u root -p
CREATE USER 'nama_user'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'evans'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;
sudo systemctl start mysql
sudo systemctl enable mysql

sudo apt install phpmyadmin


sudo nano /etc/apache2/apache2.conf

ALTER USER 'evans'@'localhost' IDENTIFIED WITH mysql_native_password BY 'evans';

taruh script berikut di barisan paling bawah


Include /etc/phpmyadmin/apache.conf

sudo systemctl restart apache2

ip a
cd /etc/netplan/
ls
nano xxxxxxxxxx.yaml

You might also like