blog‎ > ‎

install ManagingNews

posted 6 May 2011, 07:02 by Muhammad Jazman

download [DONE]

extract ke /usr/share/ [DONE]

enable VirtualHost nya di apache2 dengan menambahkan sebuah file ke
/etc/apache2/sites-available/berita.poltek-kampar.ac.id

isinya

root@bb1:/etc/apache2/sites-available# vi berita.poltek-kampar.ac.id
root@bb1:/etc/apache2/sites-available# cat berita.poltek-kampar.ac.id
<VirtualHost _default_:80>
ServerName berita.poltek-kampar.ac.id
UseCanonicalName Off
VirtualDocumentRoot /usr/share/managingnews-1.2
<Directory "/usr/share/managingnews-1.2">
allow from all
Options +Indexes
</Directory>
</VirtualHost>



enable VirtualHost tadi
root@bb1:/etc/apache2/sites-available# a2ensite berita.poltek-kampar.ac.id
Enabling site berita.poltek-kampar.ac.id.
Run '/etc/init.d/apache2 reload' to activate new configuration!

Check apakah ada salah sintaks dalam configurasi apache
root@bb1:/etc/apache2/sites-available# apache2ctl -t
Syntax OK

kalau sudah Syntax Ok, reload apachenya

root@bb1:/etc/apache2/sites-available# /etc/init.d/apache2 reload
                                                                         [ OK ]

jangan lupa setup DNS recordnya, agar http://berita.poltek-kampar.ac.id benar-benar mempoint ke kita.


Comments