Apache+suEXEC+FastCGI+PHP-FPM+APC - Part 2

Click here: PART 1, if you’ve came to this directly from a Google search or you need to compile the FastASS-CGI combo.

Alright, you should have a working FastASS-CGI Configuration!  Yes, I’ve dubbed it FastASS-CGI (Fast, Apache, suexec, , Fastcgi+PHP-FPM and APC)  Those last three all go to gether which is why I just dubbed it CGI at the end.  If you have a problem with it, well… fsck you.  :P  Hahahaha, joking aside lets get into the deep and dirty portion of this configuration.

This whole part looks relatively easy but took me the longest of all to figure out.  I plan on explaining how exactly everything works in detail, so for those that already know or those just looking for the answer, sorry you’re going to have to push through this and deal with it.

Click to continue reading “Apache + suEXEC + Suhosin + FastCGI + PHP-FPM + APC – Part 2″

http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/digg_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/reddit_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/stumbleupon_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/delicious_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/technorati_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/google_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/yahoobuzz_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/twitter_48.png

Apache+suEXEC+FastCGI+PHP-FPM+APC - Part 1

This part 1 is going to focus on the Slackware side of things in order to prep your server to use all of the above.  If you are not running , don’t nessessarily skip this section, as the configure options for compiling everything are still very important and apply to any distro.  If you already have everything recompiled, installed, etc. I would skim this to make sure (if you were recompiled before seeing this) that you used the options I did or at least are familiar with them so that when I reference them later you can apply them to your setup if you choose different options at compile time.  (Wow, that was a mouth full..(that’s what she said..))  Ha ha ha.

Before we start, lets do a benchmark of our current configuration of apache with php.  Be sure to save the output to comepare it with the end results at the end of Part 2.

Click to continue reading “Apache + suEXEC + Suhosin + FastCGI + PHP-FPM + APC – Part 1″

http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/digg_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/reddit_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/stumbleupon_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/delicious_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/technorati_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/google_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/yahoobuzz_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/twitter_48.png

Slackware64, Multi-lib and upgrading to -current

Some of you may read this and go, “DUH you fucking idiot”…., and for others might go… “Oh SHIT, thanks for the reminder!”.

A couple weeks ago I decided to upgrade to -current.  One thing I forgot about was what I did when I first installed all the multi-lib packages.  I blacklisted all the glibc and gcc packages.  So during the upgrade, none of them got upgraded to currents version and I was running into weird problems when trying to compile some of the programs I make SlackBuilds for.

So, if you are upgrading to -current and have multi-lib packages DON’T FORGET to also grab the -current multi-lib packages before dropping to telinit 1 to update or just remove the blacklisting from slackpkg if you use that to update/upgrade between versions like I did.

http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/digg_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/reddit_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/stumbleupon_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/delicious_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/technorati_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/google_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/yahoobuzz_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/twitter_48.png

Huge update for a lot of my SlackBuilds

I’ve been running -current ever since the huge list of updates hit the changelog.  With bash 4 out of extra, it’s only a matter of time before -current hit’s stable and everyone is on it.  Because of this, it requires many of us who build sloppy SlackBuilds and/or missed things (I’m guilty of this), to go back and fix them because bash 4 says, “FFFFFFFFFFFFFFFUUUUUUUUUUUUU”!!!!!

The two major things I’ve ran into with my builds and other builds are:

  • Man pages.  There were no man pages to copy but the line to do so was there.
  • The “strip” lines not having “|| true” at the end.  Read more here, http://slackbuilds.org/faq/ @ #19.

I have fixed, updated and tested the following packages all on Slackware13, Slackware64-13 and Slackware-current:

frei0r,  and pygoocanvas

These packages only needed the two above fixes.  frei0r will probably not receive a version change unless a huge bug is found or something stops working etc. etc.

The Framework got an update to 0.5.2 besides the above fixes.

Click to continue reading “Huge update for a lot of my SlackBuilds”

http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/digg_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/reddit_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/stumbleupon_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/delicious_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/technorati_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/google_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/yahoobuzz_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/twitter_48.png

About Me

Besides being Pure Awesome, what do you want to know? :D  Oh, ah.. okay some facts?  A list?  What is this, your grocery? :P

Well, I love to skydive.  It’s my drug, and keeps me sane.  During the winter, snowboarding is a placeholder for skydiving.  However, we’ve gone during the winter so long as weather permits (not snowing, windy..etc. etc.).

I enjoy participating in the community.  I mostly hang out in ## on irc.freenode.net (agentc0re).  I also have a few SlackBuilds, which can also be found on my site as well.

I brew beer, and enjoy doing that when I have time as it is very time consuming.  Not only the day of but the days after as well.  I’m glad i bought the kegging kit or my beer might not ever leave the bucket!  :D

Well enjoy your stay here.  I plan on updating the things you already see here fairly regularly.

Click to continue reading “About Me”

http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/digg_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/reddit_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/stumbleupon_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/delicious_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/technorati_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/google_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/yahoobuzz_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/twitter_48.png

My Resume

DIRECT LINK TO DOCUMENT VERSION: JonathanLarsenResume.doc

Jonathan Larsen
929 Autumn Ave
SLC, UT 84116
Email: jonathan.larsen@learnix.net

JOB RELATED TRAINING:

  • CompTIA A+ and Network+ Certified
  • Previously Dell Certified
  • Security Clearance: Secret in 2001

WORK EXPERIENCE:

Network and Systems Administrator, Mountain West Cardiovascular, SLC, UT 6/2008-1/2010

  • As a Senior , authorize and review all IT related actions and change orders as needed
  • Provide day to day desktop and network support for end users
  • Administer Cisco, Dell, and SMC switches
  • Migrating ticket systems from OTRS to RT
  • Utilize Endpoint Protection 11.0 Management server to keep virus definitions current
  • Complete cost-benefit analysis on current and new software, hardware, and IT consumables while taking into account usage cost
  • Present next years’ purchasing plans and upgrade paths to our board of directors
  • Purchase, install, configure, and troubleshoot new hardware and software for system upgrades on laptops, PCs, printers, servers, phones, etc.
  • Installed, configured, and update Bacula software to backup servers.

Click to continue reading “My Resume”

http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/digg_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/reddit_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/stumbleupon_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/delicious_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/technorati_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/google_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/yahoobuzz_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/twitter_48.png

Google fight, China vs …..

So we were having some fun in #-offtopic on freenode with fire|birds bot and misconstruing the !fight command for Google Fights.

  • By results on Google: china beats off while thinking of fire|bird by 622,000,000 to 72,900,000!
  • By results on Google: china beats off while thinking of agentc0re by 624,000,000 to 482!
  • By results on Google: china beats off while thinking of BP by 622,000,000 to 3,880,000!
  • By results on Google: china beats off while thinking of Reticenti by 624,000,000 to 126!
  • By results on Google: china beats off while thinking of macavity by 622,000,000 to 10,200!
  • By results on Google: china beats schoolgirls by 622,000,000 to 4,450,000!
  • By results on Google: china beats chinese girls by 624,000,000 to 38,500,000!
  • By results on Google: china beats off while thinking of guys by 624,000,000 to 69,700,000!
  • By results on Google: china beats off while thinking of huge American penis by 624,000,000 to 2,090,000!
  • By results on Google: china beats small children into making shoes by 622,000,000 to 1,150,000!
  • By results on Google: china beats google security and steals google code by 624,000,000 to 600,000!

But in the end:

  • By results on Google: google beats china by 2,050,000,000 to 624,000,000!
http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/digg_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/reddit_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/stumbleupon_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/delicious_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/technorati_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/google_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/yahoobuzz_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/twitter_48.png

Slackbuilds section up and running

Well big thanks to Dive for giving me his layout for his Slackbuilds directory index listings.  I thought that it was very smooth and clean looking, makes fancy indexing look like ass.  So thanks Dive, it’s much appreciated.

Slackbuilds link is under the menu.  Or on the side panel.  Some of these may wind up on Slackbuild.org, some may not.  If they don’t it’s more than likely because I chose not to submit it.  Or in the case of my bacula script because it needs to be broken up into two scripts to do clients and servers.  Figured I’d leave it to do both in case anyone or myself would want to use that in the future.

If I update a buildscript I will make a post about it so that it’s easily known.  If you’d like me to update one of my scripts, shoot me an email.  Same with if you are having any problems building said package.

http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/digg_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/reddit_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/stumbleupon_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/delicious_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/technorati_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/google_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/yahoobuzz_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/twitter_48.png

Extra dep’s to go along with Farsight2

***UPDATE*** 1/15/2010
It’s been a while since I’ve tested the whole V&V with pidgin but I remember that installing these packages did not fix my problem.  Still had issues with V&V working on one end and not the other, the suddenly stopping.  It has a was to go.  Maybe these have become more part of farsight2 now though who knows.

A few of us in the ## channel have been working on getting voice and video to work with the latest pidgin release.  However, so far most of our efforts have been in vain.  Sometimes it works, sometimes it doesn’t.  I can never send the request and get it to work however others can send to me just fine.  I’ve tried all sorts of things on my end, including opening up the whole “world” to the inside of my network… Still nada.

Saw that farsight2 required gupnp-igd.  Here are all the packages I’ve build to SBo standards.
They must be built in this order.

Click to continue reading “Extra dep’s to go along with Farsight2″

http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/digg_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/reddit_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/stumbleupon_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/delicious_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/technorati_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/google_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/yahoobuzz_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/twitter_48.png

I failed at failing

So today i failed at failing in the # channel. Good ole macavity made me a nice little fail kitty pic.

(10:28:01 PM) Orion: yes the nvidia linux drivers always work flawlessly for me
(10:28:05 PM) Orion: just sh Nvidia…..
(10:28:11 PM) Orion: as root, of course
(10:29:11 PM) agentc0re: Orion: there is not root…
(10:29:16 PM) agentc0re: s/not/no
(10:29:22 PM) ***agentc0re screwed that one up
(10:29:27 PM) agentc0re: /fail
(10:31:18 PM) danc3: huh?
danc3 danklesman
(10:32:43 PM) agentc0re: danc3: was trying to incorporate a matrix saying by “There is no root” but i screwed it up. hence the fail… now a super fail because i have to explain the fail.
(10:32:53 PM) danc3: lol, ok
(10:33:02 PM) agentc0re: /fail –double
(10:33:12 PM) quasar: epic fail.
(10:33:19 PM) fire|bird: agentc0re: lol, you fail miserably. :P
(10:33:29 PM) agentc0re: i fail at failing :P
(10:33:30 PM) macavity: fail++
(10:33:43 PM) fire|bird: agentc0re: yup, you can’t even fail right. :P
(10:33:48 PM) macavity: is a failburger with double cheese!

Click to continue reading “I failed at failing”

http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/digg_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/reddit_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/stumbleupon_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/delicious_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/technorati_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/google_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/yahoobuzz_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/twitter_48.png