User Tools

Site Tools


install_awow2024

Install awow2024

TODO

Install Windows, Ubuntu Linux and all necessary soft on my new computer awow2024.

  • - Define what is todo
  • - Backup kalaschnikow2017
  • + Install Windows
  • + Install Linux
  • + Configure printer
  • - Install necessary soft
    • + define which soft is necessary :)
      • done (for really necessary soft like IDEA etc)
    • - install it
      • - Android Studio
        • + pgm
        • + configuration
        • - projects
          • - avril
            • + pull
            • + compile
            • - test
          • - ChalkUpDepartureControl
          • - ChalkUpClient
          • - surveylib
            • + pull
            • + compile
            • - test (with avril app)
          • + TrackerForTraccar
          • + WiatrackLibs
          • - wiatrackProProject
          • …
      • + Calibre
        • + pgm
        • + configuration + data
      • + Chrome
        • + pgm
        • + configuration + data
      • + Chromium
        • + pgm
        • + configuration + data
      • + Firefox
        • + pgm
        • + configuration + data
          • + bookmarks
          • + passwords
      • - IntelliJ IDEA
        • + pgm
        • - configuration + data
          • + activate license
          • - all projects
            • - from /mnt/sda4/development/workspaces
            • - from /mnt/sda4/development/workspaces.bak
            • + from /mnt/sda4/development/workspaces.jrserver
              • jrserver.maven
              • all other projects are backuped to /media/diskstation/backup/kalaschnikow2017_2024/mnt/sda4/development/workspaces.jrserver/
            • - from /mnt/sda4/development/workspaces.new
              • AndroidScreenCaster
              • autotest
              • bahnhof2
              • chalkupAdminWeb
              • ChalkUpClient
              • + ChalkupDepartureControl
              • composetutorial1
              • einfachvorlesen
              • IAM
              • IoTSensorSimulator
              • Jetchatsample
              • media-samples
              • mediasoup-demo-android-dev
              • mediasoup-demo-android.ori
              • myFormioDemo
              • pahotest
              • rdconverter
              • ScalaSparkTest
              • ScreenShareRTC
              • surveylib
              • surveylib.bak
              • TestAnim
              • TestSettingsApplication
              • testtwilio
              • TrackerForTraccar
              • tray
              • video-quickstart-android
              • watchface-master
              • WearOsClock
              • webrtc
              • WebRTC-Android-Learn
              • wiatrack
              • WiatrackLibs
              • ZGallery
              • zxing-android-embedded
            • x from /mnt/sda4/development/workspaces.nodejs
              • seems to be not necessary
            • x from /mnt/sda4/development/workspaces.test
              • seems to be not necessary
            • + from /mnt/sda4/development/workspaces.zeppelin
            • - …
      • + KeePass2 → KeePassXC
        • + pgm
        • + configuration + data
      • + Pomodoro timer
        • gnomepomodoro
      • + TeamViewer
        • + pgm
        • + configuration + data
          • Konto: blubbsik@gmx.de / teamYA…08
      • + Thunderbird
        • + pgm
        • + configuration + data
      • + VS Code
        • + pgm
      • - …
  • - move development projects
    • - all my android projects
      • - WiatrackLibs
      • - TrackerForTraccar
      • - …
    • - IntelliJ projects
      • - Avril
        • + clone
        • - run locally
        • - compile and deploy a new version
      • - jrserver (→ jrserver.maven)
        • + clone
        • + compile and deploy a new version
        • - test locally
      • - other projects
  • - move data

Misc

diskstation mount

Actually mounted disks on kalaschnikow2017:

kalaschnikow@kalaschnikow2017:~$ df -h
Dateisystem             Größe Benutzt Verf. Verw% Eingehängt auf
tmpfs                    1,6G    2,5M  1,6G    1% /run
/dev/sda1                205G     71G  124G   37% /
tmpfs                    7,8G     23M  7,8G    1% /dev/shm
tmpfs                    5,0M    4,0K  5,0M    1% /run/lock
tmpfs                    7,8G       0  7,8G    0% /run/qemu
/dev/sdb3                970G    578G  344G   63% /home
/dev/sdb4                742G    374G  330G   54% /mnt/sda4
//192.168.178.137/share  2,7T    1,2T  1,6T   42% /media/diskstation
tmpfs                    1,6G    6,9M  1,6G    1% /run/user/1000

In '/etc/fstab':

//192.168.178.137/share /media/diskstation cifs credentials=/home/kalaschnikow/.secret,noperm,vers=2.0,iocharset=utf8 0 0

In .secret:

username=admin
password=yaopnlp08
domain=WORKGROUP

Localized names of Desktop and other user directories

If you have german localization, Ubuntu uses localized (german) names of user directories. For example Schreibtisch instead of Desktop.

The configuration of names of user directories can be changed in /home/kalaschnikow/.config/user-dirs.dirs:

# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
# 
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Vorlagen"
XDG_PUBLICSHARE_DIR="$HOME/Öffentlich"
XDG_DOCUMENTS_DIR="$HOME/Dokumente"
XDG_MUSIC_DIR="$HOME/Musik"
XDG_PICTURES_DIR="$HOME/Bilder"
XDG_VIDEOS_DIR="$HOME/Videos"

After the changes the user should login again.

Manual backup of kalaschnikow2017

  • x /avrilmysql
    • empty → not necessary
  • x /bin
    • symlink → not necessary
  • x /bitnami
    • empty → not necessary
  • x /boot
    • not necessary (seems to be)
  • x /cdrom
    • not necessary
  • x /dev
    • not necessary
  • - /dockerdata
    • TBD
  • - /etc
    • can be done, but not 100% necessary
  • - /home
    • - /home/_archive
      • TBD
    • x /home/backup
      • not necessary
    • - /home/development
      • TBD
    • x /home/dropbox
      • not necessary
    • - /home/kalaschnikow
      • TBD
    • x /home/lost+found
      • not necessary
    • x /home/rt
      • not necessary
    • - /home/sda1.bak
      • can be done, but not 100% necessary
  • x /lib
    • not necessary
  • x /lib32
    • not necessary
  • x /lib64
    • not necessary
  • x /libx32
    • not necessary
  • x /lost+found
    • not necessary
  • - /media
  • - /mnt
  • - /opt
  • - /proc
  • - /root
  • - /run
  • - /sbin
  • - /snap
  • - /srv
  • - /sys
  • - /tmp
  • - /ubiquity-apt-clone
  • - /usr
  • - /v
  • - /var
  • x bacula-console-qt.conf.ucftmp-L94rSmzMMX
    • not necessary
  • x core
    • not necessary

Found problems

mount not worked for cifs device

My line in /etc/fstab to mount diskstation as cifs device did not worked.

Solution: package cifs-utils should be installed first:

sudo apt install cifs-utils

bluetooth timeout

Mouse goes to sleep after some minutes. Found following solution (but it is not clear whether it works): https://askubuntu.com/questions/1303731/how-to-change-bluetooth-timeout-settings-for-bluetooth-mouse

So I've changed parameter Timeout in /var/lib/bluetooth/{BT MAC]/{mouse MAC}/info:

sudo -s

root@awow2024:/home/kalaschnikow# cd /var/lib/bluetooth
root@awow2024:/var/lib/bluetooth# ls
40:9C:A7:68:6E:CF
root@awow2024:/var/lib/bluetooth# cd 40\:9C\:A7\:68\:6E\:CF/
root@awow2024:/var/lib/bluetooth/40:9C:A7:68:6E:CF# ls
10:94:BB:AA:0C:3B  cache  DB:3D:01:A0:17:F3  DC:2C:26:02:35:14  settings
root@awow2024:/var/lib/bluetooth/40:9C:A7:68:6E:CF# cd DC\:2C\:26\:02\:35\:14/
root@awow2024:/var/lib/bluetooth/40:9C:A7:68:6E:CF/DC:2C:26:02:35:14# ls
attributes  info
root@awow2024:/var/lib/bluetooth/40:9C:A7:68:6E:CF/DC:2C:26:02:35:14# nano info

After that:

 GNU nano 7.2                          info                                    
[General]
Name=MUEOS217
Class=0x000580
SupportedTechnologies=BR/EDR;
Trusted=true
Blocked=false
WakeAllowed=true
Services=00001000-0000-1000-8000-00805f9b34fb;00001124-0000-1000-8000-00805f9b3>
Timeout=600

[LinkKey]
Key=AF5B6FBCBCAA474C0D03FAFF5C500D86
Type=4
PINLength=0

[DeviceID]
Source=2
Vendor=2652
Product=17667
Version=297
                             [ 20 Zeilen gelesen ]
^G Hilfe     ^O Speichern ^W Wo ist    ^K Ausschneid^T Ausführen ^C Position
^X Beenden   ^R Öffnen    ^\ Ersetzen  ^U Einfügen  ^J Ausrichten^/ Zu Zeile geh
install_awow2024.txt · Last modified: by kalaschnikow