XAMPP Installation

Submitted by rnsrk on Thu, 09/23/2021 - 07:57

XAMPP is a free Apache distribution containing MariaDB, PHP, and Perl and suitable for test environments.

XAMPP should not be used as a productive environment for security reasons. In addition to that, it really lacks performance, so only use it for testing or very small instances.

XAMPP is most suitable for Windows and MacOS users and for testing or development environments. Have in mind, that there are more appropriate install options for Linux users.

Installation

Visit apachefriends.org and select the installer for your operating system and follow the instructions.

For Windows-Users:

Install XAMPP at C:/ to avoid permission problems. You may will be asked to permit access to your networks, please allow this. After the installation, start the XAMPP Control Panel.

XAMPP Control Panel

You can start the Apache and MySQL Server by clicking the Start button. Permit access to your network again, if necessary. Open phpMyAdmin by clicking Admin. Create a new database by clicking New in the left control panel and enter a name for your drupal-database ... is the SQL database where mainly Drupal stores data; but since WissKI intermediates between Drupal and triple store, it saves some data at the SQL database, too. .

Install Drupal

Now download drupal from drupal.org and save the zip file at your htdocs-directory ... is the place of your webapp files, usually a subdirectory of your XAMPP installation directory, i. e. C:/xampp/htdocs or /opt/xampp. and unzip it. Rename the unzipped folder to drupal. Visit http://localhost/drupal in your browser. Set you language to English and select Standard as your installation profile. You may need to enable some extensions, in this case gd and opcache. To do so, open your XAMPP Control Panel again and click on Config PHP (php.ini) in the Apache row. Change the line ;extension=gd to extension=gd and the line ;zend_extension=opcache to zend_extension=opcache by removing the leading semicolon. Restart the Apache Server by clicking Stop and Start in the Apache Row on the XAMPP Control Panel. Refresh the page by clicking try again at the bottom. Enter the name of your drupal-database ... is the SQL database where mainly Drupal stores data; but since WissKI intermediates between Drupal and triple store, it saves some data at the SQL database, too. as the Database Name and root as the Database username.

Notice that the Database password for root is empty. This is a high security risk on productive environment and only suitable for development or testing server. Be sure to secure your database when you migrate.

On the Configuration site form, enter your website-name ... is your (future) registered second level domain without http://www. like wisski.com - even If you are working on a local machine and want to migrate to a server later. , server-admin-mail ... is the email address of the server admin, i. e. admin@wisski.com. , drupal-user ...is the login-user for your drupal instance, i. e. admin. and drupal-user ...is the login-user for your drupal instance, i. e. admin. -password.

Congratulations, you installed Drupal!

Install WissKI

Now you need to install WissKI. WissKI depends on the Inline Entity Form module, choose the development version and copy the link to the tar.gz-file (right click copy link location). Go back to Manage Extend and click on + Add new module and paste the link in the Add from a URL field. After that, visit WissKI's Drupal project site and copy the link of the latest stable version and add the module as well.

Click on Enable newly added modules and check:

  • WissKI Core
  • WissKI Pathbuilder
  • WissKI Sparql1.1. Adapter with Pathbuilder
  • WissKI Store Abstraction Layer Zero

Click Install.

You've successfully installed WissKI!

WissKI basis configuration

Navigate to Manage Configuration WissKI Configuration (WissKI section) and check Do you want to use only main bundles for display? and Do you want to use views for navigation? at the Miscellaneous settings and click Save.

Then, navigate to Manage Configuration Performance (Development section) and uncheck Aggregate JavaScript files.

Example screencast

Was this reply helpful?
0
0
No votes have been submitted yet.

Need help?