Saturday, May 10, 2014

Membuat SpeedTest Server di Linux Debian

Sumber : http://hex-a.blogspot.com/2013/08/membuat-speedtest-server-di-linux-debian.html

langkah2 di bawah ini..

1. Download dulu filenya di www.speedtest.net/mini.php
2. Exstrak file ke dalam direktory /var/www

#unzip mini.zip -d /var/www/
3. Ubah hak akses direktoy (mini) menjadi read
#chmod 755 -R /var/www/mini
4. Edit virtual host default
#nano /etc/apache2/sites-available/default
VirtualHost *:80>
        ServerAdmin webmaster@networktest.net
        ServerName networkspeed.net
        DocumentRoot /var/www/mini

       
                Options FollowSymLinks
                AllowOverride None
       

       
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
       

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

         ErrorLog ${APACHE_LOG_DIR}/error.log
         # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn
         CustomLog ${APACHE_LOG_DIR}/access.log combined
 
5. Ubah nama file index-php.html menjadi index.html, atau sesuaikan dengan web browser masing-masing
#cd /var/www/mini
#mv index-php.html index.html
6. Restart layanan webserver
#/etc/init.d/apache2 restart
7. Buka web browser dan ketikkan alamat domain anda contoh www.networkspeed.net dan lihat hasilnya

0 comments:

Post a Comment