UnixTools02: Difference between revisions
Jump to navigation
Jump to search
Tag: Manual revert |
(→yaml) |
||
Line 21: | Line 21: | ||
== yaml == |
== yaml == |
||
Example: docker config |
|||
services: |
|||
nextcloud: |
|||
image: nextcloud |
|||
container_name: nextcloud |
|||
restart: unless-stopped |
|||
networks: |
|||
- cloud |
|||
depends_on: |
|||
- nextclouddb |
|||
- redis |
|||
ports: |
|||
- 8081:80 |
|||
volumes: |
|||
- ./html:/var/www/html |
|||
- ./custom_apps:/var/www/html/custom_apps |
|||
- ./config:/var/www/html/config |
|||
- ./data:/var/www/html/data |
|||
environment: |
|||
- PUID=1000 |
|||
- PGID=1000 |
|||
- TZ=America/Los_Angeles |
|||
- MYSQL_DATABASE=nextcloud |
|||
- MYSQL_USER=nextcloud |
|||
- MYSQL_PASSWORD=dbpassword |
|||
- MYSQL_HOST=nextclouddb |
|||
- REDIS_HOST=redis |
|||
nextclouddb: |
|||
image: mariadb |
|||
container_name: nextcloud-db |
|||
restart: unless-stopped |
|||
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW |
|||
networks: |
|||
- cloud |
|||
volumes: |
|||
- ./nextclouddb:/var/lib/mysql |
|||
environment: |
|||
- PUID=1000 |
|||
- PGID=1000 |
|||
- TZ=America/Los_Angeles |
|||
- MYSQL_RANDOM_ROOT_PASSWORD=true |
|||
- MYSQL_PASSWORD=dbpassword |
|||
- MYSQL_DATABASE=nextcloud |
|||
- MYSQL_USER=nextcloud |
|||
== XML == |
== XML == |
Revision as of 10:03, 13 December 2024
File Formats
ASCII Text
- file.txt
- dmsg.log
Some basic Git commands are:
``` git status git add git commit ```
Markdown
== Header name == === Header name === italic text bold text * list item # numbered list item
yaml
Example: docker config
services: nextcloud: image: nextcloud container_name: nextcloud restart: unless-stopped networks: - cloud depends_on: - nextclouddb - redis ports: - 8081:80 volumes: - ./html:/var/www/html - ./custom_apps:/var/www/html/custom_apps - ./config:/var/www/html/config - ./data:/var/www/html/data environment: - PUID=1000 - PGID=1000 - TZ=America/Los_Angeles - MYSQL_DATABASE=nextcloud - MYSQL_USER=nextcloud - MYSQL_PASSWORD=dbpassword - MYSQL_HOST=nextclouddb - REDIS_HOST=redis
nextclouddb: image: mariadb container_name: nextcloud-db restart: unless-stopped command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW networks: - cloud volumes: - ./nextclouddb:/var/lib/mysql environment: - PUID=1000 - PGID=1000 - TZ=America/Los_Angeles - MYSQL_RANDOM_ROOT_PASSWORD=true - MYSQL_PASSWORD=dbpassword - MYSQL_DATABASE=nextcloud - MYSQL_USER=nextcloud
XML
json
HTML
Q&E
- Analysieren Sie den Aufbau einer Word-Datei
more file.docx
- Wie zuvor, mit einer excel-Datei
- Wie zuvor, mit einer pptx -Datei
- Öffnen Sie mit ihrem Web-Browsewr eine einfache Web-Seite und speichern sie als Dateiab. Sehen Sie sich die Datei an.
- sehen Sie sich eine .jpg, eine .mov, eine .png -Datei an (dies sind binäre Formate).
typical programming languages
- C, C++
- python
- Java
- JavaScript
- bash (script)
- SQL
- e.g. .bashrc (bash script)
- logfile /var/log/dmsg.log
Tools
- unix program file
- Editor with language support