Disclaimer: This guide was automatically translated by AI from the German original. Please verify commands and technical details before using them.
Back to overview: Debian guides
To install WordPress, switch to the web directory:
cd /var/www/html
Download the WordPress files:
wget https://de.wordpress.org/latest-de_DE.zip
Extract the files:
unzip latest-de_DE.zip
Delete the .zip file:
rm latest-de_DE.zip
Move the files into the web directory:
cp -ar /var/www/html/wordpress/* /var/www/html/
rm -r wordpress/
Set the correct permissions:
chown www-data:www-data -R *
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
Create a user and a database in phpMyAdmin. You can then finish the installation via your IP address or domain.