ubuntu install PEAR

once again, ubuntu never fails to impress me. i needed to install PEAR and MDB2 for a client. google search + SSH + apt-get and i’m done in less than 10 minutes

primax@blue:~$ sudo apt-get install php-pear
primax@blue:~$ sudo pear install MDB2

primax@blue:~$ sudo apt-get install php-pear
[sudo] password for primax:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Suggested packages:
php5-dev php4-dev
The following NEW packages will be installed:
php-pear
0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded.
Need to get 355kB of archives.
After this operation, 2695kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com hardy-updates/main php-pear 5.2.4-2ubuntu5.10 [355kB]
Fetched 355kB in 1s (321kB/s)
Selecting previously deselected package php-pear.
(Reading database … 302251 files and directories currently installed.)
Unpacking php-pear (from …/php-pear_5.2.4-2ubuntu5.10_all.deb) …
Setting up php-pear (5.2.4-2ubuntu5.10) …
primax@blue:~$ sudo pear install MDB2
downloading MDB2-2.4.1.tgz …
Starting to download MDB2-2.4.1.tgz (119,790 bytes)
……………………..done: 119,790 bytes
install ok: channel://pear.php.net/MDB2-2.4.1
MDB2: Optional feature fbsql available (Frontbase SQL driver for MDB2)
MDB2: Optional feature ibase available (Interbase/Firebird driver for MDB2)
MDB2: Optional feature mysql available (MySQL driver for MDB2)
MDB2: Optional feature mysqli available (MySQLi driver for MDB2)
MDB2: Optional feature mssql available (MS SQL Server driver for MDB2)
MDB2: Optional feature oci8 available (Oracle driver for MDB2)
MDB2: Optional feature pgsql available (PostgreSQL driver for MDB2)
MDB2: Optional feature querysim available (Querysim driver for MDB2)
MDB2: Optional feature sqlite available (SQLite2 driver for MDB2)
MDB2: To install optional features use “pear install pear/MDB2#featurename”
primax@blue:~$

get PEAR info:

primax@blue:~$ pear list
Installed packages, channel pear.php.net:
=========================================
Package          Version State
Archive_Tar      1.3.2   stable
Console_Getopt   1.2.3   stable
MDB2             2.4.1   stable
PEAR             1.6.1   stable
Structures_Graph 1.0.2   stable

pear config-show

need to edit php.ini so that it can reference the PEAR install “Getting Started with Pear

force qmail to send queue – ubuntu + plesk + qmail

SMTP routes for qmail

added our ISP’s outgoing mail server in hopes of getting stuff delivered. hopefully avoiding blacklists and stuff();

root@blue:/var/qmail/control# nano smtproutes

added ISP
:smtp.fuse.net

root@blue:/var/qmail/control# /etc/init.d/qmail restart
$Starting qmail: done

restarted qmail

root@blue:/var/qmail/control# /var/qmail/bin/qmail-qstat
messages in queue: 74
messages in queue but not yet preprocessed: 0
root@blue:/var/qmail/control# kill -ALRM `ps ax | grep qmail-send | grep -v grep | awk ‘{print $1}’`
root@blue:/var/qmail/control# /var/qmail/bin/qmail-qstat
messages in queue: 37
messages in queue but not yet preprocessed: 1
root@blue:/var/qmail/control#

after a few flushes, nothing in the queue!!!

force qmail to send all in queue
kill -ALRM `ps ax | grep qmail-send | grep -v grep | awk ‘{print $1}’`

open relay check: http://www.checkor.com/
blacklist:

http://www.myiptest.com/staticpages/index.php/check-Blacklisted-IP-DNSBL

barefeet and whatsamatter with shoes?

great article

About 20% of adults have flat feet. A small subset of the population suffers from hereditary flat foot, but most of it is developed. Very few of us are actually born with flat foot. In this post I’ll explore what you can do to avoid flat feet in the first place, and if you already have them whether it is possible to reverse the damage.

Foot A is that of a child who has worn shoes for a mere three months, while Foot B is that of an adult who’s gone barefoot his whole life. Three months was all it took to drastically shape the child’s feet. Already his big toe is turning inward.

In the end, Hoffman concluded that of the “one hundred and eighty-six pairs of primitive feet examined, [he] did not find a single foot associated with the symptoms of weakness so common in adult shoe-wearing feet, which are weakened by the restraint the shoe exerts over function.” He also noticed that foot development was remarkably similar, in all populations, up until the introduction of foot wear. Shoes, it seems, have an undeniable ability to alter one’s natural foot structure.

running barefoot blisters

tonight was ian’s first night at gymnastics. i was watching mackenzie whiel dara went jogging on the treadmill. after a while we went to see dara and she was finished. i decided to give the treadmill a try… i think it has too much traction. anyhow, i blazed through a mile thinking i’d do some HIIT (high intensity interval training). but alas, my feet started getting tender with about .1 mile left. by .05 mile they were sore and i should’ve stopped. LISTEN TO YOUR BODY. but that’s not what *we* do when we’re trying to push ourselves.  i increased the treadmill to a 7 min/mile pace and charged through. only to have some really sore feet by the end… OWWWWWW!

http://www.treatblisters.com/feetblisters.html

http://www.ehow.com/how_4425736_treat-blisters-feet.html

healthcare bill passes!!!

when i was stationed in germany i cut my leg skateboarding and went to the hospital and they immediately stitched me up. *after* they took care of me they asked about my insurance. this has always struck a chord with me. another incident… when my brother was @7 he dislocated his hip. we drove 45 minutes to the closest hospital (we lived really far out) for them to tell us they wouldn’t accept our insurance. we had to drive at least another hour + to the next hospital that would accept my parents insurance… my oldest son emmett racked up over $75k in out of pocket expenses his first year of life. fortunately, we had a couple of benefits to help us with our fees. he qualified for medicaid (a gov’t run *insurance*) being severely disabled a couple years ago and my wife danced in the doctor’s office the first time she didn’t have to make a co-payment. medicaid is awesome! i love it. i know so many friends that simply don’t have insurance right now. i really hope they can get some. this is bogus. we’re one of the last modern countries to not have insurance as a right not a privilege. as pointed out by @bev, you opened a can of worms… then again, people weren’t excited about medicaid/medicare when it was passed. me, i’m excited. my take on it, screw the insurance industry! they’re crooks!

quote’n

ian coming down from the bathroom, “i had a huge poop the shape of greenland!”

yesterday as we were sitting at the kitchen table i was watching him draw / trace with his finger the shapes in the window. well, at least that’s what i thought he was doing. i asked him what he was doing. he said, “i’m playing chess.” this is awesome. i remember learning how to play chess in 4th grade not 3/4 years old and the entire world was a chess board. i would move people in my head as if i was playing chess.

well, i was cooking dinner tonight and he said, “check mate”. i turned around to see what was going on and he was playing chess with the tiles on the ceiling.

life’s awesome if you take the time to look.

tuesday night skate

well, it’s been a long time since i’ve been out skateboarding. probably 6 months. but i’m not sure. been focused on running, cycling and swimming and don’t really want to get hurt. rode the 4′ mini and it was crap; coping sticky, birch slippery until you start running on it then it’s sticky. the bowl was skated. but sucked in all sorts of ways that that bowl sucks. 6′ ramp did some fun, ollie transfer to front lipside on the 1/4. their was a vert session going down and i wanted in so bad…………. i refrained for as long as i could. i dropped in twice. fs air, bs ollie into oververt extension and had enough. the thing is soooo slippery.

maybe i’m back into retirement…

courier imap restart

courier imap

/etc/init.d/courier-authdaemon restart
/etc/init.d/courier restart

http://www.hard2get.org/apple/mail/apple-mail-plesk-imap.html

http://www.sfr-fresh.com/unix/misc/courier-imap-4.6.0.tar.gz:a/courier-imap-4.6.0/tcpd/couriertcpd.html

http://blog.makeitcomplete.com/2008/11/increase-the-number-of-connection-for-courier-imap-in-plesk/

mysql ubuntu help

MySQL
find all instances of mysql:
ps -aux | grep mysql

stop MySQL
/etc/init.d/mysql stop

skip grant tables:
mysqld_safe ?skip-grant-tables &

remove mysql:
apt-get –purge remove mysql-client mysql-server

login:
mysql -u -p
example: mysql -u root -p

change password: http://www.mydigitallife.info/2006/06/06/change-and-reset-mysql-root-password/

update mysql.user set password=password(‘XXXXX’) where user=’admin';

DEFAULT PASS SHOULD BE SETUP!!!
update mysql.user set password=password(‘setup’) where user=’admin';
update mysql.user set password=password(”) where user=’root';

flush privs:
FLUSH PRIVILEGES;

emmett benefit 2010 run / walk

we’re broke (i’ll blog this later). our problem is we need a new wheelchair accessible van. it’s getting really difficult lugging emmett’s chair around. taking him out of the chair, putting the chair in the back of the van, etc… the chair is pretty heavy for me; i can’t imagine how it feels for dara. she’s tough!

the problem. medicaid will give us $10k for a conversion. a van conversion will cost around $20k installed in our 2002 honda oddyssey with 120k miles on it. not a smart move to put it in this van.

we can buy a new van for about 15-20k and have the lift put in another 10k…

we can buy a decent used van WITH a lift already installed from 10-20k. unfortunately, medicaid won’t give us any of that $10k towards a lift install to purchase a used van with a lift already installed?! wtf…

anyhow, we’re going to shoot to have an emmett benefit this year in the form of a run to help pay for a van with wheelchair access.

event date (mid may?)
race timing
after party: events, music, food, location
route scheduling
police assistance
t-shirts
volunteers
p.a.
starter
categories
registration website

emmett sick.

got to spend the day at home again taking care of the kids. i LOVE it! man, how blessed am i to have wonderful kids.

emmett came home from school with a cough and sniffles. DAMN. man, the poor guy can’t get a break and neither can we.

he was struggling to get to bed. i had to put him down twice, but he’d scream for 10+ minutes straight. he wasn’t going to bed, something was wrong…

the poor kid….

wait… weight… running weight.

well, it’s official. i think i have to get down to 160 or less to run with ease. high school track i hovered between 140 and 145. college track was 150. i’m fluctuating between 172 and 175 these days. pretty good. my peak weight was about 167 last summer; riding and racing a ton. not much running and jogging and swimming wasn’t in the equation.

so, do i have 20-25 pounds of fat on me to lose? or, will i lose some muscle mass dropping to 155? i think a realistic goal for this summer will be a weight of 160. alright here we go.