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.