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 | === |
| 7 | Before installing any software, itâs always a good idea to update repository and software packages |
| 8 | |
| 9 | %% sudo zypper update %% |
| 10 | |
| 11 | ===2. |
| 12 | |
| 13 | %% sudo zypper in |
| 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 | Do you want your webserver to always start at boot time? |
| 25 | %% sudo systemctl enable apache2 %% |
| 26 | |
| 27 | ===2.3 Test === |
| 28 | Check Apache version: |
| 29 | |
| 30 | %% sudo httpd -v %% |
| … | … |
| 41 | |
| 42 | Then in your browserâs address bar, type the IP address 127.0.0.1 or localhost in the browser address bar. You should see the âIt works!â Web page which means Apache Web server is running correctly. |
| 43 | |
| 44 | %% http://localhost %% |
| 45 | |
| 46 | file:apache2_works.png |
| 47 | |
| 48 | ===Local Testserver Configuration=== |
| 49 | Configuring Apache manually involves editing plain text configuration files as user root. |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | https://wackowiki.org/doc/Org/Tools/Hosting/TestServer/SettingUpVirtualHosts |