xampp en ubuntu

previamente...

sudo apt install net-tools
First you should stop your apache server:
sudo /etc/init.d/apache2 stop

Step 1 – download XAMPP


For PHP 7



wget https://www.apachefriends.org/xampp-files/7.2.2/xampp-linux-x64-7.2.2-0-installer.run


Step 2 – Executeable permission

For PHP 7

Do execute the downloaded installer, we need to set executable permissions on it.
chmod +x xampp-linux-x64-7.2.2-0-installer.run

Step 3 – Install XAMPP

For PHP 7

sudo ./xampp-linux-x64-7.2.2-0-installer.run

Step 4 – Start XAMPP

To start all the service (packaged inside XAMPP)

sudo /opt/lampp/xampp start

To stop XAMPP

sudo /opt/lampp/xampp stop
Para poder acceder a las carpetas donde se alojaran las aplicaciones (htdocs)
  1. In the linux terminal navigate to your lampp directory.
    cd /opt/lampp
  2. In the command line type:
    sudo chmod 777 -R htdocs
si todo salió ok, se debería poder acceder desde el navegador a: 

 http://localhost


Step 5 – Change service port (optional)

The location of conf can vary – for our case you can find it at /opt/lampp/etc/httpd.conf. Open the file using editor of your choice, find and update the ‘Listen 80’, replace 80 with port of your choice.

No hay comentarios:

Publicar un comentario

linux ubuntu mint actualizar chrome

 desde una terminal: $ sudo apt update $ sudo apt install google-chrome-stable