Aller directement au contenu

Monde

Sujets en dehors de ce forum. Les vues et opinions exprimées ici ne reflètent pas nécessairement celles de ce forum et de ses membres.

Un monde de contenus à portée de main…

Voyez cela comme votre fil de découverte global. Il rassemble des discussions intéressantes issues du web et d’autres communautés, en un seul endroit.

Bien que vous puissiez consulter les tendances du moment, la meilleure façon d’utiliser ce fil est de le personnaliser. En créant un compte, vous pouvez suivre des créateurs et des sujets spécifiques afin de filtrer le bruit et de ne voir que ce qui vous intéresse.

Prêt à vous lancer ? Créez un compte pour suivre d’autres personnes, recevoir des notifications quand on vous répond et sauvegarder vos contenus favoris.

S'inscrire Se connecter
  • Tuxedo17T

    Voici un exemple de fichier service : /etc/systemd/system/llama-server.service

    [Unit]
    Description=Llama Server
    After=network.target
    
    [Service]
    Type=simple
    User=root
    WorkingDirectory=/home/XXXX/llama.cpp
    Environment="NVM_BIN=/home/XXXX/.nvm/versions/node/v24.17.0/bin"
    Environment="NVM_DIR=/home/XXXXX/.nvm"
    Environment="NVM_INC=/home/XXXXX/.nvm/versions/node/v24.17.0/include/node"
    Environnent="PATH=/home/XXXX/.nvm/versions/node/v24.17.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
    ExecStart=/usr/local/bin/llama-server \
      -m /models/XXXXX.gguf --mmproj /models/mmproj-XXXX.gguf \
      --host 0.0.0.0 --port 8080
    Restart=on-failure
    RestartSec=5s
    StandardOutput=file:/tmp/llama-server.stdout.log
    StandardError=file:/tmp/llama-server.stderr.log
    
     
    [Install]
    WantedBy=multi-user.target
    
    

  • fariasF

    https://ipinfo.io/157.245.57.78?lookup_source=search-bar # zgrep "xmlrpc.php" /var/log/apache2/access.*.log | sed 's/:/ /g' | awk '{print $2}' | sort -n | uniq -c | sort -n | tail -10 405 45.91.22.64 408 45.91.22.77 413 45.91.22.95 418 45.91.22.62 420 45.91.22.68 420 45.91.22.97 422 45.91.22.59 426 45.91.22.75 431 45.91.22.65 15224 157.245.57.78
  • fariasF

    Test de la configuration :

    # npx --no node-llama-cpp inspect gpu
    OS: Ubuntu 24.04.4 LTS (x64)
    Node: 26.3.1 (x64)
    
    node-llama-cpp: 3.18.1
    Prebuilt binaries: b8390
    
    ggml_cuda_init: failed to initialize CUDA: CUDA driver version is insufficient for CUDA runtime version
    CUDA: available
    ggml_cuda_init: failed to initialize CUDA: CUDA driver version is insufficient for CUDA runtime version
    Vulkan: available
    
    CUDA devices: Quadro M5000, Quadro M4000
    CUDA used VRAM: 0.85% (138.88MB/15.86GB)
    CUDA free VRAM: 99.14% (15.73GB/15.86GB)
    
    Vulkan devices: Quadro M5000, Quadro M4000
    Vulkan used VRAM: 1.76% (298.13MB/16.48GB)
    Vulkan free VRAM: 98.23% (16.19GB/16.48GB)
    
    CPU model: Intel(R) Xeon(R) CPU E5-2450 v2 @ 2.50GHz
    Math cores: 32
    Used RAM: 16.49% (2.99GB/18.14GB)
    Free RAM: 83.5% (15.15GB/18.14GB)
    Used swap: 0% (0B/4GB)
    Max swap size: 4GB
    mmap: supported
    
    

    https://huggingface.co/unsloth/Qwen3.5-2B-GGUF/resolve/main/Qwen3.5-2B-Q4_0.gguf?download=true
  • fariasF

    Les commandes :

    Ma version de Ubuntu :

    # inxi -F
    System:
      Host: XXXX Kernel: 6.8.0-117-generic arch: x86_64 bits: 64
      Console: pty pts/1 Distro: Ubuntu 24.04.4 LTS (Noble Numbat)
    Machine:
      Type: Kvm System: QEMU product: Standard PC (i440FX + PIIX, 1996) v: pc-i440fx-10.1 serial: N/A
      Mobo: N/A model: N/A serial: N/A BIOS: SeaBIOS v: rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org
        date: 04/01/2014
    CPU:
      Info: 4x 8-core model: Intel Xeon E5-2450 v2 bits: 64 type: MCP SMP cache:
        L2: 4x 32 MiB (128 MiB)
      Speed (MHz): avg: 2500 min/max: N/A cores: 1: 2500 2: 2500 3: 2500 4: 2500 5: 2500 6: 2500
        7: 2500 8: 2500 9: 2500 10: 2500 11: 2500 12: 2500 13: 2500 14: 2500 15: 2500 16: 2500 17: 2500
        18: 2500 19: 2500 20: 2500 21: 2500 22: 2500 23: 2500 24: 2500 25: 2500 26: 2500 27: 2500
        28: 2500 29: 2500 30: 2500 31: 2500 32: 2500
    Graphics:
      Device-1: driver: bochs-drm v: N/A
      Device-2: NVIDIA GM204GL [Quadro M5000] driver: nvidia v: 580.159.03
      Device-3: NVIDIA GM204GL [Quadro M4000] driver: nvidia v: 580.159.03
      Display: server: X.org v: 1.21.1.11 driver: gpu: bochs-drm tty: 213x51 resolution: 1280x800
      API: EGL v: 1.5 drivers: swrast platforms: surfaceless,device
      API: OpenGL v: 4.5 vendor: mesa v: 25.2.8-0ubuntu0.24.04.2 note: console (EGL sourced)
        renderer: llvmpipe (LLVM 20.1.2 256 bits)
    Audio:
      Message: No device data found.
    Network:
      Device-1: Intel 82371AB/EB/MB PIIX4 ACPI type: network bridge driver: piix4_smbus
      Device-2: Red Hat Virtio network driver: virtio-pci
      IF: ens18 state: up speed: -1 duplex: unknown mac: bc:24:11:b5:30:62
    Drives:
      Local Storage: total: 20.51 TiB used: 13.02 TiB (63.5%)
      ID-1: /dev/sda vendor: QEMU model: HARDDISK size: 400 GiB
      ID-2: /dev/sdb model: Portable SSD T5 size: 931.51 GiB type: USB
      ID-3: /dev/sdc vendor: Seagate model: FireCuda HDD size: 4.55 TiB type: USB
      ID-4: /dev/sdd vendor: Seagate model: Expansion Desk size: 14.55 TiB type: USB
      ID-5: /dev/sde vendor: Kingston model: SA400S37120G size: 111.79 GiB type: USB
    Partition:
      ID-1: / size: 391.18 GiB used: 292.79 GiB (74.8%) fs: ext4 dev: /dev/dm-0
      ID-2: /boot size: 1.9 GiB used: 345.4 MiB (17.7%) fs: ext4 dev: /dev/sda2
    Swap:
      ID-1: swap-1 type: file size: 4 GiB used: 8.5 MiB (0.2%) file: /swap.img
    Sensors:
      Src: lm-sensors+/sys Message: No sensor data found using /sys/class/hwmon or lm-sensors.
    Info:
      Memory: total: 78.19 GiB available: 18.14 GiB used: 2.62 GiB (14.4%)
      Processes: 416 Uptime: 24d 19h 4m Init: systemd target: graphical (5) Shell: Bash inxi: 3.3.34
    

    Mise à jours de CUDA :

    # apt-get update
    # apt-get upgrade
    # ubuntu-drivers autoinstall
    # apt install nvidia-cuda-toolkit -y
    # echo 'vm.swappiness=10' | sudo tee -a /etc/sysctl.conf
    # nvcc --version
    nvcc: NVIDIA (R) Cuda compiler driver
    Copyright (c) 2005-2025 NVIDIA Corporation
    Built on Fri_Feb_21_20:23:50_PST_2025
    Cuda compilation tools, release 12.8, V12.8.93
    Build cuda_12.8.r12.8/compiler.35583870_0
    

    Aie … on refait :

    # wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-ubuntu2404.pin
    # mv cuda-ubuntu2404.pin /etc/apt/preferences.d/cuda-repository-pin-600
    # wget https://developer.download.nvidia.com/compute/cuda/13.3.0/local_installers/cuda-repo-ubuntu2404-13-3-local_13.3.0-610.43.02-1_amd64.deb
    # dpkg -i cuda-repo-ubuntu2404-13-3-local_13.3.0-610.43.02-1_amd64.deb
    # cp /var/cuda-repo-ubuntu2404-13-3-local/cuda-*-keyring.gpg /usr/share/keyrings/
    # apt-get update
    # apt-get -y install cuda-toolkit-13-3
    # nvcc --version
    nvcc: NVIDIA (R) Cuda compiler driver
    Copyright (c) 2005-2026 NVIDIA Corporation
    Built on Fri_Apr_24_07:22:02_PM_PDT_2026
    Cuda compilation tools, release 13.3, V13.3.33
    Build cuda_13.3.r13.3/compiler.37862127_0
    # apt-get autoremove
    # ldconfig -v
    

    La page pour le téléchargement de cuda : https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=24.04&target_type=deb_local

    Installation nvm :

    # curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
    ...
    # source ~/.profile
    ...
    # nvm install node
    ...
    # nvm install 24
    ...
    # nvm use 24
    Now using node v24.17.0 (npm v11.13.0)
    

    Installation de la libnccl :

    # apt install libnccl2 libnccl-dev
    

    Installation llama.ccp :

    # git clone https://github.com/ggml-org/llama.cpp.git
    # cd llama.cpp
    # mkdir build
    # cd build
    # cmake ..
    # cmake --build . --config Release
    # make install
    

    Chargement des modèles :

    # mkdir /models
    # curl -L --fail -o /models/qwen2.5-1.5b-instruct-q4_k_m.gguf   https://huggingface.co/bartowski/Qwen2.5-1.5B-Instruct-GGUF/resolve/main/Qwen2.5-1.5B-Instruct-Q4_K_M.gguf
    

    Benchmark ( sans CUDA, seulement CPU ) :

    # llama-bench -m  /models/qwen2.5-1.5b-instruct-q4_k_m.gguf
    | model                          |       size |     params | backend    | threads |            test |                  t/s |
    | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
    | qwen2 1.5B Q4_K - Medium       | 934.69 MiB |     1.54 B | CPU        |      32 |           pp512 |         74.97 ± 4.53 |
    
    

    C’est vraiment mauvais …


    Mise à jours de Ollama : # curl -fsSL https://ollama.com/install.sh | sh >>> Cleaning up old version at /usr/local/lib/ollama >>> Installing ollama to /usr/local >>> Downloading ollama-linux-amd64.tar.zst ######################################################################## 100.0% >>> Adding ollama user to render group... >>> Adding ollama user to video group... >>> Adding current user to ollama group... >>> Creating ollama systemd service... >>> Enabling and starting ollama service... >>> NVIDIA GPU installed. Visiblement même problème : ... juin 19 10:51:37 ollama[2964]: time=2026-06-19T10:51:37.153Z level=INFO source=model_list_cache.go:111 msg="model list cache hydration complete" models=16 failures=0 elapsed=654.370427ms juin 19 10:51:42 ollama[2964]: time=2026-06-19T10:51:42.591Z level=WARN source=cuda_compat.go:38 msg="NVIDIA driver too old" device="Quadro M5000" compute=5.2 driver=535 required_driver="570 or newer" juin 19 10:51:42 ollama[2964]: time=2026-06-19T10:51:42.591Z level=WARN source=cuda_compat.go:38 msg="NVIDIA driver too old" device="Quadro M4000" compute=5.2 driver=535 required_driver="570 or newer" juin 19 10:51:43 ollama[2964]: time=2026-06-19T10:51:43.181Z level=INFO source=types.go:32 msg="inference compute" id=1 filter_id=1 library=Vulkan compute=0.0 name=Vulkan1 description="Quadro M4000" libd> juin 19 10:51:43 ollama[2964]: time=2026-06-19T10:51:43.181Z level=INFO source=types.go:32 msg="inference compute" id=0 filter_id=0 library=Vulkan compute=0.0 name=Vulkan0 description="Quadro M5000" libd> ...
  • Tuxedo17T
    Processeur vcpu RAM qwen35moe 35B.A3B Q4_K – Medium pp512 qwen35moe 35B.A3B Q4_K – Medium tg128 gemma3 1B Q4_K – Medium pp512 gemma3 1B Q4_K – Medium tg128
    Intel Xeon Gold 6240 16 32 66 2 370 10
    Intel Xeon Gold 6240 28 62 112 7 631 22
    11th Gen Intel Core i7-11800H 16 64 ? ? 322 48

  • Tuxedo17T

    C’est à cause de npm :

    # curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
    ...
    # source ~/.profile
    ...
    # nvm install node
    ...
    # nvm install 24
    ...
    # nvm use 24
    Now using node v24.17.0 (npm v11.13.0)
    
    

    Ensuite il faut refaire un build de llama.cpp.


    Les logs avant le build : # export LD_LIBRARY_PATH=/usr/local/cuda/lib # export PATH=$PATH:/usr/local/cuda/bin # cmake .. -DGGML_CUDA=ON CMAKE_BUILD_TYPE=Release -- Warning: ccache not found - consider installing it for faster compilation or disable this warning with GGML_CCACHE=OFF -- CMAKE_SYSTEM_PROCESSOR: x86_64 -- GGML_SYSTEM_ARCH: x86 -- Including CPU backend -- x86 detected -- Adding CPU backend variant ggml-cpu: -march=native -- CUDA Toolkit found -- Using CMAKE_CUDA_ARCHITECTURES=75-virtual;80-virtual;86-real;89-real;90-virtual;120a-real;121a-real CMAKE_CUDA_ARCHITECTURES_NATIVE= -- CUDA host compiler is GNU 11.4.0 -- Including CUDA backend -- ggml version: 0.15.1 -- ggml commit: b4024af6c -- OpenSSL found: 3.0.2 -- Generating embedded license file for target: llama-app -- Configuring done -- Generating done -- Build files have been written to: /home/XXXX/GIT/llama.cpp/build
  • Tuxedo17T

    Le hardware :

    $ inxi -F
    System:
      Host: tuxedo17 Kernel: 6.8.0-124-generic arch: x86_64 bits: 64
        Desktop: Budgie v: 10.6.1 Distro: Ubuntu 22.04.5 LTS (Jammy Jellyfish)
    Machine:
      Type: Laptop System: TUXEDO product: TUXEDO Polaris Intel Gen3 (TGL)
        v: Standard serial: <superuser required>
      Mobo: NB02 model: GMxTGxx v: Standard serial: <superuser required>
        UEFI: American Megatrends LLC. v: N.1.07A03 date: 09/24/2021
    Battery:
      ID-1: BAT0 charge: 62.3 Wh (100.0%) condition: 62.3/62.3 Wh (100.0%)
    CPU:
      Info: 8-core model: 11th Gen Intel Core i7-11800H bits: 64 type: MT MCP
        cache: L2: 10 MiB
      Speed (MHz): avg: 1456 min/max: 800/4600 cores: 1: 1330 2: 801 3: 1052
        4: 800 5: 800 6: 1036 7: 800 8: 800 9: 2211 10: 800 11: 800 12: 4535 13: 800
        14: 2614 15: 800 16: 3320
    Graphics:
      Device-1: Intel TigerLake-H GT1 [UHD Graphics] driver: i915 v: kernel
      Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] driver: nvidia
        v: 560.35.03
      Device-3: Chicony HD Webcam driver: uvcvideo type: USB
      Display: x11 server: X.Org v: 1.21.1.4 with: Xwayland v: 22.1.1 driver: X:
        loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa dri: iris gpu: i915
        resolution: 1920x1080~144Hz
      API: EGL v: 1.5 drivers: nvidia platforms: x11,device
      API: OpenGL v: 4.6.0 vendor: nvidia v: 560.35.03 renderer: NVIDIA GeForce
        RTX 3060 Laptop GPU/PCIe/SSE2
    

    Le build par défault ( donc sans CUDA ) de llama.cpp :

    # git clone https://github.com/ggml-org/llama.cpp.git
    ...
    # cmake --build . --config Release
    ...
    

    Le résultat :

    # llama-bench -m ~/.cache/huggingface/hub/models--ggml-org--gemma-3-1b-it-GGUF/snapshots/f9c28bcd85737ffc5aef028638d3341d49869c27/gemma-3-1b-it-Q4_K_M.gguf 
    | model                          |       size |     params | backend    | threads |            test |                  t/s |
    | ------------------------------ | ---------: | ---------: | ---------- | ------: | --------------: | -------------------: |
    | gemma3 1B Q4_K - Medium        | 762.49 MiB |   999.89 M | CPU        |       8 |           pp512 |       322.52 ± 13.60 |
    | gemma3 1B Q4_K - Medium        | 762.49 MiB |   999.89 M | CPU        |       8 |           tg128 |         48.07 ± 0.48 |
    
    build: b4024af6c (9687)
    

    Test : $ curl -fsS http://localhost:8080/v1/chat/completions -H "Content-Type: application/json" -d '{ "model": "qwen2.5-1.5b", "messages": [ {"role": "system", "content": "Tu es un assistant DevOps qui répond en français en une phrase."}, {"role": "user", "content": "Quelle commande systemd affiche les services actifs ?"} ], "temperature": 0.2, "max_tokens": 80 }' | jq { "choices": [ { "finish_reason": "stop", "index": 0, "message": { "role": "assistant", "content": "systemctl list-units --active" } } ], "created": 1781775300, "model": "qwen2.5-1.5b", "system_fingerprint": "b9687-b4024af6c", "object": "chat.completion", "usage": { "completion_tokens": 8, "prompt_tokens": 38, "total_tokens": 46, "prompt_tokens_details": { "cached_tokens": 37 } }, "id": "chatcmpl-mXP4t0noHYBKTaBSnZfxFdoTycVt42zC", "timings": { "cache_n": 37, "prompt_n": 1, "prompt_ms": 21.161, "prompt_per_token_ms": 21.161, "prompt_per_second": 47.25674590047729, "predicted_n": 8, "predicted_ms": 40.424, "predicted_per_token_ms": 5.053, "predicted_per_second": 197.90223629527014 } }
  • Tuxedo17T

    Distribution linux

    Local IA

    Interface à Ollama / …

    Pour le chargement des modèles :

    Meilleur modèle pour carte 16 Go :

    ollama pull gpt-oss:20b
    ollama run gpt-oss:20b
    
    
    

    Comparaison

    • Asus Radeon RX 9060 XT 16 Go vs NVIDIA 4060 TI 16 Go :

    Elles sont similaires :

    58eef493-c718-4c09-b0bb-940546595862-image.png


    Après la mise à jours des modèles : # ollama list NAME ID SIZE MODIFIED gpt-oss:20b 17052f91a42e 13 GB About a minute ago llama2:latest 78e26419b446 3.8 GB 18 minutes ago phi4:latest ac896e5b8b34 9.1 GB 18 minutes ago qwen2:latest dd314f039b9d 4.4 GB 18 minutes ago gemma2:latest ff02c3702f32 5.4 GB 18 minutes ago mistral:latest 6577803aa9a0 4.4 GB 18 minutes ago llama3.1:latest 46e0c10c039e 4.9 GB 22 minutes ago llava:latest 8dd30f6b0cb1 4.7 GB 22 minutes ago llava:13b 0d0eb4d7f485 8.0 GB 16 months ago llava:7b 8dd30f6b0cb1 4.7 GB 16 months ago llama3.1:8b 46e0c10c039e 4.9 GB 16 months ago mistral:7b f974a74358d6 4.1 GB 16 months ago gemma2:9b ff02c3702f32 5.4 GB 16 months ago qwen2:7b dd314f039b9d 4.4 GB 16 months ago phi4:14b ac896e5b8b34 9.1 GB 16 months ago
  • fariasF

    Mise à jours de la version de NodeBB via le script :

    ./nodebb stop
    ./nodebb upgrade
    ./nodebb start
    

    Update NodeBB v4.13.1
  • fariasF
    root@docker:~/dawarich# docker compose -f docker/docker-compose.yml down
    [+] Running 5/5
     ✔ Container dawarich_sidekiq  Removed                                                                                                                                               0.5s 
     ✔ Container dawarich_app      Removed                                                                                                                                               0.3s 
     ✔ Container dawarich_db       Removed                                                                                                                                               0.2s 
     ✔ Container dawarich_redis    Removed                                                                                                                                               0.2s 
     ✔ Network docker_dawarich     Removed                                                                                                                                               1.7s 
    root@docker:~/dawarich# docker compose -f docker/docker-compose.yml pull
    [+] Pulling 32/32
     ✔ dawarich_sidekiq Skipped - Image is already being pulled by dawarich_app                                                                                                          0.0s 
     ✔ dawarich_db Pulled                                                                                                                                                               25.1s 
       ✔ ed24ebfd38ba Pull complete                                                                                                                                                      2.0s 
       ✔ 3fa9b0a7f3bd Pull complete                                                                                                                                                      2.4s 
       ✔ 0994e2a6ce3a Pull complete                                                                                                                                                      1.5s 
       ✔ d1fdc01cfb64 Pull complete                                                                                                                                                     14.3s 
       ✔ 516b70cba77a Pull complete                                                                                                                                                      1.4s 
       ✔ 004c438aca5b Pull complete                                                                                                                                                     14.6s 
       ✔ 8444cb202a3f Pull complete                                                                                                                                                     15.1s 
       ✔ 7344f10d1096 Pull complete                                                                                                                                                      1.4s 
       ✔ 656ca692f8ee Pull complete                                                                                                                                                     14.7s 
       ✔ 52359317e1d3 Pull complete                                                                                                                                                     22.9s 
       ✔ 40df80557810 Pull complete                                                                                                                                                     15.0s 
       ✔ f05dc5d05257 Pull complete                                                                                                                                                      0.8s 
       ✔ 2f08686a591b Download complete                                                                                                                                                  0.0s 
     ✔ dawarich_app Pulled                                                                                                                                                              60.2s 
       ✔ 46362564fd4f Pull complete                                                                                                                                                     58.0s 
       ✔ 4511b872605c Pull complete                                                                                                                                                     41.0s 
       ✔ fdda0e7d68fe Pull complete                                                                                                                                                     26.0s 
       ✔ 36988aab6ff4 Pull complete                                                                                                                                                     56.9s 
       ✔ cfd95a7d6e7e Pull complete                                                                                                                                                     57.5s 
       ✔ 0ddb30afb8c6 Pull complete                                                                                                                                                      1.5s 
       ✔ d2ad4c236771 Pull complete                                                                                                                                                     57.9s 
       ✔ 1fa047f6eb48 Pull complete                                                                                                                                                     40.9s 
       ✔ e9952ccb2e00 Pull complete                                                                                                                                                     41.1s 
       ✔ 4f4fb700ef54 Pull complete                                                                                                                                                      0.3s 
       ✔ 01f18611c718 Pull complete                                                                                                                                                     41.2s 
       ✔ 6e107b7542e8 Pull complete                                                                                                                                                     51.2s 
       ✔ cb1329a1d448 Pull complete                                                                                                                                                     56.2s 
       ✔ a5553ec8595c Pull complete                                                                                                                                                     57.7s 
       ✔ 8ea805067c87 Download complete                                                                                                                                                  0.0s 
     ✔ dawarich_redis Pulled             
    # docker compose -f docker/docker-compose.yml up
    Attaching to dawarich_app, dawarich_db, dawarich_redis, dawarich_sidekiq
    Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: open sysctl net.ipv4.ip_unprivileged_port_start file: reopen fd 8: permission denied
    

    Update done. https://github.com/Freika/dawarich/releases/tag/1.8.1
  • fariasF

    N°1 : Internet Service Provider, Dhaka, Bangladesh ( https://ipinfo.io/119.40.84.186?lookup_source=search-bar )
    N°2 : Aliyun Computing Co., LTD - Chine .( https://ipinfo.io/39.98.173.163?lookup_source=search-bar )
    N°3 : CHINANET Guangdong province network - Chine ( https://ipinfo.io/203.2.112.241?lookup_source=search-bar à

    # zgrep "xmlrpc.php" /var/log/apache2/access.*.gz | sed 's/:/ /g' | awk '{print $2}' | sort -n | uniq -c | sort -n | tail -20
       3398 150.223.194.157
       3407 183.56.195.106
       3413 34.82.1.242
       3415 14.116.213.102
       3429 14.116.211.167
       3429 203.2.115.155
       3433 203.2.114.29
       3434 182.43.76.198
       3439 151.243.28.121
       3439 45.8.146.128
       3446 219.152.63.187
       4272 140.246.238.176
       4345 150.223.194.182
       4499 206.189.212.148
       5031 34.6.0.214
       5863 43.139.65.222
       5871 14.116.251.29
       6865 203.2.112.241
       6887 39.98.173.163
      19939 119.40.84.186
    

  • fariasF

    N°1 : Internet Service Provider, Dhaka, Bangladesh 119-40-84-186.bdcom.com ( https://ipinfo.io/119.40.84.186?lookup_source=search-bar )
    N°2 : Company behind the IP traffic. PT Fasma Multi Solusindo Jakarta, Jakarta, ( https://ipinfo.io/103.253.244.95?lookup_source=search-bar )

    # zgrep "wp-login.php" /var/log/apache2/access.*.gz | sed 's/:/ /g' | awk '{print $2}' | sort -n | uniq -c | sort -n | tail -20
       1513 165.232.166.79
       1569 157.245.151.185
       1707 129.212.238.200
       1746 168.144.35.138
       1786 165.245.134.45
       1786 51.161.174.174
       1934 37.60.141.252
       2001 194.60.132.195
       2001 195.26.224.52
       2001 212.34.135.143
       2134 134.185.82.95
       2211 104.248.150.181
       2502 144.124.240.71
       3143 188.166.185.148
       3407 138.2.105.157
       3536 138.2.67.95
       4404 176.65.132.122
       4503 91.84.114.159
      12546 103.253.244.95
      18064 119.40.84.186
    

  • fariasF

    Test :
    7f4fae89-063b-471c-84c8-6ff1d0a30712-image.png


  • fariasF

    Visiblement quand je regarde sur https://check.spamhaus.org/troubleshoot/ :

    J’ai deux erreurs :

    dbd97829-c964-4882-89c7-f108a7d31e75-image.png

    Alors que quand je regarde https://mxtoolbox.com/ :

    bd3509d3-8167-4c22-973c-8cb7c2631166-image.png

    Ensuite si je demande un HELO Check :

    Connecting to 80.15.48.50
    
    220 mail.arias-frederic.org ESMTP Postcow [774 ms]
    EHLO keeper-us-east-1d.mxtoolbox.com
    250-mail.arias-frederic.org
    250-PIPELINING
    250-SIZE 104857600
    250-ETRN
    250-STARTTLS
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN [203 ms]
    MAIL FROM:<supertool@mxtoolboxsmtpdiag.com>
    250 2.1.0 Ok [219 ms]
    RCPT TO:<test@mxtoolboxsmtpdiag.com>
    454 4.7.1 <test@mxtoolboxsmtpdiag.com>: Relay access denied [297 ms]
    
    
    - LookupServer [smtp:80.15.48.50] 2743ms 
    

    7b1e8e85-4b46-4823-869b-e7581db8e03d-image.png

    Bref j’ai bien : “mail.arias-frederic.org” et pas “local.balkany” .


    Je viens de demander la suppression … à suivre. [image: 1780836881023-4e28bb1c-97e9-4c8d-b7d1-577215138732-image.png]
  • fariasF

    Installation de MailCow pour le Domaine : arias-frederic.org afin de partir de NUXIT.

    c4b89436-317a-4f46-9393-931bc4c02ecd-image.png

    Chez NUXIT on est limité à 3 boites emails par domaine …


  • fariasF

    J’ai fait un update du PVE : 8.4.11 => 8.4.12.

    Pas de problème.


    Update … Starting system upgrade: apt-get dist-upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: libzpool6linux proxmox-kernel-6.14.11-1-pve-signed proxmox-kernel-6.14.11-2-pve-signed proxmox-kernel-6.14.11-3-pve-signed proxmox-kernel-6.14.11-4-pve-signed proxmox-kernel-6.14.11-5-pve-signed proxmox-kernel-6.14.11-6-pve-signed proxmox-kernel-6.14.11-7-pve-signed proxmox-kernel-6.14.11-8-pve-signed proxmox-kernel-6.17.13-1-pve-signed proxmox-kernel-6.17.13-2-pve-signed proxmox-kernel-6.17.13-3-pve-signed proxmox-kernel-6.17.13-4-pve-signed proxmox-kernel-6.17.13-6-pve-signed proxmox-kernel-6.17.13-7-pve-signed proxmox-kernel-6.17.13-9-pve-signed proxmox-kernel-6.17.2-1-pve-signed proxmox-kernel-6.17.2-2-pve-signed proxmox-kernel-6.17.4-1-pve-signed proxmox-kernel-6.17.4-2-pve-signed proxmox-kernel-7.0.0-3-pve-signed proxmox-kernel-7.0.2-2-pve-signed proxmox-rrd-migration-tool Use 'apt autoremove' to remove them. The following NEW packages will be installed: proxmox-kernel-6.17.13-12-pve-signed proxmox-kernel-7.0.2-7-pve-signed The following packages will be upgraded: libldb2 libpve-cluster-api-perl libpve-cluster-perl libpve-common-perl libpve-notify-perl libsmbclient0 libtalloc2 libtdb1 libtevent0t64 libunbound8 libwbclient0 linux-libc-dev proxmox-backup-client proxmox-backup-file-restore proxmox-kernel-6.17 proxmox-kernel-7.0 proxmox-widget-toolkit pve-cluster pve-docs pve-i18n pve-manager pve-yew-mobile-i18n qemu-server samba-common samba-libs smbclient 26 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 292 MB of archives. After this operation, 2020 MB of additional disk space will be used. Do you want to continue? [Y/n] Y ...
  • fariasF

    Passage de la version 32.0.2 à 32.0.9.
    Augmentation de l’espace disque.


    Modification de opcache /etc/php/8.2/cli/php.ini ; The amount of memory for interned strings in Mbytes. ;opcache.interned_strings_buffer=8 Après : ; The amount of memory for interned strings in Mbytes. opcache.interned_strings_buffer=16 Lancement de apache : # systemctl restart apache2
  • fariasF

    Voici le process

    # lsblk
    NAME               MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
    sda                  8:0    0   90G  0 disk 
    `-sda1               8:1    0   90G  0 part 
      |-turnkey-root   254:0    0  8.8G  0 lvm  /
      `-turnkey-swap_1 254:1    0    2G  0 lvm  [SWAP]
    sdb                  8:16   0 20.8G  0 disk 
    `-sdb1               8:17   0  825M  0 part 
    # pvresize /dev/sda1
      Physical volume "/dev/sda1" changed
      1 physical volume(s) resized or updated / 0 physical volume(s) not resized
    # lvextend -l +100%FREE /dev/turnkey/root
      Size of logical volume turnkey/root changed from <8.80 GiB (2252 extents) to 88.00 GiB (22528 extents).
      Logical volume turnkey/root successfully resized.
    # resize2fs /dev/turnkey/root
    resize2fs 1.47.0 (5-Feb-2023)
    Filesystem at /dev/turnkey/root is mounted on /; on-line resizing required
    old_desc_blocks = 2, new_desc_blocks = 11
    The filesystem on /dev/turnkey/root is now 23068672 (4k) blocks long.
    
    # df -h
    Filesystem                Size  Used Avail Use% Mounted on
    udev                      7.7G     0  7.7G   0% /dev
    tmpfs                     1.6G  536K  1.6G   1% /run
    /dev/mapper/turnkey-root   87G  8.2G   75G  10% /
    tmpfs                     7.7G     0  7.7G   0% /dev/shm
    tmpfs                     5.0M     0  5.0M   0% /run/lock
    tmpfs                     1.6G     0  1.6G   0% /run/user/0
    
    

  • fariasF

    Visiblement on est limité sur la taille des fichiers … c’est domage.

    # du -sh /etc/pve/firewall/*.fw 
    512	/etc/pve/firewall/104.fw
    512	/etc/pve/firewall/116.fw
    512	/etc/pve/firewall/124.fw
    73K	/etc/pve/firewall/126.fw
    512	/etc/pve/firewall/127.fw
    512	/etc/pve/firewall/129.fw
    92K	/etc/pve/firewall/cluster.fw
    

    J’ai du mettre toutes les IP Russes dans 126.fw à la place de cluster.fw car il était trop gros.


    Nouvelle optimisation : # du -sh /etc/pve/firewall/cluster.fw 103K /etc/pve/firewall/cluster.fw # wc -l /etc/pve/firewall/cluster.fw 23780 /etc/pve/firewall/cluster.fw