Tag Archives: web-server

Recommended Web-server

Web Server Hack – How To Auto Restart HTTPD service script!

Here’s a simple script I made up that will auto restart your HTTPD service if it reaches a high load.

The script will actually stop your HTTPD server when your load is higher than the maximum load settings and will re-start when the load is back to zero.

If you are on a server that’s overloaded, this script can help you “temporarily” get by instead of your web server dying and you manually rebooting your web server.

There’s also an extra “mail” feature that will email you whenever the server is stopped or restarted. (Code after

Click Here to Read Full Article

10 Comments

Web Programming DIY – How to Protect Yourself Against Image Hotlinking!

For those of you who run small websites on shared servers, you might sometimes run into problems where your images are “hotlinked” and your bandwidth stolen.  Here at Zedomax.com, we run a server farm so we don’t have bandwith problems so far but here’s 2 really great resources on how to protect yourself against image hotlinking:

3 Comments

Linux Time – How to Set the Time and Date using Command Date!

linux-time

I just noticed that my web server’s time was ahead by 10 hours for some reasons.  If you run linux dedicated servers, you will want to know how to do this.  I know there’s many ways to do it but this is the simplest/fastest method.

Here’s a really simple way to set time and date on any linux/unix system:

date – Would list the date and time of the server. Below is an example of the output.

Thu Feb 8 16:47:32 MST 2001

date -s “11/20/2003 12:48:00” – Set the date to the date and time shown.

date ‘+DATE: %m/%d/

Click Here to Read Full Article

Leave a comment

Circuit DIY – How to Make a Digital Paperless Receipt System!

Everytime I goto the Apple Store in San Francisco, I am amazed at how quickly you can check out without a receipt, the receipt actually can be sent to my e-mail box, which I can confirm in real-time using my Blackberry GMail app.

Apart from the Apple Store, I don’t see that many other retailers using paperless receipts, perhaps it’s ahead of its time.

For those of you who want to tinker with such a system that will keep your receipts in a web server so your customers can retrieve it at their convenience, you can check out

Click Here to Read Full Article

3 Comments

Server DIY – How to Load BalancE with Linux Program “Balance”

Here’s another great article on how to manage your loads on your web server using linux program “balance”:

Ideally you should install a load balancer on a dedicated machine that can handle all the incoming connections, with a separate network interface for internal and external connections. However, none of this is necessary for the purposes of this article. To start testing balance, download the latest version from the project’s Web site. Unpack it, build it, and install it as follows:

via l

Click Here to Read Full Article

Leave a comment

G1 Hack – How to Get Remote Root Access to G1 Phone!

Well, someone figured out how to access the G1 phone via a telnet access.  This is great stuff, I bet you can stuff a small web server on a G1 phone pretty easy.  (Hmmm…I wonder if you can do SSH2 too…)

1. Turn on WiFi in the G1 (Settings > Wireless Controls > Wi-Fi). Make sure you’re connected to a network. 2. Start up PTerminal (search in the Market) and you’ll get a prompt once its launched. 3. Enter cd system and hit Enter. 4. Ent

Click Here to Read Full Article

3 Comments

Zedomax.com Updated with a New Dual Quad-Core Xeon Harpertown Server from Cari.Net!

Things have been a little crazy as I have been running around town helping small business owners get ahead using my guerilla blog marketing techniques.  (I also wrote an E-book for intermediate bloggers over at my Adsense Optimization blog.)

Anyways, I spent couple hours today upgrading my server from a Dual-Core Woodcrest Xeon processor to a Dual Quad-Core Harpertown Xeon processor.  Of course, I use a

Click Here to Read Full Article

1 Comment

Linux Web Server Hack – How to Write Automated Load Balancing Script!

Well, I have been manually managing the dedicated server for this site for last 2 years or so but I found a better way to automate the server so it doesn’t ever go down due to overload.

One of the common problems in dedicated servers is the fact that load can go out of control and your web server along with it, causing you to hard-restart the server.

A better way to deal with this over-load problem is to shut down the HTTPD server (web server) before your server

Click Here to Read Full Article

7 Comments

Memcached, MediaWiki, and MySQL for optimizing Database

Today, I saw that Hackszine’s Jason Striegel has postsed a blog post about Memcached and MySQL.

Well, basically Memcached is an open-source software for your web server that allows you to cache almost any MySQL query.

In other words, it caches your MySQL queries.  But to do this, you do need to check the Memcached cache before doing the actual MySQL query.

So what’s the point?

Well,

Click Here to Read Full Article

Leave a comment

DIY – How to Make your own Lunchbox Linux Firewall!

As an avid fan of Linux operating systems ever since I took Minix class, which Linux was born from, I love to hear about cool little DIYs on making a Linux firewall out of a lunch box.

The greatest thing about Linux operating systems in comparison to Windows or any other operating systems is that it can be easily custom tailored to do one thing whether that’s a web server, firewall, file server, or any type of server that requires stability at “no cost”.

Click Here to Read Full Article

Leave a comment
  • Page 1 of 2
  • 1
  • 2
  • >