[tanya] : Knapa rc.local Tdk Mau di Load Saat Boot

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
User avatar
s0t4
Posts: 32
Joined: 12 Apr 2010, 07:47

[tanya] : Knapa rc.local Tdk Mau di Load Saat Boot

Postby s0t4 » 24 Nov 2010, 07:47

Mau tanya..

Kenapa ya program yang aku taruh di /etc/rc.local tidak mau diload saat boot?

Apakah perlu menset rc.local-nya (aku baru install ubuntu)...


thnks
User avatar
thrvers
Posts: 4458
Joined: 01 Jan 2010, 13:28
Location: Jombang, Indonesia
Contact:

Re: [tanya] : Knapa rc.local Tdk Mau di Load Saat Boot

Postby thrvers » 24 Nov 2010, 09:18

'
sudah dicoba belum programnya di terminal, jalan atau tidak :grin:

= :/ =
User avatar
s0t4
Posts: 32
Joined: 12 Apr 2010, 07:47

Re: [tanya] : Knapa rc.local Tdk Mau di Load Saat Boot

Postby s0t4 » 24 Nov 2010, 16:28

jalan mas...

Saya buat script redirect proxy u/ transparent proxy...
isinya

/sbin/iptables -t nat -I PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128
/sbin/iptables -t nat -I PREROUTING -i eth0 -p udp -m tcp --dport 80 -j REDIRECT --to-ports 3128

kalau saya kasi perintah manual mau redirect ke proxy, tapi setelah ditaruh di rc.local gak jalan...


thnks
User avatar
s0t4
Posts: 32
Joined: 12 Apr 2010, 07:47

Re: [tanya] : Knapa rc.local Tdk Mau di Load Saat Boot

Postby s0t4 » 30 Nov 2010, 13:40

ealah... cuma tinggal

#chmod +x /etc/rc.local




thnks

Return to “Pertanyaan Umum”

Who is online

Users browsing this forum: No registered users and 2 guests