Thursday, March 18th, 2010
NOT a typo.. 30x is measurable, well-documented, and easily tested. This is what open-source is about. I haven’t had time to post much the past year, I’m always working! So I wanted to make up for that by publishing an article on a topic that would blow your mind and be something that you could actually start using and really get some benefit out of it. This is one of those articles that the majority of web hosting companies would love to see in paperback, so they could burn it.
Tags: Advanced, Apache, askapache, Backups, Bandwidth, Boot, Cache, chmod, console, devshm, DreamHost, File System, filesystem, grep, Hard Drive, HowTo, HTTPS SSL, ionice, Linux, memory bandwidth, mysql, Private Server, ram, rsync, Scripts, Security, server, servers, Shell, shell script, SLRAM, SPEED, speed improvements, SSI, stat, SymLinks, tmpfs, trick, Vulnerability, Web Hosting, webhosts, WordPress, WP-Super Cache
Posted in Apache, Cache, DNS, DreamHost, Featured, Hacking, Htaccess, Linux Unix BSD, Mod_Rewrite, PHP, Security, Server Administration, Shell Scripting, Web Design, Web Hosting, Web Tools, Webmaster, WiredTree, WordPress, WordPress Plugins | 7 Comments »
Saturday, October 10th, 2009
To prepare for several upcoming articles on AskApache that are focused on optimizing Servers and Sites from a server admin level, here is an article to introduce the main tools that we will be using. These tools are used to optimize CPU time for each process using nice and renice, and other tools like ionice are used to optimize the Disk IO, or Disk speed / Disk traffic for each process. Then you can make sure your mysqld and httpd processes are always fast and prioritized.
Tags: 503, Advanced, Apache, askapache, Backups, Bandwidth, bash, Blocking, Boot, Bottleneck, caching, compression, CPU, CSS, curl, Disk IO, DNS, Examples, feed, fifo, GET, httpd, ionice, iostat, Javascript, Linux, mysql, Nice, Optimization, pagefile, Performance, Perl, PHP, Port, ram, Renice, Round Robin, rsync, Scripts, Security, server, servers, Shell, shell script, Shell Scripting, Socket, SPEED, SSH, SSI, stat, taskset, trick, Ulimit, Web Hosting, WordPress, wp-config.php
Posted in Apache, Cache, Featured, Linux Unix BSD, Review, Security, Server Administration, Shell Scripting, Web Hosting, Webmaster | 3 Comments »
Saturday, June 13th, 2009
Ever wanted to execute commands on your server through php? Now you can. I’m calling this file (see below) shell.php and it allows you to run commands on your web server with the same permissions that your php executable has.
Tags: 302 Redirect, 403 Forbidden, Ajax, Apache, Apache Htaccess, askapache, Backups, bash, chmod, console, errordocument, Flash, GET, Hacking, Htaccess, htaccess tutorial, HTTP-EQUIV, Javascript, Linux, Login, Mod_Rewrite, password, PHP, Port, ram, Redirect, Rewrite Tricks, rewritecond, rewriterule, Scripts, Security, server, Shell, shell console, shell script, Shell Scripting, SSI, stat, tutorial
Posted in Ajax, DreamHost, Featured, Hacking, Htaccess, Javascript, Linux Unix BSD, Mod_Rewrite, PHP, Security, Server Administration, Shell Scripting, Web Hosting, Web Tools, Webmaster | 15 Comments »
Friday, April 10th, 2009
Sometimes there is an urgent need for creating an exact duplicate or “mirror” of a web site on a separate server. This could be needed for creating Round Robin Setups, Load-Balancing, Failovers, or for just plain vanilla backups. In the past I have used a lot of different methods to copy data from one server to another, including creating an archive of the whole directory and then using scp to send the file over, creating an archive and then encrypting it and then sending that file over using ftp, curl, etc., and my persistence at learning new ways to do things has paid off because now I use rsync to keep an exact replica of the entire directory on an external server, without having to use all the CPU and resources of other mirroring methods.
Tags: admin, Apache, askapache, Backups, Bandwidth, bash, chmod, compression, curl, debugging, DreamHost, Email, encryption, Forms, GET, Gmail, HostGator, HTTPS SSL, Linux, Login, Logs, password, PHP, Port, ram, Round Robin, rsync, Security, server, Shell, shell script, SPEED, SSH, SSH Tunnels, SSI, stat, WordPress
Posted in Apache, Featured, Linux Unix BSD, Security, Shell Scripting, Web Hosting | 2 Comments »
Wednesday, October 1st, 2008
One way I speed up AskApache.com is by downloading external third-party javascript files to host on my own server instead of externally. In addition to the obvious speed boost, this lets you configure the caching and compression settings for the files.
Tags: Advanced, Analytics, Apache, askapache, bash, Cache, caching, compression, curl, debugging, DNS, Google, Google Analytics, Htaccess, Javascript, Mod_Rewrite, Nice, Pipelining, Port, Renice, Rewrite Tricks, Scripts, server, servers, Shell, shell script, Shell Scripting, SPEED, SSI, umask, Web Hosting
Posted in Apache, Cache, Javascript, Linux Unix BSD, Shell Scripting, Web Hosting | 5 Comments »
Friday, September 26th, 2008
List of mainly obscure security software geared more for the master pentester. These are mostly for unix, bsd, and mac and many are difficult to install and setup (require custom servers, inside access points, obscure libraries). Only programs that output data are included, so no actual exploits or anything. Most of these output extremely useful albeit extremely technical information.
Tags: admin, Advanced, Apache, askapache, ASP, Bandwidth, Boot, Cache, CommandLine, console, Cookies, debugging, Dig, DNS, Email, encryption, Ethernet, feed, File Permissions, filesystem, Forms, GET, Google, Hacking, HTTPS SSL, Linux, Login, Logs, Networking, Nice, nsa, password, PDF, Performance, Perl, PHP, Port, post, Prompt, Putty, ram, Redirect, Scanners, Scripts, Security, server, servers, Sessions, Shell, shell script, Sniffing, Socket, SOCKS, Source Code, SPEED, SSH, SSH Tunnels, SSI, stat, Vulnerability, Vulnerability Scanners, Windows XP, Wireshark
Posted in Security | 3 Comments »
Saturday, August 9th, 2008
Scrolls the latest log entries for multiple log files to the current screen or to any other monitor or TTY in color using syntax highlighting, making debugging easier and saving a lot of time for multi-monitor workstations.
Tags: Apache, askapache, bash, CCZE, debugging, Elite, error log, Examples, fifo, GET, Htaccess, htaccess files, httpd, Linux, Logs, Mod_Security, Nice, Perl, PHP, php.ini, post, ram, Redirect, Redirection, Renice, Security, server, Shell, Shell History, shell script, SPEED, SSH, SSI, stat, SymLinks, trick, Web Hosting
Posted in Apache, DreamHost, Featured, Hacking, Linux Unix BSD, PHP, Security, Server Administration, Shell Scripting, Web Hosting, Web Tools, Webmaster | 4 Comments »
Monday, August 4th, 2008
Enter your DOMAIN_ROOT and the location of your wp-config.php or config.php, and this script finds all the mysql settings by parsing the phpbb or wordpress config file, then creates GPG encrypted backups, and saves your settings for future automation.
Tags: Apache, askapache, Backups, bash, debugging, encryption, GET, GPG, grep, Linux, mysql, Nice, password, PHP, phpBB, Renice, Security, Shell, shell script, umask, WordPress, wp-config.php
Posted in DreamHost, Featured, Linux Unix BSD, Security, Server Administration, Shell Scripting, Web Hosting, Webmaster, WordPress, phpBB | 3 Comments »
Thursday, June 12th, 2008
This simple unix shell script automatically creates backups of a specific folder at regular hourly, nightly, weekly, and monthly intervals. Instead of the usual method for copying directory trees using tar with fifo, pipes, rsync, or NFS methods this script uses cpio which is much much faster and has cool options like saving m/a/c times, symlinks, relative paths, and weird file names.
Tags: Apache, askapache, Backups, bash, chmod, DreamHost, fifo, GET, Hacking, Linux, Nice, Perl, Port, post, Private Server, Renice, rsync, Scripts, Security, server, servers, Shell, shell script, SymLinks, tutorial, Web Hosting
Posted in DreamHost, Linux Unix BSD, Shell Scripting, Web Hosting | 1 Comment »
Saturday, May 31st, 2008
DreamHost PS gives you your own “virtual machine”, protecting your CPU and RAM on your physical machine for faster websites. Here’s what I like and dislike about DreamHostPS, and some of the issues and solutions for migrating.
Tags: 500, 503, Advanced, Apache, askapache, Backups, bash, Boot, caching, compression, DNS, DreamHost, errordocument, GET, Google, grep, Htaccess, htaccess files, httpd, HTTPS SSL, Linux, Login, Logs, Nice, password, Perl, PHP, Port, Private Server, Prompt, ram, Renice, Scripts, Security, server, servers, Shell, shell script, SSH, SSI, stat, Username, Web Hosting
Posted in DreamHost, Web Hosting | 14 Comments »
Saturday, April 19th, 2008
Search all files in a directory, replacing all occurances of string with a replacement string.
Tags: Apache, askapache, bash, debugging, GET, grep, Htaccess, Linux, Nice, Prompt, Renice, search and replace, Shell, shell script, stat, umask, xargs
Posted in Featured, Linux Unix BSD, Shell Scripting, Web Hosting | 8 Comments »
Monday, April 14th, 2008
I have been in some tight spots where I had to sniff a password or two off the wire, or sniff some packets off the wire and based on the packets content perform some action… Accidentally, I stumbled on a method to sniff data while remaining undetected and invisible.
Tags: admin, Apache, askapache, authorization, Boot, debugging, Ethernet, Examples, Forms, GET, grep, Hacking, HowTo, Linux, nsa, password, PHP, Plink, Port, Prompt, ram, Security, server, Shell, shell script, Sniffing, SPEED, SSI, stat, Undetectable, Username, VLAN, Wireshark
Posted in Featured, Hacking, Linux Unix BSD, Security | No Comments »
Monday, March 31st, 2008
There isn’t much vlan info on the net in terms of specifics and I had to learn all about it because I needed to log in to a switch that was on a different vlan. With the help of the Ettercap developers NaGA and ALoR I figured it out.
Tags: 403 Forbidden, 500, admin, Apache, askapache, ASP, Boot, console, Ethernet, GET, Google, Hacking, Linux, Login, Networking, password, PDF, PHP, Port, post, Prompt, ram, Security, server, Shell, shell script, SSI, stat, trick, VLAN, Vulnerability, Wireshark
Posted in Featured, Hacking, Security | 1 Comment »
Sunday, March 16th, 2008
Scan Apache logs for IP address that are probably evil, then generates an .htaccess file to DENY them all.
Tags: 403 Forbidden, Apache, askapache, bash, Blocking, debugging, DNS, DreamHost, error log, grep, Htaccess, htaccess files, ip abuse, Logs, Nice, Port, server, servers, Shell, shell script, SSI
Posted in Apache, DreamHost, Security, Shell Scripting | 5 Comments »
Wednesday, January 30th, 2008
Host Google Analytics ga.js file locally for increased speed! Makes web pages load faster.
Tags: Advanced, Analytics, Apache, askapache, Cache, Cache-Control, caching, chmod, curl, Firefox, GET, Google, Google Analytics, Htaccess, HTTPS SSL, Javascript, Logs, Mod_Rewrite, Port, Rewrite Tricks, Scripts, server, Shell, shell script, SPEED, SSI, urchin.js, Web Hosting
Posted in Google, Linux Unix BSD | 8 Comments »