Advertisement
ANCHI22

abrir xampp facilmente en linux

Nov 28th, 2014
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.84 KB | None | 0 0
  1. ## Decargan e instalan xampp https://www.apachefriends.org/download.html
  2. ## Luego abren una terminal y lo ejecutan
  3.     sudo chmod 777 xampp-linux.run -> despues de sudo ./... colocan el nombre del archivo descargado
  4.     sudo ./xampp-linux.run  
  5.  
  6. ## crear ejecutable de xampp-linux para abrir facilmente
  7. ## 1- crear un archivo a.run  en Documentos:
  8.  // a.run
  9.     #!/bin/sh
  10.     sudo ./xampp.run
  11.  
  12. # 2- crear otro archivo ejecutable en la misma carpeta
  13.   //xampp.run
  14.     #!/bin/sh
  15.     cd /opt/lampp/
  16.     ./manager-linux-x64.run
  17.  
  18. # 3- dar  permisos de ejecutables en una terminal
  19.     sudo chmod 777 *.run
  20.    
  21. # 4- agregar unas lineas en /etc/sudoers  despues de:
  22.     -> # Allow members of group sudo to execute any command
  23.     -> %sudo    ALL=(ALL:ALL) ALL
  24.  
  25. ALL ALL=NOPASSWD: /home/anthonywainer/Documentos/a.run
  26. ALL ALL=NOPASSWD: /home/anthonywainer/Documentos/xampp.run
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement