Minggu, 03 Januari 2016

Configuration WebHtb Ubuntu

Configuration WebHtb Ubuntu

What it webhtb? WebHTB is a web-based application that is open source is used to perform bandwidth management.
Requirements to install Webhtb is that you must have installed the server ubuntu first. Here’s how to install Webhtb


1. apt-get install openssl ssl-cert
2. mkdir / etc / apache2 / ssl
3. The make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem
4. a2enmod ssl
5. /etc/init.d/apache2 restart
6. cp / etc / apache2 / sites-available / default / etc / apache2 / sites-available / ssl
7. nano / etc / apache2 / sites-available / ssl
Switch Port 80 Port 443 dadi
Code:
<VirtualHost *: 443>

Add this code before </ VirtualHost>
Code:
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/apache.pem

8. nano / etc / apache2 / sites-available / default
Add this code before </ VirtualHost>
Code:
SSLCertificateFile /etc/apache2/ssl/apache.pem

9. /etc/init.d/apache2 force-reload
10. a2ensite ssl
11. /etc/init.d/apache2 restart
12. libphp apt-get install php5-adodb-gd php5-cli php-pear php5-snmp curl php5-adodb libnet-netmask-perl unzip
13. cd / var
14. wget <! – M -> <a class = “postlink” href=”http://www.webhtb.ro/downloads/WebHTB_V2.9.bz2″>http://www.webhtb.ro/downloads/WebHTB_V2.9.bz2</a><!– m ->
15. -jxvf tar WebHTB_V2.9.bz2
16. nano / etc / apache2 / sites-available / ssl
add this code
Code:
Alias ​​/ webhtb / var / webhtb
<Directory “/ var / webhtb”>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow, deny
allow from all
</ Directory>
17. /etc/init.d/apache2 restart
18. Open <! – M -> <a class=”postlink” href=”https://ip-servere/webhtb/setup”> https: // ip-servere / webhtb / setup </a> < ! – m ->
19. contents karo mysql root user password, select Ethernet continues to install
20. Finish reboot
Source Article Information