There was a problem loading the comments.

Install web server, web hosting and VIMP on openSUSE Leap 15.2

Support Portal  »  Knowledgebase (FAQ)  »  Viewing Article

Editions: Light, Ultimate (Standard), Ultimate (Extended), Corporate Enterprise, Corporate Campus
Versions: from 4.3

In this article we install all server software (Apache, MySQL, PHP, Postfix etc.) for VIMP and configure the web hosting. We assume in the following that you are logged as in as 'root'.


First we install some basic packages. Already existing packages will be updated or remain untouched:

zypper refresh
zypper install apache2 mariadb mariadb-client mariadb-tools apache2-mod_php7 php7 php7-gd php7-mysql php7-cli php7-xsl php7-curl php7-json php7-mbstring php7-zip php7-xmlrpc php7-imagick php7-openssl php7-fileinfo nano time


Transcoding tools

We install the trancsoding tools according to this instruction.


Mail Transport Agent

As MTA (Mail Transport Agent) we take Postfix. Other MTAs like Sendmail and Exim can of course be used, too. Make sure that the MTA is configured to allow PHP to send emails.

zypper refresh
zypper install postfix


Apache configuration

We create a VirtualHost for VIMP as follows:


nano /etc/apache2/vhosts.d/vimp.conf

<VirtualHost *:80>
        ServerAdmin webmaster@localhost

        # for VIMP we adapt the DocumentRoot:
        DocumentRoot /srv/www/htdocs/web
        # for VIMP we add the following two blocks:
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        <Directory /svr/www/htdocs/web/>
                Options -Indexes +FollowSymLinks
                AllowOverride All
                Require all granted
        # for VIMP no other adaptions are required

        ErrorLog /var/log/apache2/error.log
        CustomLog/var/log/apache2/access.log combined


Now create the directory to the DocumentRoot and deactive the Apache module "rewrite":

mkdir /srv/www/htdocs/web
cd ..
chown -R wwwrun:www .
a2enmod rewrite

We restart the Apache later so that the new configuration is imported.


Configure PHP

There are two php.ini files of interest to us. One is for the Apache PHP module, the other is for the php-cli (cli=command line interface).


We edit the php.ini for the Apache module first:


nano /etc/php7/apache2/php.ini

and adapt the following lines as:

upload_max_filesize = 2048M
post_max_size = 2048M
register_argc_argv On
memory_limit = 1024M
max_execution_time = 60
max_input_time = 120

Save the file again, then activate the PHP Apache module and restart Apache:

a2enmod php7
service apache2 restart

We do the same with php.ini for php.cli. A restart of Apache is not necessary afterwards.

nano /etc/php7/cli/php.ini


Create database and database user:

service mysql start

The MySQL client responds with the MariaDB> prompt:

MariaDB> create database DATABASE-NAME default character set utf8 collate utf8_unicode_ci;
MariaDB> grant all privileges on DATABASE.* to 'DATABASE-USER'@'localhost' identified by 'PASSWORD';
MariaDB> flush privileges;
MariaDB> exit;


After the preparation install VIMP

If you install VIMP Light, VIMP Ultimate [Standard], VIMP Corporate Campus or VIMP Corporate Enterprise, you have to install the SourceGuardian PHP extension at this point. Instruction can be found here.

Upload and installation of the VIMP installer is described in this article.


Basic usage

The installation is now complete. Now access your portal in the browser.

During the installation, three users are created, representing the three user roles:

  • "admin" (password: "admin") as administrator
  • "moderator" (password: "moderator") as moderator
  • "user" (password: "user") as default user

Please change all passwords as soon as possible. If you do not need the users anymore, you can delete them in the admin area.

Share via

Related Articles