Versionsunterschiede von Test Server
1 |
==OpenSuse |
1 | ==OpenSuse == |
---|---|---|---|
2 | 2 | ||
3 | ===Installing=== | 3 | 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 | In this tutorial, weâre going to look at how to install Apache, MariaDB, PHP7 (LAMP stack) with phpMyAdmin on openSUSE Leap 15.1. | ||
5 | https://www.linuxbabe.com/opensuse/apache-mariadb-php7-lamp-opensuse-leap | ||
6 | 4 | ||
7 | 5 | ====1. Update your System==== | |
8 | In this tutorial, weâre going to look at how to install Apache, MariaDB, PHP8 (LAMP stack) with phpMyAdmin on openSUSE Leap 15.4 / Tumbleweed. | ||
9 | |||
10 | ====Step 1: Update Software==== | ||
11 | Before installing any software, itâs always a good idea to update repository and software packages. | 6 | Before installing any software, itâs always a good idea to update repository and software packages. |
12 | 7 | ||
13 | %% sudo zypper update %% | 8 | %% sudo zypper update %% |
14 | 9 | ||
15 |
=== |
10 | ===2. Download and Install Apache 2=== |
16 | Install Apache on openSUSE using the following command. | 11 | Install Apache on openSUSE using the following command. |
17 | %% sudo zypper install apache2 %% | 12 | %% sudo zypper install apache2 %% |
18 | 13 | ||
… | … | … | … |
20 | %% systemctl start apache2.service %% | 15 | %% systemctl start apache2.service %% |
21 | 16 | ||
22 | Check its status: | 17 | Check its status: |
23 |
%% s |
18 | %% sudo systemctl status apache2 %% |
24 | file:apache2_activerunning.png | 19 | file:apache2_activerunning.png |
25 | We can see from the screenshot that Apache is running and auto start enabled. | 20 | We can see from the screenshot that Apache is running and auto start enabled. |
26 | 21 | ||
… | … | … | … |
36 | %% cd /srv/www/htdocs/%% | 31 | %% cd /srv/www/htdocs/%% |
37 | 32 | ||
38 | create index.html file and put the following text into the file. | 33 | create index.html file and put the following text into the file. |
39 |
%% echo -e '<html>\n<html>\n\t<body>\n\t\t<h1> |
34 | %% echo -e '<html>\n<html>\n\t<body>\n\t\t<h1>It Works!</h1>\n\t</body>\n</html>' > index.html%% |
40 | 35 | ||
36 | 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. | ||
41 | 37 | ||
42 | Then in your browserâs address bar, type the IP address of openSUSE Leap 15.1. You should see the âIt works!â Web page which means Apache Web server is running correctly. | 38 | file:apache2_works.png |
43 | |||
44 | If you are installing LAMP on your local openSUSE Leap 15.1 machine, just type 127.0.0.1 or localhost in the browser address bar. | ||
45 | |||
46 | |||
47 | 39 | ||
48 | ===Local Testserver Configuration=== | 40 | ===Local Testserver Configuration=== |
41 | Configuring Apache manually involves editing plain text configuration files as user root. | ||
42 | |||
49 | And enable auto start at boot time with: | 43 | And enable auto start at boot time with: |
50 | %% sudo systemctl enable apache2 %% | 44 | %% sudo systemctl enable apache2 %% |
51 | 45 | ||
… | … | … | … |
64 | https://en.opensuse.org/SDB:LAMP_setup | 58 | https://en.opensuse.org/SDB:LAMP_setup |
65 | 59 | ||
66 | 60 | ||
61 | ---- | ||
62 | 1.3.Step 3: Start | ||
63 | 1.4.Step 4: Test | ||
64 | 1.5.A matter of security (A MUST READ!) | ||
65 | 1.6.Advanced start and stop parameters | ||
66 | 1.7.What is where? | ||
67 | 1.8.Setting SQL_MODE | ||
68 | 1.9.Enable GD and Intl extension on Windows | ||
69 | 1.10.Stopping XAMPP | ||
70 | 1.11.Uninstall | ||
71 | 1.12.Enable or Disable Mode Rewrite | ||
72 | 1.13.Setting Up Virtual Hosts | ||
73 | 1.14.Create a symbolic link to htdocs | ||
74 | 1.15.Create a shortcut link to manager-linux-x64.run | ||
67 | 75 | ||
68 |
|