Top Menu

Jump to content
Home
    • Projects
    • Work packages
    • News
    • Getting started
    • Introduction video
      Welcome to OpenProject
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Professional support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Create a new account
      Forgot your password?

Side Menu

  • Overview
  • Activity
  • Wiki
    • Table of contents
      • Expanded. Click to collapseCollapsed. Click to showWiki
        • Hierarchy leafModalität
        • Expanded. Click to collapseCollapsed. Click to showThemen
          • Hierarchy leaf00) Installation GNU/Linux in Virtualbox
          • Hierarchy leaf01) GNU/Linux Basics & Bash commandos
          • Hierarchy leaf02) Schulinternes APT Repository
          • Hierarchy leaf03) Fernwartung über SSH
          • Hierarchy leaf04) Prozesse und Systemd
          • Hierarchy leaf05) UFW
          • Hierarchy leaf06) MySQL
          • Hierarchy leaf07) Abfragen an die Mondial Datenbank
          • Hierarchy leaf08) PostgreSQL
          • Hierarchy leaf10) Crontab
          • Hierarchy leaf11) Wordpress
          • Expanded. Click to collapseCollapsed. Click to show12) Docker
            • Hierarchy leaf00) MySQL - Volumes - Ports ...
            • Hierarchy leaf01) PostgreSQL
            • Hierarchy leaf02) Docker-Compose
You are here:
  • Wiki
  • Themen
  • 11) Wordpress

Content

11) Wordpress

  • More
    • Print
    • Table of contents

Worpress

Beliebtes freies Consten Management System.

Mysql/Webserver Nginx/Php installieren

sudo apt-get install mysql-server nginx php-fpm php-mysql

Wordpress herunterladen und enpacken

#Download with wget, if not installed: sudo apt-get install wget
wget https://wordpress.org/latest.zip
#Unzip
unzip latest.zip
#Move wordpress to /var/www/
sudo mv wordpress /var/www/

Wordpress Seite aktivieren

#Change working directory to nginx sites-available directory
cd /etc/nginx/sites-available/
#Download nginx configuration for wordpress
#configuration is for subdomain: wordpress.localhost
sudo wget https://www.drlue.at/57128194872194/wordpress
#Create symbolic link to new available site
sudo ln -s /etc/nginx/sites-available/wordpress /etc/nginx/sites-enabled/wordpress
#Restart or reload nginx
sudo systemctl reload nginx

Kurz testen

Wenn im Browser: http://wordpress.localhost eingegeben wird, sollte die wordpress Konfigurationsseite erscheinen

Berechtigungen von Wordpress setzen

#Set the owner of the wordpress folder to user: www-data group: www-data
#www-data is the user which nginx webserver uses
sudo chown -R www-data:www-data /var/www/wordpress/
#Recursively setting 755 permission for the wordpress folder
sudo chmod -R 755 /var/www/wordpress/

Mysql wordpress user erstellen

#create wordpress mysql user
echo "CREATE user 'wp'@'localhost' IDENTIFIED BY 'wppassword';" | sudo mysql
#create wordpress db "wbdb"
echo "CREATE DATABASE wpdb;" | sudo mysql
#grant wordpress mysql user "wp" permissions to database "wpdb"
echo "GRANT ALL PRIVILEGES ON wpdb.* TO 'wp'@'localhost';" | sudo mysql

Wordpress installation abschließen

  • Datenbankbenutzer: wb
  • Dataenbankpasswort: wppassword
  • Datenbank: wpdb

Wordpress URLs

  • Wordpress Seite selbst
    • http://wordpress.localhost
  • Admin Panel
    • http://wordpress.localhost/wp-admin
Loading...