We select Yes and click enter, Knowledge Center about Ubuntu and Debian, MySql, We select Yes and click enter 11

We select Yes and click enter, MySql, MySql.

MySql.

MySql:

apt-get install apache2 apache2-utils -y

We check the Apache version with the command:
apache2 -v

Server version: Apache/2.4.53 (Debian)
Server built: 2022-03-14T16:28:35

MySql:

systemctl start apache2

systemctl enable apache2

MySql

MySql

MySql:

apt-get install curl software-properties-common gnupg2

MySql

curl -LsS -O https://downloads.mariadb.com/MariaDB/mariadb_repo_setup
apt install mariadb-server mariadb-client

MySql:

systemctl start mariadb

systemctl enable mariadb

MySql:
systemctl status mariadb

MySql:

We issue a command in the console:
mysql_secure_installation

We issue a command in the console:

We issue a command in the console, We issue a command in the console.

We issue a command in the console

mysql -u root -p

We issue a command in the console.

We issue a command in the console, MariaDB will say goodbye to us nicely 😉

We issue a command in the console:

apt install php libapache2-mod-php php-cli php-fpm php-json php-pdo php-mysql php-zip php-gd php-mbstring php-curl php-xml php-pear php-bcmath

We issue a command in the console:

php -v
We issue a command in the console:

PHP 7.4.28 (cli) (built: Feb 17 2022 16:17:19) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.28, Copyright (c), by Zend Technologies

The last steps are to create our domain vhost and install PhpMyAdmin.

The last steps are to create our domain vhost and install PhpMyAdmin! The last steps are to create our domain vhost and install PhpMyAdmin!

The last steps are to create our domain vhost and install PhpMyAdmin:

mkdir /var/www/html/domena.pl

And it's practically over:

chown -R www-data:www-data /var/www/html/domena.pl

The last steps are to create our domain vhost and install PhpMyAdmin:
nano /etc/apache2/sites-available/domena.pl.conf

The last steps are to create our domain vhost and install PhpMyAdmin:
ServerAdmin webmaster@localhost
ServerName domena.pl
DocumentRoot /var/www/html/domena.pl
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

We give read / write permissions by issuing a command.

The last steps are to create our domain vhost and install PhpMyAdmin:
a2ensite domena.pl.conf

The last steps are to create our domain vhost and install PhpMyAdmin
a2dissite 000-default


The last steps are to create our domain vhost and install PhpMyAdmin:
apache2ctl configtest
The last steps are to create our domain vhost and install PhpMyAdmin:

systemctl reload apache2

The last steps are to create our domain vhost and install PhpMyAdmin

The last steps are to create our domain vhost and install PhpMyAdmin:

apt-get install phpmyadmin

The last steps are to create our domain vhost and install PhpMyAdmin.

1. The last steps are to create our domain vhost and install PhpMyAdmin.

2. The last steps are to create our domain vhost and install PhpMyAdmin

3. The last steps are to create our domain vhost and install PhpMyAdmin

4. We select Yes and click enter (We select Yes and click enter) We select Yes and click enter

5. We select Yes and click enter.

We select Yes and click enter:

We select Yes and click enter.

We select Yes and click enter:

About WordPress

Zobacz komentarze

Najnowsze wpisy

Installing Laravel on servers with DirectAdmin panel

Installing Laravel on servers with DirectAdmin panel: poniżej bardzo prosty sposób na instalację na naszych

6 months temu

Deletes all .listing files in a given folder and subfolders

Below is a very simple trick to delete all .listing files from directories and their subdirectories. użyjemy

7 months temu

Checking the temperature of raspberry pi

The guide below shows how to check the temperature in the Raspberry Pi in just a few seconds. Polecenie

7 months temu

Full Debian Installation 12 For beginners

Today we will introduce you to the first tutorial on how to install Debian. We will show you throughout the series, w jaki sposób

11 months temu

Checking the operating frequency of the Raspberry PI CPU

The following method describes a very simple way to check the operation of the CPU frequency of our Raspberry PI. Całość

1 year temu

Recursive change of file permissions on Debian

Recursive change of file permissions Go to the directory for which we want to change permissions (np public_html)…

1 year temu