Nambah projek baru harus menambahkan di config apache

2  
       

sudo nano /etc/apache2/sites-available/000-default.conf

Alias /folder/file/ "/var/www/html/folder/file/"
<Directory "//var/www/html/folder/file/">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>

 

Ubah Password 

mysql -u root

Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 3
Server version: 10.11.13-MariaDB-0ubuntu0.24.04.1 Ubuntu 24.04

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.

FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.028 sec)

ALTER USER ‘root’@’localhost’ IDENTIFIED BY ‘Masukan Password yang akan di ganti’;
Query OK, 0 rows affected (0.009 sec)

quit;

mysqladmin -u root -p shutdown
Enter password:
sudo systemctl start MariaDB
password for user:

sudo systemctl status MariaDB

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>