Linux: Enable VI syntax highlighting
Make sure you have vim-enhanced installed
Run
yum install vim-enhanced
or within vi
:syntax on
Make sure you have vim-enhanced installed
Run
yum install vim-enhanced
or within vi
:syntax on
Generate key on local machine
ssh-keygen -t rsa
It will ask you for a password but you can leave it blank.
Note you could also pick -t dsa if you prefer.
Ensure that the remote server has a .ssh directory
Make sure the server your connecting to has a .ssh directory in your home
directory. If it doesn’t exist you can run the ssh-keygen command above, and
it will create one with the correct permissions.
Copy your local public key to the remote server
If your remote server doesn’t have a file called ~/.ssh/authorized_keys2
then we can create it. If that file already exists, you need to append to it
instead of overwriting it, which the command below would do:
scp ~/.ssh/id_rsa.pub remote.server.com:.ssh/authorized_keys2
Now ssh to the remote server
Now you can ssh to the remote server without entering your password.
Error: 500 error message. infinite loop
request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘limitinternalRecursion’ to increase the limit
if necessary. Use ‘LogLevel debug’ to get a backtrace.
background: tried to add a custom error page caused a 500 internal server error to be displayed.
The error was cleared by making some changes to my htaccess file which included some rewrite directive. Another option may be to add the custom error directive to the .htaccess file.
After upgrading to the latest version of SugarCRM 5.5 Beta, The themes stop loading correctly.
You will need to make sure the /cache/theme folder has the proper permissions.
Deep recursion on subroutine “Image::Magick::AUTOLOAD” at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Image/Magick.pm line 42.
Out of memory!
Solution: this issue was resolve in version ImageMagick 6.4.4-9
you will need to upgrade to the latest version
Test script to see if you need to upgrade
#!/usr/bin/perl -w
use strict;
use warnings;
eval { require Image::Magick };
my $is_Magick = $@ ? 0 : 1;
print "Content-type: text/html; charset=ISO-8859-1\n\n";
print "<h1>$is_Magick</h1>";