PROJET AUTOBLOG


Warrior du Dimanche

Site original : Warrior du Dimanche

⇐ retour index

Pense-bête installation de Linux Mint 21.2

lundi 7 août 2023 à 14:39

Ma version à jour de la page de Timo

Update de la distro

sudo apt update && sudo aptitude safe-upgrade

Install des derniers kernels

Capture du 2023-08-07 14-45-17.png

Capture du 2023-08-07 14-45-44.png

Installer les pilotes

Install des logiciels & environnements

sudo apt-get install apache2 php libapache2-mod-php php-json php-zip php-gd php-sqlite3 sqlite php-curl php-mbstring php-xml sqlitebrowser gparted filezilla python3 sublimetext vlc kdeconnect

Désinstaller logiciels inutiles

sudo apt purge hexchat hexchat-common libespeak1 libsonic0 libspeechd2 python3-speechd speech-dispatcher speech-dispatcher-audio-plugins gnome-orca mate-screensaver mate-screensaver-common brltty mono-runtime-common avahi-daemon xscreensaver-data-extra xscreensaver-data xscreensaver-gl-extra xscreensaver-gl java-common icedtea-netx-common pix pix-data onboard timeshift 

configurer PHP

éditer php.ini

Le fichier se trouve dans /etc/php/NUMERO DE VERSION PHP/apache2/php.ini. Soit on l'ouvre via le terminal, soit on utilise l'éditeur de son choix.

On édite les lignes suivantes:

post_max_size = 20M
upload_max_filesize = 1000M
error_reporting = -1
display_errors = On
zend.multibyte = On

Pour limiter le nombre de processus de php, on ajoute à la fin

<IfModule mpm_prefork_module>
    StartServers          2
    MinSpareServers       1
    MaxSpareServers       3
    MaxClients           12
    MaxRequestsPerChild   3
</IfModule>

Déplacer www de var vers Home

sudo ln -s ~/www /var/www

fin

Puis, on relance le serveur: sudo service apache2 restart

Réglages divers

<link rel="stylesheet" href="http://www.warriordudimanche.net/./plugins/Galart/style.css"/> <link rel="stylesheet" href="http://www.warriordudimanche.net/./plugins/Galart/assets/lightbox.css"/> <script src="http://www.warriordudimanche.net/./plugins/Galart/assets/lightbox.js"> <script>[].forEach.call(document.querySelectorAll("[lightbox]"), function(el) { el.lightbox = new Lightbox(el);});

► Commentaires