sohotcall

Install LAMP Apache MySQL PHP Debian

Mar 8th, 2020
196
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ sudo apt install mariadb-client mariadb-server
  2. $ mysql -u root -p
  3. > CREATE DATABASE `testdb`;
  4. > CREATE USER 'sohotcall'@'localhost' IDENTIFIED BY 'p455w0rd';
  5. > GRANT ALL PRIVILEGES ON testdb.* to 'sohotcall'@'localhost';
  6. > FLUSH PRIVILEGES;
  7. > quit
  8. $ sudo apt install php php-mysql
  9. $ sudo apt install apache2 libapache2-mod-php
  10. $ sudo apt install php-curl php-gd php-soap php-sqlite3 php-xml
RAW Paste Data