April 28, 2012
by zwebx
0 comments

lighttpd rewrite rule for bbpress

Here is the rewrite rule i found that works with BBPress in wordpress its borrowed from the user shoggy at http://bbpress.org/forums/topic/rewrite-rules-under-lighttpd but with that URL being nearly impossible to find i think it is worth listing here.

Here is a workaround :

In /etc/lighttpd/bbpress-rewrite.conf, I have :

url.rewrite-once += (
# /forum/FORUM-NAME
"^" + bbpressdir + "forum/([^/]+)/page/([0-9]+)/?$" => bbpressdir + "forum.php?id=&page=",
"^" + bbpressdir + "forum/([^/]+)/?$" => bbpressdir + "forum.php?id=",
# /topic/TOPIC-NAME
"^" + bbpressdir + "topic/([^/\?]+)(\?(.*))?$" => bbpressdir + "topic.php?id=&",
"^" + bbpressdir + "topic/([^/]+)/page/([0-9]+)(\?(.*))?/?$" => bbpressdir + "topic.php?id=&page=&",
# /tags/TAG-NAME
"^" + bbpressdir + "tags/([^/]+)/page/([0-9]+)/?$" => bbpressdir + "tags.php?tag=&page=",
"^" + bbpressdir + "tags/([^/]+)/?$" => bbpressdir + "tags.php?tag=",
"^" + bbpressdir + "tags/?$" => bbpressdir + "tags.php",
# /profile/PROFILE-NAME
"^" + bbpressdir + "profile/([^/]+)/([^/]+)/page/([0-9]+)/?$" => bbpressdir + "profile.php?id=&tab=&page=",
"^" + bbpressdir + "profile/([^/]+)/page/([0-9]+)/?$" => bbpressdir + "profile.php?id=&page=",
"^" + bbpressdir + "profile/([^/]+)/([^/\?]+)(\?(.*))?/?$" => bbpressdir + "profile.php?id=&tab=&",
#"^" + bbpressdir + "profile/([^/]+)/([^/]+)/?$" => bbpressdir + "profile.php?id=&tab=",
"^" + bbpressdir + "profile/([^/\?]+)(\?(.*))?$" => bbpressdir + "profile.php?id=&",
# /view/VIEW-NAME
"^" + bbpressdir + "view/([^/]+)/page/([0-9]+)/?$" => bbpressdir + "view.php?view=&page=",
"^" + bbpressdir + "view/([^/]+)/?$" => bbpressdir + "view.php?view=",
"^" + bbpressdir + "rss/?$" => bbpressdir + "rss.php",
# /rss/FEED-NAME
"^" + bbpressdir + "rss/forum/([^/]+)/?$" => bbpressdir + "rss.php?forum=",
"^" + bbpressdir + "rss/topic/([^/]+)/?$" => bbpressdir + "rss.php?topic=",
"^" + bbpressdir + "rss/tags/([^/]+)/?$" => bbpressdir + "rss.php?tag=",
"^" + bbpressdir + "rss/profile/([^/]+)/?$" => bbpressdir + "rss.php?profile="
)

Finally, I just add this configuration for each vhost using bbpress :

$HTTP["host"] =~ "domain\.tld" {
var.bbpressdir = "/forums/"
include "bbpress-rewrite.conf"
}

But in my case my bbpress installation was on / not /forums/ so i changed it.

VN:F [1.9.17_1161]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.17_1161]
Rating: +1 (from 1 vote)

April 28, 2012
by zwebx
0 comments

How to get a free minecraft server

Before you read this, you may ask What is a minecraft server (read post)

There are many ways to get a ‘free minecraft server’  bit this seems to be the easiest so far:

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

Step One:

Go to http://freeminecrafthost.com/register/ and enter valid details

Step Two:

 After completing the registration process its as simple as logging into http://freeminecrafthost.com/user-panel/ and pressing start my server

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

There you go now you have a freeminecraft server that will most likley be much faster than running one at home.

To use the minecraft server you must purchase the latest minecraft client http://www.minecraft.net/store and enjoy the game with all your friends :)

VN:F [1.9.17_1161]
Rating: 10.0/10 (2 votes cast)
VN:F [1.9.17_1161]
Rating: +1 (from 1 vote)

April 28, 2012
by zwebx
0 comments

What is a minecraft server

A minecraft server is a java application that you can run on your computer at home.

What does it do?

It allows you and anyone else on your server to play on a single map and also allows you all to edit it. This can prove to be handy when making some complex worlds like this one:

How do i get a minecraft server?

It can simply be as easy as installing an application onto your computer, for more information on this read:How to run a minecraft server.

Or you could get someone else to host it for more info on that read: free mine craft hosting

VN:F [1.9.17_1161]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)

April 24, 2012
by zwebx
0 comments

$16 House story of Kenneth Robinson

Jon follows-up the story story of Kenneth Robinson – a thrifty man who took advantage of a little known law called “adverse possession” that allowed him to claim a $330,000 home in Flower Mound, Texas for only $16 — but earlier this month, he was finally, and unfortunately evicted at a Judge’s request.

VN:F [1.9.17_1161]
Rating: 8.0/10 (1 vote cast)
VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)

March 21, 2012
by zwebx
0 comments

Alienware Aurora Desktop R4 Review Of The Pricing

!Important Before you read! you may like to read How to build a Computer before reading this.

As for many of us having a good looking computer is much preferred than having a boring old box, the question is how much are we paying for the extra ‘coolness’.

Here are the specs for the aurora alx r4:

Processor
 
    Intel® Core™ i7-3960X (Six Core Extreme, 15MB Cache) Overclocked up to 4.2Ghz
 
Operating System
 
    Genuine Windows® 7 Ultimate SP1 64 bit (English)
 
Monitor
 
    No Monitor
 
Memory2
 
    32GB (4X8GB) Quad Channel 1600MHz DDR3 Memory
 
Hard Drive
 
    1TB SATA 3.0Gb/s Hard Drive with Native Command Queuing
 
Video Card
 
    1.5GB GDDR5 NVIDIA® GeForce® GTX 580
 
Optical Drive
 
    Dual Drives: 24x DVD+/-RW + Blu-ray Disc Drive Burner (BD/DVD/CD burner)
 
Security Software
 
    McAfee® SecurityCenter™ (Multi-Language) - 15 Months

So, lets build up a price list and find out how much we are paying for nothing…

Item                         price       source

Intel Core i7-3960X Extreme Edition      $1,o49.99               http://www.newegg.com

8x8GB DDR3 1600mhz                               $599.99                 http://www.newegg.com

ASRock X79 Extreme6                                $259.99                 http://www.newegg.com

GeForce GTX 580 (by galaxy)                    $389.99                 http://www.newegg.com

WD 7200Rpm 1TB HDD                             $129.99                  http://www.newegg.com

1000W PSU                                                      $129.99                 http://www.newegg.com

Watercooling kit    (xspc)                              $165.00                http://www.pccasegear.com

Cool case (can use whatever)                       $289.99               http://www.newegg.com

Graphics card waterblock                             $129.00               http://www.pccasegear.com

Totals:$3243.93

The case can be whatever you want to use, and if you use a different case you may want to get the larger radiator.

So you are paying $2755.07 for the added ‘coolness’ of an alien ware case, please note it may not be 100% accurate because you may need to still buy a couple of cables, but for $2755.07 you could buy three and then some more graphics cards.

VN:F [1.9.17_1161]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)

March 16, 2012
by zwebx
1 Comment

How To Build A Computer

Before we begin the tutorial you will want to understand some of the technical terms i use, here is a list:

  • PSU Stands for Power Supply Unit
  • RAM Stands for Random Access Memory
  • CPU Stands for Computer Processing Unit
  • HDD Stands for Hard Disk Drive
  • SSD Stands for Solid State Drive

Step One:

Find out and set your budget (if you have one) and think of what type of computer you want to build for, eg gaming, workstation, Graphics editor, General use. I will list what specs you would most commonly need for any application:

Motherboard: For general use and or a workstation any motherboard will do as long as it has the slots and sockets for the CPU and RAM you wish to run (Micro ATX or full size ATX but remember that your case has to match be compatible with your motherboard size)

For Gaming and also for strong graphic editing computers i would recommend getting a full size ATX and getting a motherboard with as many PCI-E 2.0 slots as possible (if you want to crossfire and whatnot if you just want one GFX card this should not matter) But also factoring that you want a good CPU also so try to get a motherboard that matches your current or new CPU

CPU:I recommend 2Ghz+ dual core or better (Also some processors with an APU and if you are using the computer for general or workstation purposes this should be fine) I have run my personal computer on a Intel core duo for years and had no problems so far, if you are planning to game the APU could also be hybrid crossfired with a certain card (look on the manufacturers website before you buy if you want to run that setup

RAM:The fastest RAM you can get your hands on is the best, saying that i have seen many new Applications running fine on DDR2 RAM and i recommend 4GB+ amounts of RAM because sometimes.

HDD: HDD speed affects the speed of the whole system to some extent, like the speed an application loads to the RAM and or file transfers also if you are going to do a server the speed that it can index the files therefor making it faster at handling multiple requests. Optimistically and for a great disregard to anyone on a tight budget i would recommend a SSD for fast application loading time and decent data life, For decent speed and also much much more space for a cheaper cost i would recommend a 7200RPM disk connected via sata.

Graphics Card:For a general use computer i could recommend getting a amd a6-3500 because it has a APU (Discrete GPU) built into it and just using the onboard Graphics (that is actually using the APU on the CPU chip) because it is good enough to play battlefield on normal settings (so i hear and i also recommend running the best ddr3 RAM you can get because it really gives them a boost in GFX Capabilities)

For Gaming i would suggest you go ahead and research a graphics card that may suit your gaming needs (Google is your friend) also a good thing to check is if you wish to crossfire or sli your Graphics cards together make sure that your motherboard and motherboards bios supports it.

For Workstations I would suggest buying a card that suits your needs, eg. if you need a ultra large resolution you may need to research for one that supports  it and make sure you read reviews of the card. if it is just for a normal monitor any old graphics card usually does the trick, unless you need to play videos at 1080P on YouTube or anything alike they may cause staging and slow frame rates during video playback.

PSU: Power supplies are usually on the bottom end of the list because they do not matter as much as the other components and do not usually cost that much money. Once again i can never really recommend you a good PSU because it is what you need to power up your system and how many watts it will consume EG. If i have a a computer that consumes 500W of power then i would get a 750W PSU as so you do not have to upgrade it later on if you want to overclock or upgrade parts Also please try to get a PSU with a 3 year guarantee  or similar because if the manufacture has that sort of expectancy for the PSU’s life that means you most probably can.

Case:It does not really matter what case you use, or any case if you wish. But if you are going to do anything that will produce a lot of heat i would recommend using a case that has sufficient cooling or if you wish to go a little over the top a case that has a Water Cooling Unit Pre-Installed because they can be pretty confusing to set up.

Step 2:

After you have selected all the components that you wish to have in your build and also triple checked that they can work with the motherboard and whatnot then it is time to begin building, get your case out and put it on a safe sturdy bench with nothing on it to damage the case it is time to install your PSU

(Pictures coming soon)

 

Step 3:

Installing the CPU onto the motherboard is in theory pretty easy but if it is your first time, make sure you do it with caution. Because there are so many types of sockets i can only really do it with one, so i will include it in my video i make soon when my parts arrive. but for now here is a great guide i found to be handy when i did my first build: http://www.build-your-own-computers.com/how-to-install-a-cpu-and-heatsink.html

 

Step 4:

Installing the RAM

It is quite easy to forget about installing the RAM and attempting to run the Computer… DO NOT do that it can cause a power surge and most likely break your motherboard and also PSU’s and anything connected to it.

Double check that the RAM is suited to the motherboard (including the configuration many boards will only allow things like 4GB must be installed in a dual configuration of 2GB+2GB) and installing is as easy as installing the graphics cards. Just line up the card with the slot and ensure you have it the correct way and click it in and it should be good to go

  Me making sure that the RAM will fit the RAM socket in the board (the slot matches the slot on the motherboard)

Step 5:

Now you have got your PSU installed into your Case you may want to just slide in your DVD/CD drives if you have any just because in some cases you may not be able to fit them in with the motherboard in.

Installing the motherboard:

First off take off all of your motherboards casings and wrapping’s that came with it with care and get the motherboard as so the PCI slots and RAM slots and CPU socket is facing you and pick it up with caution and place the motherboard into the case and align it with the holes that you should have in your case already (Most modern cases come with the holes pre-drilled, if not align the motherboard with the PCI slots and so it is not in the way of anything and mark it and then drill it to the appropriate size) and install the screws that should have come with the case or the motherboard.

You may like to install the CPU before installing the motherboard into the case

Step 6:

Installing HDD’s Installing hard drives it very simple and anyone should be able to do it, just simply find the hdd enclosure and slide it in and secure it in with the screws usually supplied when you purchase the HDD (if your case has multiple holes for the HDD put it in the one where the HDD does not protrude any part of the case and does not squish the cables) and just simply plug in the 5 pin or 4 pin connector from your PSU into the drive, now your HDD has power now it is time to connect it to your Motherboard, if your drive is sata then make sure you have a sata cable and simply plug it in from your hard drive to your sata port on your computer (i like to do this sequentially so as the drive i use for booting and primarily is sata0 and the next sata1 and so on).

 

Step 7:

Installing the DVD drives (if you have not already) is very much alike installing the hard drives just do the same thing but in the dvd drives spot

 

Step 8:

Installing the Graphics Cards (Or any other PCI, AGP and PCI-e cards)

It is as simple as unscrewing or knocking the plate on the back on the case that is blocking access to the rear of the computer out (i will include images of that soon) and pluging it in to the correct spots (with remembering to listen to the click when installing but not forcing it)

Step 9:

Plugging the motherboard into the PSU, and it is as simple as pluging in the 20 or 24 pin connector into the motherboard and also plugging in the CPU fan power (small 2-pin) that is near your CPU socket.

Plug in your display,power cable,keyboard,mouse and install any OS you want and enjoy your completed computer

Now, have a a look at the specs of the computer, go into your local computer store and see how much they put up the price on all of there pre- built computers.

VN:F [1.9.17_1161]
Rating: 10.0/10 (2 votes cast)
VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)

March 3, 2012
by zwebx
0 comments

WordPress+Lighttpd Permalink’s Fix

WordPress usually works well on its own with a lighttpd configuration, but when you put permalink’s on all it does is send all of your posts to a 404 error.

For many people it is to hard to fix (At least they think that) and just ignore it and settle w/o the permalink’s and that is fine… if you do not mind having NO SEO Optimization.

 

Step One:Set your 404 error handler to index.php this should be easy if you are using a control-panel but if you are not add the following line to your v-host configuration:

server.error-handler-404 = “/index.php?error=404″

You are done, all of your permalink settings should work now.

VN:F [1.9.17_1161]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)

March 3, 2012
by zwebx
0 comments

Lightest mysql Config

Mysql is a well known RAM sucker (hogs heaps of RAM) and for many people with a VPS under 1GB of RAM that is a large problem.. good thing i have a fix for it, here are the steps:

Step One:SSH Into your server as root

Step Two:Edit the file my.cnf (usually located in /etc/my.cnf) and delete all the existing data and put in this:

[mysqld]
default-storage-engine = myisam
key_buffer = 8M
query_cache_size = 8M
query_cache_limit = 4M
max_connections=25
thread_cache=1
skip-innodb
query_cache_min_res_unit=0
tmp_table_size = 4M
max_heap_table_size = 4M
table_cache=256
concurrent_insert=2

Step Three:restart your mysql server (service mysql restart) and notice how much RAM is free’d up.

I have a clients server running this configuration with kloxo and lighttpd and he/she is using under 200MB of RAM

VN:F [1.9.17_1161]
Rating: 3.0/10 (1 vote cast)
VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)

January 30, 2012
by zwebx
0 comments

Kim Schmitz (Megaupload Owner) 50 Years // Miguel Carano (Rapist + Murder) 20 Years

Kim Schmitz was the owner of Megaupload. Just remember that these guys simply provided a HTTP Upload/Download system, and did as much as they possibly could to remove infringing content that was copyrighted or illegal in any other way. This guy’s facing 50 years in a U.S. Prison. Miguel Carano is a rapist, murderer of a woman and also disposed of the body (which is even more illegal). This guy had no logically acceptable defence as raping + murdering + disposing of a body was entirely his own doing. This guy’s got 20 years in a U.S. Prison.

VN:F [1.9.17_1161]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)

January 28, 2012
by zwebx
2 Comments

megaupload – what happened and what to do

All the drama started on January 19 2012 when the Federal Goverment decided to take down megaupload.com and start a court case with the owner.

It all started when Universal Music Group decided to take legal action against the owner ‘swiss beatz’ and according to mtv news has generated $175 million in criminal proceeds and has pirated over $500 million from copyrite-holders (not that it would ever be possible to calculate how much people downloaded accurately.

Many of the users are outraged and according to torrentfreak.com there are going to create a group of megauploads premium users and sue the federal government for loss of there data this is just one of the legal actions that the federal goverment have made against file hosting websites and it has made a great impact file sharing websites globally have stopped sharing files to the public and only to the user that uploaded the content.

There has been alot of spam and alike things going around the internet stating that megaupload has mooved to  ***** domain the fact is that it cant move anywhere because he would be too busy talking to his lawyers or skipping the country (what i would be doing) although i can recommend a good alternative: cramit.in

Links related to this post:cramit.in Stop Online Piracy Act americancensorship.org What is sopa doing

VN:F [1.9.17_1161]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)