Installation Eines Wikis Auf Einem PC Am Beispiel XAMPP Und Mediawiki

Total Page:16

File Type:pdf, Size:1020Kb

Installation Eines Wikis Auf Einem PC Am Beispiel XAMPP Und Mediawiki Installation eines Wikis auf einem PC am Beispiel XAMPP und Mediawiki Dr. Claus Brell, Stand: 23.10.2009 XAMPP Server herunterladen und installieren Anmerkung: Wenn Sie nicht das integrierte XAMPP-Paket nutzen wollen, sondern lieber Apache, PHP und MySQL „von Hand“ einrichten wollen, sie Ihnen die Lektüre der Selbstlernunterlage http://claus- brell.de/materialien/Brell_Seminarunterlage_Intranet_Internet_Design_Technik_2009.pdf empfohlen. Hier erfahren Sie auch Grundlegendes zur Gestaltung von Webseiten und steigen etwas tiefer in die Apache Konfiguration, PHP und MySQL ein. Für den Betrieb eines Webservers auf dem eigenen Rechner ist die Installation des XAMPP- Paketes der einfacherer Weg… herunterladen: http://www.apachefriends.org/de/xampp-windows.html Auf Viren scannen! Exe starten und „C:\“ oder „E:\“ einstellen: Mediawiki installieren, Dr. Claus Brell 1 (5) Änderungen an den Konfigurationsdateien: Übersicht 1. Verzeichnisse und virtuelle Hosts einrichten (in htppd.conf, htppd-vhosts.conf) 2. MySQL (my.ini) kontrollieren, ggf ändern 3. Verzeichnis für Wiki vorbereiten 4. Anbindung PHP an MySQL mit PHPMyAdmin testen Apache Webserver In C:\xampp\apache\conf\extra\httpd-vhosts.conf : # Claus Brell 10.08.2009 # Einstellung VHost für Verzeichnis "www" listen 81 <VirtualHost *:81> ##ServerAdmin [email protected] DocumentRoot "/www" ##ServerName original.localhost ##ServerAlias www.dummy-host.localhost ErrorLog "logs/www.localhost-error.log" ##CustomLog "logs/dummy-host.localhost-access.log" combined </VirtualHost> # Claus Brell 10.08.2009 # Einstellung anderes Dokumentenverzeichnis <Directory "/www"> # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # Options Indexes FollowSymLinks Includes ExecCGI # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: Mediawiki installieren, Dr. Claus Brell 2 (5) # Options FileInfo AuthConfig Limit # AllowOverride All # # Controls who can get stuff from this server. # Order allow,deny Allow from all # Claus Brell # Anzeige des Verzeichnisses Options +Indexes </Directory> MySQL In C:\xampp\mysql\bin\my.ini : [mysqld] basedir = "/xampp/mysql/" datadir = "/xampp/mysql/data/" port = 3306 socket = "MySQL" skip-locking key_buffer = 16M # Claus Brell 10.08.2009 # Erhöung auf 16M # max_allowed_packet = 1M max_allowed_packet = 16M Wikimedia-Software herunterladen und einspielen 1. Dateien herunterladen: http://www.mediawiki.org/wiki/MediaWiki/de 2. Dateien entpacken in C:\www oder F:\www 3. Neues Verzeichnis mediawiki-<Version> umbenennen in wiki 4. Mit PHPMyAdmin Datenbank „wiki“ und Datenbanknutzer mit allen Rechten auf „wiki“ anlegen 5. Wiki aufrufen mit http://localhost/wiki => es erscheint die Konfigurationsseite Übersicht über die Mediawiki-Konfiguration Mediawiki installieren, Dr. Claus Brell 3 (5) 1. Kluger Wiki-Name 2. Für Testsystem: einfache user / password (admin/admin123) 3. E-Mail… alles ausschalten 4. Database: Name, User „wiki Password „wiki123“ 5. Alles andere default lassen, Install MediaWiki 6. Anweisung befolgen: config/LocalSettings.php kopieren 7. Ggf. Logo austauschen, andere Oberfläche….. # Einfügen, wenn Eintrag nicht vorhanden # Claus Brell 11.08.2009 # FOM-Logo statt Mediawiki-Blume $wgLogo = "/wiki/FH-SWF-LOGO.jpg"; Wiki nutzen und erste Inhalte einstellen Textformatierungen Klickmöglichkeiten im Editor: • Zwischenüberschrift: Text markieren und auf das große A klicken • Zeilenumbruch: im Editor zweimal Return drücken • Link auf bestehende Seite: Text markieren und unterstrichenes Ab klicken. Überschriften allgemein: == Überschrift Ebene 2 == === Überschrift Ebene 3 === Aufzählungen: * eins * zwei ** zwei-eins ** zwei-zwei * drei Nummerierungen: # eins # zwei ## zwei-eins ## zwei-zwei # drei Mediawiki installieren, Dr. Claus Brell 4 (5) http://de.wikipedia.org/wiki/Hilfe:Textgestaltung Neue Seite anlegen: 1. Im Suchfeld gewünschten Seitennamen eingeben und danach suchen 2. Auf den roten Seitennamen (in der Fehlanzeigemeldung) klicken 3. Seite bearbeiten und speichern http://de.wikipedia.org/wiki/Hilfe:Neue_Seite_anlegen Mediawiki installieren, Dr. Claus Brell 5 (5) .
Recommended publications
  • Filecloud Server Version 20.1 Installation Guide Filecloud Server Version 20.1 Installation Guide
    FileCloud Server Version 20.1 Installation Guide FileCloud Server Version 20.1 Installation Guide Copyright Notice © 2020 CodeLathe Technologies, Inc. All rights reserved. No reproduction without written permission. While all reasonable care has been taken in the preparation of this document, no liability is accepted by the authors, CodeLathe Technologies, Inc., for any errors, omissions or misstatements it may contain, or for any loss or damage, howsoever occasioned, to any person relying on any statement or omission in this document. Any questions regarding this document should be forwarded to: CodeLathe Technologies, Inc. 13785 Research Blvd, Suite 125 Austin TX 78750, USA Phone: U.S: +1 (888) 571-6480 Fax: +1 (866) 824-9584 Email: [email protected] 1. About FileCloud Server for Administrators . 4 1.1 FileCloud Sizing Guide . 8 2. Installing FileCloud Server . 11 2.1 Requirements . 13 2.2 Installation . 16 2.2.1 Direct Installation . 17 2.2.1.1 Installation on Windows . 18 2.2.1.1.1 Install Webserver as Service for Windows . 19 2.2.1.1.2 Install MongoDB as service in Windows . 21 2.2.1.1.3 FileCloud Watchdog Service . 23 2.2.1.1.4 Windows Setup Wizard . 25 2.2.1.1.5 Configuring Servers with the FileCloud Control Panel . 26 2.2.1.1.6 Configuring Optional Components . 30 2.2.1.1.7 Post-Installation Steps . 31 2.2.1.1.8 FileCloud Retention CLI tool for Windows . 32 2.2.1.2 Ubuntu Package Installation . 33 2.2.1.3 FileCloud RPM Package Installation . 34 2.2.1.4 Installation on Linux Distros .
    [Show full text]
  • XAMPP Installation
    XAMPP Installation 1 Introducing XAMPP • An integration package containing a number of useful packages that make it easy to host web sites on various platforms. Apache – MySQL - PHP – WAMP or LAMP • Allow the ease of installation and set up • Main Page: http://www.apachefriends.org/en/xampp.html 2 Introducing XAMPP (cont.) Basic packages include system, programming & server software: •Apache : the famous Web server •MySQL : the widely-used, free, open source database •PHP : the programming language •Perl : the programming language •ProFTPD: an FTP server •OpenSSL : for secure sockets layer support •PhpMyAdmin : for MySQL admin. 3 XAMPP Installation • Download XAMPP installer and let the install begin: – Using the installer version is the easiest way to install XAMPP. – Use default directory for convenience 4 There can be some problems Port 80 (Apache’s default port) can be occupied by other programs http://www.apachefriends.org/en/faq-xampp-windows.html 5 XAMPP Directories • XAMPP default installation directory is c:/xampp/ • The directory of interest is “c:/xampp/htdocs/” and it’s called the webroot (or document root) – PHP files are put in the webroot (c:/xampp/htdocs/) – c:/xampp/htdocs/ maps to http://localhost/ • For example, c:/xampp/htdocs/project/script.php maps to http://localhost/project/script.php – If no file is specified, Apache looks for index.php • For example, c:/xampp/htdocs/project/ maps to http://localhost/project/index.php 6 Installation complete! 7 XAMPP Control Panel No need to tick for running as “service” Apache HTTP Server MySQL DBMS FileZilla FTP Client Mercury SMTP Client 8 Starting Apache & MySQL Toggle button 9 Type http://localhost/ or http://127.0.0.1/ If the server is up and running, you will get this splash screen.
    [Show full text]
  • Publish Joomla! Articles
    ENTERPRISE ARCHITECT User Guide Series Publish to Joomla! Author: Sparx Systems Date: 2021-09-02 Version: 15.2 CREATED WITH Table of Contents Publish to Joomla! 3 Install Joomla! Locally 4 Set up a Joomla! ODBC Link 7 Publish as Joomla! Article 9 Joomla! Content Templates 12 Example - Package Published as Joomla! Article 14 Enable Search in Joomla! Website 16 Publish to Joomla! 2 September, 2021 Publish to Joomla! Enterprise Architect provides a facility for publishing model content as Articles (HTML pages) in a local Joomla! installation. As you develop your model you can publish it in the local Joomla! Repository, where the outline structure closely mirrors the model hierarchy and makes it very simple to explore models on-line. You can publish either an entire model or a single branch of the model into the local Joomla! Repository. This local Repository can then be easily transferred to a live Joomla! Server. Publish model content into Joomla! To publish the content of a model as Articles in Joomla! you work through these stages: Stage Action 1 Install Joomla! locally and create a Joomla! repository. 2 Set up an ODBC link to the created Joomla! repository. 3 Connect to the Joomla! repository from Enterprise Architect and publish Articles. 4 (Optional) Transfer the local Joomla! site to a live Joomla! server. (See Learn more.) Notes · Publish to Joomla! is supported in all Editions of Enterprise Architect · In the Corporate, Unified and Ultimate Editions of Enterprise Architect, if security is enabled you must have 'Generate Documents' permission to Publish as Joomla! Article (c) Sparx Systems 2021 Page 3 of 17 Created with Enterprise Architect Publish to Joomla! 2 September, 2021 Install Joomla! Locally Before you can publish model contents as Joomla! Articles, you must install Joomla! locally on your workstation.
    [Show full text]
  • XAMPP Web Development Stack
    XAMPP Web Development Stack Overview @author R.L. Martinez, Ph.D. The steps below outline the processes for installing the XAMPP stack on a local machine. The XAMPP (pronounced Zamp) stack includes the following: Apache HTTP Server, MariaDB (essentially MySQL), Database Server, Perl, and the PHP Interpreter. The “X” in XAMPP is used to signify the cross-platform compatibility of the stack. The Apache HTTP Server and PHP are required to run phpMyAdmin which is a PHP application that is used for database administration tasks such as creating databases and tables, adding users, etc. Alternative to XAMPP If you have experience with MySQL Workbench, you may prefer to install MySQL Server and MySQL Workbench via the MySQL Installer. MySQL Workbench performs the same functions as phpMyAdmin. However, unlike phpMyAdmin which is a web-based application, MySQL Workbench is a locally installed application and therefore does not require an HTTP Server (e.g. Apache) to run. Installing XAMPP Many of the steps listed have several alternatives (such as changing MySQL passwords via a command line) and students are welcomed and encouraged to explore alternatives. 1. Download XAMPP from the URL below and place the installer (.exe) in the location where you want to install XAMPP. Placing the installer (.exe) in the same location as the intended installation is not required but preferred. http://www.apachefriends.org/download.html Page 1 of 17 XAMPP Web Development Stack 2. See the warning which recommends not installing to C:\Program Files (x86) which can be restricted by UAC (User Account Control). In the steps below XAMPP is installed to a USB flash drive for portability.
    [Show full text]
  • Laboratory: XAMP and APTANA XAMPP Can Be Downloaded From: in That Web You
    Introducción a la Ingeniería del Software y a los Sistemas de Información Laboratory: XAMP and APTANA February 2013 Goal of the practice 1.- Introduction to In this course, we are going to use: - Apache web server - PHP installed as a module for Apache It is possible to download all those applications and to install them independently. However, this process takes time and it is prone to errors. That is why we use XAMPP. XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl together with other components such as ftp servers, mail servers, OpenSSL,… As a matter of fact, the name of XAMPP stands for X (for all the operating systems) Apache, MySQL, PHP, Perl. XAMPP is really very easy to install and to use - just download, extract and start. XAMPP is free of charge and most of its components are open source. XAMPP can be downloaded from: http://www.apachefriends.org/en/xampp.html. In that web you can also find installation instructions for Windows, MacOS and Linux. You must have privileged access to install and configure XAMPP, otherwise there will be errors during the installation. After the installation, all XAMPP services are managed in the XAMPP Control Panel Application, which can be started by executing xampp-control.exe: Figure 1: XAMPP Control Panel From this control panel, the main modules (such as Apache) can be started and stopped. Additionally, it also allows configuring these modules as services (enabling “SVC” in the left), which are automatically started when the system boots. Page 1 of 4 Introducción a la Ingeniería del Software y a los Sistemas de Información Laboratory: XAMP and APTANA February 2013 2.- Exercises with XAMPP and Apache a.
    [Show full text]
  • XAMPP-Chapter
    The following is a sample chapter from the upcoming Understanding MySQL and MariaDB, coming in 2020 from Andrew Comeau and Comeau Software Solutions. If you enjoy this preview, please check back at ComeauSoftware.com for more details and updates on anticipated release dates. https://www.comeausoftware.com/understanding-mysql-and-mariadb/ All material, Copyright 2019 – Andrew Comeau 3 Installing MariaDB with XAMPP Using MariaDB as part of a suite of web development tools In This Lesson … • Understand the purpose of an Apache - MySQL - PHP (AMP) software stack • Recognize the variations in AMP stack packages available for download • Install an AMP stack for use in developing databases and hosting web applications What is an AMP Stack? As powerful as MySQL is, it's rarely used on its own. Most developers will want additional tools such as programming languages and interface tools to escape the tedium of working on the command line all the time. This is one of the reasons that MySQL is often used in combination with other tools that will enable the design of user-friendly sites. This means either creating or downloading a ready-made AMP stack. AMP usually stands for "Apache-MySQL-PHP" although the P might also stand for Perl or Python. In general, it simply refers to one or more programming languages that are included with the software stack. An AMP stack is called a stack because each tool within it addresses a different aspect of database and web development and helps support the others. • Apache is a web server - software that can respond to requests for pages and other content within a website.
    [Show full text]
  • Installing XAMPP on Ubuntu 18.04
    How to Install XAMPP on your Ubuntu 18.04 LTS System XAMPP stands for cross-platform(X), Apache(A) server, MariaDB(M), PHP(P) and Perl(P). It is built by Apache Friends and basically serves as a local host or a local server. Through this local server, you can install this software on your system and test the clients or your website before uploading it to the remote web server or computer. XAMPP is most widely known by Windows users, but there are XAMPP packages for Ubuntu Linux as well. In this article, we will describe a step-by-step method for installing this application stack on your system. You can then verify the installation by using a few URLs. You can also go through the uninstall process that will help you in uninstalling the software if the need arises. The commands and procedures described in this article have been run on an Ubuntu 18.04 LTS system. Installing XAMPP on Ubuntu 18.04 Please follow the following steps in order to download, install and configure XAMPP on your system: 1 Step 1: Download the installation package The first step is to download the XAMPP package for Linux from the official Apache Friends website: https://www.apachefriends.org/index.html Click on the XAMPP for Linux option after which you will be prompted to Run the package or Save it to your system. We recommend downloading the package by clicking the Save File option. After which, your downloaded file will be saved to the Downloads folder by default. 2 Step 2: Make the installation package executable We will install the package through the Ubuntu command line, The Terminal.
    [Show full text]
  • Installation of Wordpress System Requirements for Wordpress
    ITEC321 - Administering Web-based Content Management System Installation of WordPress System requirements for WordPress Database: MySQL 5.0 + Web Server : WAMP (Windows) , LAMP (Linux), XAMP (Multi-platform), MAMP (Macintosh), Operating System − Cross-platform Browser Support : IE (Internet Explorer 8+), Firefox, Google chrome, Safari, Opera PHP Compatibility: PHP 5.2+ How to Install WordPress on your Windows Computer Using WAMP Step 1. Installing WAMP on Windows Computer First, you need to download the WAMP software and install it on your computer. Simply go to the WampServer website and click on the ‘Start Using WampServer’ button. http://www.wampserver.com/en/ It will take you to the downloads section. You’ll see two versions here: WampServer 32 bits and WampServer 64 bits. You need to select the WampServer version that matches the operating system type of your Windows computer. To find out whether you are using 32 or 64-bit operating system, go to Control Panel » System and Security » System in your computer. There you will be able to see your operating system type. Once downloaded, you can click on the wampserver execution file to run the installation. Make sure that you carefully follow the instructions on the installation screen. During the installation process, you need to define the location for the web browser. By default, it will be Internet Explorer. You can change that to Google Chrome or any other web browser by locating it in the Program Files of your computer. Once installed, you can launch the WampServer to continue. Step 2. Setting Up a Database for Local WordPress Setup Next thing you need to do is to create a blank MySQL database.
    [Show full text]
  • Filecloud Server Version 20.2 Upgrading Filecloud Filecloud Server Version 20.2 Upgrading Filecloud
    FileCloud Server Version 20.2 Upgrading FileCloud FileCloud Server Version 20.2 Upgrading FileCloud Copyright Notice © 2020 CodeLathe Technologies, Inc. All rights reserved. No reproduction without written permission. While all reasonable care has been taken in the preparation of this document, no liability is accepted by the authors, CodeLathe Technologies, Inc., for any errors, omissions or misstatements it may contain, or for any loss or damage, howsoever occasioned, to any person relying on any statement or omission in this document. Any questions regarding this document should be forwarded to: CodeLathe Technologies, Inc. 13785 Research Blvd, Suite 125 Austin TX 78750, USA Phone: U.S: +1 (888) 571-6480 Fax: +1 (866) 824-9584 Email: [email protected] 1. Upgrade FileCloud . 4 1.1 Upgrade using Admin Portal . 6 1.2 Upgrade using Update Tool (Windows Only) . 9 1.3 Release Notifications . 13 1.4 Backup FileCloud Before Upgrading . 14 1.5 Manually Updating Windows . 15 1.6 Run the LINUX Upgrade Script . 19 Upgrade FileCloud The ability for an administrator to be notified by email if a new update or upgrade can be installed is available in FileCloud Server version 18.2 and later. Administrators must keep FileCloud Server up-to-date with the latest version to take advantage of the new features, enhancements, and fixes for issues found in previous versions. How do I know if an upgrade is available? CodeLathe will always inform customers when a new upgrade is available. When you log on to the Admin Portal, the Admin Dashboard will also alert you to the fact that you can install an update.
    [Show full text]
  • How to Install XAMPP on Windows – a Complete Guide Like
    Web Development Resources HOME ABOUT CONTACT Like Us Home » XAMPP Tutorial » How To Install XAMPP On Windows – A Complete Guide Like Follow How To Install XAMPP On Windows – A Complete Guide Agus Prawoto Hadi Update: May 16, 2016 Newsletter Great information Hey, today we’ll discuss in more detail about how to install from XAMPP on Windows, this article is quite long, but sure that it webdevzoom.com will be useful and could have some valued information if you right to your inbox -sometimes- encounter some conditions similar to what we discussed here. Full Name Table of contents: Email 1 What is XAMPP and what it does? Subscribe 2 Download XAMPP For Windows (Variety of installer le) 3 How to Install XAMPP on Windows 4 How to Run XAMPP on Windows 5 How to Change XAMPP Directory What is XAMPP and what it does? Before discussing how to install xampp on windows, let us know what xampp is. According to Wikipedia, XAMPP stands for Cross-Platform (X), Apache (A), MariaDB (M), PHP (P) and Interesting Perl (P), from that term -as you suggest- we know that this Posts software consists: 1 Apache Web Server that is used to run the PHP Create program. Login Form 2 PHP. Using HTML5 and 3 MariaDB (previously using MySQL), which is used as CSS3 – Clean and a database. MariaDB is an open source database Responsive that is a “duplication” of MySQL. 10 Clean Perl, as in additional options, if we want to do 4 HTML programming Perl. Table Design Using CSS 3 – whereas the cross-platform itself means that the software Fresh Design can be used for a variety of operating systems, it supports Windows, Linux, and MacOS.
    [Show full text]
  • Section 1: Server Configuration
    Section 1: Server Configuration 1. Install Apache server (XAMPP). • https://www.apachefriends.org/download.html 2. Run the XAMPP Control Panel as an administrator [right click > Run as administrator]. 3. Click Start on Apache and MySQL. • Make sure any applications that may be using port 80 are terminated [i.e. Skype]. Edited 5/3/2021 4. Download & extract [unzip] the following two files and copy them into C:\xampp\htdocs. • gswebserver.zip • datacollector.zip Copy InsertData.php.POST or InsertData.php.GET to InsertData.php depending on the protocol and PHP version you chose. 5. To make sure the Apache server has installed properly type http://localhost/gswebserver/index.html into a web browser. The page below should be displayed: Edited 5/3/2021 6. Configure the SQL database by pressing the Admin button in XAMPP control panel. • Select test • Set the Name to datacollector • Change the Number of columns to 2 • Click Go 7. Configure the table with the following values: • Row 1: Name = barcode_data, type = TEXT • Row 2: Name = timestamp, type = TIMESTAMP • Click Save Edited 5/3/2021 • To make sure everything installed properly type http://localhost/datacollector/CheckUpdateData.php into a web browser. The page below should be displayed: Section 2: KDC Configuration The following steps demonstrate how to configure the WiFi settings via programming barcodes. The user can also manually enter WiFi settings directly on the scanner by pressing the Menu Button > WiFi Config and using the keypad to type in the settings. The Port and Server page should be set to the following: • PORT #: 80(HTTP) if SSL is Disabled OR 443(HTTPS) if SSL is Enabled • SERVER PAGE: /datacollector/InsertData.php?data= The user will enter their own AP SSID, AP Passcode, and IP Address.
    [Show full text]
  • PHP – a Review Ipsita Vashista Dronacharya College of Engineering
    © November 2015 | IJIRT | Volume 2 Issue 6 | ISSN: 2349-6002 PHP – A Review Ipsita Vashista Dronacharya College of Engineering Abstract—PHP is a server-side scripting language were chosen to improve the distribution of hash designed for web development but also used as values. a general-purpose programming language. II. PHP 3 and 4 Originally PHP stood for Personal Home Page, but Zeev Suraski and Andi Gutmans rewrote the parser in now it stands for PHP: Hypertext Preprocessor, 1997 and formed the base of PHP 3, changing the which is a recursive backronym. PHP code can be language's name to the recursive acronym PHP: simply mixed with HTML code, or it can be used in Hypertext Preprocessors. Afterwards, public testing of combination with various templating PHP 3 began, and the official launch came in June engines and web frameworks. PHP code can 1998. Suraski and Gutmans then started a generate a web page's HTML code, an image, or new rewrite of PHP's core, producing the Zend some other data. PHP has also evolved to include Engine in 1999. They also founded Zend a command-line interface (CLI) capability and can Technologies in Ramat Gan, Israel. be used in standalone graphical applications. On May 22, 2000, PHP 4, powered by the Zend Engine Index Terms—PHP 3, PHP 4, PHP5, WAMP, 1.0, was released.] As of August 2008 this branch XAMPP reached version 4.4.9. PHP 4 is no longer under development nor will any security updates be released. I. INTRODUCTION III. PHP 5 PHP development began in 1994 when Rasmus On July 13, 2004, PHP 5 was released, powered by the Lerdorf wrote a series of Interface Common Gateway new Zend Engine II PHP 5 included new features such (CGI) binaries in C which he used to maintain as improved support for object-oriented programming, his personal homepage.
    [Show full text]