Compare commits

...

13 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
e5474789b0 publish
All checks were successful
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing
2022-11-13 19:20:08 +03:00
b221fa3135 fix
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2022-11-13 19:15:43 +03:00
75a90e6a3c fix deploy 2022-11-13 19:13:36 +03:00
23869939e8 Fix environment
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2022-11-13 19:00:02 +03:00
e541a98978 Fuck
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-13 18:57:15 +03:00
2f0641a33b Drone
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-13 18:54:55 +03:00
309f5135c9 Dockerfile 2022-11-13 18:54:51 +03:00
13 changed files with 86 additions and 8 deletions

12
.drone.yml Normal file
View File

@@ -0,0 +1,12 @@
---
kind: pipeline
type: exec
name: deploy
steps:
- name: Make
commands:
- make drone_build
node:
target: geeksstuffwiki

View File

@@ -1,4 +1,9 @@
all: build serve
local_build: prepare build upload_to_srv clean
drone_build: prepare build copy_to_dir unprepare clean
build:
mkdocs build
clean:
@@ -6,6 +11,14 @@ clean:
prepare:
pip install mkdocs mkdocs-windmill-dark
unprepare:
pip uninstall mkdocs mkdocs-windmill-dark
pip uninstall -y mkdocs mkdocs-windmill-dark
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,22 +1,31 @@
Исходники сайта geeksstuffwiki.ru
===
# Подготовка:
# Локальное поднятие
## Подготовка:
`make prepare`
# Сборка и запуск:
## Сборка и запуск:
`make`
# Прибрать за собой
## Прибрать за собой
`make clean`
# Удалить сборочные зависимости
## Удалить сборочные зависимости
`make unprepare`
# Поднять веб-сервер
## Поднять веб-сервер
`make serve`
`make serve`
# Автодеплой
Все данные помещаются в контейнер. Порт - 8000. docker-entry.sh - скрипт для запуска mkdocs.
1. Собирается докер образ.
2. Поднимается на сервере после promote

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