To install PHP 5.5.x on Ubuntu, add PPA To install PHP 5, run For updating existing version of PHP, run PHP Version before upgrade After Upgrade XCache is exta, i installed it with After PHP Upgrade.
Gemlist list ruby gems needed for an application. To install all gems required by an application, go to application folder and run bundle install If you have no bundle command available, install it with gem gem install bundler Installing dependency
When installing rmagick gem, i got following error Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /usr/local/bin/ruby extconf.rb checking for Ruby version >= 1.8.5… yes checking for gcc… yes checking for Magick-config… yes Warning: Found a partial ImageMagick installation. Your
Django Framework need python 2.7 to run. CentOS come with python 2.6. To install python 2.7, run Now enable python 2.7 by running python –version Installing Setuptool, pip and Django
I was using Firefox for long. For extra security i used NoScriptFirefox extension. This will stop bad scripts from starting when you visit unknown or hacked web sites. I recommend anyone using firfox or google chrome use NoScript (NotScript for
I was checking through the MetaSploit framework, i found the exploit to hack FileZilla. FileZilla store passwords in pain text in XML file. This was the same for years. I thought they had fixed it long back. I have not
I created a php script to alert if mail queue size if above 100. <?php $cmd = ‘/usr/sbin/exim -bpc’; $num_mails = exec($cmd); if ($num_mails > 100) { $hostname = exec(‘/bin/hostname’); $subject = ‘Mail queue alert on ‘ . $hostname; $mail_text
While install MediaWiki 1.20.4, i got error PHP Fatal error: Class ‘DOMDocument’ not found in LocalisationCache.php This is because PHP is not compiled with XML support, to fix install php-xml package. [root@lin wiki]# yum install php-xml Loaded plugins: fastestmirror, presto
Install phpMyAdmin in RHEL/CentOS/Ubuntu/Debian To set phpmyadmin to auto login, edit config.inc.php Find $cfg[‘Servers’][$i][‘auth_type’] = ‘cookie’; Replace with $cfg[‘Servers’][$i][‘auth_type’] = ‘config’; Find $cfg[‘Servers’][$i][‘host’] = ‘localhost’; Add Below $cfg[‘Servers’][$i][‘user’] = ‘root’; $cfg[‘Servers’][$i][‘password’] = ‘YOUR_MYSQL_ROOT_PW_HERE’;
After installing phpmyadmin on CentOS 6 64 bit server, phpmyadmin displays warning The mcrypt extension is missing. Please check your PHP configuration. php-mcrypt is not availble in CentOS repo. To install it, you need to install EPEL repo. Now install