Popular Post

Posted by : Unknown Senin, 01 Desember 2014

Halo, Kali ini, saya akan update tentang cara fix apache2 yg error di Kali Linux
untuk yg gk ngerti, di Simak aja ya :D sekalian belajar.
===================================================
Ini cara ngefix apache2 yang error pas mau jalanin /etc/init.d/apache2 start
biasanya bentrok sama port 80
Semoga tutorial ini membantu ^_^



Tutorial :
- pkill nginx {enter}
- kemudian hapus dulu nginxnya :
apt-get remove nginx {enter}

- Lalu jalankan kembali apache2nya :
/etc/init.d/apache2 start {enter}

- Kalau sukses, silahkan install kembali nginxnya :
apt-get install nginx {enter}

===================================================
kalo masii error

- leafpad /etc/apache2/httpd.conf {enter}
lalu isikan :
ServerName localhost

kemudian save filenya, dan lanjutkan perintah ini di terminal lagi :

- /etc/init.d/apache2 restart

masih error apa nggk? kalau masih error, coba ini..

===================================================
leafpad /etc/hosts

===================================================
Coba rubah isi filenya dengan ini, kemudian save filenya.

127.0.0.1 localhost
127.0.0.1 (terserah).com

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

kemudian tes restart lagi apache2 nya :
/etc/init.d/apache2 reload

===================================================

# fuser -k -n tcp 80

Selanjutnya start kembali layanan apache2
# /etc/init.d/apache2 start

Meskpun sudah fix kalian harus selesaikan tahapan ini dlu ..
 ====================================
ketik perintah ini supaya tidak conflict lagi :
- echo "ServerName localhost" | sudo tee /etc/apache2/conf.d/fqdn {enter}

Kemudian :
- /etc/init.d/apache2 reload {enter}
===================================================

Semoga membantu :D
Salam Devs Klik Disini

Leave a Reply

Subscribe to Posts | Subscribe to Comments

- Copyright © Dunia Penjoki - Date A Live - Powered by Blogger - Designed by Johanes Djogan -