Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


64MB box - what should I do?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

64MB box - what should I do?

trexostrexos Member
edited July 2013 in General

Hey,

I have left one low end 64MB box which I don't need atm (I think later so sponsoring is no option :( ). I've already thought at:

  • free teamspeak 3 sponsoring -> won't work because I don't get a 2nd NPL licence
  • VPN -> don't need it and public is not allowed
  • a small blog or something like that -> don't know what to write :D

Every idear is welcome :p

thanks in advance!

Comments

  • Use it as a small monitor perhaps for other servers?

    Thanked by 2trexos natestamm
  • trexostrexos Member

    good idear! I thought of something like ServerStatus (https://github.com/mojeda/ServerStatus) but then I need a webserver on the other VPS too and on some I don't want to have one. Furthermore I have a really really simple php script on one webhosting package which checks the online status of my VPSs :p But good idear!

  • jmginerjmginer Member, Patron Provider
    edited July 2013

    My ping-trace tool used on our website, sorry, is tagged to embed on WHMCS tpl file, sure you can see the source and modify for your needs:

    {php}
    
    //  This script was writen by [email protected], Aug.2001 
    //  http://www.theworldsend.net  
    //  This is my first script. Enjoy. 
    //   
    // Put it into whatever directory and call it. That's all. 
    // Updated to 4.2 code in 2002 
    // Get Variable from form via register globals on/off 
    //------------------------- 
    $unix      =  1; //set this to 1 if you are on a *unix system       
    $windows   =  0; //set this to 1 if you are on a windows system 
    // ------------------------- 
    // nothing more to be done. 
    // ------------------------- 
    //globals on or off ? 
    $register_globals = (bool) ini_get('register_gobals'); 
    $system = ini_get('system'); 
    $unix = (bool) $unix; 
    $win  = (bool)  $windows; 
    // 
    If ($register_globals) 
    { 
       $ip = getenv(REMOTE_ADDR); 
       $self = $PHP_SELF; 
    }  
    else  
    { 
       $submit = $_GET['submit']; 
       $host   = $_GET['host']; 
       $ip     = $_SERVER['REMOTE_ADDR']; 
       $self   = $_SERVER['PHP_SELF']; 
    }; 
    // form submitted ? 
    If ($submit == "Ping-Trace")  
    { 
          // replace bad chars 
          $host= preg_replace ("/[^A-Za-z0-9.]/","",$host); 
    
            echo("<b>Ping:</b><br>");  
            echo '<pre><p style="font-family: monospace;">';   
            system("killall ping");     
            system ("ping -c 5 -w 2 -i 0.2 -W 1 $host"); 
            system("killall ping");
            echo '</p></pre>';
    
            echo("<b>Traceroute:</b><br>");  
            echo '<pre><p style="font-family: monospace;">';
            system("killall -q traceroute");        
            system ("traceroute -w 0.2 -A $host"); 
            system("killall -q traceroute");
            echo '</p></pre>'; 
    
            echo("<b>MTR:</b><br>");  
            echo '<pre><p style="font-family: monospace;">';    
            system("killall mtr");
            system ("/usr/sbin/mtr --report -c1 -w -i0.2 $host"); 
            echo '</p></pre>'; 
    
            echo("<b>MTR (sin rDNS):</b><br>");  
            echo '<pre><p style="font-family: monospace;">';            
            system ("/usr/sbin/mtr --report -c1 -w -i0.2 -n $host");
            system("killall mtr");
            echo '</p></pre>'; 
    
            echo("<b>Whois:</b><br>");  
            echo '<pre><p style="font-family: monospace;">';    
            system("killall whois");
            system ("whois $host"); 
            system("killall whois");
            echo '</p></pre>';  
    }  
    {/php}
    
    
    {php}
        echo '<body bgcolor="#FFFFFF" text="#000000"></body>'; 
        echo '<p><font size="2">Tu IP es: '.$ip.'</font></p><br>'; 
        echo '<form methode="post" action="'.$self.'">'; 
        echo '   IP o dominio <input type="text" name="host" value="'.$ip.'"></input>'; 
        echo '   <input type="submit" name="submit" value="Ping-Trace"></input>'; 
        echo '</form>'; 
        echo '<br><b>'.$system.'</b>'; 
        echo '</body></html>'; 
    {/php}
    
    Thanked by 1trexos
  • trexostrexos Member

    @jmginer

    I've tried your script, it works great. But frankly, I don't have a use for it :p

  • JanevskiJanevski Member
    edited July 2013

    @trexos Use it to offer DNS slave zone service to people.

    Thanked by 1trexos
  • trexostrexos Member

    Mhm thanks for your idear but I don't know anything about that so that won't work :p

  • JanevskiJanevski Member
    edited July 2013

    @trexos said:
    Mhm thanks for your idear but I don't know anything about that so that won't work :p

    If You are not used to command line interface, then while being root You could just add webmin repository to apt, update it and then install bind9 and webmin:
    echo "deb http://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list echo "deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib" >> /etc/apt/sources.list cd /root wget http://www.webmin.com/jcameron-key.asc apt-key add jcameron-key.asc apt-get update apt-get install bind9 webmin -y

    The rest could be done via GUI on https://[SERVER_IP]:10000.
    Just refresh the webmin modules, right after logging in (as root) on the left site of the screen click Refresh Modules.
    Then under Servers>BIND DNS Server>Add Slave Zone.

    PS: This works only on Debian, for DNS You need public IP, or NAT-ed TCP/UDP 53 (and 10000 for webmin), i assume that the firewall is configured properly to allow such traffic.

  • vanarpvanarp Member

    @joodle said:
    Use it as a small monitor perhaps for other servers?

    This. On my 64mb I am implementing munin to monitor my other VPSes.

    Thanked by 1trexos
  • Scrape post from LET from it.

    Thanked by 1trexos
  • @trexos said:
    Mhm thanks for your idear but I don't know anything about that so that won't work :p

    Well, if you dont want to learn either, why ask for ideas? ;)

    Thanked by 1trexos
  • NeoonNeoon Community Contributor, Veteran

    Just run Lighttpd with PHP on it and Monitor your Server like mine

    Thanked by 1trexos
  • johnlth93johnlth93 Member
    edited July 2013

    @joelgm said:
    Well, if you dont want to learn either, why ask for ideas? ;)

    +1

  • trexostrexos Member

    @vanarp said:
    This. On my 64mb I am implementing munin to monitor my other VPSes.
    @Infinity580 said:
    Just run Lighttpd with PHP on it and Monitor your Server like mine

    I'll take a look at munin :) Thanks!

    @joelgm said:
    Well, if you dont want to learn either, why ask for ideas? ;)

    Okay, you are right. But which advantages do I get from this DNS zone thing? Sorry for this question, I'm quite new.

  • GunterGunter Member

    A ZNC IRC bouncer is always fun, and OpenVPN is a staple.

    Thanked by 1trexos
  • trexostrexos Member

    I don't use IRC and I already have a OpenVPN server. But thanks :)

  • @joodle Thas what I'd do, I'm going to very soon actually!

    Thanked by 1trexos
  • @trexos said:
    which advantages do I get from this DNS zone thing?

    Using your own nameserver allows you the power of editing everything in the zone, as zone files. You can choose TTL to a lowest value. If you wish to move an A record, it can be propogated almost instantly.

    95% of the work in creating a nameserver lies in understanding zone files. Once you do that, it's a cinch. I've bought five low end (64-128MB) boxes. All of them run bind9 and openvpn.

    Thanked by 1trexos
  • Thanks, good plan!

  • trexostrexos Member

    Okay thanks @Janevski for the tutorial and @joelgm for the explanation. It works great, but I don't really need it. I have only 3 Domains :p

  • asterisk14asterisk14 Banned
    edited July 2013

    have a go at running my asterisk voip server script and see if you can it to work. I can get it work in 5 mins on a normal IPv4 VPS. Wanted to see if it would work on lowendspirit, but never tried it on the LowEndSpirit because of arseholes like @Nyr threadshitting in my thread http://www.lowendtalk.com/discussion/11567/need-uk-lowendspirit-com-vps-for-testing-asterisk-voip-server. If you want to have a go, I can help with config if necessary.

    http://lowendtalk.com/discussion/11585/script-to-install-asterisk-1-4-44-on-centos-5-x

  • You could setup a honey pot.

  • RelipRelip Member

    Where did you get the 64MB VPS?

  • trexostrexos Member

    @asterisk14 said:
    have a go at running my asterisk voip server script and see if you can it to work. I can get it work in 5 mins on a normal IPv4 VPS. Wanted to see if it would work on lowendspirit, but never tried it on the LowEndSpirit because of arseholes like Nyr threadshitting in my thread http://www.lowendtalk.com/discussion/11567/need-uk-lowendspirit-com-vps-for-testing-asterisk-voip-server. If you want to have a go, I can help with config if necessary.

    http://lowendtalk.com/discussion/11585/script-to-install-asterisk-1-4-44-on-centos-5-x

    Sorry I don't have any experience with asterisk and centos :(

    @Abdussamad said:
    You could setup a honey pot.

    Mhm yeah. Good idear, but I don't have any service to secure :D

    @Relip said:
    Where did you get the 64MB VPS?

    www.LowEndSpirit.com :)

  • @trexos said:

    There used to be a distributed honey pot project. The idea was that you installed software on your server and it attracted bots. Details of these bots were then shared with honey pot project. This way a database of malicious bots was created that benefited everyone.

    Look into this. It might still be around.

  • trexostrexos Member

    Do you mean this project: http://glastopf.org/glastopf.php

Sign In or Register to comment.