<?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=Set_Start_Kiwix_setiap_Boot</id>
	<title>Set Start Kiwix setiap Boot - 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=Set_Start_Kiwix_setiap_Boot"/>
	<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=Set_Start_Kiwix_setiap_Boot&amp;action=history"/>
	<updated>2026-04-17T00:23:56Z</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=Set_Start_Kiwix_setiap_Boot&amp;diff=63829&amp;oldid=prev</id>
		<title>103.116.218.158: Created page with &quot;Agar kiwix dapat jalan secara otomatis setiap kali mesin/server di boot, kita perlu membuat script dan menambahkan di file /etc/rc.local . Langkah yang perlu dilakukan adalah,...&quot;</title>
		<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=Set_Start_Kiwix_setiap_Boot&amp;diff=63829&amp;oldid=prev"/>
		<updated>2021-11-22T03:41:21Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Agar kiwix dapat jalan secara otomatis setiap kali mesin/server di boot, kita perlu membuat script dan menambahkan di file /etc/rc.local . Langkah yang perlu dilakukan adalah,...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Agar kiwix dapat jalan secara otomatis setiap kali mesin/server di boot, kita perlu membuat script dan menambahkan di file /etc/rc.local . Langkah yang perlu dilakukan adalah,&lt;br /&gt;
&lt;br /&gt;
Buat shell script untuk menjalankan Kiwix di /root/ misalnya&lt;br /&gt;
&lt;br /&gt;
		sudo su&lt;br /&gt;
	nano /root/kiwix-jalan.sh&lt;br /&gt;
&lt;br /&gt;
	isi dengan,&lt;br /&gt;
&lt;br /&gt;
cd /usr/local/src/kiwix-tools_linux-x86_64-3.1.2-5/&lt;br /&gt;
./kiwix-serve --port=8080 wikipedia_id_top_maxi_2021-09.zim &amp;amp;&lt;br /&gt;
./kiwix-serve --port=8081 wiktionary_id_all_maxi_2021-08.zim &amp;amp;&lt;br /&gt;
&lt;br /&gt;
	save, dan pastikan bisa di run dengan perintah&lt;br /&gt;
&lt;br /&gt;
		sudo chmod 777 /root/kiwix-jalan.sh&lt;br /&gt;
		sudo chmod +x /root/kiwix-jalan.sh&lt;br /&gt;
&lt;br /&gt;
Edit /etc/rc.local&lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/rc.local&lt;br /&gt;
&lt;br /&gt;
Isi dengan&lt;br /&gt;
&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
/root/kiwix-jalan.sh&lt;br /&gt;
exit 0&lt;br /&gt;
&lt;br /&gt;
Save file rc.local dan beri ijin supaya dapat di execute,&lt;br /&gt;
&lt;br /&gt;
sudo chmod +x /etc/rc.local&lt;br /&gt;
&lt;br /&gt;
Edit /etc/systemd/system/rc-local.service:&lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/systemd/system/rc-local.service&lt;br /&gt;
&lt;br /&gt;
tambahkan content berikut ke rc.local.service:&lt;br /&gt;
&lt;br /&gt;
#  SPDX-License-Identifier: LGPL-2.1+&lt;br /&gt;
#&lt;br /&gt;
#  This file is part of systemd.&lt;br /&gt;
#&lt;br /&gt;
#  systemd is free software; you can redistribute it and/or modify it&lt;br /&gt;
#  under the terms of the GNU Lesser General Public License by&lt;br /&gt;
#  the Free Software Foundation; either version 2.1 of the License, or&lt;br /&gt;
#  (at your option) any later version.&lt;br /&gt;
# This unit gets pulled automatically into multi-user.target by&lt;br /&gt;
# systemd-rc-local-generator if /etc/rc.local is executable.&lt;br /&gt;
&lt;br /&gt;
[Unit]&lt;br /&gt;
Description=/etc/rc.local Compatibility&lt;br /&gt;
Documentation=man:systemd-rc-local-generator(8)&lt;br /&gt;
ConditionFileIsExecutable=/etc/rc.local&lt;br /&gt;
After=network.target&lt;br /&gt;
&lt;br /&gt;
[Service]&lt;br /&gt;
Type=forking&lt;br /&gt;
ExecStart=/etc/rc.local start&lt;br /&gt;
TimeoutSec=0&lt;br /&gt;
RemainAfterExit=yes&lt;br /&gt;
GuessMainPID=no&lt;br /&gt;
&lt;br /&gt;
[Install]&lt;br /&gt;
WantedBy=multi-user.target&lt;br /&gt;
&lt;br /&gt;
Enable rc.local by service:&lt;br /&gt;
&lt;br /&gt;
sudo systemctl enable rc-local.service&lt;br /&gt;
&lt;br /&gt;
Start rc.local by service:&lt;br /&gt;
&lt;br /&gt;
sudo systemctl start rc-local.service&lt;br /&gt;
&lt;br /&gt;
Check rc.local status:&lt;br /&gt;
&lt;br /&gt;
sudo systemctl status rc-local.service&lt;/div&gt;</summary>
		<author><name>103.116.218.158</name></author>
	</entry>
</feed>