EDTLaptop3: Difference between revisions

From Wiki RB4
 
(7 intermediate revisions by the same user not shown)
Line 135: Line 135:
  playwright install
  playwright install
   
   
  "\Program Files\Google\Chrome\Application"\chrome.exe --remote-debugging-port=9222 --profile-directory="Default"
  // in cmd shell (not Powershell)
cd "C:\Program Files\Google\Chrome\Application"
chrome.exe --remote-debugging-port=9222 --user-data-dir="C:\Users\U1728\AppData\Local\Google\Chrome\User Data\Default"
 
// test
http://localhost:9222/json
netstat -ano | findstr 9222
 
// kill and check
taskkill /F /IM chrome.exe
tasklist | findstr chrome


===Uwe Heuer===
===Uwe Heuer===

Latest revision as of 12:39, 25 February 2026

System

  • disc 500GB

Certificates

  • folder is C:\Uwes\owncloud\documents\Certificates
  • E.ON Root certificate exported via browser is EONInternalRootCAG1.crt

Installations

Anaconda

Progs are in:

C:\Users\U1728\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Anaconda3 (64-bit)

Change root for Jupyter

  • start Anaconda prompt
C:\Users\U1728>jupyter notebook --generate-config
Writing default config to: C:\Users\U1728\.jupyter\jupyter_notebook_config.py
  • edit config fily

Angular

npm install -g @angular/cli // -g installs Angular CLI it globally, not project-specific 
ng version // prints version 14.2.8

Chrome Cookie Banner Blocker

  • download from here
  • extract to C:\Uwes\nervenschoner.chromium\
  • installation in Chrome does not work

Docker

  • installation via Eon service request did not work (INC2441412)
  • download docker windows installation via command line (via browser it is blocked)
  • execute installer (target directory could not be specified)
  • first start led to the error message
  • link executed (but w/o installation of a linux distribution)
  • login with Docker desktop with uwe.heuer@eon.com (see old mail with welcome to Eon community)
  • Docker Desktop has to be started manually to start the Docker host

draw.io

  • installation to C:\Uwes\Programme\draw.io\

Eclipse

  • installation to C:\Uwes\Programme\eclipse\jee-2022-09\
  • set workspace to C:\Uwes\SoftwareProjects\eclipse-workspace\
  • configuration see here

Lombok

Spring Tools

  • eclipse -> Help -> Marketplace -> select Spring Tools 4

Git

  • download from here
  • installed to C:\Uwes\Programme\Git
C:\Uwes\Programme\Git>git --version
  git version 2.38.1.windows.1
git config --global user.email uwe.heuer@gmail.com
git config --global user.name UweHeuer

HTTP Server (node.js)

C:\Uwes\SoftwareProjects\uweheuer-frontend>npm install --global http-server // install globally

call e.g. by

http-server -p 8082 -c-1 dist/uweheuer-frontend // http://127.0.0.1:8082, -c-1 means no caching
<CTRL>+<C> // to stop

Java

  • use Java runtime from eclipse
  • set JAVA_HOME for system to C:\Users\U1728\.p2\pool\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_17.0.5.v20221102-0933\jre
C:\Users\U1728>%JAVA_HOME%\bin\java -version
  openjdk version "17.0.5" 2022-10-18
  OpenJDK Runtime Environment Temurin-17.0.5+8 (build 17.0.5+8)
  OpenJDK 64-Bit Server VM Temurin-17.0.5+8 (build 17.0.5+8, mixed mode)

Maven

  • download apache-maven-3.8.6-bin.zip
  • extract to C:\Uwes\Programme\apache-maven-3.8.6\
  • extend system path to C:\Uwes\Programme\apache-maven-3.8.6\bin
C:\Users\U1728>mvn -version
  Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
  Maven home: C:\Uwes\Programme\apache-maven-3.8.6
  Java version: 17.0.5, vendor: Eclipse Adoptium, runtime: C:\Users\U1728\.p2\pool\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_17.0.5.v20221102-0933\jre
  Default locale: de_DE, platform encoding: Cp1252
  OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows"

Node.js (NPM)

  • download 18.12.0 LTO from here
  • installation to C:\Uwes\Programme\nodejs\
node -v // prints v18.12.0
npm -v // prints 8.19.2

OwnCloud

Postman

  • installation by CHIP installer somewhere in the Windows system
  • login via Google account

PuTTY

  • installation to C:\Uwes\Programme\WinSCP\PuTTY\

Python

  • download 3.14.3 64-bit installer from https://www.python.org/downloads/windows/
  • disable System -> Apps -> Advanced app settings -> App execution aliases -> python.exe and python3.exe
  • add user paths find out by py -c "import sys; print(sys.executable)"
C:\Users\U1728\AppData\Local\Programs\Python\Python314
C:\Users\U1728\AppData\Local\Programs\Python\Python314\Scripts // for pip
  • check by
python --version

PIP

C:\Users\U1728>python.exe -m pip install --upgrade pip
  WARNING: The scripts pip.exe, pip3.14.exe and pip3.exe are installed in 'C:\Users\U1728\AppData\Local\Programs\Python\Python314\Scripts' which is not on PATH.
 Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pip-26.0.1
  • add user paths find out by py -c "import sys; print(sys.executable)"
C:\Users\U1728\AppData\Local\Programs\Python\Python314\Scripts // for pip
  • check by
pip --version

Playwright

set NODE_EXTRA_CA_CERTS=C:\Uwes\owncloud\documents\Certificates\EONInternalRootCAG1.crt
// turn off service status ZScaler
python -m pip install playwright
Installing collected packages: typing-extensions, greenlet, pyee, playwright
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺━━━━━━━━━ 3/4 [playwright]  WARNING: The script playwright.exe is installed in 'C:\Users\U1728\AppData\Local\Programs\Python\Python314\Scripts' which is not on PATH.
 Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed greenlet-3.3.1 playwright-1.58.0 pyee-13.0.1 typing-extensions-4.15.0

playwright install

// in cmd shell (not Powershell)
cd "C:\Program Files\Google\Chrome\Application"
chrome.exe --remote-debugging-port=9222 --user-data-dir="C:\Users\U1728\AppData\Local\Google\Chrome\User Data\Default"
// test
http://localhost:9222/json
netstat -ano | findstr 9222
// kill and check
taskkill /F /IM chrome.exe
tasklist | findstr chrome

Uwe Heuer

Uwe Heuer Frontend

C:\Uwes\SoftwareProjects>git clone https://github.com/UweHeuer/uweheuer-frontend.git // creates directory uweheuer-frontend

Uwe Heuer Backend

C:\Uwes\SoftwareProjects\eclipse-workspace>git clone https://github.com/UweHeuer/uweheuer-backend.git

Visual Studio Code

  • download User Installer
  • installation to C:\Users\U1728\AppData\Local\Programs\Microsoft VS Code\

Angular Language Service Plug-In

WinMerge

  • download from Chip
  • installation to C:\Uwes\Programme\WinMerge\

WinSCP

WSL/Ubuntu

  • in PowerShell wsl --install
  • creates a new app * WSL Icon
  • first time asks for user and pwd
    • uwe
    • <Lw><STANDARD><Lw>
    • run command sudo apt update && sudo apt upgrade -y
  • enable Docker Desktop to use it by Docker Desktop -> Settings -> WSL integration -> enable additional distros 'Ubuntu'

Claude

  • see UH_2025.docx
  • Set the Zscaler CA Certificate for Node.js
    • export crt file via Edge for root node to /owncloud/documents/certificates/20260223_EONInternalRootCAG1.crt
    • copy it to ~/
    • edit ~/.bashrc
export NODE_EXTRA_CA_CERTS="$HOME/20260223_EONInternalRootCAG1.crt"
  • MyClaudeKey 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

PDFTK

  • installation
uwe@DESKTOP-2683655:~$ sudo apt install pdftk-java
  • merge pdf
uwe@DESKTOP-2683655:~/tmp$ pdftk Scan_from_PDE0153_2026-02-18_09-30-07-408_1.pdf Scan_from_PDE0153_2026-02-18_09-30-07-408_2.pdf cat output merged.pdf

Xampp

MySQL

  • due to error increased in my.ini
innodb_buffer_pool_size=256
  • set root password by
C:\Uwes\Programme\xampp\mysql\bin>mysqladmin.exe -u root password <Lm><STANDARD><Lm>
  • and set it in C:\Uwes\Programme\xampp\phpMyAdmin\config.inc
$cfg['Servers'][$i]['password']

Configuration

Windows 11