Authentication (Linux) through htaccess: Authentication through Htaccess #Shell> vi .htaccess AuthUserFile /public_html/private/.htpasswd AuthName "Secret Stuff" AuthType Basic require valid-user Authentication for Single File access on Apache (Linux) through htaccess Edit httpd.conf file and add … Continue Reading →
How To Set Up a Firewall Using FirewallD on CentOS 7
Introduction Firewalld is a complete firewall solution available by default on CentOS 7 servers. In this guide, we will cover how to set up a firewall for your server and … Continue Reading →
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun
Have you upgraded to OS X El Capitan from App Store ? Have you suddenly started getting the following error in your project? xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun … Continue Reading →
How To Deploy a Rails App with Unicorn and Nginx on Ubuntu 14.04
How To Deploy a Rails App with Unicorn and Nginx on Ubuntu 14.04 Posted Mar 26, 2015 133kviews Ruby on Rails Deployment PostgreSQL Nginx Ubuntu Introduction When you are ready to deploy your Ruby on Rails application, … Continue Reading →
Copying multiple files from multiple directories to one folder
This is assuming you’re in the music directory – if not, you want Command# find /path/to/music -iname ‘*.mp3’ -type f -exec cp {} target_dir/ \;
How to Upgrade Your WordPress Software Manually
Upgrading WordPress manually is the least-used method mainly because the automatic method is so easy and quick. In some rare circumstances, you would manually upgrade WordPress because your web-hosting environment … Continue Reading →