Maybe someday I'll get the other blog up and running, but right now I'm working on a project. one of the things I needed to do, was set up a lab.
CentOS 6.2, Virtualbox.
After installing the Development Tools group, and the kernel-devel package, I kept getting errors saying it couldn't find the source code to build. Dug around. finally looked at the run script for the Additions software.
while the kernel and the kernel-devel package were both 2.6.32-220, the directory under /usr/src/kernel/ was called 2.6.32-220.7.1.el6.i686. The installer was looking for 2.6.32-220.el6.i686.
a quick ln -s exiting looked worked magic, it finished with no errors.
The console still doesn't look right, but that is going to have to wait.
Wednesday, April 11, 2012
Sunday, December 11, 2011
more on the new side project
So after looking around, asking a few people and doing a little reading I've updated www.ratsandrogues.com. Kind of funny that that is going faster than setting up rattis.net.
So yesterday, I set up WordPress, and re-wrote the two entries that were on the Rats and Rogues page. Then created two accounts. Then finally set up email using virtual domains (Postfix + Mysql + dovecot, etc).
Wish I could say it was all easy and simple. But it wasn't.
Problems I came across:
Wordpress:
1) www.ratsandrogues.com/feed wasn't working. The feed validator sites were saying not feed webpage. Going there got a 404 error.
2) If I set the url to be a custom for the entries, I could get a 404 error. But leaving the urls set as standard instead of custom would work.
2.5) the settings page for custom url said that .htaccess was not writable.
Solution
It looks like all three issues were related. One large problem with simple solutions but took forever to research.
2.5) created the .htaccess file in the root directory for the wordpress site. then changed ownership to the apache daemon user name.
That allowed the site's setting page to update the .htaccess file.
1 & 2) This one took more time, and lots more research. It looked like that .htaccess file was being ignored. I remember disabling .htaccess when I set up mod_security. Did some reading. I had set AllowOverride NONE in the config file, and I've had to make changes to the vhosts under that global directive. Once I changed that for only the Rats and Rogues site both the rewrites for custom URLS and the feed started working.
Email:
Uh this one was a mess.
1) getting the alias forwarding table to push to multiple people.
2) getting email to forward to the people above.
Solutions:
1) I searched around forever trying to figure out how to insert more than one name in the time. I saw some screen grabs that showed it but no idea how they did it. Then one webpage said that most use PHPMyAdmin. Yeah, didn't want to install that. To make it work:
Which is just the written out way of saying give the value of the 2 columns, 'source' and 'destination', with 2 elements. The first one is the alias email. the second one is a list of emails seperated by commas (,) between the single quotes (') for the second element.
2) With both names in the forwarding table, I gave it a test.
Fixing that required commenting out:
in the Postfix main.cf
Which left me with:
which was there because while trying to fix the other problem I set the domain name in
once I fixed that, everything worked.
So yesterday, I set up WordPress, and re-wrote the two entries that were on the Rats and Rogues page. Then created two accounts. Then finally set up email using virtual domains (Postfix + Mysql + dovecot, etc).
Wish I could say it was all easy and simple. But it wasn't.
Problems I came across:
Wordpress:
1) www.ratsandrogues.com/feed wasn't working. The feed validator sites were saying not feed webpage. Going there got a 404 error.
2) If I set the url to be a custom for the entries, I could get a 404 error. But leaving the urls set as standard instead of custom would work.
2.5) the settings page for custom url said that .htaccess was not writable.
Solution
It looks like all three issues were related. One large problem with simple solutions but took forever to research.
2.5) created the .htaccess file in the root directory for the wordpress site. then changed ownership to the apache daemon user name.
That allowed the site's setting page to update the .htaccess file.
1 & 2) This one took more time, and lots more research. It looked like that .htaccess file was being ignored. I remember disabling .htaccess when I set up mod_security. Did some reading. I had set AllowOverride NONE in the config file, and I've had to make changes to the vhosts under that global directive. Once I changed that for only the Rats and Rogues site both the rewrites for custom URLS and the feed started working.
Email:
Uh this one was a mess.
1) getting the alias forwarding table to push to multiple people.
2) getting email to forward to the people above.
Solutions:
1) I searched around forever trying to figure out how to insert more than one name in the time. I saw some screen grabs that showed it but no idea how they did it. Then one webpage said that most use PHPMyAdmin. Yeah, didn't want to install that. To make it work:
INSERT INTO forwarding (`source`, `destination`) VALUES ('aliasemail@example.com', 'email1@example.com, email2@example.com');
Which is just the written out way of saying give the value of the 2 columns, 'source' and 'destination', with 2 elements. The first one is the alias email. the second one is a list of emails seperated by commas (,) between the single quotes (') for the second element.
2) With both names in the forwarding table, I gave it a test.
<user2@example.com> (expanded from <alias@example.com>): User
unknown in virtual alias table
<user1@example.com> (expanded from <alias@example.com>): User
unknown in virtual alias table
Fixing that required commenting out:
receive_override_options = no_address_mappings
in the Postfix main.cf
Which left me with:
User unknown in virtual alias table
which was there because while trying to fix the other problem I set the domain name in
virtual_alias_domains =
once I fixed that, everything worked.
Tuesday, December 6, 2011
Wednesday, November 2, 2011
new site isn't up.
So the last entry said, I was working on a new site. Sadly I haven't had the time to dedicate to it like I thought I would.
I also realized, I never got around to writing my review for the WIFU / OSWP class. Well.. that's not entirely true. I wrote one, but was never published. I was thinking yesterday about it for some reason, and was planning on writing a review last night from a slightly different perspective.
Now I just need to find the time.
I also realized, I never got around to writing my review for the WIFU / OSWP class. Well.. that's not entirely true. I wrote one, but was never published. I was thinking yesterday about it for some reason, and was planning on writing a review last night from a slightly different perspective.
Now I just need to find the time.
Wednesday, August 31, 2011
times change
So... I don't know.
I got my VPS up and running finally. Went with Linode. Had several friends speak highly of it. Went with a default Debian Squeeze install. Got it hardened as best I could. Now I'm getting ready to hit it with LAMP.
Linux, Apache, Mysql, PHP.
I was thinking LEMP, (NginX instead of Apache), but since I'm going to be running Drupal, and really want an easy set up (follow the howtos and be working kind), I'm going to skip LEMP. Can always change later.
So what will this VPS be doing?
- Personal website. Blog, resume, photo gallory, email etc. Yes I said blog.
- Offer up a site to my martial arts school. Cheaper and more control than what they are using now. Using a CRM framework (drupal again) should make it easy enough to have updated.
- Maybe a site for the Locksport groups
- shell access for me. Mostly for IRC.
- Photo and video exchange site for the parkour group I'm in. Maybe.
I got my VPS up and running finally. Went with Linode. Had several friends speak highly of it. Went with a default Debian Squeeze install. Got it hardened as best I could. Now I'm getting ready to hit it with LAMP.
Linux, Apache, Mysql, PHP.
I was thinking LEMP, (NginX instead of Apache), but since I'm going to be running Drupal, and really want an easy set up (follow the howtos and be working kind), I'm going to skip LEMP. Can always change later.
So what will this VPS be doing?
- Personal website. Blog, resume, photo gallory, email etc. Yes I said blog.
- Offer up a site to my martial arts school. Cheaper and more control than what they are using now. Using a CRM framework (drupal again) should make it easy enough to have updated.
- Maybe a site for the Locksport groups
- shell access for me. Mostly for IRC.
- Photo and video exchange site for the parkour group I'm in. Maybe.
Labels:
blog news,
computer security,
linux,
locksport,
Martial Arts,
Tang Soo Do
Tuesday, August 2, 2011
Tuesday, July 26, 2011
bodyfat update
23.4%
244.6
43 inch at navel
45 inch hip
13 inch forearm
7 inch wrist
If I remember right, those are all down from last time, well except for the forearm..
244.6
43 inch at navel
45 inch hip
13 inch forearm
7 inch wrist
If I remember right, those are all down from last time, well except for the forearm..
Subscribe to:
Posts (Atom)