Admin Life Errors, Fixes, and Encounters

11Jul/12Off

Send/Receive Frequency for outlook 2007

To change the Send/Receive Frequency for outlook 2007

You can change the frequency of how often Outlook 2007 checks the server for new email.

  1. Go to Tools -> Options... The Options window opens.
  2. Click the Mail Setup tab.
  3. Click the Send/Receive... button.

From here you can edit the schedule's automatic send/receive. You can also initiate a Send/Receive manually via the Send/Receive button on Outlook's toolbar.

6Jun/11Off

Creating a successful homepage

What makes a successful homepage for a website? I have the answer for you!

All successful homepage's for a website convey 5 messages.

  • Website Logo & navigation
  • Main Benefit Statement
  • Call to Action
  • Show Website Popularity
  • Credibility

Now lets talk in detail for each point.

Website Logo & navigation
Always let the users know where they are, and how to get to the home page. Always make the logo clickable to the homepage.

Main Benefit Statement
So What, Who cares?? answers those 2 questions and you have your benefit statement.

  1. Example: Need new breaks on your car? We'll fix your breaks in 30 minutes or less.
  2. Example: Looking to advertise for free? Click here to get started.

Call to Action
Tell the user what to do next or where to go. Yes, people need to be told what to do next.

  1. Example: Click Here
  2. Example 2: Start Now
  3. Example 3: View Now

Show Website Popularity
Who wants to go into an empty bar or nigh club? NO ONE! it's the same thing for a website. Users need to sense that this website exists because it's popular. So show it to them.

  1. Example: Over 500 visits per day
  2. Example 2: Over 43,302 Members
  3. Example 3: 10,000+ products and growing

Credibility
People hesitate to do business with you if they don't know you. When your getting started with a website that will almost always be the case. Show credibility with user testimonials or years in business.
Facebook like buttons also help with credibility as it shows people like your business.

  1. Example: "I love your cleaning products, it saved me so much time on the weekends" - Mandy
  2. Example 2: In business for over 15 years
Filed under: General No Comments
19Oct/10Off

setup jails on freebsd

we'll be creating 4 jails + main host (5 machines in total)

First, lets create some folders where the jails will be stored.

mkdir /usr/jails && mkdir /usr/jails/mail1 && mkdir /usr/jails/mail2 && mkdir /usr/jails/mail3 && mkdir /usr/jails/mail4

then we add some settings to rc.conf

# vi /etc/rc.conf

Add these line right after (remember, every machine has a differnt network card reference (bge0)). Change it to your machines network card.

ifconfig_bge0="inet 192.168.1.157 netmask 255.255.255.0"

ifconfig_bge0_alias0="inet 192.168.1.211 netmask 0xfffffff8"
ifconfig_bge0_alias1="inet 192.168.1.212 netmask 0xfffffff8"
ifconfig_bge0_alias2="inet 192.168.1.213 netmask 0xfffffff8"
ifconfig_bge0_alias3="inet 192.168.1.214 netmask 0xfffffff8"

if you don't want to reboot, you'll also have to setup the alias now so you can ssh in later...
ifconfig bge0 inet alias 192.168.1.211 netmask 255.255.255.255
ifconfig bge0 inet alias 192.168.1.212 netmask 255.255.255.255
ifconfig bge0 inet alias 192.168.1.213 netmask 255.255.255.255
ifconfig bge0 inet alias 192.168.1.214 netmask 255.255.255.255

near the bottom of the file, add following and makre sure you change the IP's & paths if different than above.

#only have 5 IP's. 1 for the main server and 4 for the jails
#jail_list="mail1 mail2 mail3 mail4"

jail_enable="YES"
jail_list="mail1 mail2 mail3 mail4"
jail_set_hostname_allow="YES"

jail_mail1_rootdir="/usr/jails/mail1"
jail_mail1_hostname="mail1.example.com"
jail_mail1_ip="192.168.1.231"
jail_mail1_start="/bin/sh /etc/rc"
jail_mail1_devfs_enable="YES"
jail_mail1_devfs_ruleset="devfsrules_jail"

jail_mail2_rootdir="/usr/jails/mail2"
jail_mail2_hostname="mail2.example.com"
jail_mail2_ip="192.168.1.232"
jail_mail2_start="/bin/sh /etc/rc"
jail_mail2_devfs_enable="YES"
jail_mail2_devfs_ruleset="devfsrules_jail"

jail_mail3_rootdir="/usr/jails/mail3"
jail_mail3_hostname="mail3.example.com"
jail_mail3_ip="192.168.1.233"
jail_mail3_start="/bin/sh /etc/rc"
jail_mail3_devfs_enable="YES"
jail_mail3_devfs_ruleset="devfsrules_jail"

jail_mail4_rootdir="/usr/jails/mail4"
jail_mail4_hostname="mail4.example.com"
jail_mail4_ip="192.168.1.234"
jail_mail4_start="/bin/sh /etc/rc"
jail_mail4_devfs_enable="YES"
jail_mail4_devfs_ruleset="devfsrules_jail"

------------------------------------------

Make the virtual system

cd /usr/src
make world DESTDIR=/usr/jails/mail1

if you get this error "make: don't know how to make world. Stop"
it's because you don't have to source tree installed...
look at cvs-supfile blog post to know how to do it...

cd etc
make distribution DESTDIR=/usr/jails/mail1
cd /usr/jails/mail1
ln -sf /dev/null kernel

touch /usr/jails/mail1/etc/fstab
cat /etc/resolv.conf > /usr/jails/mail1/etc/resolv.conf
mount -t procfs proc /usr/jails/mail1/proc
mount -t devfs dev /usr/jails/mail1/dev
mkdir /usr/jails/mail1/usr/ports
mount_nullfs /usr/ports /usr/jails/mail1/usr/ports

Once the first jail is created, we can just copy jails and not have to redo "make world" which takes awhile.

----------------------------------------------

Configuration of the jail
Start the jail for the first time

# /etc/rc.d/jail start mail1

If you try to SSH into the jail, you will end up in the main machine and not in the jail.
To fix this add the following line to /etc/rc.conf

rpcbind_enable="NO"

vi /etc/ssh/sshd_config

Port 22
Protocol 2
ListenAddress 192.168.1.157

Now we jump into the jail for some 1st step configurations

# jail /usr/jails/mail1 mail1.example.com 192.168.1.231 /bin/sh

now you are inside the jail:

change the root password
# passwd

add a new user and invite the user to the wheel group (so you can su to root)
# adduser

So we can ssh into the jail

# echo 'sshd_enable="YES"' >> /etc/rc.conf

install bash, change the users shell to bash
if you are in a jail and ports doesn't exit you have to remount the ports Filesystem
# cd /usr/ports/shells/bash
# make clean; make install clean
# chsh
change the shell to: /usr/local/bin/bash

Host environment syslogd
This entry in /etc/rc.conf tells syslogd to not listen on any IP address.

syslogd_flags="-ss"

That allows syslogd to run in both the host and the jail environments.

Host environment inetd

This entry in /etc/rc.conf tells inetd to listen on a specific IP address. This address is that of the host environment:

inetd_flags="-wW -C 60 -a 192.168.0.100"

You should note that the first part of the above flags is from /etc/defaults/rc.conf:

inetd_flags="-wW -C 60" # Optional flags to inetd

jail_enable="YES"
jail_list="mail_1"
jail_set_hostname_allow="YES"

jail_mail_1_rootdir="/usr/jails/mail_1"
jail_mail_1_hostname="mail_1.example.com"
jail_mail_1_ip="192.168.1.202" jail_mail_1_start="/bin/sh /etc/rc"
jail_mail_1_devfs_enable="YES"
jail_mail_1_devfs_ruleset="devfsrules_jail"

if you forget root password
jail /dumpdrive500/jails/devbox2 devbox2 192.168.1.152 /usr/bin/passwd root

------------------------------------------------

Clone the Jails

mkdir /usr/jails/mail2
cd /usr/jails/mail1
tar -cpf - . | tar -C /usr/jails/mail2 -xpf -

Mount all the needed directories for the cloned jails

mount -t procfs proc /usr/jails/mail1/proc
mount -t devfs dev //usr/jails/mail1/dev
mount_nullfs /usr/ports /usr/jails/mail1/usr/ports

vi /etc/rc.conf
added in -------------
jail_devbox5_rootdir="/usr/jails/mail1"
jail_devbox5_hostname="devbox5.example.com"
jail_devbox5_ip="192.168.1.155"
jail_devbox5_start="/bin/sh /etc/rc"
jail_devbox5_devfs_enable="YES"
jail_devbox5_devfs_ruleset="devfsrules_jail"

/etc/rc.d/jail start devbox5
ref: http://www.freebsd.org/doc/en/books/handbook/jails-build.html [[BR]]
ref: http://www.freebsddiary.org/jail-6.php

6Aug/10Off

Online wedding planner

http://ultimateweddingplanner.ca/ that's the new site I've been working on... it's a free online wedding planner software, wedding planning, guests, seating advice, etiquette, budget, vendors, timetable, invitations.

If it helps anyone, it would have been worth the time doing a wedding planner.

Filed under: Code, General, PHP No Comments
24Jun/10Off

3 best iPhone offers deal

So now we know - there is to be no price war over the iPhone 4. But operator 3, which became the latest UK network to unveil its pricing, has opted for much more generous bundles than the competition – and a significantly lower upfront Apple tax.

The drawbacks? Well, 3 won't bundle public Wi-Fi hotspot access in its deals, reckoning its network is now good enough, and you'll need to go to an Apple Store to sign up for now, since supplies are constrained. But that's true for all operators today.

At 3, the iPhone 4 on contract starts at £30, which includes 500 minutes, 5000 3-to-3 minutes and 5,000 texts with the handset at £99 or £189; £35 gets you 900 minutes (or 2,000 if you sign up on line) and the handset for the same price, a slight reduction for the online-only deal; £40 gets you the same minutes as at £35 but a lower handset tax of £59 and £149; while at £45 the 16GB is free, the 32GB model is £89. All the tariffs include 1GB of data per month.

If you're not concerned about being on the bleeding edge, the 3GS model is available at much more attractive rates. For example, you can pick up a 3GS on contract on 3 for £25 a month, and get 500 minutes, and the 1GB of data, with the phone costing £129. At £30 a month, also with 500 minutes bundled, the phone drops to £29, and at £35 a month it's free.

Tesco is offering the iPhone on a £20 monthly tariff – but you'll need to find £429 or £329 for the iPhone 4 models, or £407 or £320 for the iPhone 3GS models (32GB and 16GB respectively), and the bundled minutes allowance (250) is nowhere near as generous.

Other than 3 and Tesco the deals are the same or worse than they were before. So what does £30 a month buy you on Orange, O2 or Voda?

Orange offers a measly 150 minutes and 250 texts for £30 and both “unlimited” 3G and Wi-Fi bundles are capped at 750MB. The new models cost £319 (32GB) or £229 (16GB). £35 buys you 600 minutes. Over at Voda, £30 buys you more minutes – 600 - data is capped at 1GB, and the handset is £269 or £169. O2 offers 100 minutes on an 18-month contract for £30, or 300 minutes on a 24-month contract; texts are unlimited but MMS is extra (20p a pop), and the handsets are £323 or £299 for the iPhone 4 32GB, depending on the length of the contract, and £279 or £209 for the 16GB model.

We're reluctant to say that 3 has started a “price war” - but the deal at the £30 contract spot is much more generous.

T-Mobile has yet to announce its prices.

As for availability, they're all out of stock. O2 is giving existing customers first crack at the new model, and 3 sources say supplies should arrive in its stores in late July or early August.

So you'll need to find an Apple Store, and make your choice there.

http://www.theregister.co.uk/2010/06/24/iphone_4_three_and_tesco/

Filed under: General No Comments