User:Kgdrenefort/captain logs

From Gentoo Wiki
Jump to:navigation Jump to:search

 My «captain» logs

Last edition: Monday the 3rd June, 2024

Purpose of this page

As a captain of a ship, the administrator of an operating system is responsible of everything happening to the ship. It's the captain duty, as the administrator.

Since Gentoo is kind of very powerful, related to most Linux distribution or other OS, it's very easy to do things and forget them right away.

Specially when the captain is ADHD. If life was a game, a RPG, I would have a gigantic malus in intelligence because I can't brain properly.

That's why this page comes into existence. I lost time too many often because I forgot something I did before, as energy and mental sanity, to me as other.

Here will be reported major operations of my system. By date and time, explaining what was done and for what purpose I did wanted to do it.

If by any chance I redirect you on this page, it is because it should contains informations useful to help me. See this as… a (back)log of my doing.

This page is a test

For now, it'll take care only of my main machine, called Mephistopheles, having the list of hardware and parameters, configuration and such.

This page could contains «uninteresting» stuff

Because my memory is clearly bad, I even forget where I puts my note. Since this page is kind of related, will list what I want to do (later) or is a work in progress, it's for me, really, but feel free to take a look.


Mephistopheles

Main workstation, future server/workstation (work in progress).

General informations

Hardware

Gentoo related informations

Profile
default/linux/amd64/23.0/hardened/systemd
Make.conf (complete)
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j12"

USE="X a52 aac acpi alsa bluetooth branding cairo cdda cdr clamav colord cups css cups curl cxx dbus dist-kernel dri dts dvd dvdr encode exif fbcon ffmpeg flac fltk gdbm gif gpm gtk gui gstreamer hddtemp icu jack jpeg lcms libnotify lm-sensors lto lua mad matroska man modules modules-compress modules-sign mng mp3 mp4 mplayer mpeg networkmanager ogg opengl pango pch pdf png policykit posix profile pulseaudio ppds qt5 readline sdl scanner seccomp sound spell startup-notification svg symlink systemd tiff truetype udisks upower usb vorbis vulkan wxwidgets x264 xcb xft xml xv xvid uefi vcd vim-syntax -gtk-doc -handbook -ibm -ieee1394 -musepack -musicbrainz -nvenc -oracle -pda -plasma -quicktime -samba -screencast -semantic-desktop -smartcard -speech -speex -wayland -geoip -geolocation -gphotos2 -gps -ios -ipod -webkit -wifi"

L10N="fr en"

VIDEO_CARDS="nvidia"

GRUB_PLATFORMS="efi-64"

ACCEPT_LICENSES="-* @FREE @BINARY-REDISTRIBUTABLE"

# NOTE: This stage was built with the bindist Use flag enabled

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C.utf8

GENTOO_MIRRORS="https://mirrors.ircam.fr/pub/gentoo-distfiles/ \
    https://gentoo.mirrors.ovh.net/gentoo-distfiles/ \
    https://mirrors.soeasyto.com/distfiles.gentoo.org/"
emerge --info
Updated soon.


General linux stuff

Kernel
  • Kernel in use:
Linux Mephistopheles 6.6.30-gentoo-dist-hardened #1 SMP PREEMPT_DYNAMIC Fri May 10 10:55:56 CEST 2024 x86_64 AMD Ryzen 5 2600 Six-Core Processor AuthenticAMD GNU/Linux
Mounting media (fstab)
  • /etc/fstab:
# EFI - /dev/sda1 while installing
PARTUUID=2aec02da-3e09-4bfe-a151-afb1360491fa	/efi	vfat	umask=0077	0 2

# Root - /dev/sda2 while installing
PARTUUID=8fc528f0-c1fe-4df2-9f3c-45340bf50327	/	xfs	defaults,lazytime	0 1

# Home - Non existing while installing
# PARTUUID=	/home	xfs	defaults,lazytime	0 2

# Swap - Non existing while installing
/swapfile	none	swap	sw	0 0

# External Hard Drive (Data, backup, etc)
# PARTUUID=487bcffe-50dd-4edd-8dd6-5431db96e926	/mnt/extData	ext4	defaults	0 0

# Internel (SSD) hard drive (Data, backup, others, etc)
PARTUUID=f867b603-cb5f-414f-b6bd-e3bda2b70511	/mnt/data	xfs	defaults	0 2

# Internel (SSD) hard drive (Virtual machines pool)
PARTUUID=3d46f11b-0a92-46f3-82c7-f1889ede23c6	/mnt/server	xfs	defaults,lazytime	0 0
Power available (CPU, RAM…)
  • Number of threads (CPU): ×12
  • Available memory: 16Gb (2×8)
  • Available swap memory: 16Gb swapfile.
  • vm.swappiness: 1

Opened threads for forum.gentoo.org (not solved)

 Category

Solved

Goals to achieve, stuff to do

Non-exhaustive list, specially needed for my own usage of course, it's just here because otherwise I will forget where I noted these stuffs, as usual !

Security

Sandbox some apps
  • Runs into sandbox some applications as Firefox, Thunderbird, because they are opens door to be hacked !

I did not even tried for now :).

Monitoring the system
  • Add monitoring system to manage more deeply what's going on.

Data

  • Resetup backups with xfsdump (not only)

I'm just lazy, will do very soon.