Ubuntu LAMP Server

Some time last year, during the Christmas holidays, I used our Red Hat Fedora Linux server at work to host up an intranet photo gallery using Gallery. Apache was already installed so it was pretty easy. I had already installed Gallery on my website so it was a snap. I was in a hurry to get it up and going and since MySQL was not installed I used Gallery1. The other fun stuff was creating a DNS forward lookup zone so that I didnt have to give people an IP address to view the gallery. This was also easily accomplised since our DNS server is a Win2k3 box. A few months after setting this up the Red Hat box up and died. Javier and I thought the HD had died so he tried replacing it but it still didnt work. We put it on the back burner and never worried about it again. Until recently.

We had our company picnic a few weeks ago and with that came a ton of photos. There was also a Volleyball tournament where I took some pics. So this got me thinking about setting up another web server. So since Javier is no longer working with me I tried to make time to setup the Linux box again. I tried fixing the one I had before but it kept rebooting no matter what I did. I couldnt get past the setup screens. I finally gave up and went to my storage room where I dug up a Gateway machine I had once installed Suse 9 on. It was only lacking memory.

Lately, on the web I have been seeing a lot of articles on Ubuntu Linux. If I was doing this last year I would have used SuSe. But I wanted to know what all the hubbub was about. Ubuntu comes in 2 flavors; Desktop and Server. I downloaded the server version, which they call L.A.M.P. Linux Apache MySQL PHP. It was so easy to install. But then again, when it was done I was only left with a command prompt. No desktop whatsoever. No Gnome, No KDE.

KDE is my desktop of choice so I installed kubuntu which is KDE for Ubuntu. Installing was as simple as typing: apt-get install kubuntu-desktop. Had to run it twice though; I was getting timed out from the servers. That install took longer then the actuall OS install.

After the reboot, I had a pretty Ubuntu install running, PHP, Apache, and MySQL. My next thing to install was Webmin. Webmin is a web based administrative package that lets me configure things. Honestly, I havent used it to do much except to restart Apache and other processes.

So what is next? Well, I installed Gallery2. I was able to use Gallery2 this time around because MySQL is already installed. Following documentation from Gallery2 I created databases and installed Gallery2. I ran into one glitch where Gallery was complaining about my php.ini only allowing 8MB of memory for scripts. That was easily fixed by adding an htaccess file with the increased memory limit. Restarted Apache and I was good to go. Without that memory increase the Gallery installer would error out when it reached its limit.

Gallery2 is not as easy to configure as Gallery1, and in retrospect I should have gone with Gallery1 but I always want to use the latest and greatest. On this site I have a broken install of Gallery2. Grrr. Thats another story.

I tried to find a decent theme for the Gallery but I settled with the basic preloaded theme.

The next thing I wanted to get going was FTP. I have setup FTP Linux servers many times but I can never get it right the first time. I am using vsftpd. As of this writing I cant login! I wanted to FTP up the 6 or 700 photos in a zip file and then tell Gallery to unpack them. But that was a no go. So instead I used a Windows XP uploader that comes preinstalled with Gallery2. Its actualy pretty nifty. In the site admin of Gallery they give you instructions and a Reg file to install on your XP machine. What this does is makes your Gallery2 website and option when you click Publish These Files to The Web in Windows Explorer. I had all the pictures up in no time.

My next plan is to either install Joomla or Drupal. I used Joomla for this site for a few months and I am using Joomla on the companies website. I want to have a real Intranet site like many other businesses have. So when Javier comes back, I’ll start up on that project.

I also need to create a backup solution for the Linux box. So if anyone out there is reading this with experience in backing up and restoring Linux please shed some light.

As a colleague of mine, Dr. Jones, would say. Onward through the fog!

Nostalgic Forum Posts

Slow day at the office so I have been looking thru some old posts on the Forums. Some funny stuff. I wish the forums hadnt died on me two years ago. Anyway, here are some posts I found funny or interesting from way back when:

Me talking about interviewing at my current Job: January 7, 2004
Eddie’s (manolo) hunting trip: January 24 2006
Talking about a concert I went to: November 26, 2002
Discussing DareDevil Soundtrack and the purchase of CDs and downloading: July 31, 2003
Elvis Lunch Hour: September 19, 2003
Tony’s Bday: December 14, 2003

There are plenty more the I enjoyed reading today. Most just me talking to myself. I miss the interaction with some of my friends on the forums.

It was a nice trip down Forum memory lane.

Cricket Suicide

Very freaking wierd!!! I didnt know such things existed. Sooner or later Man is going to harness this as a weapon.

“Gordian worm live inside crickets for long periods, feeding on the cricket’s diet. Once fully grown, they inject chemicals into the cricket’s brain brainwashing it and forcing it to kill itself by jumping into the water. Once in water, the worm wriggles out of the writhing body and swims off in search of a mate. “

23 Minutes You Will Never Get Back. Me Learning “I Walk The Line”

So I have had my guitar for over a year and still cant play worth a lick, but today I picked it up and am trying to learn the I Walk The Line by Johnny Cash. Here are the tabs I am using.

————————————–
I Walk The Line Tab by Johnny Cash, www.Ultimate-Guitar.Com

Tabbed by the slayer/simon cade

Normal tuning e,B,G,D,A,E
Sorry its only the intro but you can get the rest

INTRO RIFF
1|————————————|
2|————————————|
3|————————————|
4|——————–0—0-0———|
5|——-0—-0-0-2-4—0—–4-2-0—|
6|-0-2-4—0————————0-|

1|—————————————————-|
2|—————————————————-|
3|—————————————————-|
4|—————————————————-|
5|-0-0——-2—2——-2-2-2–2——-2—2—2—2-|
6|—–4-2-0—0—0-2-4———-4-2-0—0—0—0—|

———————————————————————-

It is a 10MB Mp3 so if it dont stream click the title above to Download it. I am going to continue to try and learn it and wont record again til i get a decent sound.

Entomatadas

So my dear friend V gave me a pretty simple recipe for entomatadas. You slightly fry some corn tortillas in oil and then dip them in into some preheated tomato sauce. I used a spicy one. Then roll them up and add cheese inside and out. I put them in the oven for a few minutes to melt the cheese.

It was a very different taste for me. Took me awhile to accept the taste. After three I added lettuce and tomato with some crackers and it was all good.

Mini Enchiladas


When I mentioned to Cindy, Robs sister, the Entomatada Recipe V gave me she suggested I try her very quick enchiladas.

Here is the recipe she gave me:

1. Lightly fry corn tortillas in medium-hot pan with oil. Just till
tender.
2. Let drain on plate with paper-towel.

3. Take all tortillas and roll one by one, filling each with chilli
con carne (any canned brand will do). (or, you could also
simply fill each one with cheese only)
4. After they are all rolled up, side by side in a baking dish,
top with more chilli con carne and then top with shredded
cheese.

Place pan in oven at 350 degrees till hot and melted. It will probably be around 15 minutes, or so.

When it comes to cooking stuff I try to follow directions to a T. I keep my Kitchen PC right by the stove so I brought up her email and kept it up just incase. I know, I know, its a simple recipe. But still.

Anyway, they came out very very good. Don’t make me decide which I liked better; the enchililadas or the entomadas.

 Posted by Picasa

Memories

Memories
I love Memories. I just wish there were ways to relive those moments. And I don’t mean so that I can change the way things were. Maybe relive is the wrong word. I wish I could see memories as though I am watching a DVD. I wish I could have a DVD Memory Album in the same way we have Photo Albums. Except no camera person is needed. They are just recorded.


The really sad thing is that I don’t appreciate memories until I feel that the creation of new memories are in jeopardy. On happy days, I can walk around this house and NOT think about the fun we have had here. I can walk passed that bench and NOT think about the night we sat there holding each other. I can mow the grass and NOT think about that night we rolled around in it that one beautiful moon lit night. But when things are not going right, when the future is uncertain, when I am here wondering where you are it is all I think about.

I think about those memories and I so wish many more could be created here. Only time will tell and sometimes time is extremely slow for this heart of mine but time I got.

My First Home

In February if 2006 I purchased my first Home. Its a two bedroom, two bath, two car garage. The Master bath and bedroom are upstairs. I looked for about 4 months until I fell for this house. I didn’t start moving in until March because I had the floors done and I painted just about every wall in the house.

Click the pic for some pictures.

I added a few captions to the pics to describe what you are looking at.