Archives du mot-clé http

[Linux] how to install Xampp on Solus OS

Solus OS is a new OS that I appreciate for its speed, unfortunately it is a bit exotic for some manipulations. It is true that apart from Ubuntu, it is often necessary to do some DIY to install off-market applications. This short tutorial explains how to install an integrated solution that combines a Web, FTP and SQL server, ideal for local development.

Go to Apachefriends and download the Linux installer for the version of PHP you need.

In a terminal with root rights, proceed to the installation, example:

sudo. /xampp-linux-x64-7.1.11-0-install. run

The wizard unrolls and installs in /opt/lampp

Do not start the management interface (the manager), there are corrections to be made so that the Web and FTP servers start.

In a terminal, edit httpd. conf:

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

Replace daemon with nobody to get:

User nobody
Group nobody
</IfModule>>

Now to the turn of proftpd. conf:

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

Replace daemon with nobody:

User nobody
#Group daemon

To display the manager window, use this command:

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

It is also possible to start applications separately on the command line:

sudo /opt/lampp/xampp startapache

The complete list of orders:

start Start XAMPP (Apache, MySQL and eventually others)
startapache Start only Apache
startmysql Start only MySQL
startftp Start only ProFTPD

stop Stop XAMPP (Apache, MySQL and eventually others)
stopapache Stop only Apache
stopmysql Stop only MySQL
stopftp Stop only ProFTPD

reload Reload XAMPP (Apache, MySQL and eventually others)
reloadapache Reload only Apache
reloadmysql Reload only MySQL
reloadftp Reload only ProFTPD

restart Stop and start XAMPP
security Check XAMPP’s security

enablessl Enable SSL support for Apache
disablessl Disablessl Disable SSL support for Apache

backup Make backup backup file of your XAMPP config, log and data files

oci8 Enable the oci8 extensor

panel Starts graphical XAMPP control panel

Source : https://stackoverflow.com/questions/24027220/error-ah00543-httpd-bad-user-name-xampp-apache

Publicités