amp-web-push-widget button.amp-subscribe { display: inline-flex; align-items: center; border-radius: 5px; border: 0; box-sizing: border-box; margin: 0; padding: 10px 15px; cursor: pointer; outline: none; font-size: 15px; font-weight: 500; background: #4A90E2; margin-top: 7px; color: white; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.5); -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .amp-logo amp-img{width:190px} .amp-menu input{display:none;}.amp-menu li.menu-item-has-children ul{display:none;}.amp-menu li{position:relative;display:block;}.amp-menu > li a{display:block;} /* Inline styles */ div.acss138d7{clear:both;}div.acssf5b84{--relposth-columns:3;--relposth-columns_m:2;--relposth-columns_t:2;}div.acss94333{aspect-ratio:1/1;background:transparent url(https://debianpolska.pl/wp-content/uploads/2024/12/disk-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss6bdea{color:#333333;font-family:Arial;font-size:12px;height:75px;}div.acss71939{aspect-ratio:1/1;background:transparent url(https://debianpolska.pl/wp-content/uploads/2022/05/strefa_czasowa-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss2f159{aspect-ratio:1/1;background:transparent url(https://debianpolska.pl/wp-content/uploads/2022/07/mc-150x150.png) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss9fd6b{aspect-ratio:1/1;background:transparent url(https://debianpolska.pl/wp-content/uploads/2022/02/rootkit-hunter-150x150.png) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acssc6cc6{aspect-ratio:1/1;background:transparent url(https://debianpolska.pl/wp-content/uploads/2022/07/Instalacja-Microsoft-Teams-Debian-11-150x150.png) no-repeat scroll 0% 0%;height:150px;max-width:150px;} .icon-widgets:before {content: "\e1bd";}.icon-search:before {content: "\e8b6";}.icon-shopping-cart:after {content: "\e8cc";}

Installing Laravel on servers with DirectAdmin panel

Installing Laravel on servers with DirectAdmin panel:
Below is a very simple way to install on our servers with a directadmin panel.
System update and installation of necessary components:
Almalinux

dnf update
dnf install git curl

About WordPress

apt-get update
apt-get install git curl

The next step is to download and transfer composer

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

Laravel – Installation

We add the domain in the directadmin panel and log in to SSH and delete everything in the public_html directory, i.e. all the default DA files.

Example for the domain domain.pl

rm -rf /home/admin/domains/domena.pl/public_html/*

then we go to this directory:

cd /home/admin/domains/domena.pl/public_html/

to install Laravel we execute the command:

composer create-project --prefer-dist laravel/laravel

The next step is to assign user permissions

chown -R admin:admin /home/admin/domains/domena.pl/public_html/

We need to edit the default root of the web server and change it from public_html to public as per Laravel requirements.

We log in to da and go to the administrator level to the tab:
Our own HTTPD configurations and we choose our domain.

We set up docroot by pasting the path to our public directory

|?DOCROOT=/home/admin/domains/domena.pl/public_html/public|
We write it down and that's it ?

About WordPress

Najnowsze wpisy

Checking disk speed with the DD command

Poniższy poradnik opisuje jak w bardzo szybki sposób za pomocą polecenia dd sprawdzimy szybkość naszego

3 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

10 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. Recommendation…

10 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

1 year 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