Categories
Code Design Internet Linux UNIX

Enable keep-alive in Apache

What is keep alive? Keep alive is a method to allow the same tcp connection for HTTP conversation instead of opening a new one with each new request. More simply put, it is a communication between the web server and the web browser that says “you can grab more than just one file at a time”. Keep […]

Categories
Linux UNIX

Password Protect Website

There are two files that must be inside your root directory in order to password protect your site. .htaccess — the .htaccess (hypertext access) file is a directory-level configuration file supported by several web servers, that allows for decentralized management of web server configuration. .htpasswd — .htpasswd is a flat-file used to store usernames and password […]

Categories
Code Linux MAC UNIX Wordpress

WordPress Backup on CentOS

Now that I’ve moved my website over to CentOS, I’ll be showing you how I do backups. My Setup VirtualBox – CentOS web server running WordPress iMac – connected Drobo Goal Run daily mysql backups Run weekly website backups Only keep the latest two backups Run daily rsync’s to my Drobo from my iMac CentOS — […]

Categories
Linux UNIX

Useful Linux find Commands

General Find all files and directories starting from the current directory (including all subdirectories). find . Find all files starting from the current diretory (including all subdirectories). find . -type f Find all directories starting from the current directory (including all subdirectories). find . -type d Find all hidden files starting from the current directory […]

Categories
Linux MAC UNIX Wordpress

Backup your WordPress Website to Dropbox on a Mac

We learned how to Backup & Restore a MySQL database HERE. We learned how to tar a directory HERE. Now lets combine this knowledge and backup our WordPress Website directly to Dropbox. IMPORTANT: Keep in mind that I am running my website on my MAC (not a Linux distro). You will need the following information: Web […]