Versionsunterschiede von Test Server




← Vorherige Änderung
Nächste Änderung →

hinzugefĂźgt:

OpenSuse


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.

1. Update your System

Before installing any software, it’s always a good idea to update repository and software packages e.g. with zypper

2.1 Download and Install Apache 2

Download and install Apache2 on openSUSE using the following command.
 sudo zypper in apache2	

2.2 Start Apache2

 systemctl start apache2.service	

 sudo systemctl status apache2	

2.3 Test

Server built: 2023-04-07 13:20:25.000000000 +0000
Now change into DocumentRoot,	
cd /srv/www/htdocs/
create index.html file and put the following text into the file.	
echo -e '<html>\n<html>\n\t<body>\n\t\t<h1>It Works!</h1>\n\t</body>\n</html>' > index.html%%
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.

Configuring Apache manually involves editing plain text configuration files as user root.

1.3.Step 3: Start
1.4.Step 4: Test
1.5.A matter of security (A MUST READ!)
1.6.Advanced start and stop parameters
1.7.What is where?
1.8.Setting SQL_MODE
1.9.Enable GD and Intl extension on Windows
1.10.Stopping XAMPP
1.11.Uninstall
1.12.Enable or Disable Mode Rewrite
1.13.Setting Up Virtual Hosts
1.14.Create a symbolic link to htdocs
1.15.Create a shortcut link to manager-linux-x64.run

entfernt:

OpenSuse

Installing

In this tutorial, we’re going to look at how to install Apache, MariaDB, PHP7 (LAMP stack) with phpMyAdmin on openSUSE Leap 15.1.
https://www.linuxbabe.com/open[...]7-lamp-opensuse-leap
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.

Step 1: Update Software

Before installing any software, it’s always a good idea to update repository and software packages.

Step 2: Install Apache Web Server

Install Apache on openSUSE using the following command.
 sudo zypper install apache2	

 sudo systemctl start apache2	

 systemctl status apache2	

Server built: 2023-04-07 13:20:25.000000000 +0000 %%