Festival of colors – Happy Holi

On February 27, 2010, in Mobiles, by Sandeep Verma

Hits: 86  

Install the Alternative PHP Cache (APC)

On February 24, 2010, in CakePHP, CentOS, Fedora, LAMP, Linux, Open Source, PHP, Tips, by Sandeep Verma

Hits: 127  The Alternative PHP Cache (APC) is a free, open, and robust framework for caching and optimizing PHP intermediate code. yum install php-pear yum install php-devel httpd-devel yum groupinstall ‘Development Tools’ yum groupinstall ‘Development Libraries’ pecl install apc http://si2.php.net/manual/en/install.pecl.php

Install Fonts in Fedora

On February 24, 2010, in CentOS, Fedora, Linux, Open Source, Tips, Tricks, by Sandeep Verma

Hits: 187   1. Log in as root or use su at command line $ su 2. Go to the font storage directory: # cd /usr/share/fonts 3. Create a subdirectory for the Arial fonts: # mkdir arial 4. Copy the Arial fonts into this directory from font sites or windows FONTS folder. 5. Make the font [...]

Install PECL Memcache with LAMPP

On February 21, 2010, in CentOS, Fedora, LAMP, Linux, Open Source, PHP, Tips, Tricks, Web Application, by Sandeep Verma

Hits: 275  PECL Memcache client of memcached distributed cache server, is a very probable candidate for high-load systems. Typically you won’t be able to use “pecl” directly and when you try to install manually with phpize you will get an error like: ” PHP Warning: Unknown(): Unable to load dynamic library ‘/opt/lampp/lib/php/extensions/no-debug-non-zts-20020429/memcache.so’ – /opt/lampp/lib/php/extensions/no-debug-non-zts-20020429/memcache.so: undefined symbol: [...]

No route to host

On February 21, 2010, in Amazon Cloud EC2 S3, CentOS, Fedora, Linux, Open Source, Tips, Tricks, Web Application, Web Services, by Sandeep Verma

Hits: 266  Often, when we get error “No route to host” to connect remote server via linux command line e.g. wget, curl etc. or web services (webserviceserver). The first solution we want to try to troubleshot firewalls and proxies? But before that try hostname entry in linux box… # vi /etc/hosts add & save 192.168.0.100 webserviceserver [...]

Install swftools

On February 19, 2010, in CentOS, Fedora, LAMP, Linux, Open Source, Tips, Tricks, Web Application, by Sandeep Verma

Hits: 293  SWFTools is the utilities for working with Adobe Flash files. These tools includes programs for reading SWF files, combining them, and creating them from other content (like images, sound files, videos or sourcecode). Install SWFTOOLS: Download latest Sourcecode from here… http://swftools.org/download.html # wget http://swftools.org/swftools-0.9.0.tar.gz # tar -zxvf swftools-0.9.0.tar.gz # cd swftools-0.9.0 # ./configure # [...]

Magento make easy – part1

On February 7, 2010, in Fedora, LAMP, Linux, Open Source, PHP, Tips, Tricks, Web Application, by Sandeep Verma

Hits: 59  Magento Create a dynamic, fully featured, online store with the most powerful open source e-commerce software…. Download Magento from here.. http://www.magentocommerce.com/svn # svn checkout http://svn.magentocommerce.com/source/branches/1.3 Features.. 1. Categories and Attributes 2. Taxes 3. Adding Simple Products 4. Minimum Customization of Your Store’s Appearance 5. Customer Relationships / Configuring customer options 6. Accepting Payment 7. [...]

Tagged with:  

Install JSON on linux

On February 3, 2010, in CakePHP, Fedora, Javascript, LAMP, Linux, Open Source, PHP, Tips, Tricks, by Sandeep Verma

Hits: 321  Have the fun with json…. JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. # yum -y install php-pear # pecl install json # vi /etc/php.d/json.ini extension=json.so # service httpd restart

Backup mysql database to amazon S3

On February 2, 2010, in Amazon Cloud EC2 S3, CentOS, Fedora, LAMP, Linux, PHP, Tips, Tricks, Web Application, Web Services, by Sandeep Verma

Hits: 442  Below is the simple code to create sql script of database on Amazon EC2 server using “mysqldump”… then upload this sql script to Amazon S3 bucket using command line S3 tool “s3cmd”… <?php $sqlbackup=”/usr/bin/mysqldump -v -u root -h localhost -r /var/www/html/backup/”.date(“Y-m-d-H-i-s”).”_db.sql -pdbusername  databasename 2>&1″; exec($sqlbackup, $o); echo implode(“<br /> ”, $o); $file = ”/var/www/html/backup/”.date(“Y-m-d-H-i-s”).”_db.sql”; $bucket = ”s3bucketname”; exec(“/usr/bin/s3cmd  put –acl-public –guess-mime-type  –config=/var/www/html/.s3cfg   ”.$file.”  s3://”.$bucket.”  2>&1″, $o); echo implode(“<br /> ”, $o); ?> 0 */12 * * * env php -q /var/www/html/s3bkup/s3bkup.php > /dev/null 2>&1 (per [...]

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...