Archive for February, 2006

Log file rotation and cookie viewing

Posted in Server Updates on February 25th, 2006

alright not that any of you care - unless theres some unknown geeks out there reading this…. but I got into the whole bash script thing and wrote one that archives the HoTTProxy logs every tuesday. I might change that to every other tuesday or something. It moves the log file to the archive folder with the date on the end, and then ‘touch’s a new log file. then to make sure it writes to the log, it restarts the HoTTProxy service. I’m not sure this is absolutely necessary, but I know the process works if I do. Otherwise, it wouldn’t write anything to the log file, even after i ‘touch’ed it.

Here’s the script, incase you want it:

#!/bin/bash
#
# Jonathon Reinhart 2-25-2006
# Archives HoTTProxy logs
#
mv /etc/HoTTProxy/HoTTProxyLog.txt /etc/HoTTProxy/log-archive/HoTTProxyLog_`date +%F`.txt
touch /etc/HoTTProxy/HoTTProxyLog.txt
/etc/init.d/HoTTProxy restart


Backup in place

Posted in Server Updates on February 23rd, 2006

Ok, backup is now in place.  I didn’t need to use rsync or anything fancy, just a simple bash script and 2 lines in etc/crontab.  Monday mornings at 8am, it makes a tar of /etc (config files); /srv (web sites); and /var/lib/mysql (MySQL database) and puts it in /backup, which is the mount point for my second harddrive (4GB) in the server.

Then, to keep that relatively small drive from getting full, every monday at 2pm, it searches thru /backup and deletes (rm) any .bz2 (they’re Bzip2 compressed) files that are older than 60 days.  If it still comes close (ie I post a lot of stuff to this blog, or laura goes hog-wild on the themes, or alex makes more videos) I will bump that 60 down to 30 or something

I’ve also got it set so I can download the backups thru the online admin console (that you can’t get too haha) and burn them to CD or somethin…..

Mobile web rocks!

Posted in Server Updates on February 19th, 2006

Alright everyone, this has been posted from my phone using MWeb’s mobile proxy service mweb.kicks-ass.net test sucessful!

Posted in Server Updates on February 18th, 2006

Ok pure-ftpd now boots when the server does.  Before I had to re-remember what the command to start it was:

pureftpd -l puredb:/etc/pureftpd.pdb &

now I figured out that my script was just calling the binary from the wrong path (/usr/sbin instead of /usr/local/sbin).  So i fixed that and its all smooth.

Next task is to set up rsync to automatically (cron?) backup all the websites (pretty much /srv/* ) , my config files ( /etc/*) and the precious mysql databases (dont know where those are yet).

Also would like to get nagios (monitoring software) working good but that might be a task…


order acompliaacomplia onlineorder propeciabuy propeciaorder clomidcheap clomiddiscount revatiobuy revatiobuy female viagrafemale viagra pricecompare viagra cialisviagra prescriptionvpxl pricebuy vpxllevitra professionalbuy levitra professionalbuy levitra prescriptionorder levitracheap levitracialis jelly pricebuy cialis jellycialis tabsbuy cialis soft tabscialis super active onlinecheap cialis super activegeneric cialis onlinegeneric cialisorder cialis professionalbuy cialis professionalorder brand cialisbuy brand cialispurchase cialisorder cialischeap cialischeap brand viagrabrand viagraviagra jelly onlineviagra jellyorder viagra soft tabsviagra soft tabs priceviagra super active pricebuy viagra super activeorder generic viagrabuy generic viagraviagra professional priceviagra professionalviagra free shippingorder viagracheap viagradating single chatadult dating chatfree new dating adult chat sitesdating chatchat dating phone jewish singletrue dating trial chatfree trial phone chat datingdating sites with free chatdating chat linesfree online dating chat roomtop dating online chat connectnaughty dating chat sitesfree dating chatlocal free dating chat lineadult dating chat roomsonline dating site australianaughty dating chatfree chat room datingdating chat siteadult chat dating free servicesdating advice videofriends reunited dating sitescanadian herpes dating sitesfree dating service onlinelevitra pricecialis priceviagra pricebrand viagra onlinecheap brand viagracheap cialis super activecialis super active onlinecheap vpxlvpxl onlinecheap levitra professionallevitra professional onlinecheap levitrabuy levitraorder cialis soft tabsbuy cialis soft tabsorder viagra soft tabsbuy viagra soft tabsorder viagra super activebuy viagra super activeorder generic cialisbuy generic cialisorder generic viagrabuy generic viagraorder cialis professionalbuy cialis professionalorder viagra professionalbuy viagra professionalorder cialiscialis onlineorder viagraviagra onlineviagra soft tabs onlinecheap viagra soft tabsviagra super active onlinecheap viagra super activeorder generic cialisbuy generic cialischeap generic viagrageneric viagra onlineorder cialis professionalbuy cialis professionalorder viagra professionalbuy viagra professionalorder cialisbuy cialisorder viagrabuy brand viagraviagra prescriptionorder viagraviagra cialis levitracompare viagra cialischeap sublingual viagrasublingual viagra pricesublingual cialis onlinesublingual cialis pricerevatio pricerevatio onlinecialis jelly onlinecialis jelly priceviagra jelly onlineviagra jelly pricefemale viagra pricefemale viagra onlinecheap vpxlvpxl onlinelevitra professional pricelevitra professional onlinepurchase levitralevitra pricecheap levitrapurchase cialis soft tabscheap cialis soft tabsviagra soft tabs onlinebuy viagra soft tabsorder cialis super activecheap cialis super activeorder viagra super activecheap viagra super activegeneric cialis discountgeneric cialischeap generic cialisgeneric viagra prescriptiongeneric viagra pricegeneric viagra onlinecialis professionalbuy cialis professionalorder viagra professionalbuy viagra professionalbuy brand cialiscialis discountcialis pricecialis onlinebrand viagrabuy brand viagraviagra prescriptionorder viagracheap viagramobile chat datingnaughty dating chat sitescougar dating chat roomsfree dating phone chat linesadult chat dating free servicesdating advice chat roomschicago chat dating sitechat dating free line trialfree adult dating sites chatsan antonio dating chat linechristian chat find dating singlewhat is viagra cheapest online place buy viagrabuy sildenafil viagra viagra mail order uk mail order viagra prescriptioncheap site buy viagra lowest price viagra check money buy viagra usa pharmacy buy viagra single pillsbuy cheap sale viagrabuy viagra online securely sell viagra onlinebilling viagra best way take levitradiscount viagra pill sale discount viagra cialisbest price viagrabest deal viagra order viagra reliable drugstore

Yep

Posted in Server Updates on February 17th, 2006

So, theres been alot going on with MWeb… I somehow managed to all but destroy my perl installation with SuSE updates. Be careful when you do those! I reinstalled the CPAN.pm module manually, and reinstalled a few other mods thru cpan and now it works. I mangaged to get upgraded to php5, and got mysql running smoothly. That should be obvious because this (which I just installed, runs on a mysql database). Enough rambling for now.