Ahrensburg.city:Tools: Unterschied zwischen den Versionen

Aus ahrensburg.city
Zur Navigation springen Zur Suche springen
// via Wikitext Extension for VSCode
// via Wikitext Extension for VSCode
Zeile 1: Zeile 1:
== Tools ==
site_name: Dokument
===Git Installieren===
nav:
<pre>
  - Starseite: index.md
sudo apt-get update
  - Server:
sudo apt-get upgrade
    - Server20.04: Server/index.md
 
    - Server22.04: Server/Server224.md
sudo apt-get install git
    - Server24.04: Server/Server244.md
 
    - Server Mieten: Server/Server_Mieten.md
git config --global user.email "you@example.com"
  - IDE: IDE/index.md 
git config --global user.name "Your Name"
  - Wordpress:
 
    - Installieren: CMS/Wordpress/index.md
</pre>
    - klassik Themen: CMS/Wordpress/classe:Themen.md
===GH Installieren===
  - Mediawiki:
<pre>
    - Installieren: CMS/Mediawiki/index.md
(type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) \
  - Static Site Generator:
&& sudo mkdir -p -m 755 /etc/apt/keyrings \
    - Code-Dokumentationen:
&& wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
      - mkdocs: SSG/mkdocs.md
&& sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
      - sphinx: SSG/sphinx.md
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
    - Frameworks:
&& sudo apt update \
      - next.js: SSG/next.js.md
&& sudo apt install gh -y
      - astro.build: SSG/astro.build.md
</pre>
    - Github-pages: SSG/github_page.md
 
 
====GH Anmelden=====
  - Tools:
 
    - Pandoc: Tools/Pandoc.md
<pre>
    - Analysetool: Tools/Analysetool.md
gh auth login
    - Benchmark: Tools/Benchmark.md
</pre>
  - Impressum: Impressum.md
 
  - Datenschutz: Datenschutz.md
=== Backup für MediaWiki erstellen ===
theme:
 
  name: 'material'
<pre>
  language: de
cd /var/www
plugins:
gh repo clone thorstenkloehn/Download
    - search
sudo chmod 777 -R Download
extra:
cd /var/www/Download
  consent:
php /var/www/mediawiki/maintenance/dumpBackup.php --full > /var/www/Download/pagedump.xml
    title: Cookie-Zustimmung
git add .
    description: >-
git commit -m "Backup"
      Wir verwenden Cookies, um Ihre Besuche und Präferenzen zu erkennen und die
git push
      Effektivität unserer Dokumentation zu messen.
</pre>
 
=== Backup für MediaWiki wiederherstellen ===
 
<pre>
php importDump.php < pagedump.xml
</pre>
[[Category:Tools]]
[[Category:Git]]
[[Category:GH]]
[[Category:Backup]]
[[Category:MediaWiki]]

Version vom 9. August 2024, 04:50 Uhr

site_name: Dokument nav:

 - Starseite: index.md
 - Server:
   - Server20.04: Server/index.md
   - Server22.04: Server/Server224.md
   - Server24.04: Server/Server244.md
   - Server Mieten: Server/Server_Mieten.md
 - IDE: IDE/index.md  
 - Wordpress:
   - Installieren: CMS/Wordpress/index.md
   - klassik Themen: CMS/Wordpress/classe:Themen.md
 - Mediawiki:
   - Installieren: CMS/Mediawiki/index.md
 - Static Site Generator:
   - Code-Dokumentationen:
     - mkdocs: SSG/mkdocs.md
     - sphinx: SSG/sphinx.md
   - Frameworks:
     - next.js: SSG/next.js.md
     - astro.build: SSG/astro.build.md
   - Github-pages: SSG/github_page.md
 
 - Tools:
   - Pandoc: Tools/Pandoc.md
   - Analysetool: Tools/Analysetool.md
   - Benchmark: Tools/Benchmark.md
 - Impressum: Impressum.md
 - Datenschutz: Datenschutz.md

theme:

 name: 'material'
 language: de

plugins:

   - search

extra:

 consent:
   title: Cookie-Zustimmung
   description: >-
     Wir verwenden Cookies, um Ihre Besuche und Präferenzen zu erkennen und die
     Effektivität unserer Dokumentation zu messen.