After installing the NGINX server, NGINX is directed to the folder /usr/share/nginx/html Let's change this path. I want my site example.com to be in a folder var/www/ Сreate a example.com folder mkdir /var/www/example.com Set folder permissions 755 chmod 755 /var/www/example.com 755 ( drwxr-xr-x ) everyone can read this directory, but only the owner can change its contents Create a new file index.php in the folder example.com touch...
Day: 10.01.2025
Install the packages required to connect the apt repository sudo apt install curl gnupg2 ca-certificates lsb-release debian-archive-keyring Now you need to import the official key that apt uses to authenticate packages. Download the key curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor \ | sudo tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null Check if the correct key was loaded: gpg --dry-run...
Install PHP 8.3 on Debian 12 apt update && apt install -y wget gnupg2 lsb-release wget https://packages.sury.org/php/apt.gpg && apt-key add apt.gpg echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/php.list apt install -y php8.3 After installation check php version php -v Install PHP-FPM and Extensions If you also want to install additional modules, then first...
To disable IBus you need to write in the terminal sudo dpkg-divert --package im-config --rename /usr/bin/ibus-daemon After this you need to reboot your computer To turn it back on IBus you need to write in the terminal sudo dpkg-divert --package im-config --rename --remove /usr/bin/ibus-daemon