Linux Mint - Installatie herfst 2020: verschil tussen versies

Uit De Vliegende Brigade
Naar navigatie springen Naar zoeken springen
Regel 14: Regel 14:
  
 
* Emailhandtekeningen
 
* Emailhandtekeningen
 +
* SSH-toegang webservers
 
* s1- & s2-omgevingen op webservers configureren ipv. op laptop - Ik heb die omgevingen wel nodig voor knl & fr_fr_s1
 
* s1- & s2-omgevingen op webservers configureren ipv. op laptop - Ik heb die omgevingen wel nodig voor knl & fr_fr_s1
  

Versie van 16 nov 2020 11:18

Dit artikel behandelt de installatie van Linux Mint op m'n nieuwe tweedehands computer Dell2020 in okt. en nov. 2020 (na aanschaf en installatie van een nieuwe 1TB SSD). Daarnaast komen een paar dingen voorbij die een rol speelden bij de installatie van Linux Mint op een oude laptop voor familieleden: Acer2008 (of was het Acer2009?).

Dit artikel is als volgt opgebouwd:

  1. Eigenlijke installatie: Paradoxaal stelt dit zoals altijd, nog het minste voor
  2. Configuratie systeemonderdelen: Dus de configuratie van het OS. Bv. Nautilus/Nemo, of systeemgeluiden
  3. Configuratie meegeleverde software. Bv. sjablonen LibreOffice
  4. Installatie & configuratie van additionele software: Zie het script onderaan dit artikel
  5. Data: Vrijwel alles gaat via Dropbox. MySQL-databases zijn de uitzondering.

Zie ook artikel Linux Mint - Installatie zomer 2020: Dit betreft een uitzonderlijk gedetailleerd artikel, en ik heb weinig trek om mezelf eindeloos te herhalen.

Nog te doen

  • Emailhandtekeningen
  • SSH-toegang webservers
  • s1- & s2-omgevingen op webservers configureren ipv. op laptop - Ik heb die omgevingen wel nodig voor knl & fr_fr_s1

SSD wordt niet herkend

De installatie van de nieuwe SSD liep niet helemaal soepel: Een paar keer werd deze na herstart niet herkend. Twee mogelijke oorzaken:

  • Instellingen in het BIOS zijn niet correct
  • Fysieke aansluiting gaat niet goed.

Het bleek het tweede punt te zijn. Door het in stappen te doen, en steeds tussendoor te checken of-ie nog steeds werd herkend, heb ik 'm uiteindelijk prima kunnen inbouwen én wordt-ie herkend.

Eigenlijke installatie

De eigenlijke installatie is in tien minuten gepiept:

  • Taal: Engels
  • Toetsenbord: Engels
  • Indeling schijf: Doe zelf maar
  • Inclusief propriëtaire codecs.

Configuratie systeemonderdelen

Audio-feedback uitzetten

Ik vind het vervelend als het OS allerlei geluidjes maakt, bv. bij resizen van windows. Dat kun je hier uitzetten:

Preferences > Sound > Sounds: Alles uitzetten

SSH-toegang servers

Ah, bijna vergeten.

Configuratie voorgeïnstalleerde software

LibreOffice

Punten vs. komma's

Ik moest iets instellen rondom locale: Komma's en punten waren omgekeerd van hoe ik het wilde hebben. Ik weet niet meer of ik het in LibreOffice moest instellen, of onder Startmenu » Preferences » Languages: Dat scherm is nieuw in deze versie van Linux Mint, maar ik kan er nog steeds niet mee overweg. Komma's en punten had ik echter in een paar minuten geregeld, en het staat me vaag bij, dat ik het sowieso in LibreOffice moet instellen

Eigen sjablonen toevoegen aan pad

  • Locatie van mijn sjablonen: Dropbox/Overhead/Sjablonen LibreOffice (heel handig!)
  • Tools » Options » Paths dit pad toevoegen

Eigen sjabloon als standaard-sjabloon aanmerken

File » Templates » Manage templates » Rechtermuistoets op betreffende bestand » Set as default

Thunderbird

  • Emailaccounts configureren, inclusief emailhandtekeningen
  • Algemene instellingen configureren (meldingen, offline-bij-opstarten)

Installatie & configuratie additionele software - Script

#!/bin/sh
#
# Linux Mint Installation script for new computers - 2020.11.14
################################################################################
#
# Jeroen Strompf, De Vliegende Brigade
#
#
################################################################################
# Update installation
################################################################################
#
# sudo apt update -y
# sudo apt upgrade -y


################################################################################
# Rhythmbox verwijderen
################################################################################
#
# sudo apt remove rhythmbox
# sudo apt remove rhythmbox-data


################################################################################
# Albert (quick launcher)
################################################################################
#
# * This is the official way to install Alberton Linux Mint 20:
#   https://albertlauncher.github.io/docs/installing. It assures that Albert 
#   gets updated through the usual apt-get routine
# * After installation, some configuration is required, starting with setting a
#   keyboard shortcut (I use Ctrl-Space) & starting at boot time. See
#   http://wiki.devliegendebrigade.nl/Albert_(Quickstarter,_Linux) for details   
# * Configuration: Easiest to copy settings from another instance of Albert
#   Or see http://wiki.devliegendebrigade.nl/Albert_(Quickstarter,_Linux)
#
#
# curl https://build.opensuse.org/projects/home:manuelschneid3r/public_key | sudo apt-key add -
# echo 'deb http://download.opensuse.org/repositories/home:/manuelschneid3r/xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/home:manuelschneid3r.list
# sudo wget -nv https://download.opensuse.org/repositories/home:manuelschneid3r/xUbuntu_20.04/Release.key -O "/etc/apt/trusted.gpg.d/home:manuelschneid3r.asc"
# sudo apt update
# sudo apt install albert


################################################################################
# Chrome
################################################################################
#
# Download & install the .deb-package manually


################################################################################
# Dropbox
################################################################################
#
# * Install Dropbox as early as possible, as synchronisation easily takes 
#   several  days
# * After installation, some configuration is really needed. See 
#   http://wiki.devliegendebrigade.nl/Dropbox for details
#
# sudo apt install -y dropbox


################################################################################
# MySQL
################################################################################
#
# * Even when my laptop won't be a LAMP-development server, I would still use
#   MySQL
# * Package "mysql-server" is including mysql (client), mysqldump and some more
#   tools
# * See http://wiki.devliegendebrigade.nl/Installatie_MySQL for some 
#   configuration stuff - Quite doable, actually (Nov. 2020)
#
# sudo apt install mysql-server


################################################################################
# MySQL Workbench
################################################################################
#
# * It's possible to install this using apt-get, but when you manually download
#   and install it, you have a more up-to-date version
# * Download location: https://dev.mysql.com/downloads/workbench/
# * Update "preferences" and especially: Allow LOAD DATA. See
#   http://wiki.devliegendebrigade.nl/MySQL_Workbench for details


################################################################################
# Sublime Text
################################################################################
#
# Sublime Text is my default editor
#
# sudo apt install -y sublime-text


################################################################################
# ttf-mscorefonts
################################################################################
#
# * This is still needed (Nov. 2020). E.g., for Georgia font
# * See http://wiki.devliegendebrigade.nl/Lettertypes_(Linux) for details
#
#
# Alternative code
##########################################
#
# sudo add-apt-repository multiverse
# sudo apt update
# sudo apt install --reinstall ttf-mscorefonts-installer
#
#
# Default code
##########################################
#
# sudo apt install -y ttf-mscorefonts-installer


################################################################################
# VLC
################################################################################
#
# * Appearantly, VLC is not included with Linux Mint 20. No problem
# * Disable popup-notifications after installation:
#   https://wiki.videolan.org/VLC_HowTo/Disable_pop-up_track_notifications/
#
# sudo apt install -y vlc


################################################################################
# Other - Alphabetically
################################################################################
#
# Audacity
##########################################
#
# sudo apt install audacity


# Gimp
##########################################
#
# sudo apt install gimp


# mmv
##########################################
#
# sudo apt install mmv


# Mogrify - Part of Imagemagick
##########################################
#
# sudo apt install imagemagick


# OpenArena
##########################################
#
# sudo apt install openarena


# OpenSSH
##########################################
#
# sudo apt install -y ssh


# Skype
##########################################
#
# Download & install .deb package manually


# vim
##########################################
#
# sudo apt install -y vim


# Zoom
##########################################
#
# Download & executeer .deb-bestand van https://zoom.us/download?os=linux


################################################################################
# LAMP-server
################################################################################
#
# Until Nov. 2020, my laptops always were also LAMP-servers. I'm not sure now:
#
# * I work more often together with other people on projects. Maybe better to
#   have external development environments
# * I don't like the idea of being dependent on a specific workstaiton for a job.
#   When deploying online development environments, that dependency would be 
#   gone. Also: You probably can't syncronise this stuff using Dropbox, because 
#   of  file properties.
# * Anyhow, if I would turn my laptop into a LAMP server, this is probably how
#   I would start with it (in addition to stuff already discussed in this 
#   script):
#
#
# Software installation
########################################
#
# MySQL Server & MySQL Workbench: See earlier in this script
#
# sudo apt install apache2
# sudo apt install php
# sudo apt install libapache2-mod-php
# sudo apt install php-mysql
# sudo apt install php-curl
# sudo apt install php-xml
# sudo apt install php-gd
# sudo apt install php-mbstring
# sudo apt install lynx
#
#
# Apache modules
########################################
#
# Source: http://wiki.devliegendebrigade.nl/Installatie_webserver
#
# sudo a2dismod mpm_event    # Nodig?
# sudo a2enmod mpm_prefork   # Nodig?
# sudo a2enmod rewrite       # Nodig!
#
#

Data

Vrijwel alles gaat via Dropbox. MySQL-databases lijken de enige uitzondering te zijn. Aanpak: Dumps maken in een Dropbox-map.

Zie ook