如何在Ubuntu Text用户界面(TUI)上安装Lampp?

download https://www.apachefriends.org/download.html xampp-linux-installer.run

i have ubuntu os but without GUI, and i don't have acces directly. i'm using putty, does anyone know how to install it ?

cause when we run installer.run usualy will show popup xampp installer (GUI) but when we use TUI or remote via putty popup does not show.

i'm stuck in it.

I installed the LAMP Stack as follows (Please note that some steps will have on-screen instructions you should read and follow):

NOTE: You can use the following command to see which packages are actually available before installing

apt-cache search keyword

For example apt-cache search php

STEPS

1.sudo apt-get install apache2

  1. sudo apt-get install mysql-server

  2. sudo apt-get install php7.0 libapache2-mod-php7.0

  3. Restart the server using sudo /etc/init.d/apache2 restart or sudo service apache2 restart

  4. Check Apache by visiting this url: http://localhost/

  5. Check your PHP by running a PHP file from /var/www/html/ or go interactive.
    php -a
    echo "Hello, World";

More here.

Install Lampp on Putty or in OS TUI (text user interface) can work normally. not in pop up by in text view but overall running well. sorry for my dumb question.