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: 1965
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: 1965
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

...
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
User avatar
sipelaut
Posts: 1965
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: webHTB ubuntu 10.04

Postby sipelaut » 28 Oct 2013, 15:16

isinya sesuai masbrooo
seperti ini

Code: Select all

root@proxy:~# cat /etc/apache2/sites-enabled/ssl <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> SSLEngine On # SSLCertificateFile /etc/apache2/ssl/apache.pem SSLCertificateKeyFile /etc/apache2/ssl/9f129ada </VirtualHost> lalu harus digimanakan nichhh...... masih bingung
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: webHTB ubuntu 10.04

Postby q_p » 28 Oct 2013, 15:52

Masalahnya mungkin yang saya tandai ini =
ERROR: [color:#660000]Site ssl not properly enabled[/color]: /etc/apache2/sites-enabled/ssl is a real file, not touching it
Coba di-ulang untuk meng-aktifkan modul ssl

Code: Select all

a2enmod ssl a2ensite ssl service apache2 restart
User avatar
sipelaut
Posts: 1965
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: webHTB ubuntu 10.04

Postby sipelaut » 29 Oct 2013, 08:15

masih ngak bisa masbroo...

Code: Select all

root@proxy:~# a2enmod ssl Module ssl already enabled root@proxy:~# a2ensite ssl ERROR: Site ssl not properly enabled: /etc/apache2/sites-enabled/ssl is a real file, not touching it root@proxy:~# service apache2 restart * Restarting web server apache2 [fail]
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: webHTB ubuntu 10.04

Postby q_p » 29 Oct 2013, 15:53

Jangan2 yang ini belum ?

Code: Select all

apt-get install openssl ssl-cert
User avatar
sipelaut
Posts: 1965
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: webHTB ubuntu 10.04

Postby sipelaut » 30 Oct 2013, 10:15

sudah masbrooo...

Code: Select all

root@proxy:~# apt-get install openssl ssl-cert Reading package lists... Done Building dependency tree Reading state information... Done openssl is already the newest version. ssl-cert is already the newest version. The following packages were automatically installed and are no longer required: linux-headers-2.6.32-50 linux-headers-2.6.32-51 linux-headers-2.6.32-50-generic-pae linux-headers-2.6.32-51-generic-pae Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: webHTB ubuntu 10.04

Postby q_p » 30 Oct 2013, 16:07

webHTB menggunakan openSSL dan LAMPP, jadi sebelum install webHTB openSSL/LAMPP harus ter-install dan tidak ada error.
User avatar
sipelaut
Posts: 1965
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: webHTB ubuntu 10.04

Postby sipelaut » 31 Oct 2013, 08:00

sudah masbrooo
sudah terinstal semuanya

Who is online

Users browsing this forum: Google [Bot] and 21 guests