Skip to main content

Primary links

  • Home
  • AI
  • Kubernetes
  • Incus
  • Ansible
  • Terraform
  • OpenStack
  • Virtualization
  • Linux
  • SmartHome
  • HowTo

Misc

  • Linux
  • Hardware
  • Programming
  • Databases
  • Multimedia
  • Windows

Cloud

  • OpenStack
  • cloud-config
  • nextcloud

Virtualization

  • Virtualization
  • Incus
  • Docker
  • KVM
  • Kubernetes
  • LXC
  • LXD
  • QEMU
  • VMware
  • VirtualBox
  • multipass
  • podman
  • vagrant
  • XEN

Network

  • DNS
  • Firewall
  • Linux
  • OpenvSwitch
  • SSL
  • VLAN
  • VPN
  • iPXE
  • namespaces
  • nmcli
  • tcpdump

Storage

  • CEPH
  • DRBD
  • LVM
  • S3
  • ZFS
  • btrfs

Automation / CI/CD

  • Install
  • Ansible
  • GitLab
  • LLM
  • Preseed
  • Puppet
  • Terraform
  • Ubuntu autoinstall

Monitoring / Visualisation

  • Grafana
  • Icinga
  • Prometheus
  • Monitoring
  • ELK
  • mermaid

WordPress

OPTIONAL: Create LXD container

lxc launch ubuntu-minimal:lts wordpress
lxc shell wordpress

Ubuntu package
https://ubuntu.com/tutorials/install-and-configure-wordpress#1-overview

sudo apt update
sudo apt install -y apache2 ghostscript libapache2-mod-php mysql-server php php-bcmath php-curl php-imagick php-intl php-json php-mbstring php-mysql php-xml php-zip apg vim

rm /var/www/html/index.html

sudo chown www-data: /var/www/html
curl https://wordpress.org/latest.tar.gz | sudo -u www-data tar zx -C /var/www/html


cat</etc/apache2/sites-available/wordpress.conf

        DocumentRoot /var/www/html/wordpress

            Options FollowSymLinks
            AllowOverride Limit Options FileInfo
            DirectoryIndex index.php
            Require all granted


            Options FollowSymLinks
            Require all granted


EOF

sudo a2ensite wordpress
sudo a2enmod rewrite
sudo a2dissite 000-default
sudo service apache2 reload


DB_PASS=$(apg -m 16 -n1)
WP_PHASE=$(apg -m 32 -n1)


cat < /tmp/wordpress.sql
CREATE DATABASE wordpress;
CREATE USER wordpress@localhost IDENTIFIED BY '${DB_PASS}';
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER ON wordpress.* TO wordpress@localhost;
FLUSH PRIVILEGES;
EOF

cat /tmp/wordpress.sql | sudo mysql --defaults-extra-file=/etc/mysql/debian.cnf


cd /var/www/html/wordpress
sudo -u www-data cp wp-config-sample.php wp-config.php

sudo -u www-data sed -i 's/database_name_here/wordpress/' wp-config.php
sudo -u www-data sed -i 's/username_here/wordpress/' wp-config.php
sudo -u www-data sed -i "s/password_here/${DB_PASS}/" wp-config.php
sudo -u www-data sed -i "s/put your unique phrase here/${WP_PHASE}/" wp-config.php

# OPTIONAL: enforce https
sed -i '2i\$_SERVER['HTTPS'] = 'on';\' wp-config.php

# Access the server under:
http://your_server/wordpress

OLD

cat < /etc/wordpress/config-localhost.php
<?php
define('DB_NAME', 'wordpress');
define('DB_USER', 'wordpress');
define('DB_PASSWORD', 'yourpasswordhere');
define('DB_HOST', 'localhost');
define('WP_CONTENT_DIR', '/usr/share/wordpress/wp-content');
?>
EOF

ln -s /etc/wordpress/config-localhost.php /etc/wordpress/config-10.0.129.230.php

# Links
https://help.ubuntu.com/lts/serverguide/wordpress.html

Manual installation

HTML / PHP / CMS

Statuscodes
https://de.wikipedia.org/wiki/HTTP-Statuscode

Links
https://subgraph.com/vega/download/index.en.html - Vega Vulnerability Scanner
http://popuri.us/ - PageRank / link popularity check
http://validator.w3.org/ - W3C Markup Validation Service
Bluefish - HTML / PHP editor for Linux, supports direct edit on FTP
http://ckeditor.com/demo - Online WYSIWYG Editor
SELFHTML - HTML / PHP reference
seitwert.de - shows Google PageRank and statistics for a URL
http://www.meb.uni-bonn.de/html_tutorial/zeichen.htm
http://www.archive.org/ - The Wayback Machine
http://www.magentocommerce.com/ - eCommerce Open Source software
http://en.wikipedia.org/wiki/List_of_web_analytics_software
http://www.ispcp.net/ - Multi Server Control and Administration Panel
http://www.robertnyman.com/ajax-suggestions/demo.htm - AJAX Suggestions module
http://www.imavex.com/php-form-builder-class/examples/form-elements.php - PHP Form Builder Class
http://www.xaranetblog.de/2008/08/02/apache-php-und-mysql-auf-utf-8-umstellen/ - Apache, PHP und MySQL auf UTF-8 umstellen
http://de.selfhtml.org/html/referenz/zeichen.htm - HTML character reference
https://securityheaders.io/ - browser security scan

CMS systems
http://www.liferay.com/ - Java CMS Portal

Search engines
Google URL registration - Add your URL to Google index

Create Google Static Maps
http://gmaps-samples.googlecode.com/svn/trunk/simplewizard/makestaticmap.html

SSL
https://letsencrypt.org/
http://www.startssl.com/?app=39

Disable browser caching
http://cristian.sulea.net/blog/disable-browser-caching-with-meta-html-tags/

cms
Profiles GitHub StackOverflow LinkedIn Xing
Contact Imprint
© panticz 2026

Cookie-Einstellungen

Diese Website nutzt eingebettete Inhalte von Drittanbietern (z.B. YouTube, SoundCloud). Beim Laden dieser Inhalte werden Daten an die jeweiligen Anbieter übermittelt. Datenverarbeitungserklärung