nginx secure /user drupal
If you are not serving drupal out of a subdirectory use this config example: location / { # This is cool because no php is touched for static content try_files $uri @rewrite; } location @rewrite { Some modules enforce no…
If you are not serving drupal out of a subdirectory use this config example: location / { # This is cool because no php is touched for static content try_files $uri @rewrite; } location @rewrite { Some modules enforce no…
Prerequisite skills for RHCT and RHCE Candidates should possess the following skills, as they may be necessary in order to fulfill requirements of the RHCT and RHCE exams: use standard command line tools (e.g., ls, cp, mv, rm, tail, cat,…
Remove previous php installation # yum remove php-cli php-common Add the EPEL and REMI repos: wget wget sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm Install nginx prerequisites # yum install perl pcre-devel gperftools-devel geoip geoip-devel Download nginx # wget “”…
Great examples of how to use cURL from 1. Download a Single File The following command will get the content of the URL and display it in the STDOUT (i.e on your terminal). $ curl To store the output…
The following packages have unmet dependencies fix details I was recently trying to install php5-curl and ran in to this error # apt-get install php5-curl Reading package lists… Done Building dependency tree Reading state information… Done You might want to…
Linux and Bash One Liners Command Line Fu – Top One Liners [rssinpage rssfeed=’http://www.commandlinefu.com/commands/browse/sort-by-votes/rss/’ rssitems=’20’ rsstarget=’_blank’] Bash one Liners [rssinpage rssfeed=’http://www.bashoneliners.com/main/feeds/’ rssitems=’20’ rsstarget=’_blank’]
This message means rsync is not in the $PATH of the remote user on the remote system. $ rsync -av –progress Solaris_8_2004-02/ [email protected]:/export/install/OS sh: rsync: not found rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream…
“ssh keeps disconnecting my session”. Here’s the fix! Server Side Fix As root modify /etc/ssh/sshd_config and add these lines ##Server will send “keep alive” messages every 4minute 58 seconds ClientAliveInterval 298 ##If there is no response after 4.1 hours close…
Brakertech has come across some pretty sweet Hostgator.com coupons. Hostgator is a wonderful alternative to godaddy To Save twenty five percent off your hosting signup, use code: BRAKERTECH25OFF cheap linux hosting coupon
To copy teamsite user permissions i’ve written a python script. You’ll need to replace the path with the path of your teamsite’s bin directory: #!/usr/bin/python #Script Name: copyTeamSiteUser.py #Use: . -s (source_user) -d (destination_user) #Note: the bin bath of teamsite…