<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=SLM%3A_Ubuntu_24.04_script_.sh_automatis_install</id>
	<title>SLM: Ubuntu 24.04 script .sh automatis install - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=SLM%3A_Ubuntu_24.04_script_.sh_automatis_install"/>
	<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=SLM:_Ubuntu_24.04_script_.sh_automatis_install&amp;action=history"/>
	<updated>2026-04-13T14:41:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.4</generator>
	<entry>
		<id>https://onnocenter.or.id/wiki/index.php?title=SLM:_Ubuntu_24.04_script_.sh_automatis_install&amp;diff=72626&amp;oldid=prev</id>
		<title>Onnowpurbo at 00:25, 5 May 2025</title>
		<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=SLM:_Ubuntu_24.04_script_.sh_automatis_install&amp;diff=72626&amp;oldid=prev"/>
		<updated>2025-05-05T00:25:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:25, 5 May 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l76&quot; &gt;Line 76:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 76:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Mau aku bantu buatkan versi script yang juga otomatis install model-model tambahan seperti `mistral`, `llama2`, atau `gemma` sekaligus?&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Mau aku bantu buatkan versi script yang juga otomatis install model-model tambahan seperti `mistral`, `llama2`, atau `gemma` sekaligus?&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==Pranala Menarik==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [[SLM]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
	<entry>
		<id>https://onnocenter.or.id/wiki/index.php?title=SLM:_Ubuntu_24.04_script_.sh_automatis_install&amp;diff=72625&amp;oldid=prev</id>
		<title>Onnowpurbo: Created page with &quot;Berikut adalah script `.sh` otomatis untuk **setup Ollama + Open WebUI** di Ubuntu 24.04 agar kamu bisa langsung menjalankan Small Language Model (SLM) secara lokal (seperti `...&quot;</title>
		<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=SLM:_Ubuntu_24.04_script_.sh_automatis_install&amp;diff=72625&amp;oldid=prev"/>
		<updated>2025-05-05T00:25:15Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Berikut adalah script `.sh` otomatis untuk **setup Ollama + Open WebUI** di Ubuntu 24.04 agar kamu bisa langsung menjalankan Small Language Model (SLM) secara lokal (seperti `...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Berikut adalah script `.sh` otomatis untuk **setup Ollama + Open WebUI** di Ubuntu 24.04 agar kamu bisa langsung menjalankan Small Language Model (SLM) secara lokal (seperti `phi`, `mistral`, dll).&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
### ✅ **Script: `setup_ollama_webui.sh`**&lt;br /&gt;
&lt;br /&gt;
```bash&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;🚀 Mulai setup Ollama + Open WebUI di Ubuntu 24.04...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Update sistem dan install dependensi dasar&lt;br /&gt;
echo &amp;quot;📦 Update &amp;amp; install dependensi...&amp;quot;&lt;br /&gt;
sudo apt update &amp;amp;&amp;amp; sudo apt install -y curl docker.io docker-compose&lt;br /&gt;
&lt;br /&gt;
# Enable dan jalankan Docker&lt;br /&gt;
echo &amp;quot;🧱 Mengaktifkan Docker...&amp;quot;&lt;br /&gt;
sudo systemctl enable docker --now&lt;br /&gt;
&lt;br /&gt;
# Install Ollama&lt;br /&gt;
echo &amp;quot;🤖 Menginstall Ollama...&amp;quot;&lt;br /&gt;
curl -fsSL https://ollama.com/install.sh | sh&lt;br /&gt;
&lt;br /&gt;
# Jalankan model SLM default (phi, bisa diganti)&lt;br /&gt;
echo &amp;quot;🧠 Menjalankan model SLM 'phi' (bisa diganti nanti)...&amp;quot;&lt;br /&gt;
ollama run phi &amp;amp;&lt;br /&gt;
&lt;br /&gt;
# Jalankan Open WebUI menggunakan Docker&lt;br /&gt;
echo &amp;quot;🌐 Menjalankan Open WebUI di Docker...&amp;quot;&lt;br /&gt;
docker run -d \&lt;br /&gt;
  -p 3000:3000 \&lt;br /&gt;
  -e OLLAMA_BASE_URL=http://host.docker.internal:11434 \&lt;br /&gt;
  -v open-webui:/app/backend/data \&lt;br /&gt;
  --name open-webui \&lt;br /&gt;
  --add-host=host.docker.internal:host-gateway \&lt;br /&gt;
  ghcr.io/open-webui/open-webui:main&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;&amp;quot;&lt;br /&gt;
echo &amp;quot;✅ Selesai! Akses Open WebUI di browser:&amp;quot;&lt;br /&gt;
echo &amp;quot;   👉 http://localhost:3000&amp;quot;&lt;br /&gt;
echo &amp;quot;🔁 Model default: phi (bisa diganti ke mistral, llama2, dll)&amp;quot;&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
### 🔧 **Cara Menggunakan:**&lt;br /&gt;
&lt;br /&gt;
1. Simpan file di Ubuntu sebagai `setup_ollama_webui.sh`&lt;br /&gt;
2. Jalankan perintah berikut:&lt;br /&gt;
&lt;br /&gt;
```bash&lt;br /&gt;
chmod +x setup_ollama_webui.sh&lt;br /&gt;
./setup_ollama_webui.sh&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
### ⚠️ Catatan Penting:&lt;br /&gt;
&lt;br /&gt;
* Script ini mengasumsikan bahwa Docker dan internet aktif.&lt;br /&gt;
* Jika kamu ingin model lain seperti `mistral`, cukup ganti baris ini:&lt;br /&gt;
&lt;br /&gt;
```bash&lt;br /&gt;
ollama run phi&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
menjadi:&lt;br /&gt;
&lt;br /&gt;
```bash&lt;br /&gt;
ollama run mistral&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
* Kalau kamu pakai **VM**, pastikan kamu **aktifkan virtualisasi dan akses internet.**&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
Mau aku bantu buatkan versi script yang juga otomatis install model-model tambahan seperti `mistral`, `llama2`, atau `gemma` sekaligus?&lt;/div&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
</feed>