Videos de Linux

Sorry, some part of this feed is currently unavailable or does not exist anymore. The detailed error is

A feed could not be found at `https://linuxscoop.com/feed`. This does not appear to be a valid RSS or Atom feed.

    No hay contenido

Linux Scoop https://linuxscoop.com Linux and Open Source Software Videos Sharing Sat, 19 Dec 2020 10:19:03 +0000 en-US hourly 1 https://wordpress.org/?v=5.6.2 https://i1.wp.com/linuxscoop.com/wp-content/uploads/2016/05/cropped-favicon.png?fit=32%2C32&ssl=1 Linux Scoop https://linuxscoop.com 32 32 85469811 MX Linux 19.2 KDE – Features KDE Plasma 5.14 and Based On Debian 10.4 https://linuxscoop.com/video/mx-linux-192-kde https://linuxscoop.com/video/mx-linux-192-kde#respond Sat, 19 Dec 2020 10:19:03 +0000 https://linuxscoop.com/?post_type=video&p=2933 The MX Linux team has been released and announced the second point release of its MX Linux 19 “Patito Feo” series with KDE Plasma desktop environment edition for the first time. MX Linux 19.2 KDE edition ship with KDE Plasma 5.14.5 on top of Debian 10 “buster”, refreshes its new 64-bit ISO edition, AHS (Advanced […]

The post MX Linux 19.2 KDE – Features KDE Plasma 5.14 and Based On Debian 10.4 appeared first on Linux Scoop.

]]>
The MX Linux team has been released and announced the second point release of its MX Linux 19 “Patito Feo” series with KDE Plasma desktop environment edition for the first time.

MX Linux 19.2 KDE edition ship with KDE Plasma 5.14.5 on top of Debian 10 “buster”, refreshes its new 64-bit ISO edition, AHS (Advanced Hardware Support) which featured first in the previous MX-19.1 release. It comes with the latest Debian kernel 5.6, Mesa 20, and an updated firmware package.

MX Linux 19.2 KDE also includes the usual MX tools, antiX-live-USB-system, and snapshot technology that our users have come to expect from our standard flagship Xfce releases. Adding KDE/plasma to the existing Xfce/MX-Fluxbox desktops will provide for a wider range of user needs and wants.

Download MX Linux 19.2:
Direct : https://sourceforge.net/projects/mx-linux/Final
mirror : https://mxlinux.org/wiki/system/iso-download-mirrors/
Torrent: https://mxlinux.org/torrent-files/

The post MX Linux 19.2 KDE – Features KDE Plasma 5.14 and Based On Debian 10.4 appeared first on Linux Scoop.

]]>
https://linuxscoop.com/video/mx-linux-192-kde/feed 0 2933
How to Make KDE Plasma Desktop Look Like Chrome OS https://linuxscoop.com/video/kde-plasma-look-like-chrome-os https://linuxscoop.com/video/kde-plasma-look-like-chrome-os#respond Sat, 19 Dec 2020 10:00:07 +0000 https://linuxscoop.com/?post_type=video&p=2924 This video shown step by step how to customize KDE Plasma Desktop Look Like macOS Big Sur. In this video, I use Manjaro KDE Edition for implementing the theme look like Chrome OS. This tutorial also works on Linux Distribution which using KDE Plasma Desktop such as KDE neon, Kubuntu, OpenSUSE, KaOS, Netrunner, Chakra, Debian […]

The post How to Make KDE Plasma Desktop Look Like Chrome OS appeared first on Linux Scoop.

]]>
This video shown step by step how to customize KDE Plasma Desktop Look Like macOS Big Sur. In this video, I use Manjaro KDE Edition for implementing the theme look like Chrome OS.

This tutorial also works on Linux Distribution which using KDE Plasma Desktop such as KDE neon, Kubuntu, OpenSUSE, KaOS, Netrunner, Chakra, Debian KDE flavor, Fedora KDE Spin, Arch with KDE plasma.

Install Global Theme – Chrome OS KDE

https://github.com/vinceliuice/ChromeOS-kde.git

Install Tela Icon Theme

https://github.com/vinceliuice/Tela-icon-theme.git

Install Cursor Theme

https://www.pling.com/p/1355701/

Install And Configure Kvantum Manager

Manjaro/Arch :

sudo pacman S kvantum-qt5

Ubuntu/Debian :

sudo add-apt-repository ppa:papirus/papirus
sudo apt-get update
sudo apt install qt5-style-kvantum

OpenSUSE:

sudo zypper in kvantum

Fedora :

sudo dnf install kvantum

Kvantum theme: chrome os

https://www.pling.com/p/1354051

Install Plasmoids Widget

  • Latte Spacer
  • Latte Separator
  • Shutdown and switch
  • Virtual Desktop Bar
  • Launchpad plasma menu

Install and configure latte dock

Latte Layout: https://github.com/nopain2110/Chrome-OS-kde

 

The post How to Make KDE Plasma Desktop Look Like Chrome OS appeared first on Linux Scoop.

]]>
https://linuxscoop.com/video/kde-plasma-look-like-chrome-os/feed 0 2924
Here’s Deepin 20 – See What’s New https://linuxscoop.com/video/deepin-20 https://linuxscoop.com/video/deepin-20#respond Fri, 02 Oct 2020 02:22:54 +0000 https://linuxscoop.com/?post_type=video&p=2918 Deepin Project Team has been released and announcement the latest version of beautiful Linux distribution, Deepin 20. This release powered by stable Debian 10.5 Buster series and supports dual Kernel. That means while installing you get to choose which Kernel you want. Deepin 20 offers you Kernel 5.4 (LTS) and Kernel 5.7 (Stable). This allows […]

The post Here’s Deepin 20 – See What’s New appeared first on Linux Scoop.

]]>
Deepin Project Team has been released and announcement the latest version of beautiful Linux distribution, Deepin 20. This release powered by stable Debian 10.5 Buster series and supports dual Kernel. That means while installing you get to choose which Kernel you want. Deepin 20 offers you Kernel 5.4 (LTS) and Kernel 5.7 (Stable). This allows support of a wide range of hardware, graphics card while improving the stability of your desktop.

Deepin 20 has improvised the design style of Deepin Desktop Environment (DDE) and system installer. To make desktop more user-friendly and good-looking, v20 has introduced ingenious colorful icons, fresh graphics interface, natural and smooth animation effects, unique rounded-corner windows, and an exquisite multitask view.

Deepin 20 also support for a variety of fingerprint readers and features to deliver clear and accurate fingerprint recognition. You can use your fingerprint in Deepin Linux for several purposes such as unlocking, logging in, verifying identity, and getting root permissions.

Deepin comes with its own set of applications developed via the Deepin Tool Kit using Qt and C++. This application covers a wide area of system functionality. The Deepin 20 App Store improved to give you one-click update, app filtering based on functionality such as Chat, Video, etc. This makes it a more productive app management app.

Download Deepin 20 : https://www.deepin.org/en/download

The post Here’s Deepin 20 – See What’s New appeared first on Linux Scoop.

]]>
https://linuxscoop.com/video/deepin-20/feed 0 2918
How to Customize Your Xfce Desktop Look Like MacOS Big Sur https://linuxscoop.com/video/xfce-macos-big-sur https://linuxscoop.com/video/xfce-macos-big-sur#respond Fri, 11 Sep 2020 02:44:31 +0000 https://linuxscoop.com/?post_type=video&p=2914 This video shown step by step how to customize Xfce Desktop Look Like MacOS Big Sur. In this video, I use Manjaro Xfce Edition for implementing the theme look like mac big sur. This tutorial also work on Linux Distribution which using Xfce Desktop such as Xubuntu, Linux Mint Xfce Editon, MX Linux Xfce, Zorin […]

The post How to Customize Your Xfce Desktop Look Like MacOS Big Sur appeared first on Linux Scoop.

]]>
This video shown step by step how to customize Xfce Desktop Look Like MacOS Big Sur. In this video, I use Manjaro Xfce Edition for implementing the theme look like mac big sur. This tutorial also work on Linux Distribution which using Xfce Desktop such as Xubuntu, Linux Mint Xfce Editon, MX Linux Xfce, Zorin OS Lite, Linux Lite, ArcoLinux, EndeavourOS OS, Debian with Xfce Desktop and Arch with Xfce Desktop.

The post How to Customize Your Xfce Desktop Look Like MacOS Big Sur appeared first on Linux Scoop.

]]>
https://linuxscoop.com/video/xfce-macos-big-sur/feed 0 2914
Linux Mint 20 Cinnamon Edition – Based on Ubuntu 20.04 LTS and Features Cinnamon 4.6 https://linuxscoop.com/video/linux-mint-20-cinnamon-edition https://linuxscoop.com/video/linux-mint-20-cinnamon-edition#respond Tue, 25 Aug 2020 02:13:41 +0000 https://linuxscoop.com/?post_type=video&p=2910 Linux Mint Team has been released and announced the latest long-term support (LTS) version of its popular desktop Linux desktop, Linux Mint 20, “Ulyana.” This edition, based on Canonical’s Ubuntu 20.04 LTS (Focal Fossa) operating system. Linux Mint 20 offers users long-term support with security updates until 2025, improved support for Nvidia GPUs and Nvidia […]

The post Linux Mint 20 Cinnamon Edition – Based on Ubuntu 20.04 LTS and Features Cinnamon 4.6 appeared first on Linux Scoop.

]]>
Linux Mint Team has been released and announced the latest long-term support (LTS) version of its popular desktop Linux desktop, Linux Mint 20, “Ulyana.” This edition, based on Canonical’s Ubuntu 20.04 LTS (Focal Fossa) operating system.

Linux Mint 20 offers users long-term support with security updates until 2025, improved support for Nvidia GPUs and Nvidia Optimus, /home directory encryption, and a new file sharing app with an encryption called Warpinator.

Also, features better resolution in VirtualBox, improvements to the system tray icons with HiDPI support, improvements to the Mint-Y theme on all editions, enablement of APT recommends by default for newly installed packages, Linux kernel 5.4 LTS and a revamped Gdebi tool to make installing of .deb packages easier.

Linux Mint 20 ships with the latest Cinnamon 4.6 which The performance of the Nemo file manager was improved. The new version tries to prioritize content and navigation and to delay thumbnails as much as possible. As a result, the content of directories shows up with generic icons before the thumbnails are rendered, but the improvement in performance is quite noticeable.

In the Display Settings, it is now possible to set the refresh rate. Cinnamon 4.6 also introduces fractional scaling. Until now your scaling was either 100% (normal mode) or 200% (HiDPI mode) and it was the same for all your monitors. With Cinnamon 4.6 each monitor can have a different scaling and it can be set to values between 100% and 200%.

Linux Mint 20 Cinnamon Edition release notes: https://blog.linuxmint.com/?p=3928

Download Linux Mint 20 Cinnamon Edition: https://linuxmint.com/download.php

The post Linux Mint 20 Cinnamon Edition – Based on Ubuntu 20.04 LTS and Features Cinnamon 4.6 appeared first on Linux Scoop.

]]>
https://linuxscoop.com/video/linux-mint-20-cinnamon-edition/feed 0 2910
Transform Your GNOME Desktop Look Like MacOS Big Sur https://linuxscoop.com/video/transform-your-gnome-desktop-look-like-macos-big-sur https://linuxscoop.com/video/transform-your-gnome-desktop-look-like-macos-big-sur#respond Sat, 15 Aug 2020 14:44:55 +0000 https://linuxscoop.com/?post_type=video&p=2907 This video shown step by step how to make GNOME Desktop look like MacOS Big Sur. In this video, I use Ubuntu. This tutorial also works on Linux Distribution that using GNOME Desktop such as Fedora Workstation, OpenSUSE Leap Gnome Edition, Debian With GNOME, Arch with Gnome Desktop. The following is resources that used for […]

The post Transform Your GNOME Desktop Look Like MacOS Big Sur appeared first on Linux Scoop.

]]>
This video shown step by step how to make GNOME Desktop look like MacOS Big Sur. In this video, I use Ubuntu. This tutorial also works on Linux Distribution that using GNOME Desktop such as Fedora Workstation, OpenSUSE Leap Gnome Edition, Debian With GNOME, Arch with Gnome Desktop.

The following is resources that used for making GNOME Desktop Look like MacOS big sur.

Themes :

Icon Theme and Cursor

Install And Configure Cairo-dock

Ubuntu :

sudo apt install cairo-dock

Manjaro/Arch Linux :

sudo pacman -S cairo-dock

Fedora :

sudo dnf install cairo-dock

openSUSE Leap:

sudo zypper install cairo-dock

Theme Cairo Dock : https://www.pling.com/p/1401527/

Command Launchpad Cairo-dock :

dbus-send --session --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:'Main.shellDBusService.ShowApplications();'

Install And Configure Albert-launcher

https://albertlauncher.github.io/docs/installing/

Change Login Screen Background

sudo apt install git libglib2.0-dev

git clone https://github.com/PRATAP-KUMAR/focalgdm3.git

sudo ./focalgdm3/focalgdm3 --set

Change Wallpaper, Lock Screen And Additional Settings

Wallpaper : https://www.pling.com/p/1399346

The post Transform Your GNOME Desktop Look Like MacOS Big Sur appeared first on Linux Scoop.

]]>
https://linuxscoop.com/video/transform-your-gnome-desktop-look-like-macos-big-sur/feed 0 2907
Transform Your KDE Plasma Desktop Look Like Mac OS Big Sur https://linuxscoop.com/video/transform-your-kde-plasma-desktop-look-like-mac-os-big-sur https://linuxscoop.com/video/transform-your-kde-plasma-desktop-look-like-mac-os-big-sur#respond Sat, 25 Jul 2020 05:18:52 +0000 https://linuxscoop.com/?post_type=video&p=2903 This video shown step by step how to make KDE plasma look like Mac OS Big Sur. In this video, I use Manjaro KDE Edition, but this tutorial also works on Linux Distribution that using KDE plasma such as KDE neon, Kubuntu, OpenSUSE, KaOS, Netrunner, Chakra, Debian KDE flavor, Fedora KDE Spin, Arch with KDE […]

The post Transform Your KDE Plasma Desktop Look Like Mac OS Big Sur appeared first on Linux Scoop.

]]>
This video shown step by step how to make KDE plasma look like Mac OS Big Sur. In this video, I use Manjaro KDE Edition, but this tutorial also works on Linux Distribution that using KDE plasma such as KDE neon, Kubuntu, OpenSUSE, KaOS, Netrunner, Chakra, Debian KDE flavor, Fedora KDE Spin, Arch with KDE plasma.

The following is resources that used for making KDE plasma Look like mac os big sur.

Themes :

Icon Theme and Cursors :

Install And Configure Kvantum Manager
Manjaro/Arch :

sudo pacman S kvantum-qt5

Ubuntu/Debian :

sudo add-apt-repository ppa:papirus/papirus
sudo apt-get update
sudo apt install qt5-style-kvantum

OpenSUSE:

sudo zypper in kvantum

Fedora :

sudo dnf install kvantum

Kvantum Theme Big Sur: https://www.pling.com/p/1398841/

Install and Enable Plasma Widgets

  • Application Title
  • Latte Side Bar
  • Latte Spacer
  • Latte Separator
  • Better inline Clock
  • Launchpad Plasma Menu
  • Inline Battery
  • Kpple Menu
  • Media Player Control Plus,
  • Ditto Menu

Install And Configure Latte-Dock

  • Manjaro/Arch Linux :
pamac build latte-dock-git

Wallpaper And Lock/Login Screen

The post Transform Your KDE Plasma Desktop Look Like Mac OS Big Sur appeared first on Linux Scoop.

]]>
https://linuxscoop.com/video/transform-your-kde-plasma-desktop-look-like-mac-os-big-sur/feed 0 2903
What’s New In Ubuntu MATE 20.04 LTS https://linuxscoop.com/video/ubuntu-mate-20-04 https://linuxscoop.com/video/ubuntu-mate-20-04#respond Wed, 01 Jul 2020 14:30:02 +0000 https://linuxscoop.com/?post_type=video&p=2899 The Ubuntu MATE team has been announced and released Ubuntu MATE 20.04 LTS On April 23rd, 2020. Ubuntu MATE 20.04 LTS is the fourth Long Term Support (LTS), It will be supported with security and software updates for 3 years, until April 2023, This release rolls-up various developments, fixes, and optimizations that have been released […]

The post What’s New In Ubuntu MATE 20.04 LTS appeared first on Linux Scoop.

]]>
The Ubuntu MATE team has been announced and released Ubuntu MATE 20.04 LTS On April 23rd, 2020. Ubuntu MATE 20.04 LTS is the fourth Long Term Support (LTS), It will be supported with security and software updates for 3 years, until April 2023, This release rolls-up various developments, fixes, and optimizations that have been released since the 19.10 LTS.

Ubuntu MATE 20.04 LTS ships with the latest MATE Desktop Environment 1.24 series by default, Added multiple colored theme variations, panel layout switching which is now stable and reliable via MATE Tweak Tweak and Ubuntu MATE Welcome, The key-bindings for window tiling have only worked on full keyboards, includes a new Indicator that provides a “notification center”

Based on Ubuntu 20.04 LTS and powered by the most recent and advanced kernel, Long term Support of Linux kernel 5.4. which brings improved hardware support (among other features). A new GTK front end for the firmware update tool is added that lets you upgrade, downgrade, and reinstall firmware on devices supported by Linux Vendor Firmware Service (LVFS), including the LVM and the ZFS option.

Ubuntu MATE 20.04 LTS also brings in GameMode, which is an open-source project, courtesy of the gaming company, Feral Interactive. NVIDIA proprietary drivers are finally landing directly on the ISO images. This means being offline and still selecting the additional 3rd party hardware drivers during installation will have the drivers available.

Ubuntu MATE 20.04 LTS release notes: https://ubuntu-mate.org/blog/ubuntu-mate-focal-fossa-release-notes/

Download Ubuntu MATE 20.04 LTS: https://ubuntu-mate.org/download/

 

The post What’s New In Ubuntu MATE 20.04 LTS appeared first on Linux Scoop.

]]>
https://linuxscoop.com/video/ubuntu-mate-20-04/feed 0 2899
Here’s Xubuntu 20.04 LTS – Using Xfce Desktop Environment 4.14 with a brand new optional theme, Greybird-dark https://linuxscoop.com/video/xubuntu-20-04 https://linuxscoop.com/video/xubuntu-20-04#respond Sat, 20 Jun 2020 13:23:31 +0000 https://linuxscoop.com/?post_type=video&p=2895 The Xubuntu team has been announced and released Xubuntu 20.04 LTS On April 23rd, 2020. Xubuntu 20.04 LTS is the Eighth Long Term Support (LTS), It will be supported with security and software updates for 3 years, until April 2023, This release rolls-up various developments, fixes and optimizations that have been released since the 19.10 […]

The post Here’s Xubuntu 20.04 LTS – Using Xfce Desktop Environment 4.14 with a brand new optional theme, Greybird-dark appeared first on Linux Scoop.

]]>
The Xubuntu team has been announced and released Xubuntu 20.04 LTS On April 23rd, 2020. Xubuntu 20.04 LTS is the Eighth Long Term Support (LTS), It will be supported with security and software updates for 3 years, until April 2023, This release rolls-up various developments, fixes and optimizations that have been released since the 19.10 LTS.

Xubuntu 20.04 LTS ships with the latest Xfce desktop environment 4.14 series by default, a brand-new dark theme, Greybird-dark, has been added, complementing the default Greybird theme; six community wallpapers are bundled from winners of the Community Wallpaper Contest;

Based on Ubuntu 20.04 and powered by the most recent and advanced kernel, Long term Support of Linux kernel 5.4. which brings improved hardware support (among other features).

Download Xubuntu 20.04 LTS: https://xubuntu.org/download/

The post Here’s Xubuntu 20.04 LTS – Using Xfce Desktop Environment 4.14 with a brand new optional theme, Greybird-dark appeared first on Linux Scoop.

]]>
https://linuxscoop.com/video/xubuntu-20-04/feed 0 2895
How to Install Prestashop with Nginx on a Debian 10 VPS https://linuxscoop.com/video/how-to-install-prestashop https://linuxscoop.com/video/how-to-install-prestashop#respond Mon, 15 Jun 2020 07:13:48 +0000 https://linuxscoop.com/?post_type=video&p=2892 This video shows you step by step how to install Prestashop with Nginx on Debian 10 VPS. PrestaShop is a fully scalable open source e-commerce solution that helps you sell your products online by providing the best shopping cart experience for both merchants and customers. It is based on PHP and MySQL and can be […]

The post How to Install Prestashop with Nginx on a Debian 10 VPS appeared first on Linux Scoop.

]]>
This video shows you step by step how to install Prestashop with Nginx on Debian 10 VPS.

PrestaShop is a fully scalable open source e-commerce solution that helps you sell your products online by providing the best shopping cart experience for both merchants and customers. It is based on PHP and MySQL and can be extended with free and premium plugins and themes. With features like intuitive administrative interface, multiple payment gateways, multi-lingual, analytic, and reporting, PrestaShop is a platform of choice for many online merchants.

==============================
INITIAL SERVER SETUP DEBAIN 10
==============================
Login to Server:
ssh root@your_server_ip

apt update -y && apt upgrade -y

adduser debian

usermod -a -G sudo debian

Configure SSH :
nano /etc/ssh/sshd_config

Add and change the information:
Port 22500
Protocol 2
PermitRootLogin no

Add to End of File :
UseDNS no
AllowUsers debian

Save and Close

Restart SSH service:
systemctl restart ssh.service

Logout:

Ctrl+D

Login using user with sudo privilages:
ssh -p 22500 user@ip_address

==============================
INSTALL NGINX, PHP AND MARIADB
==============================
Install Nginx, MariaDB, PHP, and other PHP modules :
sudo apt install nginx mariadb-server mariadb-client php-fpm php-common php-mysql php-gmp php-curl php-intl php-mbstring php-xmlrpc php-gd php-bcmath php-imap php-xml php-cli php-zip unzip wget git curl -y

Open the php.ini file:
sudo nano /etc/php/7.3/fpm/php.ini

Make the following changes:
file_uploads = On
allow_url_fopen = On
short_open_tag = On
memory_limit = 256M
cgi.fix_pathinfo = 0
upload_max_filesize = 100M
max_execution_time = 360

using sed:
sudo sed -i "s/file_uploads = .*/file_uploads = on/" /etc/php/7.3/fpm/php.ini
sudo sed -i "s/allow_url_fopen = .*/allow_url_fopen = on/" /etc/php/7.3/fpm/php.ini
sudo sed -i "s/short_open_tag = .*/short_open_tag = on/" /etc/php/7.3/fpm/php.ini
sudo sed -i "s/memory_limit = .*/memory_limit = 256M/" /etc/php/7.3/fpm/php.ini
sudo sed -i "s/cgi.fix_pathinfo = .*/cgi.fix_pathinfo = 0/" /etc/php/7.3/fpm/php.ini
sudo sed -i "s/upload_max_filesize = .*/upload_max_filesize = 100M/" /etc/php/7.3/fpm/php.ini
sudo sed -i "s/max_execution_time = .*/max_execution_time = 360/" /etc/php/7.3/fpm/php.ini

Save and Close :
Ctrl O+X

Restart PHP-FPM service:
sudo systemctl restart php7.3-fpm.service

==============================
CONFIGURE NGINX FOR PRESTASHOP
==============================

sudo nano /etc/nginx/sites-available/linuxscoop.cc

------------------------------
server {

    # Ipv4
    listen 80;
 
    # IPv6
    listen [::]:80;

    # SSL Ipv4 & v6
    # listen 443 ssl;
    # listen [::]:443 ssl;

    # ssl_session_timeout 24h;
    # ssl_session_cache shared:SSL:10m;
    # ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
    # ssl_ciphers ECDH+AESGCM:ECDH+AES256:ECDH+AES128:DH+3DES:RSA+3DES:AES128-SHA:!ADH:!AECDH:!MD5;
    # ssl_prefer_server_ciphers on;
    # Do not forget to create this file before with OpenSSL : "openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048"
    # ssl_dhparam /etc/nginx/ssl/dhparam.pem;

    # Your domain names here
    server_name linuxscoop.cc  www.linuxscoop.cc;

    #Your website root location
    root /var/www/linuxscoop/;

    index index.php;

    #Log
    access_log /var/log/nginx/linuxscoop_access.log;
    error_log /var/log/nginx/linuxscoop_error.log;

    # Your admin folder
    set $admin_dir /admin730nzdtkb;

    # Gzip Settings, convert all types.
    gzip on;
    gzip_vary on;
    gzip_proxied any;

    # Can be enhance to 5, but it can slow you server
    # gzip_comp_level    5;
    # gzip_min_length    256;

    gzip_types
        application/atom+xml
        application/javascript
        application/json
        application/ld+json
        application/manifest+json
        application/rss+xml
        application/vnd.geo+json
        application/vnd.ms-fontobject
        application/x-font-ttf
        application/x-web-app-manifest+json
        application/xhtml+xml
        application/xml
        font/opentype
        image/bmp
        image/svg+xml
        image/x-icon
        text/cache-manifest
        text/css
        text/plain
        text/vcard
        text/vnd.rim.location.xloc
        text/vtt
        text/x-component
        text/x-cross-domain-policy;
        # Supposed to be the case but we never know
        # text/html;
        
    gzip_disable "MSIE [1-6]\.(?!.*SV1)";
    
    # Symfony controllers
    location ~ /(international|_profiler|module|product|feature|attribute|supplier|combination|specific-price|configure)/(.*)$ {
      	try_files $uri $uri/ /index.php?q=$uri&$args $admin_dir/index.php$is_args$args;    	
    }


    # Redirect needed to "hide" index.php
    location / {
#        try_files $uri $uri/ /index.php$uri&$args;

        # Old image system ?
                    rewrite ^/api/?(.*)$ /webservice/dispatcher.php?url=$1 last;
                    rewrite ^/([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$1$2.jpg last;
                    rewrite ^/([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$1$2$3.jpg last;
                    rewrite ^/([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$1$2$3$4.jpg last;
                    rewrite ^/([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$1$2$3$4$5.jpg last;
                    rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6.jpg last;
                    rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7.jpg last;
                    rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8.jpg last;
                    rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9.jpg last;
                    rewrite ^/c/([0-9]+)(-[_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ /img/c/$1$2.jpg last;
                    rewrite ^/c/([a-zA-Z-]+)(-[0-9]+)?/.+\.jpg$ /img/c/$1.jpg last;
                    rewrite ^/([0-9]+)(-[_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ /img/c/$1$2.jpg last;
                    try_files $uri $uri/ /index.php?$args;  
    }
    
    error_page 404 /index.php?controller=404;

    # Static assets delivery optimisations
    add_header Strict-Transport-Security max-age=31536000;

    # Cloudflare / Max CDN fix
    location ~* \.(eot|otf|ttf|woff|woff2)$ {
        add_header Access-Control-Allow-Origin *;
    }

    location ~* \.(css|js|docx|zip|pptx|swf|txt|jpg|jpeg|png|gif|swf|webp|flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac)$ {
      expires max;
      log_not_found off;
      add_header Pragma public;
      add_header Cache-Control "public, must-revalidate, proxy-revalidate";
    }

    # Deny access to .htaccess .DS_Store .htpasswd etc
    location ~ /\. {
        deny all;
    }

    # PHP 7 FPM part
    location ~ [^/]\.php(/|$) {

        fastcgi_index index.php;

        # Switch if needed
        include /etc/nginx/fastcgi_params;
        # include fcgi.conf;

        # Do not forget to update this part if needed
        # fastcgi_pass 127.0.0.1:9000;  
        fastcgi_pass unix:/run/php/php7.3-fpm.sock;
        
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_keep_conn on;
        fastcgi_read_timeout 30s;
        fastcgi_send_timeout 30s;

        # In case of long loading or 502 / 504 errors
        # fastcgi_buffer_size 256k;
        # fastcgi_buffers 256 16k;
        # fastcgi_busy_buffers_size 256k;
        client_max_body_size 10M;

        # Temp file tweak
        fastcgi_max_temp_file_size 0;
        fastcgi_temp_file_write_size 256k;

   }

   # Allow access to robots.txt but disable logging every access
   location = /robots.txt {
       allow all;
       log_not_found off;
       access_log off;
   }


   # Prevent injection of php files in directories a user can upload stuff
   location /upload {
       location ~ \.php$ { deny all; }
   }
   location /img {
       location ~ \.php$ {  deny all;}
   }

   # Ban access to source code directories
   location ~ ^/(app|bin|cache|classes|config|controllers|docs|localization|override|src|tests|tools|translations|travis-scripts|vendor)/ {
      deny all;
   }

   # Banned file types
   location ~ \.(htaccess|yml|log|twig|sass|git|tpl)$ {
       deny all;
   }

}
------------------------------

sudo nginx -t

sudo ln -s /etc/nginx/sites-available/linuxscoop.cc /etc/nginx/sites-enabled/

sudo systemctl restart nginx.service

sudo systemctl restart php7.3-fpm.service

==============================
CONFIGURE A PRESTASHOP DATABASE
==============================
sudo mysql_secure_installation

mysql -u root -p

Fix when can't login as root :
https://stackoverflow.com/questions/39281594/error-1698-28000-access-denied-for-user-rootlocalhost

CREATE DATABASE dbprestashop DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;

GRANT ALL ON dbprestashop.* TO 'prestashopuser'@'localhost' IDENTIFIED BY '5tR0n6p@s5WorD';

FLUSH PRIVILEGES;

EXIT;

==============================
DOWNLOAD AND INSTALL PRESTASHOP
==============================
Download prestashop
https://www.prestashop.com/en/download 

cd /tmp && wget https://download.prestashop.com/download/releases/prestashop_1.7.6.5.zip

unzip prestashop_1.7.6.5.zip

sudo unzip prestashop.zip -d /var/www/linuxscoop

sudo chown -R www-data:www-data /var/www/linuxscoop/

sudo find . -type d -exec chmod 0755 {} \;

sudo find . -type f -exec chmod 0644 {} \;

==============================
COMPLETE PRESTASHOP SETUP
==============================
Install prestashop through Web Browser

rename or remove "Installation" Folder

Delete install/ folder

sudo rm -rf /var/www/linuxscoop/install/

Copy admin url page to nginx config

sudo nano /etc/nginx/sites-available/linuxscoop.cc

Example : paste: admin712vammyg

sudo systemctl reload nginx.service 

==============================
INSTALL AND CONFIGURE
LET'S ENCRYPT SSL CERTIFICATE
==============================
sudo apt install python3-acme python3-certbot python3-mock python3-openssl python3-pkg-resources python3-pyparsing python3-zope.interface -y
sudo apt install python3-certbot-nginx
sudo certbot --nginx -d linuxscoop.cc -d www.linuxscoop.cc

Dashboard - Configure - Shop Parameters - General -Enable SSL = yes > save
Enable SSL on All pages = yes - save

To Renew :
sudo certbot renew --dry-run

==============================
SETTING UP FIREWALL
==============================
sudo apt install ufw
sudo ufw enable
sudo ufw app list
sudo ufw allow 22500/tcp comment 'Open port ssh tcp port 22500'
sudo ufw allow 80
sudo ufw allow 443
sudo ufw status

The post How to Install Prestashop with Nginx on a Debian 10 VPS appeared first on Linux Scoop.

]]>
https://linuxscoop.com/video/how-to-install-prestashop/feed 0 2892