mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-01-20 03:36:30 +00:00
enhanced ollama installation
This commit is contained in:
parent
2821ef2319
commit
1e1fd5444c
@ -62,8 +62,10 @@ curl --fail --show-error --location --progress-bar -o $OLLAMA_DIR/ollama "https:
|
||||
|
||||
status "Installing ollama to OLLAMA_DIR..."
|
||||
|
||||
|
||||
install_success() {
|
||||
status 'The Ollama API is now available at 0.0.0.0:11434.'
|
||||
status 'Install complete. Run "ollama" from the command line.'
|
||||
}
|
||||
chmod +x $OLLAMA_DIR/ollama
|
||||
trap install_success EXIT
|
||||
|
@ -6,7 +6,7 @@ cd ~/ollama
|
||||
OLLAMA_HOST="0.0.0.0:11434"
|
||||
|
||||
# Start the OLLAMA server
|
||||
OLLAMA_MODELS=~/ollama/models ~/ollama/ollama serve &
|
||||
OLLAMA_MODELS=./models ./ollama serve &
|
||||
|
||||
# Wait for all background processes to finish
|
||||
wait
|
Loading…
Reference in New Issue
Block a user