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
    • bind9 named
    • NX Client
    • FreeNX Server
    • Archive
    • Asterisk
    • Audio Recorder
    • Build essential
    • Chromium
    • Couch DB
    • DMA
    • DVD
    • Dovecot
    • Eclipse
    • FTP server
    • Firefox
    • GWT
    • Games
    • Gimp
    • Glassfish
    • Gnome classic
    • Google Music Manager
    • HAproxy
    • HTTrack
    • Hibiscus
    • Icinga
    • Install Cinnamon
    • Install thttpd
    • Install vivaldi
    • Java JDK
    • Jenkins
    • Kodi
    • LTSP
    • LXC
    • LibreOffice
    • Mailserver
    • MariaDB
    • Microsoft teams
    • MiniDLNA
    • Mosquitto MQTT server
    • MySQL Connector/J
    • MySQL Server
    • MySQL Workbench
    • Nemo
    • NetBeans
    • Node-RED
    • Obnam
    • OpenElec PXE
    • OpenFortiGUI
    • Oracle XE
    • Postfix
    • ProjectLibre
    • Proton VPN
    • Proton VPN
    • Roundcubemail
    • Ruby on Rails
    • Rundeck
    • SQL Developer
    • SQuirreL SQL
    • Scribus
    • Skype
    • SonarQube
    • Spotify
    • Squid
    • SteuerSparErklärung
    • TeamViewer
    • Thunderbird
    • Tipp10
    • Tomcat
    • Ubuntu restricted extras
    • UnixBench
    • VLC player
    • VMware Player
    • Vega
    • VirtualBox
    • Visual Studio Code
    • Webserver
    • Wine
    • WordPress
    • apt-cacher-ng
    • autofs
    • avidemux
    • ckeditor
    • consul
    • ddrescue
    • duplicity
    • easytax
    • gbrainy
    • gitea
    • gnokii
    • gogs
    • gopenvpn
    • hddtemp
    • homebridge
    • iSCSI
    • jitsi
    • lm-sensors
    • mattermost
    • myTinyTodo
    • neatx
    • netdata
    • nullmailer
    • openproject
    • phpMyAdmin
    • pip
    • pipelight
    • proftpd
    • prometheus
    • pyenv
    • rTorrent
    • restic
    • rustdesk
    • smartmontools
    • snap
    • speedtest
    • sshuttle
    • stress test
    • syslinux
    • tftp server
    • tinyproxy
    • topgrade
    • uShare
    • x2go
  • Ansible
  • GitLab
  • LLM
  • Preseed
  • Puppet
  • Terraform
  • Ubuntu autoinstall

Monitoring / Visualisation

  • Grafana
  • Icinga
  • Prometheus
  • Monitoring
  • ELK
  • mermaid
DB_ROOT_PASS=terceS

debconf-set-selections <<\EOF
mysql-server-5.5 mysql-server/root_password_again string terceS
mysql-server-5.5 mysql-server/root_password string terceS
EOF

# install some basic tools
apt-get -y install bzip2 wget vim

# install apache
apt-get -y install apache2

# install php
apt-get -y install php5
# OPTIONAL
apt-get -y install php5-mcrypt php5-gd php5-curl php5-cli 

# install mysql
apt-get -y install mysql-server php5-mysql libapache2-mod-auth-mysql 

# configure apache modules
a2enmod auth_mysql

# install ssl
http://www.panticz.de/apache2_openssl_certificate

# enable url rewrite
a2enmod rewrite
sed -i 's|AllowOverride None|AllowOverride All|g' /etc/apache2/sites-enabled/*default
# old # sed -i '11s|AllowOverride None|AllowOverride All|g' /etc/apache2/sites-available/default

# emable ssl
a2enmod ssl
a2ensite default-ssl
sed -i '12s|AllowOverride None|AllowOverride all|g' /etc/apache2/sites-enabled/default-ssl

# update memory limit for php
cp /etc/php5/apache2/php.ini /etc/php5/apache2/php.ini.org
sed -i 's|memory_limit = 16M|memory_limit = 256M|g' /etc/php5/apache2/php.ini
cp /etc/php5/cli/php.ini /etc/php5/cli/php.ini.org
sed -i 's|memory_limit = 32M|memory_limit = 256M|g' /etc/php5/cli/php.ini 

# configure timezone
# broken? # sed -i 's|;date.timezone =|date.timezone = Europe/Berlin|g' /etc/php5/apache2/php.ini

# set hostname
cp /etc/hosts /etc/hosts.org
echo "your_host_name" > /etc/hostname
echo "192.168.1.88   $(hostname).example.com   $(hostname)" >> /etc/hosts

# restart apache
/etc/init.d/apache2 restart

# OPTIONAL
# parse .html files with php (.htaccess)
AddHandler application/x-httpd-php5 .html .htm

# ToDo
# enable ssl: a2enmod ssl
# See /usr/share/doc/apache2.2-common/README.Debian.gz on how to configure SSL and create self-signed certificates.
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