Solus est un nouvel OS que j’apprécie pour sa rapidité, malheureusement, il est un peu exotique pour certaines manipulations. Il est vrai qu’en dehors d’Ubuntu, il faut bien souvent faire du bricolage pour installer des applis hors market. Ce petit tutoriel vous explique comment installer une solution intégrée regroupant un serveur Web, FTP et SQL, idéal pour du développement en local.
Rendez sur Apachefriends et téléchargez l’installateur Linux correspondant à la version de PHP dont vous avez besoin.
Dans un terminal avec les droits root, procédez à l’installation, exemple :
sudo ./xampp-linux-x64-7.1.11-0-installer.run
L’assistant se déroule et effectue l’installation dans /opt/lampp
Ne démarrez pas l’interface de gestion (le manager), il y des corrections à apporter pour que les serveurs Web et FTP démarrent.
Dans un terminal, éditez httpd.conf :
sudo nano /opt/lampp/etc/httpd.conf
Remplacez daemon par nobody afin d’obtenir :
User nobody
Group nobody
</IfModule>
Maintenant au tour de proftpd.conf :
sudo nano /opt/lampp/etc/proftpd.conf
Remplacez daemon par nobody :
User nobody
#Group daemon
Pour afficher la fenêtre du gestionnaire, utilisez cette commande :
sudo /opt/lampp/manager-linux-x64.run
Il est également possible de démarrer les applications séparément en ligne de commande :
sudo /opt/lampp/xampp startapache
La liste complète des commandes :
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 Disable SSL support for Apache
backup Make backup file of your XAMPP config, log and data files
oci8 Enable the oci8 extenssion
panel Starts graphical XAMPP control panel
Source : https://stackoverflow.com/questions/24027220/error-ah00543-httpd-bad-user-name-xampp-apache