I know people say to backup… well I have now found 8! backup copies of my music collection at stages.. time to merge all into iTunes
What a mess my music collection is in…
[disk1] here , (disk 2) there….
This is boring… but it needs to be done ![]()
On a positive note.. I have nearly got Exchange 2007 working…. ![]()
Yay.. I now have a phone system : www.3cx.com
My development network is coming on nicely.
for those that are interested my network now looks like
ServerName – OS – Role(s)
DC1 – 2008 (DNS,ADS,DHCP)
Phone – 2008 (3cx)
Email – 2008 (Exchange 2007 all roles)
Computer-XP – XP – (Virtual box that will be receiving the polices from PolicyPak)
Computer-W7 – Windows 7/Gentoo – (My workstation)
To be added
Deployment – 2008 (WDS, WPKG)
SCOM -2008 (Microsoft System Center : Operations Manager)
Webserver – Gentoo Linux (Development sites, other linux stuff like mysql etc)
In other news.. I have decided to do a Joomy install on the main site, as my dreamweaver skills are not up to scratch for a super looking site.
Time to try to get Exchange 2007 talking to 3CX so I can do unified messaging…
When installing this blog, i wanted to clean all tables from a mysql database.. so I tried what I thought would be the obvious command
drop table %;
Nope..
Tried
drop table *;
Nope..
So i turn to my friend google and find this bit of wonderful code..
you can run it like this ./drop_all_tables “dbuser” “dbpass” “dbname”
#!/bin/bash
MUSER="$1"
MPASS="$2"
MDB="$3"
# Detect paths
MYSQL=$(which mysql)
AWK=$(which awk)
GREP=$(which grep)
if [ $# -ne 3 ]
then
echo "Usage: $0 {MySQL-User-Name} {MySQL-User-Password} {MySQL-Database-Name}"
echo "Drops all tables from a MySQL"
exit 1
fi
TABLES=$($MYSQL -u $MUSER -p$MPASS $MDB -e 'show tables' | $AWK '{ print $1}' | $GREP -v '^Tables' )
for t in $TABLES
do
echo "Deleting $t table from $MDB database..."
$MYSQL -u $MUSER -p$MPASS $MDB -e "drop table $t"
done
Ok,
We now have a nice and simple site done on www.royles.co.uk.. not sure what I/we(Royles family) are going to add to this site.. but it is a WIP.
The site is a very simple dreamweaver page.. but I am tempted to install joomy… tempted.. mmm
Back to the orginal reason I wanted the blog…
I am going to be playing with Windows Server 2008 + SCOM + Exchange + Policypak and wanted somewhere to rant/blog/log my findings / ideas / problems I encounter.
Lets see how it goes
All I wanted was a quick blog…
honest gov.
Now I am doing a website in dreamweaver to fancy up the blank default page at www.royles.co.uk
Welcome to my blog, all things techy and strange will be posted on here..
Feel free to email me or contact me through this blog