Versionsunterschiede von Test Server




← Vorherige Änderung
Nächste Änderung →




1 1 ==OpenSuse ==
  2 {{toc}}  
2 3
3 4 In this tutorial, you will be guided you trough the steps to install the LAMP Stack or - Linux, Apache, MySQL, and PHP with OpenSUSE Leap 42.x or 15.x or Tumbleweed as the Linux operating system. You will Install apache2 with MariaDB and PHP 8 on your Personal Computer and you will set up a virtual host for your WackoWiki installation.
4 5
5   ====1. Update your System====
6   Before installing any software, it’s always a good idea to update repository and software packages.
  6 ===1. Update your System====
  7 Before installing any software, it’s always a good idea to update repository and software packages e.g. with ((https://software.opensuse.org/search?baseproject=ALL&q=zypper zypper))
7 8
8 9 %% sudo zypper update %%
9 10
10   ===2. Download and Install Apache 2===
11   Install Apache on openSUSE using the following command.
12   %% sudo zypper install apache2 %%
  11 ===2.1 Download and Install Apache 2===
  12 Download and install Apache2 on openSUSE using the following command.
  13 %% sudo zypper in apache2 %%
13 14
  15 === 2.2 Start Apache2====  
14 16 By default, Apache will not automatically start after installation. You can start it with:
15 17 %% systemctl start apache2.service %%
16 18
19 21 file:apache2_activerunning.png
20 22 We can see from the screenshot that Apache is running and auto start enabled.
21 23
  24 And enable auto start at boot time with:  
  25 %% sudo systemctl enable apache2 %%  
  26  
  27 ===2.3 Test ===  
22 28 Check Apache version:
23 29
24 30 %% sudo httpd -v %%
40 46 ===Local Testserver Configuration===
41 47 Configuring Apache manually involves editing plain text configuration files as user root.
42 48
43   And enable auto start at boot time with:
44   %% sudo systemctl enable apache2 %%
  49
45 50
46 51
47 52 https://wackowiki.org/doc/Org/Tools/Hosting/TestServer/SettingUpVirtualHosts