#moinmoin
http://moinmo.in/DesktopEdition/HowToConfigureC:\_Daten\Wiki\wiki\config -> hier liegt die Wiki Config Datei
http://localhost:8080/LanguageSetup?action=language_setup laufen lassen und danachC:\_Daten\Wiki\wikiconfig.py ändern
Kommentar entfernen
page_front_page = u’FrontPage’ # change to some better valueC:\Python27\python.exe wikiserver.py
http://localhost:8080
Category Archives: Uncategorized
no-ip – self made script
Sometimes my DSL Modem (that has a build in dyndns Client) hangs, and it stops updating
the no-ip.org Server.
I have some notes on my Atom based Linux Server at home and it bugs me if i can’t connect via
ssh from the office.
I wrote a script to mail me the new public ip address as soon as it is changing.
If you have a linux pc/server at home you can do the following by yourself:
put the following php script to your webserver – give it a fancy name like “myip.php”
<blockquote><? echo $_SERVER[‘REMOTE_ADDR’] ?></blockquote>
Start the following script
<blockquote>crontab -l
# m h dom mon dow command
0 * * * * ~/bin/update_ip/update_ip.sh>/dev/null 2>&1
</blockquote>
on your local linux server:
<blockquote>#!/bin/bash
cd ~/bin/update_ip
LAST_IP=`cat .last_ip`
IP=`curl -s -o – http://mywebserver/myip.php`
echo “last IP : $LAST_IP – new IP: $IP”
if [ $LAST_IP = $IP ];
then
echo `date +%d.%m.%y-%R` “ip unchanged”
else
echo “new ip: $IP”
cat .last_ip | mailx -s “New-IP $IP” MAILADR
echo “$IP” > .last_ip
echo `date +%d.%m.%y-%R` “new IP :$IP” >>ip.log
fi
</blockquote>