hab einen LAMP-Stack auf ein Linux-Notebook gesetzt. Normalerweise sollte der Apache nun auch starten;
Code: Alles auswählen
root@mx:/home/martin# start apache
bash: start: Kommando nicht gefunden.
root@mx:/home/martin# systemctl start apache2
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Der Rechner ist nicht aktiv
root@mx:/home/martin# systemctl start apache2
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Der Rechner ist nicht aktiv
root@mx:/home/martin# A
Sieht so aus, als startet der Apache nicht.
Fener hab ich hier noch folgende Resultate;
Code: Alles auswählen
root@mx:/home/martin# ufw app list
Available applications:
AIM
Bonjour
CIFS
CUPS
DNS
Deluge
IMAP
IMAPS
IPP
KTorrent
Kerberos Admin
Kerberos Full
Kerberos KDC
Kerberos Password
LDAP
LDAPS
LPD
MSN
MSN SSL
Mail submission
NFS
POP3
POP3S
PeopleNearby
SMTP
SSH
Samba
Socks
Telnet
Transmission
Transparent Proxy
VNC
WWW
WWW Cache
WWW Full
WWW Secure
XMPP
Yahoo
qBittorrent
svnserve
root@mx:/home/martin# ufw allow in "Apache"
ERROR: Could not find a profile matching 'Apache'
root@mx:/home/martin# ufw status
Status: inactive
ich werde nochmals nach der Apache-Installation sehen und testen ob alles mit dem Einrichten des LAMP-Stacks in Ordnung gegangen ist.
Viele Grüße
Update: ich hab hier noch ein paar Anleitungen zum Einrichten eines LAMP-Stacks auf Linux:
Ganz allgemein zu LAMP: lamp-stack-auf-debian-installieren: https://think.unblog.ch/lamp-stack-auf- ... tallieren/
Installieren des Linux-, Apache-, MySQL-, PHP- (LAMP-)Stacks unter Ubuntu 20.04
https://www.digitalocean.com/community/ ... u-20-04-de
Ein Lamp-Stack auf MX-Linux: https://mxlinux.org/wiki/networking/lamp-setup
wenn es immer noch Probleme gibt: https://forum.mxlinux.org/viewforum.php?f=136
und hier noch mehr Infos - auf Englisch: https://forum.mxlinux.org
Es gibt - wenn man es drauf absieht, ein Wordpress zu installieren:
Installing WordPress on a Linux (LAMP) Server
https://www.linuxquestions.org/question ... ver-37355/
Plan: Install an Apache2 web server on Linux with PHP 7.0 (mod_php) and MySQL support. Then install WordPress and create your own website or blog, either just for testing/learning, or live transmission via a web host.
LAMP is short for Linux, Apache, *MySQL, PHP.
Install Apache
Test Apache:
Install MySQL (or MariaDB):
Install PHP 7.0
Then test your php:
Install phpMyAdmin
WordPress:
Wordpress Database Initialisation
Install WordPress
Useful links
MariaDB: https://mariadb.org/
WordPress: https://codex.wordpress.org/
Ubuntu Server guides: https://help.ubuntu.com/lts/serverguide/
Wplift Guide: https://wplift.com/install-wordpress-in-ubuntu