Wiki

A universe of ideas

User Tools

Site Tools


computer:gentoo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computer:gentoo [2017-08-23 03:29] – [TeX Live manuell installieren] skrupelloscomputer:gentoo [2023-03-05 14:01] (current) – [PostgreSQL] skrupellos
Line 72: Line 72:
   * Copy config files from ''/etc/postgresql-*/'' to ''/var/lib/postgresql/*/data/'' (they are now symlinked)   * Copy config files from ''/etc/postgresql-*/'' to ''/var/lib/postgresql/*/data/'' (they are now symlinked)
   * Add ''local  all  all  trust'' to ''/etc/postgresql-*/pg_hba.conf'' (it it there by default)   * Add ''local  all  all  trust'' to ''/etc/postgresql-*/pg_hba.conf'' (it it there by default)
 +
 +=== Arch Linux Version ===
 +<code>
 +systemctl stop postgresql
 +systemctl status postgresql
 +
 +cd /var/lib/postgres
 +V=$(cat data/PG_VERSION)
 +mv data data-$V
 +
 +install -d -o postgres -g postgres -m 700 /var/lib/postgres/{data,tmp}
 +cd tmp
 +sudo -u postgres -- initdb --locale en_US.UTF-8 --encoding=UTF8 -D ../data
 +sudo -u postgres -- pg_upgrade -b /opt/pgsql-$V/bin -B /usr/bin -d ../data-$V -D ../data
 +systemctl start postgresql
 +systemctl status postgresql
 +sudo -u postgres -- vacuumdb --all --analyze-in-stages
 +cd ..
 +rm -R tmp
 +</code>
 ===== Haushalten ===== ===== Haushalten =====
 Konfiguration in ''/etc/portage/'' überprüfen Konfiguration in ''/etc/portage/'' überprüfen
Line 126: Line 146:
 Zunächst als root Zunächst als root
 <code bash> <code bash>
-mkdir -p /opt/texlive/2016 /etc/portage/profile/package.provided +mkdir -p /opt/texlive /etc/portage/profile/package.provided 
-chown -R /opt/texlive/2016/... # Den user hier angeben+chown -R /opt/texlive # Den user hier angeben
 cat >/etc/portage/profile/package.provided/notl <<EOF cat >/etc/portage/profile/package.provided/notl <<EOF
 app-text/texlive-2015 app-text/texlive-2015
 app-text/texlive-2016 app-text/texlive-2016
 +app-text/texlive-2017
 app-text/dvipng-1.15 app-text/dvipng-1.15
 EOF EOF
Line 138: Line 159:
 ... ggf. muss man noch Pakete die von texlive abhängen deinstallieren und nacher wieder installieren (doxygen, Anki, ...) oder ''%%--nodeps%%'' verwenden ... ggf. muss man noch Pakete die von texlive abhängen deinstallieren und nacher wieder installieren (doxygen, Anki, ...) oder ''%%--nodeps%%'' verwenden
  
-Dann als user ein TeX Live profile (in ''/tmp/tl-profile'') anlegen:+Dann als user ein TeX Live profile (in ''/tmp/texlive.profile'') anlegen:
 <code> <code>
-selected_scheme scheme-full +# It will NOT be updated and reflects only the 
-TEXDIR /opt/texlive/2016 +# installation profile at installation time. 
-TEXMFCONFIG ~/.config/texlive2016 + 
-TEXMFHOME ~/texmf +selected_scheme scheme-custom 
-TEXMFLOCAL /opt/texlive/texmf-local + 
-TEXMFSYSCONFIG /opt/texlive/2016/texmf-config +TEXDIR          /opt/texlive/2017 
-TEXMFSYSVAR /opt/texlive/2016/texmf-var +TEXMFSYSCONFIG  /opt/texlive/2017/texmf-config 
-TEXMFVAR ~/.cache/texlive2016+TEXMFSYSVAR     /opt/texlive/2017/texmf-var 
 +TEXMFLOCAL      /opt/texlive/texmf-local 
 + 
 +TEXMFCONFIG     ~/.config/texlive2017 
 +TEXMFVAR        ~/.cache/texlive2017 
 +TEXMFHOME       ~/texmf 
 + 
 binary_x86_64-linux 1 binary_x86_64-linux 1
 collection-basic 1 collection-basic 1
 collection-bibtexextra 1 collection-bibtexextra 1
 collection-binextra 1 collection-binextra 1
 +collection-context 1
 collection-fontsextra 1 collection-fontsextra 1
 collection-fontsrecommended 1 collection-fontsrecommended 1
Line 157: Line 186:
 collection-formatsextra 1 collection-formatsextra 1
 collection-games 1 collection-games 1
-collection-genericextra 1 
-collection-genericrecommended 1 
-collection-htmlxml 1 
 collection-humanities 1 collection-humanities 1
 collection-langenglish 1 collection-langenglish 1
Line 170: Line 196:
 collection-metapost 1 collection-metapost 1
 collection-music 1 collection-music 1
-collection-omega 1 
 collection-pictures 1 collection-pictures 1
-collection-plainextra 1+collection-plaingeneric 1
 collection-pstricks 1 collection-pstricks 1
 collection-publishers 1 collection-publishers 1
-collection-science 1 
 collection-xetex 1 collection-xetex 1
-in_place + 
-option_adjustrepo +instopt_adjustpath 
-option_autobackup +instopt_adjustrepo 
-option_backupdir tlpkg/backups +instopt_letter 0 
-option_desktop_integration +instopt_portable 0 
-option_doc 0 +instopt_write18_restricted 1 
-option_file_assocs + 
-option_fmt +tlpdbopt_autobackup 
-option_letter +tlpdbopt_backupdir tlpkg/backups 
-option_menu_integration 1 +tlpdbopt_create_formats 
-option_path +tlpdbopt_desktop_integration 
-option_post_code +tlpdbopt_file_assocs 
-option_src 0 +tlpdbopt_generate_updmap 
-option_sys_bin /usr/local/bin +tlpdbopt_install_docfiles 0 
-option_sys_info /usr/local/share/info +tlpdbopt_install_srcfiles 
-option_sys_man /usr/local/share/man +tlpdbopt_post_code 
-option_w32_multi_user 1 +tlpdbopt_sys_bin /usr/local/bin 
-option_write18_restricted 1 +tlpdbopt_sys_info /usr/local/share/info 
-portable 0+tlpdbopt_sys_man /usr/local/share/man 
 +tlpdbopt_w32_multi_user 1
 </code> </code>
  
Line 202: Line 227:
 wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
 tar -xvf install-tl-unx.tar.gz tar -xvf install-tl-unx.tar.gz
-install-tl-*/install-tl -profile /tmp/tl-profile+install-tl-*/install-tl -profile /tmp/texlive.profile
 </code> </code>
  
-Danach ''/opt/texlive/2016/bin/x86_64-linux'' in ''$PATH'' hinzufügen.+Danach ''/opt/texlive/2017/bin/x86_64-linux'' in ''$PATH'' hinzufügen.
  
 Ein update von TeX Live geht danach mit: Ein update von TeX Live geht danach mit:
computer/gentoo.1503451780.txt.gz · Last modified: 2020-11-18 18:10 (external edit)