Install Shorewall di ubuntu – pesan error Shorewall has no compiler
Pada Dasarnya Istalasi apapun di ubuntu itu gampang sekali, meski ubuntu server memiliki “kelebihan dan kekurangan” . cara instalasi shorewall di ubuntu cukup dengan mengetikkan :
# apt-get install shorewall
Lalu process instalasi pun berjalan.. ( catatan : server sudah terkoneksi ke internet )
Lalu saya mencoba menjalankan program shorewall tersebut.
#/etc/init.d/shorewall start
tapi muncul pesan berikut :
Starting “Shorewall firewall”: not done (check /var/log/shorewall-init.log).
Hayahh.. apa ini.. saya pun mencoba melakukan perintah yang di suruh, yaitu : # check /var/log/shorewall-init.log
Tadaa… error lagi, pesan erronya :
No command ‘check’ found, did you mean: Command ‘icheck’ from package ‘icheck’ (universe) Command ‘chuck’ from package ‘chuck’ (universe) Command ‘acheck’ from package ‘acheck’ (universe) Command ‘vcheck’ from package ‘vcheck’ (universe) Command ‘mcheck’ from package ‘mtools’ (main) Command ‘fcheck’ from package ‘fcheck’ (universe) check: command not found
hahahah.. pusing deh.. ternyata arti dari perintah tersebut bukan check /var/log/shorewall-init.log, tapi coba lihat file /var/log/shorewall-init.log , lalu saya lihat lah isi dari file log tersebut. pesan errornya :
11:41:39 Compiling… No shorewall compiler installed 11:44:18 Compiling… No shorewall compiler installed 11:44:23 Compiling… No shorewall compiler installed
Walahh…. apa sih…. apa sih… nah akhirnya gw coba buka tuh file #nano /etc/shorewall/shorewall.conf disana di bilang (setting this to ‘perl’ requires installation of Shorewall-perl) #####################################################
SHOREWALL_COMPILER=
nah.. artinya ada shorewall compiler yang belum saya install, yaitu shorewall-perl hehehe… pusing.. akhirnya gw install lagi deh Shorewall-perl nya. dengan perintah #apt-get install shorewall-perl
tadaaaa.. berhasil deh. nginstall shorewall, tapi setelah saya cek di /etc/shorewall/ kok isinya ngak ada yah …
accounting initdone modules proxyarp started tos actions interfaces nat restored stop tunnel blacklist ipsec netmap route_rules stopped tunnels continue ipsecvpn notrack routestopped tcclasses zones ecn maclist params rules tcdevices hosts Makefile policy tcfilters init masq providers start tcrules
File File ini… dimana yah ???, nah jawabannya ada di : # /usr/share/doc/shorewall-common/default-config coba deh copykan semua file tersebut ke /etc/shorewall caranya #cd /usr/share/doc/shorewall-common/default-config; cp * /etc/shorewall
setelah itu edit deh file file berikut : interface , zones, rules, policy.
Tags: Shorewall, Shorewall has no compiler, ubuntu
Trackback from your site.