webHTB ubuntu 10.04

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

webHTB ubuntu 10.04

Postby sipelaut » 25 Oct 2013, 00:49

nyoba install webHTB, buat manage benwith
saya ikuti petunjuk disini [0]
setelah sampai di point ini

Code: Select all

Lakukan restart apache2 dan aktifkan modul HTTPS :
# /etc/init.d/apache2 force-reload
# a2ensite ssl

muncul seperti ini

Code: Select all

root@proxy:/home/aulia# a2ensite ssl
ERROR: Site ssl not properly enabled: /etc/apache2/sites-enabled/ssl is a real file, not touching it

ini kenapa yahh ??
mohon bantuannya

[0] http://opikdesign.com/kios/tutorial_ubu ... n_INTL.pdf
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: webHTB ubuntu 10.04

Postby sipelaut » 25 Oct 2013, 14:12

fiuhh...
udah seharian nichh ngubek2 google gak nemu yang kyak punya ane...
sekali nemu malah beda pembahasan :) :)
==still waiting==
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: webHTB ubuntu 10.04

Postby q_p » 26 Oct 2013, 18:54

[quote=sipelaut]...
muncul seperti ini

Code: Select all

root@proxy:/home/aulia# a2ensite ssl
ERROR: Site ssl not properly enabled: /etc/apache2/sites-enabled/ssl is a real file, not touching it

...
"real file not touching it". untuk mengetahui apakah itu real atau hasil dari cli touch =

Code: Select all

cat /etc/apache2/sites-enabled/ssl
jika kosong maka itu dari cli touch. Jika itu real-file output-nya kira2 seperti ini =

Code: Select all

<VirtualHost *:443>
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>

        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>

        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>

        ErrorLog /var/log/apache2/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

Alias /webhtb /var/webhtb
<Directory "/var/webhtb">
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        allow from all
</Directory>

SSLEngine On
SSLCertificateFile /etc/apache2/ssl/apache.pem
</VirtualHost>
cmiiw