| Text Size: |
Configuring and Administering Your Server >>
Useful Server Administration Scripts
"For people who make websites" - A List Apart Magazine explores the design, development, and meaning of web content, with a special focus on web standards and best practices.
HTML Validator is a Mozilla extension that adds HTML validation inside Firefox and Mozilla. The number of errors of a HTML page is seen in the form of an icon in the status bar when browsing. The details of the errors are seen when looking the HTML source of the page.
The extension is based on Tidy and OpenSP. Both algorithms were originally developed by the Web Consortium W3C. Both algorithms are embedded inside Mozilla/Firefox and makes the validation locally on your machine, without sending HTML to a third party server.
The extension is based on Tidy and OpenSP. Both algorithms were originally developed by the Web Consortium W3C. Both algorithms are embedded inside Mozilla/Firefox and makes the validation locally on your machine, without sending HTML to a third party server.
This project aims to create an archive of user contributed clip art that can be freely used.
Starting at the beginning, this reference explains everything you need to know about using core JavaScript. It assumes you have the following basic background: a general understanding of the Internet and the World Wide Web and a good working knowledge of HTML. An excellent resource.
Edit your images on the fly online with Splashup, a web-based image editor that integrates with Flickr, Facebook, and Picasa. Splashup offers up a surprising array of image editing tools, far beyond the usual crop of resize and contrast-- you can also edit multiple images, play with filters and layers, use a variety of brushes, and more. Splashup is one of the best image editors in a long line of image editors; i.e., Picnik, Pixoh, and Resizr, to name just a few.[Lifehacker Annotation]
This website will let you:
- Create an XML sitemap format that can be submitted to Google to help them crawl your website better.
- Create a Text sitemap to submit to Yahoo.
- Create a ROR sitemap, which is an independant XML format for any search engine.
- Generate an HTML site map to allow human visitors to easily navigate on your site.
Clearspring's free Launchpad widget builder lets you easily turn your website's content into a widget which site visitors can use to place your content on all the major social media sites (MySpace, FaceBook, Google, hi5, Live, Yahoo, Wordpress, Blogger, etc.). The service also provides tracking and analysis.
This site features online text and html changing, modifying, converting tools designed to save you time making web pages or preparing text for web publication. If you've ever needed to capitalize sentences or convert line breaks to <p> or <br /> then this site can save you needless manual labor. There are other useful tools as well, like the one to uncompress html to make it readable and the ones to uppercase or lowercase text. Basically, the most common tasks that someone who works in an office or does freelance web development might encounter. Most of the tools have been created using javascript so you should be able to change large amounts of text as the processing is done on your computer instead of being limited by a server script.
You've downloaded and configured your Apache server and are ready to move on to the next project. Can it really be left to fend for itself in a darkened room?
Yes. To some degree, anyway. On the other hand, completely ignoring your Apache installation would be foolhardy.
Yes. To some degree, anyway. On the other hand, completely ignoring your Apache installation would be foolhardy.
The Wikipedia entry for Sender Policy Framework (SPF).
The Wikipedia entry for DomainKeys.
Useful Resources
View all resources
Editor Favorites
- A List Apart
- HTML Validator Firefox Plugin
- Open Clip Art Library
- Core JavaScript Guide: Version 1.5
- Splashup
- XML Sitemaps Generator
- Clearspring Launchpad
- Text Fixer
Other Resources
Links to Consider
On the forums of one of my current hosting companies, I came across someone (Doug Robbins) who has written some pretty nice scripts to help administer and monitor a VPS or dedicated server. Below is a list of those scripts as well as others I have come across elsewhere:
- loadavg: lightweight load, memory & transfer monitoring – loadavg is a simple and lightweight method of monitoring load, memory usage and transfer throughput on a Linux server. Every method of monitoring has an impact on the system being monitored -- loadavg is designed to keep that impact as low as possible. It generates HTML & CSS charts, thereby shifting much of the work from the server to the client -- your web browser. While designed for use on a Linux Virtuozzo or OpenVZ VPS (Virtual Private Server), loadavg also works fine on a dedicated server.
- vpsinfo is a Linux server monitoring script, written in PHP, that provides web access to system status information. It gathers the output from several common Linux commands into one web page, providing a quick overview of the system's current state. While designed for use on a Linux Virtuozzo or OpenVZ VPS (Virtual Private Server), vpsinfo also works fine on a dedicated server. When installed on a dedicated machine VPS-specific information is automatically excluded. (Note: requires some other scripts to do certain reports, namely mysqlreport, vnstat, and mytop)
- bwstat – bwstat is a PHP CLI application that logs & displays bandwidth usage. It is intended as a substitute for vnstat, for users having problems with vnstat running with newer Virtuozzo kernels. bwstat mimics the output of vnstat and supports a few (not all) of the same command line options and stores data in plain text files in its 'data' directory. No database is required, and the text files are tiny. bwstat can be installed anywhere. Data is gathered by running the bwlog.php script as a cronjob. The suggested installation runs this cronjob as root every 5 minutes.
- stat.php – a basic script that provides server and MySQL statistics. I think that most of this is covered better with the vpsinfo (assuming you also use mysqlreport or mytop) but this might be a simpler alternative for some.
- Mytoolkit – MySql and Server Helper Scripts
- PHP Security Check Script – I must admit I haven't tried this script yet, but it seems promising and the feedback on the forum where I first learned about it was positive.
Note: if you use the mysql report option, you may want to check out The Guide To Understanding mysqlreport, which discusses the all sections of the report, what the values mean, and what is generally indicative of good and bad performance.
INSTALLATION:
Open
bwlog.php and bwstat.php in your text editor and adjust (if necessary) the path to PHP at the top of each script. The supplied path is "/usr/local/bin/php". Check ownership and permissions. They should look like this:
-rwx------ 1 root root 3112 Aug 21 11:48 bwlog.php
-rwxr-xr-x 1 root root 7188 Aug 22 08:39 bwstat.php
-rw-r--r-- 1 root root 111 Aug 21 12:50 conf.php
drwxr-xr-x 2 root root 1024 Aug 22 09:20 data - Everything should be owned by root.
-
bwlog.php should be executable only by root - chmod 700 -
bwstat.php should be executable by everyone - chmod 755 -
conf.php should be readable by everyone, writable only by root - chmod 644 -
data/ should be readable by everyone, writable only by root - chmod 755Open
conf.php in your text editor and change any configuration options. They should be self-explanatory, except maybe "$monthstart". This is an option added that is not in vnstat. You can use it to align your bwstat monthly data with your host's bandwidth billing period. For example if your billing period starts on the 20th of the month, set "$monthstart = 20".
| Text Size: |
TrackBack URI
