Como instalar apache? ya lo intenté desde terminal con sudo eopkg it httpd php y desde la página web usando el archivo.run (XAMPP) y de las dos formas tengo errores y no lo puedo correr.

    torrocrash

    1. To maximize your chances for support, I suggest using English.
    2. We have httpd (referred to as Apache 2) and nginx in the repo. We also have PHP and MariaDB.

    torrocrash Installing XAMPP is possible. Written document is quite long. If @JoshStrobl (Solus admins) allow me to post a video link it would be easier for me. I am writing the document now.

    torrocrash
    Install XAMPP on Solus

    Go https://www.apachefriends.org/download.html

    Download “XAMPP for linux”

    Open the “download” folder right click on blink section and click “Open in Terminal”.

    Then right click on “xampp-linux-x64-x.x.x.x-installer.run”. Click “Properties” then choose “Permission”. In “Execute” Section Check the checkbox “Allow executing file as program”.
    This is important.

    After this click on the opened terminal type/pest the following command and hit enter/return

    sudo ./xampp-linux-x64-x.x.x-x-installer.run

    Make sure downloaded name and terminal command name should be same.
    It will ask for your password. So put your password and hit enter/return.
    Then installer should run, Click next, next, next, next, next.
    Installation process will progressing at this moment, this may take few moment.

    After finish unchecked “Launch XAMPP” Click on “Finish”.

    Now open up the terminal again and type the following command and hit enter/return

    sudo nano /opt/lampp/etc/httpd.conf

    This will open up httpd.conf file in terminal. Use your keyboard down arrow key to go down.
    Find this section


    User demone
    Group nobody
    </IfModule>>


    Replace top section with the section below


    User nobody
    Group nobody
    </IfModule>>


    After change Use keyboard, press “Ctrl + X” Then press “Y” Then hit enter/return to save the file.

    Now type/past the following command in terminal and hit enter/return

    sudo nano /opt/lampp/etc/proftpd.conf

    This will open up proftpd.conf file in terminal. Use your keyboard down arrow key to go down.
    Find this section


    User daemon
    #Group daemon


    Replace top section with the section below


    User nobody
    #Group daemon


    After change Use keyboard, press “Ctrl + X” Then press “Y” Then hit enter/return to save the file.

    Now XAMPP installation is complete.

    To start XAMPP server type/past the following command in terminal and hit enter/return

    sudo /opt/lampp/manager-linux-x64.run

    Now click on “Manage Servers” and Click “Start All” to start all services.

    You can use this to “Stop All” service too.

    At this moment everything should work just fine, but
    If you go inside Computer > opt > lampp > htdocs and trying to create any file or folder, you can’t.
    It’s because we don’t have permission.

    So to fix this problem type the following command in terminal and hit enter/return

    sudo chmod -R 777 /opt/lampp/htdocs

    It will ask for your password, put your password and hit enter/return.

    Now you can create new file or folder in htdocs folder.

    To access localhost open up your favorait web browser, in address field type localhost and hit enter/return.
    You should get localhost default page. Hope this will help. Thanks.

    9 months later

    XAMPP works fine with this tutorial, but how can i create a link on the desktop (starter) to execute the order (sudo /opt/lampp/manager-linux-x64.run). Is it possible?

      10 months later

      arti

      Create xampp.desktop file in /usr/share/applications folder.
      Open the xampp.desktop file with gedit and edit it like that.

      [Desktop Entry]
      Type=Application
      Categories=Development
      Name=XAMPP Control Panel
      Comment=Start and Stop XAMPP
      Exec=sudo /opt/lampp/manager-linux-x64.run
      Icon=/opt/lampp/htdocs/favicon.ico
      Terminal=true

      Save the file and look at the applications menu. You shold be seeing Xampp logo.
      You can now position this program logo wherever you want.

      Sometimes the logo may not appear because the .ico file path is wrong. Notice where the xampp folder is.

      Thanks for the insights. Just popping by to mention another alternative called Devilbox. It's been mentioned a couple of times in the forums, but I stumbled upon it elsewhere before. It is super useful for created a web dev/testing environment. It's all docker based.

      a month later
      $ sudo /opt/lampp/lampp start
      Starting XAMPP for Linux 7.4.13-0...
      XAMPP: Starting Apache.../opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
      /opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
      ok.
      XAMPP: Starting MySQL...already running.
      XAMPP: Starting ProFTPD.../opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
      ok.

      does this notice make a any problem? must I install netstat?
      And I have notice The $cfg['TempDir'] (/opt/lampp/phpmyadmin/tmp/) is not accessible. phpMyAdmin is not able to cache templates and will be slow because of this. on bottom of phpmyadmin main page.
      Finally I should say chmod 755 better than 777 for security. If I said wrong anything please say me

      4 years later

      Please create a new thread instead of replying to old one. Locking.

      alfisya locked the discussion .