Pink is the New Black![]() Pink is the New Black Variety blog focused on programming, PHP, MySQL, Ruby, and random entries on life and humor. Blog also contains themes and wallpaper Articles
Upgrade to Subversion 1.4.x on CentOS
2007-12-04 21:57:00 I don’t know if it’s just me, but it seems that CentOS is kinda slow with their software updates. It’s not too big of a deal since CentOS is based off of RHEL so you can usually use RHEL 4-5 RPM’s, but those usually bombard me with failed dependencies. I find that the ... More About: Subversion
How to Upgrade PHP
2007-12-04 18:21:00 Whether you compiled manually or with EasyApache, running a PHP upgrade from a previous version is super easy but also one of the most common questions I get. There are 3 likely assumptions about your current environment (specific to Linux servers, sorry Windows users): 1. You are running a cPanel server and have PHP ...
Capone Goes to See Santa
2007-12-04 01:58:00 A lot of my friends have kids, so this year when they all wanted to go to Lynnhaven Mall to get their kids some pictures with Santa I felt a little left out. I really have no desire to ever have kids, nevertheless to take them to see some creepy old man who likes ...
Google Wants to Be the Next God of the Universe
2007-12-02 19:22:00 I thought this was too shocking to be true but the other system admins confirmed it - Google officially wants to be the next god of the universe. The datacenter that houses over a hundred of our servers also caters to some of Google’s servers, and apparently Google also owns part of the building ... More About: Universe , The Universe , Univers
Massive Upgrade Time
2007-12-02 04:33:00 I decided to stop being lazy and get around to those upgrades I needed for my site and server: - Upgrade PHP to 5.2.5 and Apache 2.2.6 (was running 5.2.3 and 2.2.4) - Upgrade Gallery2 and the WPG2 plugin for Wordpress - Upgrade Wordpress to 2.3.1 First, I should admit that I do use the EasyApache installer ... More About: Time
MX Validation in PHP
2007-12-01 06:16:00 Hosting companies have all kinds of tactics to keep spam away from their customers, but one very common complaint I get is the amount of spam coming in through contact forms. Even though we don’t allow ‘nobody’ mail through the php mail() function and we provide the best server-side spam filters available, local ... More About: Validation , Dati , Vali
GRUB Errors on Windows Dual Boot
2007-12-01 04:24:00 I don’t want to admit that I still have PC’s that dual boot Windows XP and Vista, but given the occasional problems I have after Ubuntu and Fedora updates I’m not ready to give them up yet. Some time in the middle of the night last night my laptop, which used to dual boot ... More About: Errors , Boot , Dual
How to Upgrade to a Non-Existent MySQL Version
2007-11-29 04:22:00 Working in webhosting for a while now I’ve had some people ask for really weird shit, and I’ve dealt with a lot of people who try to sound a lot smarter than they actually are (I’m one of them). The latest of the bunch is a guy who asked for MySQL 7.0 claiming ... More About: Mysql , Version
How to Upgrade to a Non-Existent MySQL Version
2007-11-29 04:22:00 Working in webhosting for a while now I’ve had some people ask for really weird shit, and I’ve dealt with a lot of people who try to sound a lot smarter than they actually are (I’m one of them). The latest of the bunch is a guy who asked for MySQL 7.0 claiming that ... More About: Mysql , Version
How to Commit Genocide on Annoying Processes
2007-11-22 03:20:00 A few days ago I came across some processes on one of our servers that just wouldn’t die. Even after doing a kill -9 and all that good stuff, more would just keep spawing until there were dozens running on the machine. A head system admin of ours gave me this command, which ... More About: Genocide , Processes , Anno , Annoying
How to Commit Genocide on Annoying Processes
2007-11-22 03:20:00 A few days ago I came across some processes on one of our servers that just wouldn’t die. Even after doing a kill -9 and all that good stuff, more would just keep spawing until there were dozens running on the machine. A head system admin of ours gave me this command, ... More About: Genocide , Processes , Anno , Annoying
A Simple Way to Save Bandwidth in PHP
2007-11-18 15:05:00 If you were ever looking for a quick and sexy way to save bandwidth on your PHP-based porn high traffic site, all you have to do is add these two lines to the beginning of your PHP scripts: <?php @ini_set(’zlib.output_compression_l evel’, 1); @ob_start(’ob_gzhandler’); ?> This will automatically tell the server to compress the PHP page before sending it to the browser. ... More About: Simple , Bandwidth , Save
A Simple Way to Save Bandwidth in PHP
2007-11-18 15:05:00 If you were ever looking for a quick and sexy way to save bandwidth on your PHP-based porn high traffic site, all you have to do is add these two lines to the beginning of your PHP scripts: <?php @ini_set(’zlib.output_compression_l evel’, 1); @ob_start(’ob_gzhandler’); ?> This will automatically tell the server to compress the PHP page before sending it to the ... More About: Simple , Bandwidth , Save
Installing IonCube loader with Zend Optimizer
2007-11-18 14:48:00 This is a common request we get for Ioncube to be installed. It’s generally not an issue, but when you factor in other optimization plugins like Zend and eAccelerator, a common misconception is that the three don’t get along. It’s very easy to install Ioncube into a PHP installation that already has ... More About: Loader , Optimizer
Installing IonCube loader with Zend Optimizer
2007-11-18 14:48:00 This is a common request we get for Ioncube to be installed. It’s generally not an issue, but when you factor in other optimization plugins like Zend and eAccelerator, a common misconception is that the three don’t get along. It’s very easy to install Ioncube into a PHP installation that already has Zend ... More About: Loader , Optimizer
Switching from Windows to Ubuntu
2007-11-18 12:16:00 I was doing some checking and I found a few websites that have really good tutorials on how to switch from Windows to Ubuntu : https://help.ubuntu.com/community/Switchi ngToUbuntu/FromWindows http://monkeyblog.org/ubuntu/installing/ http://www.buildyourown.org.uk/pc-install ing/ubuntu/ One thing I should mention from personal experience is that the Migration Assistance really sucks sometimes. When I first installed Ubuntu it was quick and painless, but upon a re-install ... More About: Switching , Witch
Switching from Windows to Ubuntu
2007-11-18 12:16:00 I was doing some checking and I found a few websites that have really good tutorials on how to switch from Windows to Ubuntu : https://help.ubuntu.com/community/Switchi ngToUbuntu/FromWindows http://monkeyblog.org/ubuntu/installing/ http://www.buildyourown.org.uk/pc-install ing/ubuntu/ One thing I should mention from personal experience is that the Migration Assistance really sucks sometimes. When I first installed Ubuntu it was quick and painless, but upon a re-install on ... More About: Switching , Witch
Yum GCC Errors
2007-11-17 12:22:00 This is coming from Shelby as a fix for the CentOS gcc compiler error that occurs when you try run a Yum update on some systems: –> Processing Dependency: glibc-common = 2.3.4-2.25 for package: glibc-dummy-centos-4 –> Finished Dependency Resolution Error: Missing Dependency: glibc-common = 2.3.4-2.25 is needed by package glibc-dummy-centos-4 First you have to remove the existing package: yum remove ... More About: Errors
Yum GCC Errors
2007-11-17 12:22:00 This is coming from Shelby as a fix for the CentOS gcc compiler error that occurs when you try run a Yum update on some systems: –> Processing Dependency: glibc-common = 2.3.4-2.25 for package: glibc-dummy-centos-4 –> Finished Dependency Resolution Error: Missing Dependency: glibc-common = 2.3.4-2.25 is needed by package glibc-dummy-centos-4 First you have to remove the existing package: yum ... More About: Errors
Securing the TMP Partition and Tracking Hacks
2007-11-16 14:52:00 Are your temp partitions putting out behind your back? Anyone who’s ever administered a Linux server would know the risk of leaving the /tmp directory unsecured, moreso on a webserver that is shared among multiple websites. The tmp directory is world-writeable and used by a majority of services on a machine — including the ... More About: Hacks , Partition , Tracking
Securing the TMP Partition and Tracking Hacks
2007-11-16 14:52:00 Are your temp partitions putting out behind your back? Anyone who’s ever administered a Linux server would know the risk of leaving the /tmp directory unsecured, moreso on a webserver that is shared among multiple websites. The tmp directory is world-writeable and used by a majority of services on a machine — including the storage ... More About: Hacks , Partition , Tracking
Sploggers Don?t Deserve to Get Laid
2007-11-15 18:12:00 Have you ever read an article somewhere and realized that it looks too familiar? That’s because you probably wrote it a year or so ago, or read it on someone else’s blog. “Splogs” are usually fake (and some legitimate sites) blogs that harvest your blog’s content via script, then mirror it on their own ... More About: Serve
Installing Mod_Python
2007-11-11 09:46:00 I figured I’d put this out here because it’s come up quite recently with people who are using Apache 1.3.x. If you haven’t gotten the balls to upgrade to Apache 2.x yet, you can still install mod_python…just not as easily. This simple walk through is for Apache 1.x and 2.x. First, you need ...
Selling Ad Space
2007-11-04 15:02:00 Those of you who read Corgie’s post on the front page of Digg the other day, the answer is no — I’m not selling ad space (or sponsored reviews) on my site at this time, and obviously not for $560 a month. I might in the future when I get more traffic but when ... More About: Selling , Space
Halloween?Sucks
2007-11-01 15:12:00 This is probably the first Halloween that was a complete disaster. First, I dropped almost a couple hundred on this custom-made Greek [hoochie] goddess outfit. But the lady made the dress too short, kind of to the length of a t-shirt…she also made it one size too small which was Ok, but it only ... More About: Sucks , Allo
How to Make Your System Admin Mad by Creating Huge-Ass Files
2007-10-31 14:43:00 So If you’ve ever woke up in the morning and asked yourself…”Hmm, how can I make my system admin’s job harder to the point where they get mad and shut down my server?” Well, lucky for you I can answer that question. All you have to do is use the ‘dd‘ command ... More About: System , Creating , Make , Files , Admin
Which Programming Language is For You?
2007-10-30 17:23:00 Working with a webhosting company I get asked all the time — which programming language is better? It’s obvious that I’m more bias towards PHP, but there are other great languages out there that may be more suitable for certain people creating certain sites. I’ve decided to write a nutshell comparison ... More About: Programming , Language , Programming Language
I Live With Lazy Bitches
2007-10-28 14:31:00 I don’t even know…I just came home one day and here they were: More About: Live , Bitches , Lazy
Mass-Moving cPanel Accounts
2007-10-22 17:32:00 If you’ve ever needed to move a ton of cPanel accounts from one server to another, you probably know the following: The multiple account move feature in WHM fails miserably It takes forever to do them one by one, esp. when you have other things to do I figure the best way to mass-move accounts is by ... More About: Moving , Mass
PCLinux OS is Kind of Sexy
More articles from this author:2007-10-18 18:31:00 I recently became pretty fond of Ubuntu when I installed it on my work computer after dealing with daily crashes of Windows XP Pro. I find it to be a lot easier to manage, though it sucks that some software is still not compatible with Unix and installing a wireless network card is ... More About: Sexy 1, 2, 3, 4 |




