LAMP
Installing LAMP
  1. 1.
    apt update
  2. 2.
    apt install lamp-server^
  3. 3.
    apt install phpmyadmin -y
  4. 4.
    mysql -u root -p
  5. 5.
    CREATE USER 'dba'@'%' IDENTIFIED BY 'toor';
  6. 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)
Copy link