> For the complete documentation index, see [llms.txt](https://security.musana.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://security.musana.net/linux/lamp.md).

# LAMP

1. apt update
2. apt install lamp-server^
3. apt install phpmyadmin -y
4. mysql -u root -p
5. CREATE USER 'dba'@'%' IDENTIFIED BY 'toor';
6. `GRANT ALL PRIVILEGES ON *.* TO 'dba'@'%' WITH GRANT OPTION;`

\*\* tasksel yüklü olmalı. lamp-server sonunda bulunan şapka işareti tasksell manasına gelir.

### manuel

```
sudo apt-get update
sudo apt-get upgrade -y

sudo apt-get install apache2 -y
sudo a2enmod rewrite
sudo service apache2 restart
	
sudo apt-get install php libapache2-mod-php -y

sudo apt-get install mariadb-server mariadb-client php-mysql -y
sudo service apache2 restart

sudo apt-get install phpmyadmin -y

(phpmyadmin user: phpmyadmin - pass: you selected during installation)
```
