Linux Mint - Installatie herfst 2020

Uit De Vliegende Brigade
Naar navigatie springen Naar zoeken springen

Installatie van Linux Mint op m'n nieuwe tweedehands computer Dell2020. Na aanschaf van de laptop, heb ik een niewe SSD gekocht van 1TB. Dit betreft de installatie op deze nieuwe SSD.

Eigenlijke installatie

De eigenlijke installatie stelt weer bar weinig voor, en is in tien minuten gepiept:

  • Taal: Engels
  • Toetsenbord: Engels
  • Indeling schijf: Doe zelf maar
  • Inclusief proprietaire 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

Configuratie apps

Dropbox configureren

De waarde voor max_user_watches moet ik gelijk aan aanpassen. Zie Dropbox voor details.

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   
#
# 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
#
# 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
################################################################################

#
# 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!
#
#