Compare commits

...

6 Commits

Author SHA1 Message Date
e3b422e971 Makefile: fix owner/group
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-21 08:49:14 +03:00
e6178832e5 Makefile: Fix unprepare
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-21 08:48:01 +03:00
d2204a5722 Fix make
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
2023-05-21 08:46:36 +03:00
bbf5826b0f Simpify pipeline
Some checks failed
continuous-integration/drone/push Build is failing
2023-05-21 08:45:59 +03:00
1eb285dc63 fujitsu
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-27 18:45:24 +03:00
8b99dedb0b Про ноуты, картинки материнок, выгрузка на сервер
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-27 17:21:02 +03:00
14 changed files with 62 additions and 40 deletions

View File

@ -1,38 +1,12 @@
---
kind: pipeline
type: exec
name: build image
steps:
- name: build
commands:
- docker build . -t git.lulzette.ru/lulzette/geeksstuffwiki:latest
- name: login
commands:
- docker login git.lulzette.ru -u lulzette -p $gitea_key
environment:
gitea_key:
from_secret: gitea_key
- name: push
commands:
- docker push git.lulzette.ru/lulzette/geeksstuffwiki:latest
--- ---
kind: pipeline kind: pipeline
type: exec type: exec
name: deploy name: deploy
steps: steps:
- name: Run image - name: Make
commands: commands:
- docker run --name docs -p 8000:8000 -d git.lulzette.ru/lulzette/geeksstuffwiki:latest - make drone_build
trigger:
event:
- promote
target:
- production
node: node:
target: geeksstuffwiki target: geeksstuffwiki
depends_on:
- build image

View File

@ -1,6 +0,0 @@
FROM alpine:3.16.3
RUN apk update && apk add py-pip make
COPY . /app
RUN cd /app && make prepare && make build
CMD [ "/app/docker-entry.sh" ]
EXPOSE 8000

View File

@ -1,4 +1,9 @@
all: build serve all: build serve
local_build: prepare build upload_to_srv clean
drone_build: prepare build copy_to_dir unprepare clean
build: build:
mkdocs build mkdocs build
clean: clean:
@ -6,6 +11,14 @@ clean:
prepare: prepare:
pip install mkdocs mkdocs-windmill-dark pip install mkdocs mkdocs-windmill-dark
unprepare: unprepare:
pip uninstall mkdocs mkdocs-windmill-dark pip uninstall -y mkdocs mkdocs-windmill-dark
serve: serve:
mkdocs serve mkdocs serve
upload_to_srv:
rsync -a -P --delete `pwd`/site/ geekwiki:/srv/http/
copy_to_dir:
cp -r /srv/http /srv/http_${DRONE_BUILD_NUMBER}
rsync -a -P --delete `pwd`/site/ /srv/http/
chown -R http:http /srv/http

View File

@ -1,3 +0,0 @@
#!/bin/sh
cd /app
mkdocs serve

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

View File

@ -0,0 +1,8 @@
Как выбрать ноут
====
Выбрать ноут довольно несложно. Есть несколько пунктов, которые следует проверить при покупке ноутбука. Вообще процесс неплохо описан [здесь.](https://github.com/ThinkPadThink/Thinkpadthinkpad) Но у меня свой список:
* Проверить пароль биоса (вернее его отсутствие)
* Проверить здоровье накопителя
* Запустить stress на все ядра, проверить, нет ли троттлинга (однако он может быть из-за особенностей модели)

View File

@ -0,0 +1,22 @@
Tower сервера Fujitsu
===
Модель состоит из 2х частей - серия (например TX150) и поколение (S7)
Устаревшие серии:
* TX100
* TX150
* TX200
* TX300
* RX200
* RX350
Лично у меня был TX150 S7. Довольно капризный к оперативной памяти сервер. Во первых он не воспринимает ECC Reg память, только Ecc или обычную озу. При этом, память с рангом надо ХRx8, другую он не жрет.
Есть IPMI. Video redirect требует лицензии.
Пик:
![Fujitsu TX150 S7](../assets/servers/fujitsu-tx150s7.jpg)
![Fujitsi TX150 S7 Inside](../assets/servers/fujitsu-tx150s7-2.jpg)

View File

@ -14,11 +14,25 @@
Xeon E: Xeon E:
* X8 - LGA 1366 - Westmere * X8 - LGA 1366 - Westmere
![X8DTL-I](../assets/servers/x8dtl-i.webp "X8DTL-I")
* X9 - LGA 2011 - Ivy Bridge, Sandy Bridge * X9 - LGA 2011 - Ivy Bridge, Sandy Bridge
![X9DRL-IF](../assets/servers/x9drl-if.webp "X9DRL-IF")
* X10 - LGA 2011-v3 (2011-3) - Haswell, Broadwell * X10 - LGA 2011-v3 (2011-3) - Haswell, Broadwell
![X10DRL-i](../assets/servers/X10DRL-i.webp "X10DRL-i")
* X11 - LGA 1151 - Coffee Lake * X11 - LGA 1151 - Coffee Lake
![X11DPI-N](../assets/servers/X11DPI-N.jpg "X11DPI-N")
* X12 - LGA 4189 - Ice Lake (Xeon Scalable 3rd Gen) * X12 - LGA 4189 - Ice Lake (Xeon Scalable 3rd Gen)
![x12dai-n6-b](../assets/servers/x12dai-n6-b.webp "x12dai-n6-b")
## AMD ## AMD
TODO TODO