Articles in the SSH Category
Posted: Jun 09 | Filed under: SSH
Some of you will use GeoIP for geotargeting (a tutorial about this will follow).
One of the few things you’d have to manually if there was no cronjob, is to update the GeoIP.dat regularly.
Put this little sh script into cron.daily and it will be updated automatically:
#!/bin/bash UNGZIPPED_FILE=GeoIP.dat GZIP_FILE=GeoIP.dat.gz REMOTE_PATH=http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/ LOCAL_PATH=/tmp/ LOCAL_FINAL_PATH=/www/vhtdocs/geo_ip/ #update this to your directory of choice cd $LOCAL_PATH wget -N -q $REMOTE_PATH$GZIP_FILE gunzip $GZIP_FILE cp -f $UNGZIPPED_FILE $LOCAL_FINAL_PATH$UNGZIPPED_FILE exit
Posted: Jan 20 | Filed under: SSH
Interesting details about linux dependencies and how to figure out what you need to compile / build a new module e.g. Python :
Posted: Jan 19 | Filed under: SSH
If you have MySQL5 on your server, but you need MySQL-Python (like me), then you gotta install Python 2.6.1 (latest update) with a different prefix. If you simply install it via yum you might mess up your whole system!
Good info about linux configure and make:
CentOS.org
linuxforums.org/
Most important info, if you have CentOS on your server you gotta install the tk-devel package first
velocityreviews.com/


