Scroll down

My Latest Articles

Step into the mind of a long-time developer, long-time server manager, and full-time geek 🙂

Install & Configure Nginx on Existing Cpanel Servers cd /usr/local/src wget http://nginxcp.com/latest/nginxadmin.tar tar xf nginxadmin.tar cd publicnginx ./nginxinstaller install Once installation completes, login to WHM for that server Scroll past ConfigServer Security&Firewall to see Nginx Admin and click it Add the 0 */1 * * * /usr/sbin/tmpwatch -am 1 /tmp/nginx_client to crontab -e on the server Click 'Configuration Editor' Copy/Paste into the field user nobody; # no need for more workers in the proxy mode worker_processes 4; error_log /var/log/nginx/error.log warn; worker_rlimit_nofile 20480; events { worker_connections 5120; # increase for busier servers use epoll; # you should use epoll here for Linux kernels 2.6.x } http { server_name_in_redirect off; server_names_hash_max_size 10240; server_names_hash_bucket_size 1024; include mime.types; default_type application/octet-stream; server_tokens off; # remove/commentout disable_symlinks if_not_owner;if you get Permission denied error # disable_symlinks if_not_owner;…

Read more
01

Every new site wants to get their piece of Google, Yahoo, & Alexa.  Yes I said it, Alexa ;) There is a bit of a risk when allowing these bots to traverse your endless universe of pages, posts, and other niceties that you want to get out there an noticed.  Keep in mind, these 3 Search Engines arent the only ones looking for your site and content.  There are millions of bots out there just sniffin around, and while most are harmless "Let's get your site listed in my directory" variety, there are some that look to do harm.  Trust me when I tell you, you don't want them finding out you've left a massive back-door open to your site's shopping cart. Here is how…

Read more
02

Since I am currently running into this issue right now as I type this, I though I would share my experiences with moving a ModX Revolution site from one server to another.  It is not an easy task, but can be accomplished rather easily. The first thing you will need to do is to verify that your new server has PHP and MySQL installed, along with the PDO drivers. Next step is to search through your current database and change any physical paths it may contain to point to your new directory structure on the new server.  Once you have this done you are ready to do a mysqldump, if you have access to phpMyAdmin, take the easy route and simply do an export.  Make…

Read more
03

I... Am a developer.  As a result, I know a multitude of different programming and scripting languages ranging from Visual Basic to HTML and just about everything between.  As a result I do a multitude of projects.  Now my main server.... the one I do the most development on is a Ubuntu Linux server... but because I also need to develop for Microsoft technologies, I need to have a Windows Server virtual machine on it. Since some of these sites I work on need to be run in a windows environment, I also need a way I can still send all my requests to and through my LAMP box, and pass them off to my windows VM residing on it. I will not go into…

Read more
04