Versionsunterschiede von Test Server
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 | === |
12 | Install Apache on openSUSE using the following command. |
13 | %% sudo zypper in |
14 | |
15 | By default, Apache will not automatically start after installation. You can start it with: |
16 | %% s |
17 | |
18 | Check its status: |
19 | %% s |
20 | file:apache2_activerunning.png |
21 | We can see from the screenshot that Apache is running and auto start enabled. |
22 | |
… | … |
27 | %% Server version: Apache/2.4.57 (Linux/SUSE) |
28 | Server built: 2023-04-07 13:20:25.000000000 +0000 %% |
29 | |
30 | Now change into DocumentRoot, |
31 | |
32 | %% cd /srv/www/htdocs/%% |
33 | |
34 | create index.html file and put the following text into the file. |
35 | %% echo -e '<html>\n<html>\n\t<body>\n\t\t<h1>It Works!</h1>\n\t</body>\n</html>' > index.html%% |
36 | |
37 | Then in your browserâs address bar, type the IP address |
38 | |
39 | file:apache2_works.png |
40 | |
41 | ===Local Testserver Configuration=== |
42 | Configuring Apache manually involves editing plain text configuration files as user root. |
43 | |
44 | And enable auto start at boot time with: |
45 | %% sudo systemctl enable apache2 %% |
46 | |
… | … |
59 | https://en.opensuse.org/SDB:LAMP_setup |
60 | |
61 | |
62 | ---- |
63 | 1.3.Step 3: Start |
64 | 1.4.Step 4: Test |
65 | 1.5.A matter of security (A MUST READ!) |
66 | 1.6.Advanced start and stop parameters |
67 | 1.7.What is where? |
68 | 1.8.Setting SQL_MODE |
69 | 1.9.Enable GD and Intl extension on Windows |
70 | 1.10.Stopping XAMPP |
71 | 1.11.Uninstall |
72 | 1.12.Enable or Disable Mode Rewrite |
73 | 1.13.Setting Up Virtual Hosts |
74 | 1.14.Create a symbolic link to htdocs |
75 | 1.15.Create a shortcut link to manager-linux-x64.run |
76 |