computer:gentoo
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
computer:gentoo [2016-01-25 01:02] – [Update] skrupellos | computer:gentoo [2023-03-05 14:01] (current) – [PostgreSQL] skrupellos | ||
---|---|---|---|
Line 15: | Line 15: | ||
===== Update ===== | ===== Update ===== | ||
+ | ==== Gentoo ==== | ||
<code bash> | <code bash> | ||
- | emerge --sync | + | eix-sync && \ |
- | layman | + | PORTAGE_NICENESS=19 PORTAGE_IONICE_COMMAND=" |
+ | emerge @preserved-rebuild && \ | ||
+ | emerge -a --depclean | ||
</ | </ | ||
- | [[http:// | + | ==== Kernel ==== |
<code bash> | <code bash> | ||
- | eix-sync | ||
- | </ | ||
- | |||
- | und dann | ||
- | <code bash> | ||
- | PORTAGE_NICENESS=19 PORTAGE_IONICE_COMMAND=" | ||
- | emerge @preserved-rebuild | ||
- | emerge -a --depclean | ||
- | |||
eselect kernel set 1 | eselect kernel set 1 | ||
cd / | cd / | ||
Line 37: | Line 31: | ||
make -j8 && make -j8 modules_install && make -j8 install && touch /boot/* && emerge -1 @module-rebuild | make -j8 && make -j8 modules_install && make -j8 install && touch /boot/* && emerge -1 @module-rebuild | ||
+ | </ | ||
+ | <code bash> | ||
+ | ##Jentoo: | ||
+ | in / | ||
+ | dann kernel bauen in / | ||
+ | in /boot das neueste vmlinuz-...-gentoo nach EFI/ | ||
+ | dann neu starten | ||
+ | </ | ||
+ | ==== Python ==== | ||
+ | <code bash> | ||
eselect python set xxx ## Nicht umbedingt die neuste Version (wie es update tun würde) | eselect python set xxx ## Nicht umbedingt die neuste Version (wie es update tun würde) | ||
python-updater | python-updater | ||
perl-cleaner --all | perl-cleaner --all | ||
+ | eclean-dist -d | ||
+ | ls / | ||
</ | </ | ||
+ | ==== PostgreSQL ==== | ||
+ | <code bash> | ||
+ | ## Temporally install the old version | ||
+ | emerge -1 dev-db/ | ||
+ | |||
+ | ## Create database and config for the new version | ||
+ | emerge --config dev-db/ | ||
+ | |||
+ | ## Manually merge config | ||
+ | d / | ||
+ | #... | ||
+ | |||
+ | ## Migrate | ||
+ | cd /tmp | ||
+ | sudo -u postgres -- pg_upgrade -d / | ||
+ | systemctl start postgresql-9.5.service | ||
+ | sudo -u postgres / | ||
+ | rm -R / | ||
+ | </ | ||
+ | |||
+ | In some old instructions, | ||
+ | * Copy config files from ''/ | ||
+ | * Add '' | ||
+ | |||
+ | === Arch Linux Version === | ||
+ | < | ||
+ | systemctl stop postgresql | ||
+ | systemctl status postgresql | ||
+ | |||
+ | cd / | ||
+ | V=$(cat data/ | ||
+ | mv data data-$V | ||
+ | |||
+ | install -d -o postgres -g postgres -m 700 / | ||
+ | cd tmp | ||
+ | sudo -u postgres -- initdb --locale en_US.UTF-8 --encoding=UTF8 -D ../data | ||
+ | sudo -u postgres -- pg_upgrade -b / | ||
+ | systemctl start postgresql | ||
+ | systemctl status postgresql | ||
+ | sudo -u postgres -- vacuumdb --all --analyze-in-stages | ||
+ | cd .. | ||
+ | rm -R tmp | ||
+ | </ | ||
===== Haushalten ===== | ===== Haushalten ===== | ||
Konfiguration in ''/ | Konfiguration in ''/ | ||
Line 81: | Line 130: | ||
</ | </ | ||
- | Pakete die ausmerksamkeit | + | Pakete die Aufmerksamkeit |
<code bash> | <code bash> | ||
- | emerge | + | PORTAGE_NICENESS=19 PORTAGE_IONICE_COMMAND=" |
+ | $(emerge | ||
+ | $(emerge -e --pretend @world | grep -F ' | ||
</ | </ | ||
Line 90: | Line 142: | ||
(for pkg in / | (for pkg in / | ||
</ | </ | ||
+ | |||
+ | ===== TeX Live manuell installieren ===== | ||
+ | Zunächst als root | ||
+ | <code bash> | ||
+ | mkdir -p / | ||
+ | chown -R / | ||
+ | cat >/ | ||
+ | app-text/ | ||
+ | app-text/ | ||
+ | app-text/ | ||
+ | app-text/ | ||
+ | EOF | ||
+ | emerge -cvaA `(echo virtual/ | ||
+ | emerge -cvaA | ||
+ | </ | ||
+ | ... ggf. muss man noch Pakete die von texlive abhängen deinstallieren und nacher wieder installieren (doxygen, Anki, ...) oder '' | ||
+ | |||
+ | Dann als user ein TeX Live profile (in ''/ | ||
+ | < | ||
+ | # It will NOT be updated and reflects only the | ||
+ | # installation profile at installation time. | ||
+ | |||
+ | selected_scheme scheme-custom | ||
+ | |||
+ | TEXDIR | ||
+ | TEXMFSYSCONFIG | ||
+ | TEXMFSYSVAR | ||
+ | TEXMFLOCAL | ||
+ | |||
+ | TEXMFCONFIG | ||
+ | TEXMFVAR | ||
+ | TEXMFHOME | ||
+ | |||
+ | |||
+ | binary_x86_64-linux 1 | ||
+ | collection-basic 1 | ||
+ | collection-bibtexextra 1 | ||
+ | collection-binextra 1 | ||
+ | collection-context 1 | ||
+ | collection-fontsextra 1 | ||
+ | collection-fontsrecommended 1 | ||
+ | collection-fontutils 1 | ||
+ | collection-formatsextra 1 | ||
+ | collection-games 1 | ||
+ | collection-humanities 1 | ||
+ | collection-langenglish 1 | ||
+ | collection-langgerman 1 | ||
+ | collection-latex 1 | ||
+ | collection-latexextra 1 | ||
+ | collection-latexrecommended 1 | ||
+ | collection-luatex 1 | ||
+ | collection-mathscience 1 | ||
+ | collection-metapost 1 | ||
+ | collection-music 1 | ||
+ | collection-pictures 1 | ||
+ | collection-plaingeneric 1 | ||
+ | collection-pstricks 1 | ||
+ | collection-publishers 1 | ||
+ | collection-xetex 1 | ||
+ | |||
+ | instopt_adjustpath 0 | ||
+ | instopt_adjustrepo 1 | ||
+ | instopt_letter 0 | ||
+ | instopt_portable 0 | ||
+ | instopt_write18_restricted 1 | ||
+ | |||
+ | tlpdbopt_autobackup 1 | ||
+ | tlpdbopt_backupdir tlpkg/ | ||
+ | tlpdbopt_create_formats 1 | ||
+ | tlpdbopt_desktop_integration 1 | ||
+ | tlpdbopt_file_assocs 1 | ||
+ | tlpdbopt_generate_updmap 0 | ||
+ | tlpdbopt_install_docfiles 0 | ||
+ | tlpdbopt_install_srcfiles 0 | ||
+ | tlpdbopt_post_code 1 | ||
+ | tlpdbopt_sys_bin / | ||
+ | tlpdbopt_sys_info / | ||
+ | tlpdbopt_sys_man / | ||
+ | tlpdbopt_w32_multi_user 1 | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | pushd /tmp | ||
+ | wget http:// | ||
+ | tar -xvf install-tl-unx.tar.gz | ||
+ | install-tl-*/ | ||
+ | </ | ||
+ | |||
+ | Danach ''/ | ||
+ | |||
+ | Ein update von TeX Live geht danach mit: | ||
+ | <code bash> | ||
+ | tlmgr update --list | less | ||
+ | echo " | ||
+ | read && tlmgr update --self --all | ||
+ | </ | ||
+ | |||
===== Cross Compiler ===== | ===== Cross Compiler ===== | ||
AVR Compiler bauen | AVR Compiler bauen | ||
< | < | ||
- | USE=" | + | USE=" |
</ | </ | ||
Line 102: | Line 251: | ||
ebuild *.ebuild merge | ebuild *.ebuild merge | ||
</ | </ | ||
+ | |||
+ | ====== Kernel Parameter ====== | ||
+ | Cheat sheet | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | ===== GTK ===== | ||
+ | Find all themes supporting GTK2 and GTK3 | ||
+ | <code bash> | ||
+ | echo GTK2/3 | ||
+ | for d in / | ||
+ | if [ -e " | ||
+ | printf "%20s %s\n" " | ||
+ | fi | ||
+ | done | ||
+ | echo GTK2 only | ||
+ | for d in / | ||
+ | if [ ! -e " | ||
+ | printf "%20s %s\n" " | ||
+ | fi | ||
+ | done | ||
+ | echo GTK3 only | ||
+ | for d in / | ||
+ | if [ -e " | ||
+ | printf "%20s %s\n" " | ||
+ | fi | ||
+ | done | ||
+ | echo Other | ||
+ | for d in / | ||
+ | if [ ! -e " | ||
+ | printf "%20s %s\n" " | ||
+ | fi | ||
+ | done | ||
+ | </ | ||
+ | |||
+ | For some Themes, the engine to be used is defined in '' | ||
+ | |||
+ | Some //engines// (like '' | ||
+ | Some //themes// depend on their engine (like '' | ||
+ | You can use http:// | ||
+ | |||
+ | < | ||
+ | GTK2/3 | ||
+ | | ||
+ | Ambiance x11-themes/ | ||
+ | | ||
+ | | ||
+ | | ||
+ | Breeze kde-plasma/ | ||
+ | | ||
+ | | ||
+ | ContrastHigh x11-themes/ | ||
+ | | ||
+ | Greybird x11-themes/ | ||
+ | HighContrast x11-themes/ | ||
+ | Menta x11-themes/ | ||
+ | Radiance x11-themes/ | ||
+ | | ||
+ | TraditionalGreen x11-themes/ | ||
+ | | ||
+ | Zukini x11-themes/ | ||
+ | | ||
+ | GTK2 only | ||
+ | AlaDelta x11-themes/ | ||
+ | Aurora x11-themes/ | ||
+ | Clearlooks x11-themes/ | ||
+ | | ||
+ | ContrastHighLargePrint x11-themes/ | ||
+ | ContrastHighLargePrintInverse x11-themes/ | ||
+ | | ||
+ | ContrastLowLargePrint x11-themes/ | ||
+ | Crux x11-themes/ | ||
+ | Flat x11-themes/ | ||
+ | Human x11-themes/ | ||
+ | Industrial x11-themes/ | ||
+ | Mist x11-themes/ | ||
+ | | ||
+ | | ||
+ | MurrinaAquaIsh x11-themes/ | ||
+ | MurrinaBlu x11-themes/ | ||
+ | MurrinaCandido x11-themes/ | ||
+ | MurrinaCandy x11-themes/ | ||
+ | | ||
+ | MurrinaCream x11-themes/ | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | MurrinaNeoGraphite x11-themes/ | ||
+ | | ||
+ | NOX x11-themes/ | ||
+ | oxygen-gtk x11-themes/ | ||
+ | PrintLarge x11-themes/ | ||
+ | | ||
+ | | ||
+ | | ||
+ | Shiny x11-themes/ | ||
+ | Simply x11-themes/ | ||
+ | | ||
+ | GTK3 only | ||
+ | | ||
+ | x11-libs/ | ||
+ | Emacs x11-libs/ | ||
+ | x11-libs/ | ||
+ | Xfce x11-themes/ | ||
+ | Xfce-4.0 x11-themes/ | ||
+ | Xfce-4.2 x11-themes/ | ||
+ | Xfce-4.4 x11-themes/ | ||
+ | Xfce-4.6 x11-themes/ | ||
+ | | ||
+ | Xfce-basic x11-themes/ | ||
+ | Xfce-cadmium x11-themes/ | ||
+ | Xfce-curve x11-themes/ | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | Xfce-light x11-themes/ | ||
+ | | ||
+ | Xfce-redmondxp x11-themes/ | ||
+ | | ||
+ | | ||
+ | Xfce-stellar x11-themes/ | ||
+ | | ||
+ | </ | ||
+ | |||
+ | | Adwaita | ||
+ | | Ambiance | ||
+ | | Ambiance-Gentoo | ||
+ | | BlackMATE | ||
+ | | BlueMenta | ||
+ | | Breeze | ||
+ | | Breeze-Dark | ||
+ | | Clearlooks-Phenix | x11-themes/ | ||
+ | | ContrastHigh | ||
+ | | GreenLaguna | ||
+ | | Greybird | ||
+ | | HighContrast | ||
+ | | Menta | x11-themes/ | ||
+ | | Radiance | ||
+ | | Radiance-Gentoo | ||
+ | | TraditionalGreen | ||
+ | | TraditionalOk | ||
+ | | Zukini | ||
+ | | Zukitwo |
computer/gentoo.1453680157.txt.gz · Last modified: 2020-11-18 18:10 (external edit)