Linux Mint - Installatie herfst 2020: verschil tussen versies

Uit De Vliegende Brigade
Naar navigatie springen Naar zoeken springen
Regel 32: Regel 32:
 
#
 
#
 
# Linux Mint Installation script for new computers - 2020.11.14
 
# Linux Mint Installation script for new computers - 2020.11.14
##################################################################################
+
################################################################################
 
#
 
#
 
# Jeroen Strompf, De Vliegende Brigade
 
# Jeroen Strompf, De Vliegende Brigade
 
#
 
#
 
#
 
#
##################################################################################
+
################################################################################
 
# Update installation
 
# Update installation
##################################################################################
+
################################################################################
 
#
 
#
 
# sudo apt update -y
 
# sudo apt update -y
Regel 45: Regel 45:
  
  
##################################################################################
+
################################################################################
 
# Rhythmbox verwijderen
 
# Rhythmbox verwijderen
##################################################################################
+
################################################################################
 
#
 
#
 
# sudo apt remove rhythmbox
 
# sudo apt remove rhythmbox
Regel 53: Regel 53:
  
  
##################################################################################
+
################################################################################
 
# Albert (quick launcher)
 
# Albert (quick launcher)
##################################################################################
+
################################################################################
 
#
 
#
 
# * This is the official way to install Alberton Linux Mint 20:
 
# * This is the official way to install Alberton Linux Mint 20:
#  https://albertlauncher.github.io/docs/installing. It assures that Albert gets
+
#  https://albertlauncher.github.io/docs/installing. It assures that Albert  
#  updated through the usual apt-get routine
+
gets updated through the usual apt-get routine
 
# * After installation, some configuration is required, starting with setting a
 
# * After installation, some configuration is required, starting with setting a
#  keyboard shortcut (I use Ctrl-Space)
+
#  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 -
 
# curl https://build.opensuse.org/projects/home:manuelschneid3r/public_key | sudo apt-key add -
Regel 70: Regel 71:
  
  
##################################################################################
+
################################################################################
 
# Chrome
 
# Chrome
##################################################################################
+
################################################################################
 
#
 
#
 
# Download & install the .deb-package manually
 
# Download & install the .deb-package manually
  
  
##################################################################################
+
################################################################################
 
# Dropbox
 
# Dropbox
##################################################################################
+
################################################################################
 
#
 
#
# * Install Dropbox as early as possible, as synchronisation easily takes several
+
# * Install Dropbox as early as possible, as synchronisation easily takes  
#  days
+
several  days
# * Install through the command below
+
# * After installation, some configuration is really needed. See
# * Subsequently, execute from start menu (or however you want to do this)
+
#   http://wiki.devliegendebrigade.nl/Dropbox for details
 
#
 
#
 
# sudo apt install -y dropbox
 
# sudo apt install -y dropbox
  
  
##################################################################################
+
################################################################################
 
# MySQL
 
# MySQL
##################################################################################
+
################################################################################
 
#
 
#
 
# * Even when my laptop won't be a LAMP-development server, I would still use
 
# * Even when my laptop won't be a LAMP-development server, I would still use
#  MySQL, which is easy to install
+
#  MySQL
 
# * Package "mysql-server" is including mysql (client), mysqldump and some more
 
# * Package "mysql-server" is including mysql (client), mysqldump and some more
#  tools  
+
#  tools
 +
# * See http://wiki.devliegendebrigade.nl/Installatie_MySQL for some
 +
#  configuration stuff - Quite doable, actually (Nov. 2020)
 
#
 
#
 
# sudo apt install mysql-server
 
# sudo apt install mysql-server
  
  
##################################################################################
+
################################################################################
 
# MySQL Workbench
 
# MySQL Workbench
##################################################################################
+
################################################################################
 
#
 
#
 
# * It's possible to install this using apt-get, but when you manually download
 
# * It's possible to install this using apt-get, but when you manually download
Regel 112: Regel 115:
  
  
##################################################################################
+
################################################################################
 
# Sublime Text
 
# Sublime Text
##################################################################################
+
################################################################################
 
#
 
#
 
# Sublime Text is my default editor
 
# Sublime Text is my default editor
 
#
 
#
# sudo apt install sublime-text
+
# sudo apt install -y sublime-text
  
  
##################################################################################
+
################################################################################
 
# ttf-mscorefonts
 
# ttf-mscorefonts
##################################################################################
+
################################################################################
 
#
 
#
 
# * This is still needed (Nov. 2020). E.g., for Georgia font
 
# * This is still needed (Nov. 2020). E.g., for Georgia font
Regel 140: Regel 143:
 
##########################################
 
##########################################
 
#
 
#
# sudo apt install ttf-mscorefonts-installer
+
# sudo apt install -y ttf-mscorefonts-installer
  
  
  
##################################################################################
+
################################################################################
 
# Other - Alphabetically
 
# Other - Alphabetically
##################################################################################
+
################################################################################
 
#
 
#
 
# Audacity
 
# Audacity
Regel 202: Regel 205:
  
  
##################################################################################
+
################################################################################
 
# LAMP
 
# LAMP
##################################################################################
+
################################################################################
 +
 
 
#
 
#
 
# Until Nov. 2020, my laptops always were also LAMP-servers. I'm not sure now:
 
# Until Nov. 2020, my laptops always were also LAMP-servers. I'm not sure now:
Regel 211: Regel 215:
 
#  have external development environments
 
#  have external development environments
 
# * I don't like the idea of being dependent on a specific workstaiton for a job.
 
# * 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.
+
#  When deploying online development environments, that dependency would be  
#  Also: You probably can't syncronise this stuff using Dropbox, because of
+
gone. Also: You probably can't syncronise this stuff using Dropbox, because  
#  file properties.
+
of  file properties.
 
# * Anyhow, if I would turn my laptop into a LAMP server, this is probably how
 
# * 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):
+
#  I would start with it (in addition to stuff already discussed in this  
 +
script):
 
#
 
#
 
#
 
#

Versie van 14 nov 2020 19:39

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



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