⚙️ server.toml example (in the same folder)
[server]
bind_addr = "0.0.0.0:2333"
default_token = "YOUR_SUPER_SECRET_TOKEN"
[server.services]
# Services are dynamically registered by clients
⚙️ server.toml example (in the same folder)
[server]
bind_addr = "0.0.0.0:2333"
default_token = "YOUR_SUPER_SECRET_TOKEN"
[server.services]
# Services are dynamically registered by clients
After upgrading to 8.x, sometimes access to the proxmox lan/web interface/ssh fails to connect after plugging off and on the ethernet port, it works again for some time and this problem occurs again.
When i connected a monitor and keyboard to the proxmox machine,
First i read and thought the new device naming is the problem, so i updated the GRUB_CMDLINE_LINUX
field on /etc/default/grub
file:
it became like this after adding:
GRUB_CMDLINE_LINUX="net.naming-scheme=v252"
I have installed docker on my WSL linux machine, and i have already been using ollama on windows. With these setup in mind i wrote this gist for future reference.
When you run ollama-webui on docker on wsl and your ollama already running on windows machine, webui can not connect to ollama running on windows. For it to work you need to take these steps:
Default makes ollama only accessible via localhost(127.0.0.1). To make it accessible on any network devices on the Windows machine, you need to add an environment variable named OLLAMA_HOST
with value of 0.0.0.0
. Check out the example below:
For my learning environment, i needed to quickly and correctly add a passwordless sudo user(for Ubuntu 22.04 VM), since i'm learning ansible, i decided to write the necessary inventory and playbook file, after that i decided to make it customizable via a bash script. User can enter the new user details(name and password) and machine ssh connection information (ip, username and password). And this script first tests the connection via ansible's ping module, after successful operation, asks user to run the generated playbook(or exit and show the command to run the playbook)
These bash scripts:
A tool/way to automotize operations done in machine environments.
First install ansible with sudo apt install ansible -y
and then check it with ansible --version
. This is my version info:
osboxes@jumphost:~/ansible-tutorial$ ansible --version
ansible 2.10.8
[ | |
{ "keys": ["alt+d"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} }, | |
{ "keys": ["ctrl+d"], "command": "duplicate_line" }, | |
{ "keys": ["ctrl+shift+c"], "command": "toggle_comment", "args": { "block": false } }, | |
{ "keys": ["ctrl+space+down"], "command": "select_lines", "args": {"forward": true} }, | |
{ "keys": ["ctrl+space+up"], "command": "select_lines", "args": {"forward": false}}, | |
{ "keys": ["shift+alt+f"], "command": "reindent", "args": {"single_line": false} } , | |
{ "keys": ["shift+alt+f"], "command": "pretty_json" , |
Clear-Host
# tab auto completion for git commands
# Install with: PowerShellGet\Install-Module posh-git -Scope CurrentUser -Force
# more on website: https://github.com/dahlbyk/posh-git?tab=readme-ov-file#installation
Import-Module posh-git
oh-my-posh init pwsh | Invoke-Expression
function QuitReplacement{