Versionsunterschiede von Test Server




← Vorherige Änderung
Nächste Änderung →




1 ==OpenSuse ==
2 {{toc}}
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.
5
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))
8
9 %% sudo zypper update %%
10
11 ====Step 2: Install Apache Web Server=2.1 Download and Install Apache 2===
12 Install ApacheDownload and install Apache2 on openSUSE using the following command.
13 %% sudo zypper install apache2 %%
14
15 === 2.2 Start Apache2====
16 By default, Apache will not automatically start after installation. You can start it with:
17 %% systemctl start apache2.service %%
18
21 file:apache2_activerunning.png
22 We can see from the screenshot that Apache is running and auto start enabled.
23
24 If you want your webserver to start at boot time permanently:
25 %% sudo systemctl enable apache2 %%
26
27 ===2.3 Test ===
28 Check Apache version:
29
30 %% sudo httpd -v %%
44 file:apache2_works.png
45
46 ===Local Testserver Configuration===
47 Configuring Apache manually involves editing plain text configuration files as user root.
48
49
50
51
52 https://wackowiki.org/doc/Org/Tools/Hosting/TestServer/SettingUpVirtualHosts
63 https://en.opensuse.org/SDB:LAMP_setup
64
65
66 ----
67 1.3.Step 3: Start
68 1.4.Step 4: Test
69 1.5.A matter of security (A MUST READ!)
70 1.6.Advanced start and stop parameters
71 1.7.What is where?
72 1.8.Setting SQL_MODE
73 1.9.Enable GD and Intl extension on Windows
74 1.10.Stopping XAMPP
75 1.11.Uninstall
76 1.12.Enable or Disable Mode Rewrite
77 1.13.Setting Up Virtual Hosts
78 1.14.Create a symbolic link to htdocs
79 1.15.Create a shortcut link to manager-linux-x64.run
80